[racket] DrRacket window resize bug on GNU/Linux in pre 5.1.2.3

2011-08-01 Thread Neil Van Dyke
FYI, I'm still seeing that DrRacket window resize bug on GNU/Linux with Racket "pre" 5.1.2.3 (downloaded Monday night from "pre.racket-lang.org"). When the window manager is doing an opaque window resize (meaning that the wm keeps sending resize events to the window as you drag mouse to resize

[racket] racket doesn't work with Mac OSX 10.7 (Lion)?

2011-08-01 Thread Joseph Maline
I've downloaded Racket, copied the directory into applications, and try and run and get the following crash report … Any users having similar problem? Anyone from dev have any thoughts (note, I've tried this 4 times …) Thanks Joe - Process: DrRacket [802] Path:/Application

Re: [racket] color partial lexemes

2011-08-01 Thread Neil Van Dyke
Matthew Flatt wrote at 08/01/2011 08:40 PM: At Mon, 01 Aug 2011 18:13:11 -0600, Jon Rafkind wrote: How do I deal with partial lexemes when using the color:text colorer? It seems that if my lexer cannot produce a valid token then it will throw an error and the color thread will keep calling `g

Re: [racket] color partial lexemes

2011-08-01 Thread Matthew Flatt
At Mon, 01 Aug 2011 18:13:11 -0600, Jon Rafkind wrote: > How do I deal with partial lexemes when using the color:text colorer? It > seems that if my lexer cannot produce a valid token then it will throw > an error and the color thread will keep calling `get-token' in a busy loop. > > Is there some

Re: [racket] Unexpected error extracting value from request bindings.

2011-08-01 Thread Hendrik Boom
On Mon, Aug 01, 2011 at 12:28:51PM -0400, Eli Barzilay wrote: > Five minutes ago, Hendrik Boom wrote: > > On Mon, Aug 01, 2011 at 01:08:27AM -0400, Neil Van Dyke wrote: > > > > > > Esoterica #2: You'll see functions like "gensym" and "gentemp" in > > > some old Lisp dialects, and they will be used

[racket] color partial lexemes

2011-08-01 Thread Jon Rafkind
How do I deal with partial lexemes when using the color:text colorer? It seems that if my lexer cannot produce a valid token then it will throw an error and the color thread will keep calling `get-token' in a busy loop. Is there some magic thing I can return from `get-token' to tell the colorer th

Re: [racket] Errors trying to compile Racket 5.1.1 on Linux (Ubuntu 10.04 LTS)

2011-08-01 Thread Jon Rafkind
Try running make with strace $ strace make 2> out $ gzip out Send out.gz as an attachment or post it somewhere. On 08/01/2011 01:07 PM, Keith Frost wrote: > ### I do: > cd racket-5.1.1/src > mkdir build > cd build > ../configure > make > > ### and I see: > > make 3m > make[1]: Entering directory

Re: [racket] Errors trying to compile Racket 5.1.1 on Linux (Ubuntu 10.04 LTS)

2011-08-01 Thread William Turtle
When you go to racket-lang.org/download/, which platform are you downloading for? I've been able to build using the Unix source (racket-5.1.1-src-unix.tgz) on your same distribution, Ubuntu 10.04. I'm using GNU Make 3.81. Bill T. _ For list-relate

Re: [racket] Errors trying to compile Racket 5.1.1 on Linux (Ubuntu 10.04 LTS)

2011-08-01 Thread Keith Frost
> echo $? 0 > ls Makefile config.log config.status foreign gracket lt plot racket # Thanks. On Mon, Aug 1, 2011 at 3:31 PM, William Turtle wrote: > After you type `../configure' at the command-prompt, make sure that when > you type `echo $?' at the prompt, it prints 0, indicating a succes

Re: [racket] Errors trying to compile Racket 5.1.1 on Linux (Ubuntu 10.04 LTS)

2011-08-01 Thread William Turtle
After you type `../configure' at the command-prompt, make sure that when you type `echo $?' at the prompt, it prints 0, indicating a successful configuration. After that, could you type `ls' and tell me what it says? Bill T. On Mon, Aug 01, 2011 at 03:07:39PM -0400, Keith Frost wrote: > ### I do:

[racket] Errors trying to compile Racket 5.1.1 on Linux (Ubuntu 10.04 LTS)

2011-08-01 Thread Keith Frost
### I do: cd racket-5.1.1/src mkdir build cd build ../configure make ### and I see: make 3m make[1]: Entering directory '/home/kfrost/racket-5.1.1/src/build' cd racket; make 3m /bin/sh: line 0: cd: racket: No such file or directory make[2[: Entering directory '/home/kfrost/racket-5.1.1/src/build'

Re: [racket] Unexpected error extracting value from request bindings.

2011-08-01 Thread Eli Barzilay
Yesterday, Jay McCarthy wrote: > (gensym) generates something that cannot be created again in anyway. > > Even it is printed as 'g1753, that doesn't mean typing 'g1753 will > get the same thing, nor that (string->symbol "g1753") will either. > This is the whole point of (gensym). The process of c

Re: [racket] Unexpected error extracting value from request bindings.

2011-08-01 Thread Eli Barzilay
Five minutes ago, Hendrik Boom wrote: > On Mon, Aug 01, 2011 at 01:08:27AM -0400, Neil Van Dyke wrote: > > > > Esoterica #2: You'll see functions like "gensym" and "gentemp" in > > some old Lisp dialects, and they will be used mostly to get around > > problems of non-hygienic macros in that partic

Re: [racket] Unexpected error extracting value from request bindings.

2011-08-01 Thread Hendrik Boom
On Mon, Aug 01, 2011 at 01:08:27AM -0400, Neil Van Dyke wrote: > > Esoterica #2: You'll see functions like "gensym" and "gentemp" in > some old Lisp dialects, and they will be used mostly to get around > problems of non-hygienic macros in that particular dialect. I don't > recall seeing them used

Re: [racket] Converting a date to seconds

2011-08-01 Thread Tony Garnock-Jones
On 2011-07-31 6:47 AM, Mark Carter wrote: > The alternative would be to use srfi/19, which has a usable make-date > function, but doesn't seem to be able to convert that to seconds. This will work, but it suffers from the problems of Unix's time_t (which I hope aren't a problem for you, since you'

Re: [racket] Unexpected error extracting value from request bindings.

2011-08-01 Thread Jay McCarthy
All good points. I should also mention that formlets do this automatically, which is why you don't name the fields when using formlets. Jay On Sun, Jul 31, 2011 at 11:08 PM, Neil Van Dyke wrote: > You are correct that it is effectively black magic, in that you probably > don't need to know about

Re: [racket] Scribble and Contracts

2011-08-01 Thread Patrick King
On Aug 1, 2011 6:15 AM, "Matthew Flatt" wrote: > > Thanks for the report! I've pushed a repair to the Racket git repo. Thanks for the repair! > > The problem was a mismatch between `make-base-eval' and > `make-base-eval-factory'. If you use `make-base-eval-factory' within > DrRacket (or some othe

Re: [racket] Scribble and Contracts

2011-08-01 Thread Matthew Flatt
Thanks for the report! I've pushed a repair to the Racket git repo. The problem was a mismatch between `make-base-eval' and `make-base-eval-factory'. If you use `make-base-eval-factory' within DrRacket (or some other context where `racket/gui/base' is loaded), then the factory couldn't attach modu