Re: [racket] A question about code-style (and memory usage)

2011-08-03 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/26/11 23:11, Eli Barzilay wrote: > Two hours ago, Robby Findler wrote: >> On Tue, Jul 26, 2011 at 1:26 PM, Eli Barzilay >> wrote: >>> and whether `∨' and `∧' should be bound to `and' and `or' or >>> maybe they should be bound to `for/and' and

Re: [racket] Cannot open file in Racket 5.1.2

2011-08-03 Thread Robby Findler
Annoyingly I learned of this error today and have already fixed it but that was after the release went out. I'm not sure about the other one you mention but it sounds familiar. Robby On Wednesday, August 3, 2011, Mark Engelberg wrote: > Whenever I try to open a file in the new version of Racket

Re: [racket] Racket v5.1.2

2011-08-03 Thread Eli Barzilay
Two hours ago, Neil Van Dyke wrote: > Eli Barzilay wrote at 08/03/2011 10:45 PM: > > The best way to deal with these is to use a precise version number > > (even if it's an unreleased four-part version) with the result of > > `version->integer' from `version/utils'. > > I guess I don't mind soundi

Re: [racket] Racket v5.1.2

2011-08-03 Thread Neil Toronto
On 08/03/2011 08:54 PM, Neil Van Dyke wrote: "Affirmative, sir. Staging servers have been validated with Racket version Randy Rottweiler, and are ready for production deployment." You will send this release name suggestion to Mark Shuttleworth. If he knows what's good for him, he'll take it

Re: [racket] Racket v5.1.2

2011-08-03 Thread Neil Van Dyke
Eli Barzilay wrote at 08/03/2011 10:45 PM: These are the guidelines we're using: OK. Thanks for the info. Sounds reasonable. when, say, I have a dependency on "racket/places", and want to specify the minimum Racket version I require (i.e., "5.2" rather than "5.1.2"). The best way

Re: [racket] Racket v5.1.2

2011-08-03 Thread Eli Barzilay
15 minutes ago, Neil Van Dyke wrote: > I'm kinda curious why this was 5.1.2 rather than 5.2. Perhaps someone > could explain the version number conventions when they get a chance? These are the guidelines we're using: The set of features in a release as compared to the previous normal relea

Re: [racket] Racket v5.1.2

2011-08-03 Thread Neil Van Dyke
Congratulations to PLT on another great Racket release. I'm kinda curious why this was 5.1.2 rather than 5.2. Perhaps someone could explain the version number conventions when they get a chance? I don't know enough about the current release process, but were I to guess... Making each periodi

Re: [racket] FW: External connection to Finndesign Liitin

2011-08-03 Thread Rodolfo Carvalho
I was able to run the examples successfully after manually setting the language to Pretty Big. It went reasonably fast, I enjoyed :D Question: is it possible today to find out what other users and/or definitions are available within Liitin? []'s Rodolfo Carvalho On Wed, Aug 3, 2011 at 19:37,

Re: [racket] Racket v5.1.2

2011-08-03 Thread Thomas Chust
Eli Barzilay wrote: > Racket version 5.1.2 is now available from > > http://racket-lang.org/ > [...] Hello, the Racket Portable package, for those who want to carry a Win32 Racket installation on removable media, has been updated to the new version: https://bitbucket.org/chust/racket-portab

Re: [racket] Cannot open file in Racket 5.1.2

2011-08-03 Thread Mark Engelberg
A related problem that is easy to replicate (I have not reported it through the submit bug report yet, because I would like to know if this is some quirk of my installation): Open DrScheme. Type Ctrl-= to open a new tab. Click on first tab. This causes the following error on my system: send: tar

[racket] Cannot open file in Racket 5.1.2

2011-08-03 Thread Mark Engelberg
Whenever I try to open a file in the new version of Racket (on Windows), I get the following error. Anyone else having this problem, or could this be related to the other virus-checking problems I had with the install? sequence-contract-violation: negative: method end-edit-sequence cannot be call

Re: [racket] Typed racket and sort

2011-08-03 Thread Norman Gray
Robby, hello. On 2011 Aug 3, at 23:55, Robby Findler wrote: > Sometimes that error is because your compiled files are out of date with your > source files. Typically this only happens when you modify the files tho. My fault. I'd copied the Racket v5.1.2 directory off of the .dmg using 'cp -R'

Re: [racket] Typed racket and sort

2011-08-03 Thread Robby Findler
Sometimes that error is because your compiled files are out of date with your source files. Typically this only happens when you modify the files tho. If that really is the problem, running "raco setup" from the command line should fix the problem (once it completes). Robby On Wednesday, August 3

Re: [racket] Typed racket and sort

2011-08-03 Thread Norman Gray
Vincent, hello. On 2011 Aug 3, at 20:17, Vincent St-Amour wrote: >> I suspect I'm not grokking something important about polymorphic >> functions, but I don't know what. > > Inference does not currently work well with function that take keyword > arguments. The solution in cases like this, is t

Re: [racket] FW: External connection to Finndesign Liitin

2011-08-03 Thread Jukka Tuominen
If I remember correctly, there was some time ago discussion about a clear default language missing from Racket. I agree. Once I started with PLT Scheme many years ago, I picked the version that suited best at that time. And have been using that ever since mostly for compatibility reasons. Now, I q

Re: [racket] FW: External connection to Finndesign Liitin

2011-08-03 Thread Vincent St-Amour
At Wed, 3 Aug 2011 21:51:22 +0300, Jukka Tuominen wrote: > Did you set DrRacket's language to Pretty Big (Not default, I guess)? > > From liitin-lib.rkt: > ;; You may additionally want to set the DrRacket language level to 'Pretty > Big', uncheck case sensivity, > ;; and uncheck 'Disallow red

Re: [racket] What happened to the RacketCon link?

2011-08-03 Thread Rodolfo Carvalho
I couldn't find a link to that URL. Maybe it could be linked from the Community page or somewhere else? []'s Rodolfo Carvalho On Wed, Aug 3, 2011 at 18:39, Sam Tobin-Hochstadt wrote: > The permanent URL is http://con.racket-lang.org/2011 . > > Sam > __

Re: [racket] Typed racket and sort

2011-08-03 Thread Vincent St-Amour
At Wed, 03 Aug 2011 15:17:25 -0400, Vincent St-Amour wrote: > > Type Checker: Cannot apply expression of type (All (a b) > > (case-lambda ((Listof a) (a a -> Boolean) [#:cache-keys? Boolean] -> > > (Listof a)) ((Listof a) (b b -> Boolean) [#:cache-keys? Boolean] > > #:key (a -> b) -> (Listof a,

Re: [racket] What happened to the RacketCon link?

2011-08-03 Thread Sam Tobin-Hochstadt
The permanent URL is http://con.racket-lang.org/2011 . Sam On Aug 3, 2011 12:37 PM, "Grant Rettke" wrote: > On Tue, Aug 2, 2011 at 11:29 AM, Danny Yoo wrote: >> I know that RacketCon is over, but can it still have some permanent >> link somewhere on racket-lang.org? If one visited the racket-la

Re: [racket] overlay and overlay/xy

2011-08-03 Thread Robby Findler
Well, I thought I'd done what Don suggested and unfortunately now the deadline for feedback has passed, making it difficult to change things (impossible for the current release of course). So I think the best thing is probably just to experiment with the current set in your class and perhaps give m

Re: [racket] overlay and overlay/xy

2011-08-03 Thread Mark Engelberg
Just getting ready for the new year, and looking closely at the changes to the image teachpack. I like that there is now a version of overlay that works as an offset from the middle-middle point, but it doesn't address Don's second observation that the semantics of overlay/offset feel backwards.

[racket] Racket v5.1.2

2011-08-03 Thread Eli Barzilay
Racket version 5.1.2 is now available from http://racket-lang.org/ * The download page includes 64-bit installers for Mac OS X, Windows, and two Debian flavors. Racket now supports OS X Lion. * Racket now includes a new `racket/place' library to support parallelism, complementing `racket/

Re: [racket] Typed racket and sort

2011-08-03 Thread Vincent St-Amour
At Wed, 3 Aug 2011 20:00:57 +0100, Norman Gray wrote: > #lang typed/racket > (define ss '("one" "two" "three")) ; (Listof String) > (sort ss string > I get an error message: > > Type Checker: Cannot apply expression of type (All (a b) > (case-lambda ((Listof a) (a a -> Boolean) [#:cache-keys? Boo

Re: [racket] My racketcon 2011 talk

2011-08-03 Thread Danny Yoo
On Tue, Aug 2, 2011 at 4:58 PM, Sam Tobin-Hochstadt wrote: > On Tue, Aug 2, 2011 at 1:38 PM, Danny Yoo wrote: >> Does anyone know how to submit a bug report to the >> Mozilla folks? > > Submit bugs at http://bugzilla.mozilla.org . Ok, cool. Bug submitted. (https://bugzilla.mozilla.org/show_bug

[racket] Typed racket and sort

2011-08-03 Thread Norman Gray
Greetings. If I try running the following program: #lang typed/racket (define ss '("one" "two" "three")) ; (Listof String) (sort ss string Boolean) [#:cache-keys? Boolean] -> (Listof a)) ((Listof a) (b b -> Boolean) [#:cache-keys? Boolean] #:key (a -> b) -> (Listof a, since it is not a fun

[racket] FW: External connection to Finndesign Liitin

2011-08-03 Thread Jukka Tuominen
Sorry, I meant to reply to the mailing list, also. br, jukka -Original Message- From: Jukka Tuominen [mailto:jukka.tuomi...@finndesign.fi] Sent: 03 August 2011 21:43 To: rafk...@cs.utah.edu Subject: RE: [racket] External connection to Finndesign Liitin Did you set DrRacket's language to

Re: [racket] External connection to Finndesign Liitin

2011-08-03 Thread Jon Rafkind
If I run liitin.rkt (either on the command line or in drracket) it complains there is no #lang line. When I add one I get this error compile: unbound identifier (and no #%app syntax transformer is bound) at: quote in: (quote (quote gaia:fibonacci:2011-01-01T12:00:00)) On 08/03/2011 04:36 AM, Jukk

Re: [racket] What happened to the RacketCon link?

2011-08-03 Thread Grant Rettke
On Tue, Aug 2, 2011 at 11:29 AM, Danny Yoo wrote: > I know that RacketCon is over, but can it still have some permanent > link somewhere on racket-lang.org?  If one visited the racket-lang.org > home page to find out historical information about the event, it would > seem like it never happened.

Re: [racket] Converting a date to seconds

2011-08-03 Thread Mark Carter
- Original Message - > From: Tony Garnock-Jones > #lang racket > (require srfi/19) > (define (date->seconds date epoch-date) >   (time-second >     (time-difference (date->time-utc date) >                     (date->time-utc epoch-date > (date->seconds (current-date) >            

Re: [racket] DrRacket online check syntax

2011-08-03 Thread Jay McCarthy
Check syntax is always running, so you don't need to press the button to see binding errors, get the arrows, etc Jay On Wed, Aug 3, 2011 at 10:16 AM, Grant Rettke wrote: > On Tue, Aug 2, 2011 at 4:34 PM, Robby Findler > wrote: >> I've just pushed an extension of DrRacket to support online check

Re: [racket] DrRacket online check syntax

2011-08-03 Thread Grant Rettke
On Tue, Aug 2, 2011 at 4:34 PM, Robby Findler wrote: > I've just pushed an extension of DrRacket to support online check > syntax that I demoed at RacketCon. What does it do? _ For list-related administrative tasks: http://lists.racket-lang.org/

Re: [racket] Bug report against current release?

2011-08-03 Thread Neil Van Dyke
BTW, you can download a pre-release version of Racket from "http://pre.racket-lang.org/";. -- http://www.neilvandyke.org/ _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Bug report against current release?

2011-08-03 Thread Stephen Bloch
On Aug 2, 2011, at 8:32 PM, Mason Loring Bliss wrote: > Is there any point to reporting a bug against the last release? My wife > downloaded a nightly build on her Mac, and in the nightly build, she can > paste pictures from HTDPv2 into DrRacket. With the release (MacOS Intel) the > paste didn't

[racket] External connection to Finndesign Liitin

2011-08-03 Thread Jukka Tuominen
Hi all, I would just like to inform you that you can now make a read-only connection to public Liitin objects even if you don't have a Liitin account. We have tested this with Windows XP and Ubuntu 10.04 with R 5.1 so far, but hopefully it works with many other systems, as well. I'd appreciate an