Re: [racket] DrRacket never uses more than 1 GB?

2010-07-14 Thread Benderjg2
For one of problems Greg has reported in his earlier emails: that DrRacket can be crashed even when a memory limit is set, I've seen this as well, fairly commonly on Windows XP and Vista with v4.x and now v5.0. If it is of any use, I can consistently reproduce this on my XP netbook, with th

Re: [racket] changing a string into a list

2010-07-14 Thread Todd O'Bryan
If I ever knew there was a compose function, I'd forgotten it. Thanks for the reminder! On Wed, Jul 14, 2010 at 10:57 PM, Matthias Felleisen wrote: > > I'd compose the two maps into one: > >  (map (compose string->symbol string) (string->list x)) > > > > On Jul 14, 2010, at 10:51 PM, Todd O'Bryan

Re: [racket] changing a string into a list

2010-07-14 Thread Matthias Felleisen
I'd compose the two maps into one: (map (compose string->symbol string) (string->list x)) On Jul 14, 2010, at 10:51 PM, Todd O'Bryan wrote: > I want to change a "STRING" into a list of symbols '(S T R I N G), but > can't find a very direct way to do it. > > The best I've got is > > (map s

[racket] changing a string into a list

2010-07-14 Thread Todd O'Bryan
I want to change a "STRING" into a list of symbols '(S T R I N G), but can't find a very direct way to do it. The best I've got is (map string->symbol (map string (string->list "STRING"))) Is there something better I'm missing? Todd _ For list-r

Re: [racket] DrRacket never uses more than 1 GB?

2010-07-14 Thread Eli Barzilay
On Jul 14, Greg Hendershott wrote: > [4] More memory debugging tools would be helpful, as it's > non-trivial to correlate Racket data to bytes (e.g. no C-style > sizeof). About this point: there's `current-memory-use', which can provide you with a rough number, so you can allocate some N whatevers

Re: [racket] DrRacket never uses more than 1 GB?

2010-07-14 Thread Matthias Felleisen
On Jul 14, 2010, at 6:22 PM, Greg Hendershott wrote: > I hope it's clear that if I didn't like Racket I wouldn't bother > offering the feedback, so although this may not feel like a > compliment, indirectly it is. :) Thank you for the feedback. The above has been my motto for 20+ years (as I u

Re: [racket] DrRacket never uses more than 1 GB?

2010-07-14 Thread Greg Hendershott
Good news, I found and fixed my memory over-consumption, albeit the hard way. Some take-aways: [1] I remain convinced that DrRacket won't use > 1 GB for on Win64. [2] It would be great to see DrRacket as a full 64 bit app on Windows and Mac OS X someday. [3] The intended use of Limit Memory and i

Re: [racket] Racket install issue

2010-07-14 Thread Eli Barzilay
On Jul 14, Jon Rafkind wrote: > On 07/14/2010 12:31 PM, Eli Barzilay wrote: > > On Jul 14, spir wrote: > >> My system is ubuntu 9.10. > >> After some search, I found that the .sh file downloaded is a shar > >> archive, to be unpacked and installed using unshar. Right. > > No -- the ".sh" file is

Re: [racket] Racket install issue

2010-07-14 Thread Jon Rafkind
On 07/14/2010 12:31 PM, Eli Barzilay wrote: On Jul 14, spir wrote: My system is ubuntu 9.10. After some search, I found that the .sh file downloaded is a shar archive, to be unpacked and installed using unshar. Right. No -- the ".sh" file is (in this case and in general) a file that should be

Re: [racket] Racket install issue

2010-07-14 Thread Eli Barzilay
On Jul 14, spir wrote: > > My system is ubuntu 9.10. > After some search, I found that the .sh file downloaded is a shar > archive, to be unpacked and installed using unshar. Right. No -- the ".sh" file is (in this case and in general) a file that should be fed to a shell, so you should run it si

[racket] Racket install issue

2010-07-14 Thread spir
Hello, I'm completely new to Racket, Scheme and Lisp dialects in general. I count on the racket system to learn... While trying to install, I face the issue described below. The only tip on installation I could find online (searched for a while...) is: "1 Ready... Download Racket, install, and

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread Eli Barzilay
On Jul 14, Matthew Flatt wrote: > At Wed, 14 Jul 2010 13:19:36 -0400, Eli Barzilay wrote: > > On Jul 13, Matthew Flatt wrote: > > > The main obstacle was that operations like `raco make' and `raco > > > setup' needed SHA-1 hashing from OpenSSL via the FFI. > > > > > > I've adjusted several things

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread Matthew Flatt
At Wed, 14 Jul 2010 18:35:58 +0200, nitralime wrote: > The latest Racket sources didn't work as you see below: The `install-sh' file is now executable. > I seems that my work around, i.e. replacing /*libffi*/ source tree by > its /*patched version > from Debian repository*/, is more promising:

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread nitralime
Using the latest sources from GitHub and the patched version of libffi from Debian repository the compilation could be finished successfully:-) Regards Nik On 07/14/2010 02:46 PM, Matthew Flatt wrote: Right --- this is the problem that Kevin was talking about when he mentioned that the 3m buil

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread Matthew Flatt
At Wed, 14 Jul 2010 13:19:36 -0400, Eli Barzilay wrote: > On Jul 13, Matthew Flatt wrote: > > The main obstacle was that operations like `raco make' and `raco > > setup' needed SHA-1 hashing from OpenSSL via the FFI. > > > > I've adjusted several things so that `make' and `make install' can > > wo

