Re: [racket] frequent crashes on Windows 7 64-bit

2013-10-29 Thread Neil Van Dyke
Ideas: * Run a heavy offline RAM test (such as with a bootable CD-ROM from memtest86.org or memtest86.com), since you might have a defect that only memory-intensive programs are likely to tickle. * Use a process tool to watch how the Racket process size grows as you approach the crash, as we

Re: [racket] frequent crashes on Windows 7 64-bit

2013-10-29 Thread Matthias Felleisen
Okay this suggests it's a Window's problem because I am running on a Mac desktop with half the memory and I can go to 9 or 10. I have cc'ed Ryan who created and maintains the DB support. Perhaps he can narrow down the problem. Thanks for the wishes -- Matthias On Oct 29, 2013, at 6:19 P

Re: [racket] frequent crashes on Windows 7 64-bit

2013-10-29 Thread Andrews, Kyle (KC)
I just tried running your code 3 times on `(main 7)' and twice on `(main 6)' and it has crashed each time. But I was worried that somehow I was running out of memory (even though I have 16 Gb available), so I saved the database to file using: (define current-db (make-parameter (sqlite3-connect

Re: [racket] frequent crashes on Windows 7 64-bit

2013-10-29 Thread Matthias Felleisen
Once I had fixed the typo in your program, I was able to run this loop without ado: > (for ((i (in-range 9))) (collect-garbage) (collect-garbage) (time (main i))) cpu time: 1 real time: 1 gc time: 0 cpu time: 5 real time: 6 gc time: 0 cpu time: 9 real time: 9 gc time: 0 cpu time: 77 real time:

[racket] frequent crashes on Windows 7 64-bit

2013-10-29 Thread Andrews, Kyle (KC)
I've been trying to upload data into an SQLite database using Racket from Windows 7 64-bit and both Racket.exe and DrRacket.exe keep crashing before the upload finishes. I've had crashes on long-running programs in DrRacket on Windows 7 before, so I don't want to say for sure that it's the faul

[racket] Scribble with color-property and background-color-property

2013-10-29 Thread Matias Eyzaguirre
Hi all, When I use color-property and background-color-property in scribble they work as expected when I generate HTML output, but do not seem to have any effect when I generate PDF output. Do they not work with the LaTeX renderer? On the other hand, I’m not very familiar with scribble so It’s e

Re: [racket] Numbers with dimensions

2013-10-29 Thread Laurent
Pushed: https://github.com/Metaxal/measures#4-dimensions-and-contracts Laurent On Tue, Oct 29, 2013 at 12:14 PM, Laurent wrote: > That's a good idea, and it's quite easy to implement using contracts! > Would something like this suit you? (this is currently working as is) > https://gist.github.

Re: [racket] Numbers with dimensions

2013-10-29 Thread Laurent
That's a good idea, and it's quite easy to implement using contracts! Would something like this suit you? (this is currently working as is) https://gist.github.com/Metaxal/7212740 Laurent On Tue, Oct 29, 2013 at 11:40 AM, Konrad Hinsen wrote: > Laurent writes: > > > So I've redesigned it som

Re: [racket] Numbers with dimensions

2013-10-29 Thread Konrad Hinsen
Laurent writes: > So I've redesigned it somewhat, and now there are 2 calculation "modes": > - The normal mode is pretty much like Frink (probably the one you want), > which converts > everything to base SI units. Conversion back to non base units can be done > afterwards. Well, what I rea