Re: [racket-dev] raco pkg and github

2013-02-01 Thread Jens Axel Søgaard
2013/2/1 Asumu Takikawa as...@ccs.neu.edu:
 On 2013-02-01 06:23:06 -0700, Jay McCarthy wrote:
 I had originally tried to do that, but Github wasn't providing tar
 balls for anything other than branch HEADs and tags. I'm surprised
 that it works for you and not for me. Am I just crazy or did you set
 something on your repository to make it work?

 Maybe it's a new feature they added recently? I think Jens was saying on
 IRC that it wasn't documented in the API.

It was about 6-7 months ago I checked, and back then I couldn't find
anything. Now I see it here:

http://developer.github.com/v3/repos/contents/#get-archive-link

The v3 API was in beta from June, so I might have been looking
at the v2 API back then.

Anyways, great find Asumu.

/Jens Axel
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] (current-date)

2013-02-01 Thread Robby Findler
Oh! I see. Sorry for the confusion. I misunderstood what you're written.

Robby


On Fri, Feb 1, 2013 at 7:01 PM, Matthew Flatt mfl...@cs.utah.edu wrote:

 `date-seconds' did not change; it still returns an exact integer.

 At Fri, 1 Feb 2013 18:57:57 -0600, Robby Findler wrote:
  Does this mean that date-seconds always returns inexacts now? Or does it
  return inexacts only when it wouldn't be an integer?
 
  (I'm not excited about either possibility but the second seems bad only
 if
  you consider TR.)
 
  Robby
 
 
  On Fri, Feb 1, 2013 at 5:22 PM, Matthew Flatt mfl...@cs.utah.edu
 wrote:
 
   At Wed, 30 Jan 2013 22:23:04 -0500, Asumu Takikawa wrote:
On 2013-01-30 23:20:45 +0100, Pierpaolo Bernardi wrote:
Any reason not to define current-date in this way? there's a
   nanosecond
field there wanting to get into action.
   
While we're on the subject, it's also weird that `date-seconds` has
 a
contract accepting date? and so doesn't handle date*'s extra
 nanosecond
field (note that `seconds-date` produces date*s):
   
  Welcome to Racket v5.3.2.3.
  - (require racket/date)
  - (define s (* #i1/1000 (current-inexact-milliseconds)))
  - s
  1359602380.5059009
  - (date-seconds (seconds-date s))
  1359602380
  
   I've changed `current-date'.
  
   Some existing code may rely on `date-seconds' returning an exact
   integer, so I've added `date*-seconds'.
  
   _
 Racket Developers list:
 http://lists.racket-lang.org/dev
  

_
  Racket Developers list:
  http://lists.racket-lang.org/dev