Re: [racket] require url?

2011-04-08 Thread Eli Barzilay
Earlier today, Noel Welsh wrote: > It has been talked about a lot, but no-one has implemented this > feature AFAIK. Should be possible, as require is extensible. I suggested it a while ago, and there are still some questions that are difficult to answer. One issue is caching -- you'll obviously n

Re: [racket] question on OpenGL support

2011-04-08 Thread Jay Kominek
On Fri, Apr 8, 2011 at 1:38 PM, Jay McCarthy wrote: > I think that's pretty accurate. I do a relatively large amount of GL > programming and our library does not cover very much of it at all. My > personal opinion is that it is better invest time in to good FFI > generation tools (parsing C header

Re: [racket] question on OpenGL support

2011-04-08 Thread Jay McCarthy
I think that's pretty accurate. I do a relatively large amount of GL programming and our library does not cover very much of it at all. My personal opinion is that it is better invest time in to good FFI generation tools (parsing C headers and interactively generating an API), then brute-force gene

Re: [racket] question on OpenGL support

2011-04-08 Thread John Clements
On Apr 8, 2011, at 11:43 AM, Stephan Houben wrote: > Hi list, > > As described in the documentation, the OpenGL support > in Racket does not include the vertex array API > (glVertexPointer etc.). > > Can I ask why this is? > I noticed in gl.rkt that it is present but outcommented, so > I suppos

[racket] question on OpenGL support

2011-04-08 Thread Stephan Houben
Hi list, As described in the documentation, the OpenGL support in Racket does not include the vertex array API (glVertexPointer etc.). Can I ask why this is? I noticed in gl.rkt that it is present but outcommented, so I suppose the reason is not lack of time but rather that it didn't work on som

Re: [racket] require url?

2011-04-08 Thread Eric Tanter
> Could be useful. You'd have to use caution in what URLs you reference, since > it's pretty much executing arbitrary code. And, unless you were always on a > trusted network including trusted DNS, you'd want to use HTTPS and a trusted > CA list. At that point, it becomes less lightweight. T

Re: [racket] require url?

2011-04-08 Thread Eric Tanter
oups, to do these kinds of thing I'd need quite some input on where to look for, etc. I naively opened collects/racket/require.rkt but that's clearly insufficient to get the big picture and understand where and how to extend... -- Éric On Apr 8, 2011, at 9:05 AM, Noel Welsh wrote: > It has be

Re: [racket] [racket-dev] bug in indenter

2011-04-08 Thread Neil Van Dyke
Pierpaolo Bernardi wrote at 04/08/2011 09:19 AM, on the "dev" list: and the tabs where there because I had edited the file with emacs. and I was on a computer without my personal .emacs, which instructs it to not use tabs... BTW, when at a strange computer and needing to edit Racket code in

Re: [racket] require url?

2011-04-08 Thread Neil Van Dyke
On Thu, Apr 7, 2011 at 4:01 PM, Eric Tanter wrote: I'm looking for a way to require a file given a URL: eg. (require (url "http://tmp.barzilay.org/defmac.ss";)) Could be useful. You'd have to use caution in what URLs you reference, since it's pretty much executing arbitrary code. And, u

Re: [racket] require url?

2011-04-08 Thread Noel Welsh
It has been talked about a lot, but no-one has implemented this feature AFAIK. Should be possible, as require is extensible. Go for it, tiger ;-) N. On Thu, Apr 7, 2011 at 4:01 PM, Eric Tanter wrote: > Hi all, > > In the same way that it is possible to require a file given a local path: > eg. >