[racket-dev] multiple key-press

2010-07-22 Thread Shriram Krishnamurthi
I just spoke with a room of high-school students studying Universe programming in a summer course at Brown. One major complaint was that they couldn't do multi-key-presses. For instance, they want to use WASD navigation combined with a right-side key for firing, and want to be able to fire and

Re: [racket-dev] multiple key-press

2010-07-22 Thread Jay McCarthy
As far as I know, at the lowest level there is no multiple key press event even in the OS. If they want to do that, they should change their world to record the current key press state: (define-struct the-world (keys . everything-else)) and at the start of `on-tick' look at the collective

Re: [racket-dev] multiple key-press

2010-07-22 Thread Matthias Felleisen
I have considered this issue. I decided that these kinds of kids should be introduced to Universe programs as opposed to World programs. That's way cooler than silly one-keyboard games. -- Matthias On Jul 22, 2010, at 9:29 AM, Jay McCarthy wrote: As far as I know, at the lowest level

Re: [racket-dev] multiple key-press

2010-07-22 Thread Shriram Krishnamurthi
As far as I know, at the lowest level there is no multiple key press event even in the OS. Yes, that's why I had scare-quotes in my message. If they want to do that, they should change their world to record the current key press state: I told them that. But the problem is that inversion of

Re: [racket-dev] multiple key-press

2010-07-22 Thread Matthias Felleisen
On Jul 22, 2010, at 9:38 AM, Shriram Krishnamurthi wrote: I have considered this issue. I decided that these kinds of kids should be introduced to Universe programs as opposed to World programs. That's way cooler than silly one-keyboard games. Doom is silly? Duke Nukem 3D is silly?

Re: [racket-dev] multiple key-press

2010-07-22 Thread Jay McCarthy
On Thu, Jul 22, 2010 at 7:38 AM, Shriram Krishnamurthi s...@cs.brown.edu wrote: As far as I know, at the lowest level there is no multiple key press event even in the OS. Yes, that's why I had scare-quotes in my message. If they want to do that, they should change their world to record the

Re: [racket-dev] [plt] Push #20751: master branch updated

2010-07-22 Thread Jay McCarthy
This commit finishes adding 'define-datatype' and 'match' to ASL per Shriram's request. I'd like comments and improvements on a few things: 1) The documentation -- most of the ASL docs are very vague, presumably because the book covers it, but in this case that's not true 2) The subset of match

Re: [racket-dev] multiple key-press

2010-07-22 Thread YC
On Thu, Jul 22, 2010 at 6:43 AM, Jay McCarthy jay.mccar...@gmail.comwrote: On Thu, Jul 22, 2010 at 7:38 AM, Shriram Krishnamurthi s...@cs.brown.edu wrote: As far as I know, at the lowest level there is no multiple key press event even in the OS. Not that there is a multiple key press

Re: [racket-dev] Can't Find a Workaround for Bug 11017 in DrRacket

2010-07-22 Thread Matthew Flatt
At Wed, 21 Jul 2010 17:09:03 -0600, Matthew Flatt wrote: I've pushed a change to the git repo that I don't think will fix the problem, but I think it will give us better information when you get a chance to try it. The new error message provoked a bug report that led to a repair. So, please

[racket-dev] Getting old versions of PLT Scheme

2010-07-22 Thread Carl Eastlund
To fix a backwards compatibility bug, I just had to go download PLT Scheme 4.2.4. It's a real pain to do so. First, the Racket site doesn't seem to link to versions before 5.0. I had to go to plt-scheme.org manually. It'd be nice if I could get to the whole history in one place. Second, at