Re: [racket-dev] package system, minimal builds and more

2013-10-07 Thread Tobias Hammer
All in one answer On Tue, 01 Oct 2013 15:30:11 +0200, Neil Toronto neil.toro...@gmail.com wrote: On 10/01/2013 09:20 AM, Tobias Hammer wrote: * monolithic math currently math is one big package and installing it pulls in nearly everything through the docs. Is it planned to split it into -lib

[racket-dev] What can cause Interactions disabled?

2013-10-07 Thread Neil Toronto
I have a long-running random simulation that spits out debug messages. I extrapolated that it would take 20 hours to get 5,000,000 samples, and let it run for a day. Here's what I saw when I returned: Welcome to DrRacket, version 5.90.0.9--2013-10-04(876995d5/d) [3m]. Language: typed/racket

Re: [racket-dev] What can cause Interactions disabled?

2013-10-07 Thread Robby Findler
Was it black on yellow or red? Robby On Mon, Oct 7, 2013 at 10:32 AM, Neil Toronto neil.toro...@gmail.comwrote: I have a long-running random simulation that spits out debug messages. I extrapolated that it would take 20 hours to get 5,000,000 samples, and let it run for a day. Here's what I

Re: [racket-dev] What can cause Interactions disabled?

2013-10-07 Thread Neil Toronto
Black on yellow. On 10/07/2013 09:50 AM, Robby Findler wrote: Was it black on yellow or red? Robby On Mon, Oct 7, 2013 at 10:32 AM, Neil Toronto neil.toro...@gmail.com mailto:neil.toro...@gmail.com wrote: I have a long-running random simulation that spits out debug messages. I

Re: [racket-dev] What can cause Interactions disabled?

2013-10-07 Thread Robby Findler
Then I think that that means that the message came from rep.rkt's no-user-evaluation-message function and that you either should have gotten a dialog with an explanation for why it terminated, or you have the preference 'drracket:show-killed-dialog set to #f. I think that the only two explanations

Re: [racket-dev] Racket Guide chapter on concurrency

2013-10-07 Thread David Vanderson
This is fantastic! Thank you! I learned a good deal reading it just now. Comments below: On 10/06/2013 04:30 PM, David T. Pierson wrote: 1) Should it be broken into separate pages? I'd leave it as a single page for now. Easier to update. 2) It starts out with the basics of threads. Is

Re: [racket-dev] Racket Guide chapter on concurrency

2013-10-07 Thread Jens Axel S√łgaard
If you need examples, take a look at: The Little Book of Semaphores http://www.greenteapress.com/semaphores/downey05semaphores.pdf /Jens Axel 2013/10/6 David T. Pierson d...@mindstory.com: Hi all, At the hackathon Asumu helped me work on a Guide chapter on concurrency. Thanks Asumu!

Re: [racket-dev] Racket Guide chapter on concurrency

2013-10-07 Thread John Clements
On Oct 6, 2013, at 1:30 PM, David T. Pierson wrote: Hi all, At the hackathon Asumu helped me work on a Guide chapter on concurrency. Thanks Asumu! Since then I've fleshed it out some more and pushed a commit to github.

Re: [racket-dev] What can cause Interactions disabled?

2013-10-07 Thread Neil Toronto
I have that preference set to #f, if this is what it looks like in the preferences file: (plt:framework-pref:drracket:show-killed-dialog #f) Apparently, it got set to #f when I unchecked Show this dialog next time once after I hit Ctrl-K and DrRacket warned me that I couldn't use the

Re: [racket-dev] What can cause Interactions disabled?

2013-10-07 Thread Robby Findler
Probably the check box should make finer distinctions, yes (altho the plumbing inside is the same, as it turns out). And, FWIW setting it to #t will probably only say you ran out of memory. And at the command line, you don't have drracket hogging all that memory so probably that's the best thing,

Re: [racket-dev] Racket Guide chapter on concurrency

2013-10-07 Thread David T. Pierson
On Mon, Oct 07, 2013 at 02:21:26PM -0700, John Clements wrote: Isn't this early example: +@racketblock[ +(define worker (thread (lambda () + (let loop () + (displayln Working...) + (loop) +(sleep 2.5)

Re: [racket-dev] Racket Guide chapter on concurrency

2013-10-07 Thread David T. Pierson
On Mon, Oct 07, 2013 at 04:08:27PM -0400, David Vanderson wrote: This is fantastic! Thank you! I learned a good deal reading it just now. Comments below: Great! Thanks for checking it out and commenting. make-arithmetic-thread is missing a (let loop () line. Later in the same example