Re: [racket] My new Racket blog....

2012-09-02 Thread Joe Gilray
Hi Jay, OK, that helped. Now it cannot find: "/usr/share/dict/words" -Joe On Sat, Sep 1, 2012 at 11:05 AM, Jay McCarthy wrote: > On Thu, Aug 30, 2012 at 6:10 PM, Joe Gilray wrote: > > Hi Jay, > > > > Since your post, I've been reading and thoroughly enjoying your blog... > > thank you! > > > >

Re: [racket] Teach Yourself Racket (version 0.1)

2012-09-02 Thread Joe Gilray
Hi Prabhakar, Really excellent material. Thanks for doing this. Here are some suggestions after a first read-through: Intro: "languages" should be "language" 1.7: the last paragraph would be nicely illustrated with a short example (list of lists, maybe?) 2.1: some explanation of the "alternativ

Re: [racket] [ANN] Geiser 0.2

2012-09-02 Thread Danny Yoo
> > Besides bug fixes, there's support for images in Racket: > > http://geiser.nongnu.org/geiser_3.html#Seeing-is-believing (add1 (add1 1)) Wow! Racket Users list: http://lists.racket-lang.org/users

[racket] [ANN] Geiser 0.2

2012-09-02 Thread Jose A. Ortega Ruiz
Hi, A quick note to let you know that i've just released Geiser 0.2, my Emacs-Racket/Guile interaction thingie (http://www.nongnu.org/geiser). Besides bug fixes, there's support for images in Racket: http://geiser.nongnu.org/geiser_3.html#Seeing-is-believing The full list of changes is here:

Re: [racket] Detecting named pipe

2012-09-02 Thread Danny Yoo
On Sun, Sep 2, 2012 at 6:25 AM, Paulo J. Matos wrote: > Hi, > > I am trying to obtain the md5sum of a bunch of files, so for all files with > path 'p' I do : (call-with-input-file p md5) > > The problem is that this hangs when I find a named pipe file. file-exists? > returns #t and then the proces

Re: [racket] speeding up db.plt loading

2012-09-02 Thread prad
Danny Yoo writes: >> >> if i raco my program and run the executable i can get results within 1s, >> but running the program through racket can sometimes take nearly 5s >> before i see the same results. if i don't load db.plt i get responses >> instantly (but of course i have no access to the db).

Re: [racket] speeding up db.plt loading

2012-09-02 Thread Danny Yoo
> > if i raco my program and run the executable i can get results within 1s, > but running the program through racket can sometimes take nearly 5s > before i see the same results. if i don't load db.plt i get responses > instantly (but of course i have no access to the db). Hi Prad, I want to fo

Re: [racket] speeding up db.plt loading

2012-09-02 Thread prad
Neil Van Dyke writes: > If you instead try the following, is that sufficiently fast: > > (require db/base db/sqlite3) > wow! thx neil! -- in friendship, prad Racket Users list: http://lists.racket-lang.org/users

Re: [racket] speeding up db.plt loading

2012-09-02 Thread Neil Van Dyke
A newer version of "db" is now in core Racket, so you don't have to get it from PLaneT. If you instead try the following, is that sufficiently fast: (require db/base db/sqlite3) Neil V. Racket Users list: http://lists.racket-lang.org/users

[racket] speeding up db.plt loading

2012-09-02 Thread prad
ryanc's most useful db.plt is what i've mostly used to access sqlite and postgresql dbs. however, it tends to take a while to load as far as i can tell possibly because it is getting stuff for obdc, mysql and postgresql as well as sqlite3 (which is usually the only one i need). the directory here

Re: [racket] Problem with macro

2012-09-02 Thread Harry Spier
Thanks Danny, I've changed the syntax of the macro as follows by faking keyword arguments prompt: and handler: and it works now as far as I can tell. I saw some discussion on the dev list about keyword parameters and syntax but I didn't quite follow it, so I wasn't sure if it was saying that keyw

[racket] Detecting named pipes Re: users Digest, Vol 85, Issue 3

2012-09-02 Thread Axel
Am Sonntag, 2. September 2012, 12:00:02 schrieb users-requ...@racket-lang.org: > Send users mailing list submissions to > users@racket-lang.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.racket-lang.org/users/listinfo > or, via email, send a message wi

[racket] Detecting named pipe

2012-09-02 Thread Paulo J. Matos
Hi, I am trying to obtain the md5sum of a bunch of files, so for all files with path 'p' I do : (call-with-input-file p md5) The problem is that this hangs when I find a named pipe file. file-exists? returns #t and then the process hangs. It seems I can't run md5 on named pipes, so how can I

Re: [racket] Static blog generator

2012-09-02 Thread Paulo J. Matos
On 26/08/12 16:13, Jens Axel Søgaard wrote: Something like this? Exactly that. Thanks. -- PMatos Racket Users list: http://lists.racket-lang.org/users