Re: [racket] illegal placeholder cycle

2011-09-10 Thread Doug Orleans
On Sat, Sep 10, 2011 at 5:16 PM, Matthew Flatt wrote: > At Tue, 6 Sep 2011 16:21:57 -0400, Doug Orleans wrote: >> This error message is surprising: >> >> > (shared ((c (append null c))) c) >> make-reader-graph: illegal placeholder cycle in value: '(#) >>

Re: [racket] Installing

2011-09-06 Thread Doug Orleans
On Tue, Sep 6, 2011 at 5:11 PM, Rodolfo Carvalho wrote: > On Sat, Sep 3, 2011 at 18:46, Doug Orleans wrote: >> >> Right, what I meant was, it would be nice if I could click a link on >> the web page and it would automatically add the PPA to my software >> sources

[racket] illegal placeholder cycle

2011-09-06 Thread Doug Orleans
This error message is surprising: > (shared ((c (append null c))) c) make-reader-graph: illegal placeholder cycle in value: '(#) Is it unreasonable to expect this to evaluate to null? --Doug _ For list-related administrative tasks: http://lists

Re: [racket] recent updates to Whalesong development: web-world

2011-09-05 Thread Doug Orleans
On Mon, Sep 5, 2011 at 2:36 PM, Danny Yoo wrote: > People with mobile browsers in particular: can you visit the page and > report what you see?  That would be a big help.  Stack traces or any > kind of debugging output would be golden. Works fine on my T-Mobile G2 (Froyo). --Doug __

Re: [racket] racket ppa for ubuntu

2011-09-04 Thread Doug Orleans
Did this go anywhere? It would definitely be cool to see DrRacket in the Ubuntu Applications menu. A screenshot in the Ubuntu Software Center would be nice too, but I don't know where that comes from (doesn't seem to be part of the .desktop file). Oh hm, does it get them from http://screenshots.

Re: [racket] Installing

2011-09-03 Thread Doug Orleans
On Sat, Sep 3, 2011 at 5:33 PM, Sam Tobin-Hochstadt wrote: > On the ppa page, you can download the various .deb packages that it > provides (it's split into racket, racket-common, and racket-doc).  But > once you install the ppa, it's always easy to install the latest > version from the command li

Re: [racket] Installing

2011-09-03 Thread Doug Orleans
On Sat, Sep 3, 2011 at 5:09 PM, Sam Tobin-Hochstadt wrote: > There's and Ubuntu PPA here: > https://launchpad.net/~plt/+archive/racket maintained by Jon Rafkind. Huh, neat, thanks. That page says you have to edit a config file, but you can do it in Synaptic: Settings → Repositories → Other Soft

Re: [racket] Installing

2011-09-03 Thread Doug Orleans
On Fri, Sep 2, 2011 at 3:04 PM, John Clements wrote: > > On Sep 2, 2011, at 11:59 AM, Vincent St-Amour wrote: > >> .sh files are shell scripts, you typically run them at the command >> line. >> >> To install Racket using a shell script installer: >> - open a terminal >> - type "sh ", using the rig

Re: [racket] How does the web server find servlets?

2011-09-03 Thread Doug Orleans
On Sat, Sep 3, 2011 at 4:31 PM, Jay McCarthy wrote: > Basically, "plt-web-server" isn't customizable at all. If you want to > do what you're talking about, then you want to hook into the things > that serve/servlet (and dispatch/launch/wait) provide It sounds like what you're saying is that the a

Re: [racket] How does the web server find servlets?

2011-09-03 Thread Doug Orleans
On Sat, Sep 3, 2011 at 12:34 AM, Jay McCarthy wrote: > You shouldn't use web-server@. You should use serve/servlet where > stuff like this is totally trivial. I don't want to run a single servlet, I want to run a web server (via plt-web-server) with many #lang web-server servlet modules. --Doug

[racket] How does the web server find servlets?

2011-09-01 Thread Doug Orleans
I wanted to know how the Racket web server figures out whether a URL refers to a servlet or not. In particular, I was curious about how the "servlet-root" path in the configuration table was used (its default is "."). The closest thing I could find to documentation was this bullet point in the do

Re: [racket] Bite-Size Racket Projects

2011-08-29 Thread Doug Orleans
On Sat, Aug 27, 2011 at 8:34 PM, Ray Racine wrote: > Once I get the thing up on its feet again I'll planet them.   From there I > intend to expand out a few more of the AWS API's and do an OpenId API. I implemented a big chunk of OpenID in 2008: http://code.google.com/p/dougo-plt/source/browse/#

Re: [racket] Ohloh now sees racket

2011-08-25 Thread Doug Orleans
On Thu, Aug 25, 2011 at 12:45 PM, Jos Koot wrote: > According to ohloh slightly more than one dollar per line. At ten lines of code per day, those are some pretty low wages! --Doug _ For list-related administrative tasks: http://lists.racket-la

[racket] I Write Like was rewritten in Racket

2011-08-23 Thread Doug Orleans
I just noticed that the creator of the website I Write Like (which compares your writing sample to famous authors) open-sourced his code last month: http://blog.iwl.me/post/8136735619/i-write-like-open-sourced It was originally written in Python (using the web.py framework), but last November he

Re: [racket] Do stateless servlets need continuation managers?

2011-03-10 Thread Doug Orleans
On Thu, Mar 10, 2011 at 10:59 PM, Jay McCarthy wrote: > 2011/3/10 Doug Orleans : > > When I try to run this simple servlet: > > > > #lang web-server > > > > (require web-server/servlet) > > This line requires the STATEFUL send/suspend/dispatch, replace it

[racket] Do stateless servlets need continuation managers?

2011-03-10 Thread Doug Orleans
When I try to run this simple servlet: #lang web-server (require web-server/servlet) (provide interface-version start) (define interface-version 'stateless) (define (start request) (send/suspend/dispatch (lambda (k-url) (response/xexpr `(html (body (a ((href ,(k-url start))) "Hel

[racket] A puzzle

2011-01-19 Thread Doug Orleans
The following program was a puzzle in the 2011 MIT Mystery Hunt held last weekend. (I'm not linking directly to the site because they posted a solution and I don't want you to be tempted to look at the answer prematurely...) I was disappointed that Dr Racket doesn't seem to have a multi-threaded