Re: [racket] unsubscribe

2010-07-14 Thread Eli Barzilay
If you want to unsubscribe, please note the URL at the bottom of every message to the list, as well as email headers that contain more information on the list. And related to this, I see many people who subscribe to both the `users' list and the `announce' list -- the latter is used only for annou

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread Eli Barzilay
On Jul 13, Matthew Flatt wrote: > The main obstacle was that operations like `raco make' and `raco > setup' needed SHA-1 hashing from OpenSSL via the FFI. > > I've adjusted several things so that `make' and `make install' can > work when the FFI is disabled: > > * A new `file/sha1' library ports

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread nitralime
The latest Racket sources didn't work as you see below: # cd build #../configure --prefix=/home/user/local/racket-5.0 --with-x=no --disable-gracket # make ... ... a - backgraph.o a - win32_threads.o a - thread_loca

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread Matthew Flatt
At Wed, 14 Jul 2010 16:22:37 +0200, nitralime wrote: /home/user/tmp/plt-5.0-ffi/src/build/racket/gc2/../../../racket/gc2/sighand.c:5 > 8: > undefined reference to `mz_proc_thread_self' That's also fixed in the latest sources. > I will also give the latest Racket sources a try!! > By the way it w

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread nitralime
I could already find a work around for compiling with *--enable-foreign*! I have just replaced the original /*libffi */source tree by its patched version from /*Debian repository*/. The compilation on my Nokia N900 run without problems until I got the following error:

Re: [racket] Require error

2010-07-14 Thread Noel Welsh
On Wed, Jul 14, 2010 at 1:24 PM, Alvin Schatte wrote: > > " c:\documents and settings\alvin.schatte\my documents\projects\racket\blog > demo\model-3.rkt:42:23: Servlet (@ /servlets/standalone.rkt) exception: > SQLite Error: File opened that is not a database file" > What is the file that you're t

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread Matthew Flatt
Right --- this is the problem that Kevin was talking about when he mentioned that the 3m build doesn't work. It's also what I was talking about for `raco make' and `raco setup', because something like `raco make' is used to build some Racket files that are used to build 3m. Besides the changes tha

Re: [racket] Require error

2010-07-14 Thread Alvin Schatte
Hello Todd, Thanks for your help. I have SQLite3 installed now (unzipped and copied to Window\system32 directory), but there is no libsqlite3.dll. I renamed the sqlite3.dll to libsqlite3.dll and am now getting: " c:\documents and settings\alvin.schatte\my documents\projects\racket\blog demo\mod

Re: [racket] Compiling Racket on Maemo 5

2010-07-14 Thread nitralime
Hi! I have applied the changes that you pointed out in your posting to env.c and thread.c with a minor modification of changes in thread.c (MZRT replaced by FUTURES!): -#ifdef MZ_USE_FUTURES +#if defined(MZ_USE_FUTURES) && !defined(DONT_USE_FOREIGN) I get now the following errors: -