Re: [racket] release date for RacketCon videos?

2012-03-27 Thread ozzloy-racket-users
+1 sent by phone. please forgive terseness and typos. reasonrally.com On Mar 27, 2012 3:55 PM, "David Vanderson" wrote: > Hi, > > I don't want to pester too much about this, but any update? > > There's still a lot of interest from those of us who were unable to make > it to RacketCon 2011. > > T

Re: [racket] Creating OpenGL textures from bitmaps

2012-03-27 Thread Matthew Flatt
At Mon, 26 Mar 2012 17:23:51 +0300, Tomi Neste wrote: > So, is there a way to get a foreign pointer to the bitmap data As of the latest in the git repo, `bitmap%' has a `get-handle' method'. The result is a cpointer for a Cairo surface: a `cairo_surface_t'. In the case of a bitmap created with `ma

Re: [racket] Snips displaying pdfs

2012-03-27 Thread Matthew Flatt
At Sun, 18 Mar 2012 15:29:01 +0100, Jens Axel Søgaard wrote: > I can now open a pdf-file and render it into a cairo_t context. > The code is attached. To test that the rendering works, > I saved it in a png, and then displayed it in a snip. > > I am struggling with creating a bitmap directly from

Re: [racket] raco scribble disappeared?

2012-03-27 Thread Neil Van Dyke
Disregard. Looks like something must be broken in my particular build. Neil Van Dyke wrote at 03/27/2012 04:01 PM: Is "raco scribble" supposed to work? It works in my old 5.2.1 install tree, but not in my patched 5.2.1 install tree from the other day. I don't see it in the documentation.

Re: [racket] srfi usage within Racket

2012-03-27 Thread Neil Van Dyke
Tom McNulty wrote at 03/27/2012 04:03 PM: What is the official stance on using SRFI modules in new applications? Non-official answer: If you want to use SRFIs, they're there, and you should feel free to use them. What I think people should *not* do is try to use RnRS and SRFIs believing tha

Re: [racket] srfi usage within Racket

2012-03-27 Thread Tom McNulty
For some reason I've been averse to them, perhaps for good reason other than their distinction from the racket libraries. I began working with scheme/racket relatively recently, so I probably do not fully appreciate the historical rationale behind them. (I do fully understand the need for b

[racket] raco scribble disappeared?

2012-03-27 Thread Neil Van Dyke
Is "raco scribble" supposed to work? It works in my old 5.2.1 install tree, but not in my patched 5.2.1 install tree from the other day. I don't see it in the documentation. $ /usr/local/racket-5.2.1/bin/raco scribble raco scribble: expects [] ... on the command line, given 0 arguments $

Re: [racket] release date for RacketCon videos?

2012-03-27 Thread David Vanderson
Hi, I don't want to pester too much about this, but any update? There's still a lot of interest from those of us who were unable to make it to RacketCon 2011. Thanks, Dave On 09/30/2011 09:52 AM, Sam Tobin-Hochstadt wrote: The videos are still being processed, and I hope they will be up soo

Re: [racket] srfi usage within Racket

2012-03-27 Thread Neil Van Dyke
Rodolfo Carvalho wrote at 03/27/2012 03:27 PM: Actually, I wonder if people use any srfi much? Some people still use SRFIs with Racket (I don't anymore), but usually Racket has somewhat better comparable features separate from SRFIs, either built-in or in PLaneT. There are at least two mat

[racket] srfi usage within Racket

2012-03-27 Thread Rodolfo Carvalho
On Tue, Mar 27, 2012 at 13:55, Joe Gilray wrote: > Thanks (again) Rodolfo, > > Do people use the srfi/25 arrays much? [-snip] > > -Joe > I do not know. Actually, I wonder if people use any srfi much? Sometimes they seem to me to don't fit well within Racket. Possibily it has something to do wi

[racket] Third Call for Papers: Workshop on Script to Program Evolution (STOP 2012)

2012-03-27 Thread Sam Tobin-Hochstadt
CALL FOR PAPERS 3rd Workshop on Script to Program Evolution (co-located with ECOOP and PLDI) Beijing, China June 11, 2012 http://wrigstad.com/stop12/ Submission site: http://continue2.cs.brown.edu/stop2012/ OVERVIEW Recent years have seen increased use of scripting languages in large applic

Re: [racket] problem with module language

2012-03-27 Thread John Clements
On Mar 27, 2012, at 10:44 AM, Joop Ringelberg wrote: > John, > > Well, this is strange. > > I thought the new library didn't have it so I wrote it. It is trivial (see > below) > I just happened to call it a lot. It is what the original libraries tutorial > started with ( http://modis.ispras.r

Re: [racket] problem with module language

2012-03-27 Thread Joop Ringelberg
John, Well, this is strange. I thought the new library didn't have it so I wrote it. It is trivial (see below) I just happened to call it a lot. It is what the original libraries tutorial started with ( http://modis.ispras.ru/Lizorkin/sxml-tutorial.html) However, I now find it actually is in

Re: [racket] problem with module language

2012-03-27 Thread John Clements
On Mar 27, 2012, at 10:25 AM, Joop Ringelberg wrote: > John, > Thank you. > I've replaced the requirement with clements/sxml2 and am happy to say that it > works like a charm. > Had to add the sxml:document convenience function and that was it. Hmm, what's the sxml:document convenience function

Re: [racket] problem with module language

2012-03-27 Thread Joop Ringelberg
John, Thank you. I've replaced the requirement with clements/sxml2 and am happy to say that it works like a charm. Had to add the sxml:document convenience function and that was it. Thanks again! Joop On 03/26/2012 01:29 AM, John Clements wrote: On Mar 22, 2012, at 12:54 PM, Joop Ringelberg wr

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

2012-03-27 Thread Joe Gilray
Thanks (again) Rodolfo, Do people use the srfi/25 arrays much? Or is the normal practice to simply use vector with a little "reference arithmetic"? -Joe On Mon, Mar 26, 2012 at 9:26 PM, Rodolfo Carvalho wrote: > Hi Joe, > > > On Mon, Mar 26, 2012 at 21:22, Joe Gilray wrote: > >> Hi Pierpaolo,

Re: [racket] Creating OpenGL textures from bitmaps

2012-03-27 Thread Stephan Houben
Hi Michael, Tomi, The ARGB order is what most hardware uses internally anyway. Therefore, modern wisdom is not to convert to rgba but rather use texture modes GL_BGRA with GL_UNSIGNED_INT_8_8_8_8_REV. But in my experience that turns out not to work on some implementations, even ones which adve