Re: [racket] Apply proc with hasheq

2012-12-18 Thread Eli Barzilay
7 hours ago, Danny Yoo wrote: > (define (hash->keyword-apply f a-hash [rest-args '()]) > (define-values (keys vals) > (for/fold ([keys '()] [vals '()]) > ([k (sort (hash-keys a-hash) string>? #:key symbol->string)]) > (values (cons (string->keyword (symbol->string k)) keys

Re: [racket] DrRacket Crashes?

2012-12-18 Thread Stephen Bloch
Begin forwarded message: > From: Adam Golding > Date: December 17, 2012 6:07:00 PM EST > To: users@racket-lang.org > Subject: [racket] DrRacket Crashes? > > Hi, DrRacket is crashing while I am using this code (from 'picturing > programs'): > > (require picturing-programs) > > (big-bang (ove

Re: [racket] DrRacket Crashes?

2012-12-18 Thread Adam Golding
Currently neither of the methods seem to *reliably* produce the crash, although I was able to use each of them to produce the crash several times in immediate succession when I posted each method.. On 18 December 2012 09:34, Stephen Bloch wrote: > > > Begin forwarded message: > > *From: *Adam Go

Re: [racket] DrRacket Crashes?

2012-12-18 Thread Stephen Bloch
I'm also not seeing these crashes in 5.3.1 in Windows in VMWare on my Mac. Stephen Bloch sbl...@adelphi.edu Racket Users list: http://lists.racket-lang.org/users

Re: [racket] DrRacket Crashes?

2012-12-18 Thread Helmut Dobretzberger
>"SB" == Stephen Bloch writes: SB> I'm also not seeing these crashes in 5.3.1 in Windows in VMWare on my Mac. I can reproduce it in a slight different way: Use the given code. Press run, wait short, press X to break. If you repeat that, DrRacket will crash. Sometimes at the second repeat, s

[racket] Future function in Racket

2012-12-18 Thread Mohammad Mustaqeem
Hello, I want to verify that "is future executes the thunk in parallel"? For that, I need an example that show the difference between execution time of the using future and without it. Please, give me an example verifies that "future executes the thunk in parallel"

Re: [racket] Future function in Racket

2012-12-18 Thread Neil Toronto
On 12/18/2012 10:14 AM, Mohammad Mustaqeem wrote: Hello, I want to verify that "is future executes the thunk in parallel"? For that, I need an example that show the difference between execution time of the using future and without it. Please, give me an example verifies that "future e

Re: [racket] Future function in Racket

2012-12-18 Thread Eli Barzilay
An hour ago, Mohammad Mustaqeem wrote: > Hello, > I want to verify that "is future executes the thunk in parallel"? > For that, I need an example that show the difference between execution > time of the using future and without it. > Please, give me an example verifies that "future execut

[racket] bitmap% size in memory

2012-12-18 Thread Bert De Ketelaere
Hello all, When loading large pictures (± 4300x2600 pixels) I would expect that they takes up around 45Mb of memory. But when I monitored my program in windows task-manager I noticed it was more in the neighborhood of 100Mb (after garbage collection, the in-between values goes over 200Mb) Hopi