Re: [racket] do loops in racket, also srfi/25 query

2012-03-26 Thread Rodolfo Carvalho
Hi Joe, On Mon, Mar 26, 2012 at 21:22, Joe Gilray wrote: > Hi Pierpaolo, > > Yes, I could read the data into a list and then create an array from it: > > (array-ref (apply array (shape 0 3 0 3) '(1 2 3 4 5 6 7 8 9)) 2 2) > 9 > > But, I don't seem to be able to do the same from a vector: > > (arr

Re: [racket] do loops in racket, also srfi/25 query

2012-03-26 Thread Joe Gilray
Hi Pierpaolo, Yes, I could read the data into a list and then create an array from it: (array-ref (apply array (shape 0 3 0 3) '(1 2 3 4 5 6 7 8 9)) 2 2) 9 But, I don't seem to be able to do the same from a vector: (array-ref (apply array (shape 0 3 0 3) #(1 2 3 4 5 6 7 8 9)) 2 1) apply: expect

Re: [racket] WeScheme developers heads up: build process changed

2012-03-26 Thread Danny Yoo
On Mon, Mar 26, 2012 at 8:03 PM, namekuseijin wrote: > so, no named let yet?  any inherent javascript shortcoming? No fundamental shortcoming. Whalesong, for example, has no problem with named let. I haven't yet changed WeScheme's compiler to use the real Racket compiler, nor any of my Whaleson

Re: [racket] WeScheme developers heads up: build process changed

2012-03-26 Thread namekuseijin
so, no named let yet? any inherent javascript shortcoming? Racket Users list: http://lists.racket-lang.org/users

Re: [racket] DrRacket not starting today

2012-03-26 Thread André Fernandes
Thanks a lot for the answer, it did help a lot. André Danny Yoo escreveu: > I've just installed racket and I have the same here. > I am using racket at a Archlinux distribution, racket (without drracket) works > fine (its version is Racket v5.2.1). > Does anyone knows why it does happen? > > A

Re: [racket] DrRacket not starting today

2012-03-26 Thread Danny Yoo
> I've just installed racket and I have the same here. > I am using racket at a Archlinux distribution, racket (without drracket) works > fine (its version is Racket v5.2.1). > Does anyone knows why it does happen? > > Andre. > PS: I have never used racket before, so I really do not know where to s

Re: [racket] DrRacket 5.2.1 keeps crashing after start on Mac OS X Lion

2012-03-26 Thread Danny Yoo
> since today, and for no reason I can discern, DrRacket (5.2.1) keeps crashing > when I try to run it under Mac OS X Lion (10.7.3). Here is what I see when I > try to run it from the Terminal: > > s0627:Racket v5.2.1 roessling$ ./DrRacket.app/Contents/MacOS/DrRacket > read-bitmap: expects type

[racket] DrRacket 5.2.1 keeps crashing after start on Mac OS X Lion

2012-03-26 Thread Guido Rößling
Hi, since today, and for no reason I can discern, DrRacket (5.2.1) keeps crashing when I try to run it under Mac OS X Lion (10.7.3). Here is what I see when I try to run it from the Terminal: s0627:Racket v5.2.1 roessling$ ./DrRacket.app/Contents/MacOS/DrRacket read-bitmap: expects type as 1s

Re: [racket] DrRacket not starting today

2012-03-26 Thread Andre Fernandes
> > BTW, pure racket and gracket are working fine. > > On Mon, Mar 26, 2012 at 1:26 PM, namekuseijin > wrote: > > Holy Baloney!  It's the same here on Windows Vista at work! > > > > the console: > > > > read-bitmap: expects type as 1st argument, given: '# > > (# 270 270); other arguments were:

Re: [racket] request for test for IE7 deprecation warning for WeScheme

2012-03-26 Thread Danny Yoo
> Although obviously those are all excellent browsers, you might want to > also suggest that they upgrade to a more recent version of IE, > especially since that may be the only possible option in some > locked-down environments. Ok. The amended version now should say: #

Re: [racket] request for test for IE7 deprecation warning for WeScheme

2012-03-26 Thread Sam Tobin-Hochstadt
On Mon, Mar 26, 2012 at 4:26 PM, Danny Yoo wrote: > > #< WeScheme detects that you are using IE 6/7. Note that WeScheme will no > longer support Internet Explorer 7 after June 1st, 2012. Please update > your browser to a newer version. These browsers include Chrome, > Firefox, or Safari. > EOF Al

[racket] request for test for IE7 deprecation warning for WeScheme

2012-03-26 Thread Danny Yoo
Hi everyone, I'm requesting folks who have versions of IE < 8 to try something for me. We're deprecating support for IE7 in a few months, and I've coded up a little browser detection on WeScheme.org to tell folks to upgrade their browsers if they're using an old version of IE. If you do have suc

[racket] WeScheme developers heads up: build process changed

2012-03-26 Thread Danny Yoo
Hi everyone, [Ignore if you don't do WeScheme development] For people developing on WeScheme: the build process for WeScheme is slightly changed in my master branch. * build-console-and-editor.sh has been deprecated in favor of build-console-and-editor.rkt. * I've updated the dependency of Go

Re: [racket] how do you use formlets?

2012-03-26 Thread Jay McCarthy
I use formlets in this Web app: https://github.com/jeapostrophe/m8b/blob/master/go.rkt Jay On Sun, Mar 25, 2012 at 7:45 PM, Neil Van Dyke wrote: > Anyone care to share how they use formlets in practice? > > I'm interested in example snippets of code and/or statements of what things > you use fo

Re: [racket] DrRacket not starting today

2012-03-26 Thread namekuseijin
BTW, pure racket and gracket are working fine. On Mon, Mar 26, 2012 at 1:26 PM, namekuseijin wrote: > Holy Baloney!  It's the same here on Windows Vista at work! > > the console: > > read-bitmap: expects type as 1st argument, given: > '# > (# 270 270); other arguments were: 'unknown/alpha #f #t

Re: [racket] DrRacket not starting today

2012-03-26 Thread namekuseijin
Holy Baloney! It's the same here on Windows Vista at work! the console: read-bitmap: expects type as 1st argument, given: '# (# 270 270); other arguments were: 'unknown/alpha #f #t === context === C:\Program Files\Racket\collects\racket\draw\private\bitmap.rkt:841:0: read-bitm ap C:\Program F

Re: [racket] Creating OpenGL textures from bitmaps

2012-03-26 Thread Michael W
I'd also love to know if there's a better way. A bitmap%->opengl-tex-handle function would be absolutely scrumptious. Part of the reason seems to be that Racket stores images as ARGB bytes, but OpenGL doesn't support that, hence the need for all the byte swizzling. For what it's worth, I have som

Re: [racket] DrRacket not starting today

2012-03-26 Thread mulhern
Redundant., I see. - mulhern On Mar 26, 2012, at 12:00 PM, mulhern wrote: > Hi all, > > Running a Mac 10.6.8 and current version of DrRacket won't start on it today. > > racket runs just fine and also DrRacket v5.0.2. > > Here's a trace of the problem as best I can get trying to start it from

[racket] DrRacket not starting today

2012-03-26 Thread mulhern
Hi all, Running a Mac 10.6.8 and current version of DrRacket won't start on it today. racket runs just fine and also DrRacket v5.0.2. Here's a trace of the problem as best I can get trying to start it from the command line. /Applications/Racket\ v5.2.1/bin/drracket ; exit; read-bitmap: expects

Re: [racket] today's DrRacket problem

2012-03-26 Thread Nadeem Abdul Hamid
An alternate, quick fix is to use the Control Panel/System Preferences to change the date on your computer to yesterday's date. Then start DrRacket. Then, once DrRacket is running, change the date back to the correct one. --- nadeem On Mon, Mar 26, 2012 at 10:11 AM, Matthias Felleisen wrote: >

[racket] Creating OpenGL textures from bitmaps

2012-03-26 Thread Tomi Neste
Hi! I'd need to use bitmaps rendered with the graphics toolkit as OpenGL textures in a GL context created by a foreign library (like GLFW, for example). I was looking through the documentation but couldn't any information on how to bind Racket bitmaps as GL textures. The SGL examples seem to do a

[racket] today's DrRacket problem

2012-03-26 Thread Matthias Felleisen
Dear Racket users, Many of you noticed that DrRacket v5.2.1 refused to launch today, March 26. We sincerely apologize for this inconvenience. The problem is due to a so-called "Easter egg", which is a visual surprise that one developer builds into the code for the others and our users -

[racket] Racket looks like command prompt. help?

2012-03-26 Thread Joshua Maloof
Hi, I am new to comptuer programming and wish to learn it. I downloaded Racket and when I use it, it looks exactly like command prompt for Windows! >From the descriptions provided and screenshots of Racket, I think there is something wrong. Also, when I launch DrRacket, I cannot type and it tells m

Re: [racket] do loops in racket, also srfi/25 query

2012-03-26 Thread Pierpaolo Bernardi
On Mon, Mar 26, 2012 at 01:31, Joe Gilray wrote: > Hi Tom, > > thanks for the comments. > > As far as reading the data into a vector, that can be accomplished with > "(define vec (read in))"  I was more interested in how to create an srfi/25 > array from that vector. (apply array (shape 0 3 0 3)

Re: [racket] Unicode art

2012-03-26 Thread Pierpaolo Bernardi
On Sun, Mar 25, 2012 at 03:25, Robby Findler wrote: > So I've pushed a change to DrRacket that adds a preference. The > preference defaults to "no additional spacing" under windows and "one > extra pixel" (the 5.2.1 behavior) everywhere else. > > Please let me know if things start to look strange