Re: [racket] order of (discrete-dist-probs dist) same as (discrete-dist-values dist) ?

2014-04-28 Thread Neil Toronto
On 04/28/2014 05:28 PM, John Clements wrote: The documentation for discrete probabilities goes out of its way to specified that discrete distributions are unordered. However, it looks to me like order is partially present; in particular, if I use ‘discrete-dist-values’ and ‘discrete-dist-probs

Re: [racket] tool warnings from raco

2014-04-28 Thread Matthew Butterick
Yes, deleting ~/Library/Racket/planet cured the problem (a folder I had never known about until today) Thanks for the help. On Apr 28, 2014, at 5:33 PM, Matthew Flatt wrote: > I'm able to replicate the problem in my machine, and it's a problem > with `raco setup` not cleaning up after unli

Re: [racket] tool warnings from raco

2014-04-28 Thread Matthew Flatt
I'm able to replicate the problem in my machine, and it's a problem with `raco setup` not cleaning up after unlinked planet packages. Robby's instructions should work around the problem, because the "cache.rktd" file there is the one that's not cleaned up. At Mon, 28 Apr 2014 19:19:40 -0500, Robb

Re: [racket] tool warnings from raco

2014-04-28 Thread Robby Findler
I'm not sure where the reference is, but I guess that if you delete ~/Library/Racket/planet and then re-run "make" from the top-level, then you should be in good shape. Robby On Mon, Apr 28, 2014 at 5:11 PM, Matthew Butterick wrote: >> How are you installing Racket? From a git build or a snapsho

[racket] order of (discrete-dist-probs dist) same as (discrete-dist-values dist) ?

2014-04-28 Thread John Clements
The documentation for discrete probabilities goes out of its way to specified that discrete distributions are unordered. However, it looks to me like order is partially present; in particular, if I use ‘discrete-dist-values’ and ‘discrete-dist-probs’, I’m hoping (and it appears to be the case) t

Re: [racket] tool warnings from raco

2014-04-28 Thread Matthew Butterick
> How are you installing Racket? From a git build or a snapshot or something > else? Two machines, both using a git build from a fork of plt/racket, updated regularly. Turns out that deleting `info-cache.rktd` is a bad idea, because that causes most of the commands to disappear from raco. S

Re: [racket] raco distribute has a problem with runtime paths on win32

2014-04-28 Thread Matthew Flatt
There shouldn't be a limit, but the way that `raco exe` tries to make enough space apparently isn't right. The current strategy is to record the original full path (because a synthesized relative path could imitate it), the executable name (because that's part of the destination relative path), an

Re: [racket] raco distribute has a problem with runtime paths on win32

2014-04-28 Thread Dmitry Pavlov
accidentally hit the send button... I use raco exe and raco distribute on a regular basis. Today I added another (define-runtime-path) into my program and got the following error from raco distribute: copy-and-patch-binaries: not enough room in executable for revised #rx#"rUnTiMe-paths[)]" tab

[racket] Isn't the web application tutorial too advanced?

2014-04-28 Thread Ben
After gaining some basic understanding of web applications, I wanted to develop one in Racket. So I went to the tutorial "Continue: Web Applications in Racket ". When I reached "6 Advanced Control Flow", I saw `send/suspend/dispatch`. I didn't know w