Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Stephen Bloch
>> ... starting in 5.0.2 and continuing to 5.1, if there are any failures at >> all, evaluating even an unrelated expression in the repl will re-pop-up >> the test failures window. I type in this: >> >> (define (foo x) 4) >> >> (check-expect (foo 3) 5) >> >> in Beginner, press Ctrl-T, and a w

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Matthias Felleisen
On Mar 3, 2011, at 6:18 PM, Don Blaheta wrote: > I close > it, type 4 in the REPL and hit Enter, and the window pops up again. Is > this intentional? That's a little *too* often, I think. Yes, this is a known bug that snuck into the teaching languages via the signature experiment. We're wor

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Robby Findler
On Thu, Mar 3, 2011 at 5:16 PM, Don Blaheta wrote: > Quoth Robby Findler: >> On Thu, Mar 3, 2011 at 7:33 AM, Don Blaheta wrote: >> > I wouldn't want to see the test case window be sticky and impossible to >> > send to the back, but it would be nice if it always came to front when >> > you click R

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Don Blaheta
Quoth Robby Findler: > On Thu, Mar 3, 2011 at 7:33 AM, Don Blaheta wrote: > > I wouldn't want to see the test case window be sticky and impossible to > > send to the back, but it would be nice if it always came to front when > > you click Run and there are some failures. > > What if we were to ma

Re: [racket] Threads, Windows, and World

2011-03-03 Thread Drew Hess
On Thu, Mar 3, 2011 at 9:26 AM, Drew Hess wrote: > Add a couple of WAV file names to the song-list variable in > drew-game.ss, make sure they're in the same directory as drew-game.ss, > and run the program on Mac OS X. Observe that songs play back fine > while the game is running (except that, as

[racket] Threads, Windows, and World

