[racket] RackOut

2013-01-07 Thread Neil Van Dyke
In case anyone is curious, I've done a pre-alpha release of the RackOut software, which is a start at a 'living room appliance' built by mixing Racket with off-the-shelf software like VLC. See recent blog entries: http://www.neilvandyke.org/weblog/2013/01/#2013-01-08 Neil V. ___

Re: [racket] the most functional man in the world

2013-01-07 Thread Patrick King
Must everything be a precisely aimed and politically correct advertisement? Half the charm of the bit (as the bit it parodies) is that it doesn't try to recruit, it just tries to reinforce the beliefs of the believers! Who will say "I won't program in Racket because they have sexist ads"? Far fewer

Re: [racket] Macro using eval inside html-template

2013-01-07 Thread Matthias Felleisen
I don't see any need for a macro here. Why not use a function that iterates over these 'forms': (define (expr-iter . form) (for ((f form)) (case (first f) ... [(math) (eval (second f) some-useful-namespace)] ...))) On Jan 7, 2013, at 3:57 PM, Philipp Dikmann wrote

[racket] Unique IDs may be needed in Universe programs

2013-01-07 Thread Marco Morazan
Dear All, Just a friendly warning about name in Universe. The documentation states that in (name expr) expr is used as the title of the canvas. Some of us, however, use expr for more than that. Specifically, you may use expr to identify the world that has taken an action to be communicated to oth

[racket] Macro using eval inside html-template

2013-01-07 Thread Philipp Dikmann
Hello Racket-Users, in trying to iterate a series of expressions and evaluating them differently on a case-by-case basis - specifically in the body of a (html-template) - Racket is throwing errors indicating that my expressions end up in the wrong places. In the code below, it appears that +

Re: [racket] More on K-URL question

2013-01-07 Thread Jay McCarthy
On Mon, Jan 7, 2013 at 12:07 PM, J G Cho wrote: > I think the previously asked behavior has nothing to do with stateful > vs stateless. > > I've been trying to compose different 'apps' together under one > web-server. /xapps/A, /xapps/B, etc. > > I am just realizing that if I happened to use /xapp

Re: [racket] web-server weird K-URL generation when stuffer is used

2013-01-07 Thread Jay McCarthy
When a URL is generated for a continuation, it uses the URL that first started the computation. So, if you go to A's URL and then call a function from B, it will get A's URL. If you started with B's URL, then you should keep it. If you're seeing something different, then there's an error or there's

[racket] More on K-URL question

2013-01-07 Thread J G Cho
I think the previously asked behavior has nothing to do with stateful vs stateless. I've been trying to compose different 'apps' together under one web-server. /xapps/A, /xapps/B, etc. I am just realizing that if I happened to use /xapps/B;(( ...k-url...)) first then later K-URLs start with /xapp

[racket] User Keybindings

2013-01-07 Thread Ray Racine
I have my Racket configured per the "emacs" section in DrRacket, so keybindings in menus is unchecked. "If you are most familiar with Emacs-style key bindings (especially on windows or some linux installations where the control key is, by default, for the menu shortcuts), you should uncheck the E

[racket] web-server weird K-URL generation when stuffer is used

2013-01-07 Thread J G Cho
Here is the background. I have been running a stateless web-server fine for a while. (Call this A) It gets started from http://...com/xapps/A and then it generates various K-URLs as /xapps/A;(( ...)) I just finished developing another 'servlet' and added to the above server. (Call this B) It get

Re: [racket] Randomized bisimulation tests and Metropolis-Hastings random walk

2013-01-07 Thread Neil Toronto
On 01/06/2013 08:38 AM, Sam Tobin-Hochstadt wrote: On Sat, Jan 5, 2013 at 7:31 PM, Neil Toronto wrote: Last time I checked Hari's RAList implementation, it was broken, so I started my own from scratch (which is what I worked from just now). He's fixed it, though. I could run some benchmarks, bu