[racket] Web server "Server" header

2011-04-11 Thread Norman Gray
Greetings. In web-server/http/response.rkt we find: > (define (output-response-head conn bresp) > (fprintf (connection-o-port conn) >"HTTP/1.1 ~a ~a\r\n" >(response-code bresp) >(response-message bresp)) > (output-headers >conn >(list* (make-heade

Re: [racket] DrScheme hangs under Ubuntu 11.04?

2011-04-11 Thread Hyungrok Kim
El lun, 11-04-2011 a las 14:14 -0600, Matthew Flatt escribió: > Thanks for the report! Unfortunately, I haven't been able to replicate > the problem in a 32-bit Ubuntu 11.04 beta 1 installation. > > Can you try running `drracket' in a Terminal window, and when DrRacket > gets stuck, hit Ctl-C in i

Re: [racket] question on OpenGL support

2011-04-11 Thread Jay Kominek
On Mon, Apr 11, 2011 at 1:32 PM, Stephan Houben wrote: > This function fills array "params" with some data. > The length of params depends on pname and is not directly specified. > > I now wrap this as follows: > > (_fun (target : _int32) (level : _int32) (pname : _int32) (params : > _pointer) ->

Re: [racket] question on OpenGL support

2011-04-11 Thread Jay McCarthy
I looked into this. Through the .spec files, there's reference to COMPSIZE which is meant to explain what the size of the array is computed with. And the spec files don't give any further details on this. I looked in the written spec for glGetTexLevelParameteriv and it has some explanation for tha

Re: [racket] DrScheme hangs under Ubuntu 11.04?

2011-04-11 Thread Robby Findler
Please cc me as well with that stacktrace. (there is some non-trivial deadlock potential at that point in drracket's startup). Robby On Monday, April 11, 2011, Matthew Flatt wrote: > Thanks for the report! Unfortunately, I haven't been able to replicate > the problem in a 32-bit Ubuntu 11.04 bet

Re: [racket] DrScheme hangs under Ubuntu 11.04?

2011-04-11 Thread Matthew Flatt
Thanks for the report! Unfortunately, I haven't been able to replicate the problem in a 32-bit Ubuntu 11.04 beta 1 installation. Can you try running `drracket' in a Terminal window, and when DrRacket gets stuck, hit Ctl-C in in the Terminal window? That should generate a stack trace that you could

Re: [racket] question on OpenGL support

2011-04-11 Thread Stephan Houben
Hi list, On 04/09/2011 05:51 AM, Jay Kominek wrote: The OpenGL APIs, all the versions, all the extensions, are described in some fairly parseable files available fromhttp://www.opengl.org/registry/ - look for the .spec files towards the bottom. I'm pretty sure you should be able to generate the

Re: [racket] processing images...

2011-04-11 Thread Noel Welsh
This code does everything but save the image: https://github.com/noelwelsh/dct/blob/master/functional-test.rkt HTH, N. On Mon, Apr 11, 2011 at 7:09 PM, Robby Findler wrote: > On Mon, Apr 11, 2011 at 12:16 PM, geb a wrote: >> Hello all, >> >> I'm having some trouble processing a block of pixe

Re: [racket] processing images...

2011-04-11 Thread Robby Findler
On Mon, Apr 11, 2011 at 12:16 PM, geb a wrote: > Hello all, > > I'm having some trouble processing a block of pixels from an image. I want to > grab some portion of image, do something to it, and save it to a file.  In > this example, I grab a portion of an image and save it to a file but the >

[racket] processing images...

2011-04-11 Thread geb a
Hello all, I'm having some trouble processing a block of pixels from an image. I want to grab some portion of image, do something to it, and save it to a file. In this example, I grab a portion of an image and save it to a file but the image in the file is corrupted. Evidently I'm doing som

Re: [racket] Problems with Typed Racket

2011-04-11 Thread Matthias Felleisen
On Apr 11, 2011, at 8:26 AM, Sam Tobin-Hochstadt wrote: > I encourage you to use Typed Racket for this, and it should certainly > be stable enough for your project. Take this advice with a grain of salt: Sam's biased. He is in charge of Typed Racket :-) ___

Re: [racket] Problems with Typed Racket

2011-04-11 Thread Sam Tobin-Hochstadt
On Mon, Apr 11, 2011 at 4:15 AM, Renzo Orsini wrote: > Hello again, > > 1) If the first case is a bug, should I file it in some bug tracker system? Yes. The best way to file bugs is to use the "Report a Bug" feature in DrRacket, available in the Help menu. > 2) The second error maybe arises fro

Re: [racket] How does free-identifier=? and bound-identifier=? works?

2011-04-11 Thread Veer
Thank you Ryan , for clearing my absolute misconception about free-identifier=? and bound-identifier=? . I think hopefully I now have better understanding of free-identifier=? and bound-identifier=? . Initially it took some time to understand purpose behind bound-identifier=? , but I think I mana

Re: [racket] How does free-identifier=? and bound-identifier=? works?

2011-04-11 Thread Veer
You are right, I misunderstood everything from syntax object to free-identifier=? and bound-identifier=? . Thank you for explaining it so nicely also for the references , I will read them soon. Veer. On Sun, Apr 10, 2011 at 4:53 PM, Marco Maggi wrote: > Veer wrote: >> I  am  unable  to  unders

Re: [racket] Problems with Typed Racket

2011-04-11 Thread Renzo Orsini
Hello again, 1) If the first case is a bug, should I file it in some bug tracker system? 2) The second error maybe arises from the fact that in the documentation call-with-output-file is declared as taking either a string or a port, but for the type checker it should always take a string, not a