2011-03-03 Thread Drew Hess
Hi all, While I've got everyone's attention with this play-sound issue, here's a related problem I'm having. Another thing I added to my version of the Bootstrap teachpack, in addition to customizable sounds, is the ability to play background songs while the game is running. The students really l

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Drew Hess
OK, folks, here is a small package that demonstrates all of the play-sound issues I'm having, in one go: http://drewhess.com/drew-bootstrap.zip Install both of the teachpacks. The -no-runtime-path version of the teachpack is nearly identical to the version I used with PLT Scheme 4.2.5, and in fac

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Drew Hess
On Thu, Mar 3, 2011 at 8:28 AM, Matthias Felleisen wrote: > > On Mar 3, 2011, at 11:03 AM, Drew Hess wrote: > >> t's not clear to me that you tried that case. (If the >> htdp/dir case prompted you about overwriting an existing version, >> you didn't mention it.) > > > The overwrite message came up

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Robby Findler
On Thu, Mar 3, 2011 at 10:26 AM, Drew Hess wrote: > On Thu, Mar 3, 2011 at 8:15 AM, Robby Findler > wrote: >> >> If you were to replace the body of 'play' with something like >> >>  (car 'not-a-pair) >> >> then you see the error, right? >> >> If so, then it sounds like the problem is that play-so

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Matthias Felleisen
On Mar 3, 2011, at 11:03 AM, Drew Hess wrote: > t's not clear to me that you tried that case. (If the > htdp/dir case prompted you about overwriting an existing version, > you didn't mention it.) The overwrite message came up in all cases and I have drracket at full screen. I have no doubts t

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Drew Hess
On Thu, Mar 3, 2011 at 8:15 AM, Robby Findler wrote: > > If you were to replace the body of 'play' with something like > >  (car 'not-a-pair) > > then you see the error, right? > > If so, then it sounds like the problem is that play-sound is not > signaling an error (ie this is a problem specific

Re: [racket] tests/eli-tester feedback (Was: Racket unit testing)

2011-03-03 Thread Neil Van Dyke
Eli Barzilay wrote at 03/03/2011 10:23 AM: 2. A unified foundation for building test suites on, which will make it possible to deal with testing independently of the actual test library you happen to use. (There was less agreement on that.) I plan to look into it after the above. I thin

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Robby Findler
On Thu, Mar 3, 2011 at 10:05 AM, Drew Hess wrote: > On Thu, Mar 3, 2011 at 5:24 AM, Robby Findler > wrote: >> >> I'm not completely clear on this one either, and I'd like more help. >> Can you say specifically what steps you take to get an error with no >> message, starting from a fresh DrRacket

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Drew Hess
On Thu, Mar 3, 2011 at 5:24 AM, Robby Findler wrote: > > I'm not completely clear on this one either, and I'd like more help. > Can you say specifically what steps you take to get an error with no > message, starting from a fresh DrRacket (without any 3rd party addins > like bootsrap (ie, if you n

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Drew Hess
On Thu, Mar 3, 2011 at 5:09 AM, Matthias Felleisen wrote: > > On Mar 2, 2011, at 11:15 PM, Drew Hess wrote: > >> Have you tried adding a teachpack that already exists while in Beginner >> mode, prompting the overwrite warning dialog? > > I did like this: > > open new tab in BSL > select add tea

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Drew Hess
[Apologies to those of you who are seeing my messages twice. I only use Gmail to collect mailing list archives, and I'm not used to using it, so I keep hitting "Reply" when I should be hitting "Reply all"] On Thu, Mar 3, 2011 at 5:04 AM, Matthew Flatt wrote: >> * Scrolling through a source code w

Re: [racket] tests/eli-tester feedback (Was: Racket unit testing)

2011-03-03 Thread Eli Barzilay
Four hours ago, Neil Van Dyke wrote: > Is someone moving forward on implementing the new ultimate test stuff? To clarify, there was no intention for an ultimate test thing... Instead there were two separate issues in this thread: 1. The particular syntax, exception management, etc of my tester.

Re: [racket] Compilation

2011-03-03 Thread José Lopes
I have tried with the documentation examples, but nothing works. Nevertheless, I followed your suggestion and I have rewritten the code to take a flag. Thank you! Regards, José Lopes On 02-03-2011 17:48, Matthew Flatt wrote: At Mon, 28 Feb 2011 18:09:23 +, José Lopes wrote: It seems that

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Stephen Bloch
>> I wouldn't want to see the test case window be sticky and impossible to >> >> send to the back, but it would be nice if it always came to front when >> you click Run and there are some failures. > > What if we were to make the default preference setting for the test > window be docked (in the

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Robby Findler
On Thu, Mar 3, 2011 at 7:33 AM, Don Blaheta wrote: > Quoth Stephen Chang: >> I've never seen a dialog box appear behind another window in drracket, >> but I have on occasion, due to my own doing, lost a dialog box behind >> another window, and subsequently gotten frustrated when the buttons in >>

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Don Blaheta
Quoth Stephen Chang: > I've never seen a dialog box appear behind another window in drracket, > but I have on occasion, due to my own doing, lost a dialog box behind > another window, and subsequently gotten frustrated when the buttons in > drracket become unresponsive, like what Drew described. T

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Robby Findler
On Thu, Mar 3, 2011 at 7:04 AM, Matthew Flatt wrote: >>   - Worst of all, on the Mac, at least, the runtime errors that are >>     raised by the teachpack when play-sound can't find the file are >>     not displayed in the Interactive window! This was the cause of >>     most of my frustration and

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Matthias Felleisen
On Mar 2, 2011, at 11:15 PM, Drew Hess wrote: > Have you tried adding a teachpack that already exists while in Beginner mode, > prompting the overwrite warning dialog? I did like this: open new tab in BSL select add teachpack from Language select add new teachpack tried three different

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Matthew Flatt
At Wed, 2 Mar 2011 18:53:23 -0800, Drew Hess wrote: > * On Mac OS X, there's a bug in play-sound: the meaning of the async > flag is inverted. If it's #t, the thread will pause until the sound > is finished playing. If it's #f, the procedure call will return > immediately. I'll fix that. >

Re: [racket] cues of PLaneT activity when running from command-line

2011-03-03 Thread Matthew Flatt
At Thu, 03 Mar 2011 05:53:07 -0500, Neil Van Dyke wrote: > When running from the command line, is there a way to get an indicator > that PLaneT package installation (and documentation formatting) is > happening? > > The delays can be a few minutes long and make a program look hung. And > if th

Re: [racket] My PLT->Racket porting experience

2011-03-03 Thread Stephen Chang
> This particular problem of occluded dialog boxes occurred on occasion > in my Bootstrap classes, too, using DrScheme from PLT 4.2.x, so it > was independently reproducible on different Macs, in different schools, > running various versions of Mac OS X. Have you tried adding a teachpack > that alr

Re: [racket] tests/eli-tester feedback (Was: Racket unit testing)

2011-03-03 Thread Neil Van Dyke
Is someone moving forward on implementing the new ultimate test stuff? -- http://www.neilvandyke.org/ _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] cues of PLaneT activity when running from command-line

2011-03-03 Thread Neil Van Dyke
When running from the command line, is there a way to get an indicator that PLaneT package installation (and documentation formatting) is happening? The delays can be a few minutes long and make a program look hung. And if the user aborts the program, their PLaneT and documentation could be