Re: [racket] DrRacket WM_CLASS on X

2011-09-26 Thread Neil Van Dyke
Matthew Flatt wrote at 09/26/2011 09:05 PM: I've changed it to "DrRacket" and set up the configuration plumbing for executables/launcher in general. Thanks. That was going to be my next wishlist item. :) -- http://www.neilvandyke.org/ _ For

Re: [racket] bitmap% and OpenGL. Maybe bug?

2011-09-26 Thread Ivanyi Peter
Dear Matthew, I have done a little digging. The problem is not in the gl-context.rkt in itself.The problem appears when you use the make-gl-bitmap and canvas% together.I have attached a very simple OpenGL program to this e-mail. Save it as gl-base.scm.If you execute it,then first it prints appr

Re: [racket] DrRacket WM_CLASS on X

2011-09-26 Thread Matthew Flatt
At Mon, 26 Sep 2011 19:01:26 -0400, Neil Van Dyke wrote: > Matthew Flatt wrote at 09/26/2011 07:36 AM: > > Which version did you try? I think WM_CLASS is set as of commit > > 941dacd966913ebbeca1 (August 4) in the git repo. > > > > Will the class be "Drracket", or will that change to "DrRacket

Re: [racket] DrRacket WM_CLASS on X

2011-09-26 Thread Neil Van Dyke
Matthew Flatt wrote at 09/26/2011 07:36 AM: Which version did you try? I think WM_CLASS is set as of commit 941dacd966913ebbeca1 (August 4) in the git repo. Will the class be "Drracket", or will that change to "DrRacket" before the release? WM_CLASS(STRING) = "drracket", "Drracket" Welc

Re: [racket] GUI Freeze when executing syntax check

2011-09-26 Thread Walter Wilhelm
When i start drracket from a shell and click "check syntax" without any input, everything is fine. But when i just type in a very simple function like (define f (lambda (x) x)) the syntax-check never ends. The GUI is still repainted if it is occluded by other windows or minimized / maximized, but

Re: [racket] Writing parallel racket benchmarks

2011-09-26 Thread John Clements
On Sep 25, 2011, at 6:21 PM, Sam Tobin-Hochstadt wrote: > This past week, I wrote some parallel Racket versions of benchmarks > for the Computer Language Shootout. It was fun to do, and I wrote a > little bit about what I learned: > http://scriptstoprograms.wordpress.com/2011/09/25/benchmarketin

Re: [racket] request for testing .apk file

2011-09-26 Thread Sam Tobin-Hochstadt
On Mon, Sep 26, 2011 at 12:56 PM, Danny Yoo wrote: > An alternative to the APK stuff, offline web-app using HTML 5's > application caching, is also in place.  See: > >    http://hashcollision.org/tmp/where-am-i/where-am-i.html This doesn't seem to do anything with the local storage for me, on Fir

Re: [racket] uri-decode and non-UTF-8 percent-encoded links

2011-09-26 Thread Jay McCarthy
There is not, and I think this is a major flaw throughout a lot of the Racket net libraries. I have gone through many efforts to use bytes throughout the Web server to avoid issues like this, but the URL module is one place where it hurts. I think it should be written to use bytes internally and p

Re: [racket] request for testing .apk file

2011-09-26 Thread Danny Yoo
An alternative to the APK stuff, offline web-app using HTML 5's application caching, is also in place. See: http://hashcollision.org/tmp/where-am-i/where-am-i.html or http://hashcollision.org/tmp/rain/index.html Once you visit the page once, it should persist in the cache. If you try

Re: [racket] scribble/text language

2011-09-26 Thread Shriram Krishnamurthi
Right. Also, I like how the @syntax document very simply states, up top, "It might be easiest to do ... to run the examples in this section". A similar sentence at the top of this documentation would make a big difference. (It's not obvious that some #lang scribble/... things can be run through

Re: [racket] DrRacket WM_CLASS on X

2011-09-26 Thread Neil Van Dyke
Matthew Flatt wrote at 09/26/2011 07:36 AM: Which version did you try? I think WM_CLASS is set as of commit 941dacd966913ebbeca1 (August 4) in the git repo. That was 5.1.3. Thanks, I look forward to the next release. -- http://www.neilvandyke.org/

Re: [racket] scribble/text language

2011-09-26 Thread Matthew Flatt
At Sun, 25 Sep 2011 21:35:08 -0400, Eli Barzilay wrote: > 50 minutes ago, Shriram Krishnamurthi wrote: > > Does the scribble/text language work in 5.1.3? Here's the first > > example in the docs: > > > > #lang scribble/text > > Programming languages should > > be designed not by piling > > featur

Re: [racket] DrRacket WM_CLASS on X

2011-09-26 Thread Matthew Flatt
At Mon, 26 Sep 2011 02:45:23 -0400, Neil Van Dyke wrote: > For DrRacket running with the X Window System, would it be possible to > set the windows' "WM_CLASS" to "DrRacket"? > > "xprop" says that there is no "WM_CLASS": > > [...] > WM_CLASS(STRING) = "", "" > WM_ICON_NAME(STRING) = "Untitled -

Re: [racket] Need Help With Keybindings

2011-09-26 Thread Robby Findler
Two built-in keys that do that are esc;backspace (and possibly alt-backspace, depending on your platform), and control-shift-left, which selects a word backwards (which you can then delete or cut or select another one or whatever). Robby On Sun, Sep 25, 2011 at 10:59 PM, David G. Kay wrote: > >

Re: [racket] Writing parallel racket benchmarks

2011-09-26 Thread Erich Rast
One question out of curiosity. In the parallel Mandelbrot benchmark on the language shootout page, languages like C, C++, Ada, Java 7 have 100% CPU utilization on all cores. Racket has 94% on all cores, whereas other languages values are sometimes much lower and differ from core to core. What infl