Re: [racket] racket and OS threads

2011-03-19 Thread Jukka Tuominen
Excellent, that did it. Thank you for the _instant_ support, Matthew! One thing I noticed, is that when pressing the stop button in DrRacket, the OS process survived. I can't tell whether that's good or bad, just an observation. Thanks again! br, jukka > -Original Message- > From: Matt

Re: [racket] racket and OS threads

2011-03-19 Thread Matthew Flatt
That works for me in Mac OS X. For Linux, though, I have to enable subprocess groups with `(subprocess-group-enabled #t)'. I guess its a difference in how shells work. At Sat, 19 Mar 2011 23:27:15 +0200, "Jukka Tuominen" wrote: > > Still can't end the OS process. I wasn't sure where to place the

Re: [racket] racket and OS threads

2011-03-19 Thread Jukka Tuominen
Still can't end the OS process. I wasn't sure where to place the (current-subprocess-custodian-mode 'kill), but none (1-4) worked. Is there still hope to have it done from gracket? Here's what I have tried: ;(current-subprocess-custodian-mode 'kill);1 (define loop (lambda () (define cust

[racket] sandbox upset about libcrypto access for comment box

2011-03-19 Thread Todd O'Bryan
In my on-again, off-again flirtations with the sandbox, I have hit an error that I don't think I've seen before. I created a sample student file with a comment box in it. When I try to load it into a sandbox evaluator, I get the error file-exists?: `exists' access denied for /usr/lib/racket/libcr

Re: [racket] structure question

2011-03-19 Thread Manfred Lotz
On Sat, 19 Mar 2011 10:10:15 -0400 Matthias Felleisen wrote: > > Read delivers an S-expression. You need to turn it into a structure > again > Aaah, ok. I see. -- Thanks, Manfred _ For list-related administrative tasks: http://lists.r

Re: [racket] data mining business information on web sites w/Racket

2011-03-19 Thread Geoffrey S. Knauth
Neil and Noel, all great advice, thank you. And I'm not surprised you were the two who answered first! --Geoff _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] code to HTML

2011-03-19 Thread Todd O'Bryan
Thanks! I just found Code Mirror, a JavaScript library that colorizes code typed into a textarea and can also be used to colorize displayed code. I'm going to try using it, since it will also work for my AP Java class. Todd On Sat, Mar 19, 2011 at 9:12 AM, Robby Findler wrote: > The code is curr

Re: [racket] structure question

2011-03-19 Thread Matthias Felleisen
Read delivers an S-expression. You need to turn it into a structure again On Mar 19, 2011, at 5:29 AM, Manfred Lotz wrote: > On Wed, 8 Dec 2010 16:13:08 -0500 > Matthias Felleisen > wrote: > > >> ;; >> - >> ;; >> us

Re: [racket] code to HTML

2011-03-19 Thread Robby Findler
The code is currently only in the planet server sources, I believe. Robby On Sat, Mar 19, 2011 at 6:46 AM, Jens Axel Søgaard wrote: > 2011/3/18 Todd O'Bryan : >> Anybody have any idea where I should look for that? > > In hindsight it might be better to use Scribble, since it > will produce links

Re: [racket] code to HTML

2011-03-19 Thread Jens Axel Søgaard
2011/3/18 Todd O'Bryan : > Anybody have any idea where I should look for that? In hindsight it might be better to use Scribble, since it will produce links to the Racket documentation. -- Jens Axel Søgaard _ For list-related administrative tasks

Re: [racket] code to HTML

2011-03-19 Thread Jens Axel Søgaard
My last message was a bit unclear. I wrote the number theory code (which was linked just to remind Todd, how PLaneT highlights code. The actual source code highlighting in PLaneT is (maybe?) a modified version of some code I once adapted from Anton. I would have linked to the source highlighting

Re: [racket] structure question

2011-03-19 Thread Manfred Lotz
On Wed, 8 Dec 2010 16:13:08 -0500 Matthias Felleisen wrote: > ;; > - > ;; > usage example (could be separate module) (define detail-default "?") > (struct/kw book (author title [details detail-default]) #:transparent) >