Re: [racket-dev] mouse motion events in Linux

2011-07-18 Thread Stephan Houben
Hi Matthew, On 07/17/2011 04:12 PM, Matthew Flatt wrote: Does adding GDK_POINTER_MOTION_HINT_MASK change the mouse events that you see on your machine? No, in fact it does not. You are right; the behaviour of GDK_POINTER_MOTION_HINT_MASK appears not to match the docs. I investigated this und

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

2011-07-18 Thread Robby Findler
Oh, I see. Yes, indeed, the whole test suite was broken. I've pushed fixes for it and for the things that weren't caught by the old test suite. Thanks, Robby On Sun, Jul 17, 2011 at 8:27 AM, Casey Klein wrote: > Here's what I tried: > > 1. I added this test, which should fail for identifying the

[racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Danny Yoo
Currently doing Program-by-Design workshop. One issue so far: Help Desk is not giving language-specific help. One of the users searched for "width", and hit basically every width function except the one he was looking for. I can't check at the moment to see if the upcoming DrRacket release fixes

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Robby Findler
What dd they do to get to the docs? On Monday, July 18, 2011, Danny Yoo wrote: > Currently doing Program-by-Design workshop. > > One issue so far: Help Desk is not giving language-specific help.  One > of the users searched for "width", and hit basically every width > function except the one he w

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Guillaume Marceau
In Beginner with the latest DrRacket from git. Write 'width' in the definition window, right click on it, choose "search help desk for 'width'". The result is: width (method of mx-element%) provided from mysterx :maxwidth in handin-server argb-width provided from mrlib/cache-image-sni

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Eli Barzilay
9 minutes ago, Guillaume Marceau wrote: > In Beginner with the latest DrRacket from git. > > Write 'width' in the definition window, right click on it, choose "search > help desk for 'width'". Something seems wrong. Specifically, I'm getting the right results (two matches from `2htdp/image' and

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Guillaume Marceau
On Mon, Jul 18, 2011 at 1:24 PM, Eli Barzilay wrote: > Something seems wrong. Specifically, I'm getting the right results > (two matches from `2htdp/image' and one from `htdp/image'). What I > did was: > Where should I look to start debugging this? _

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Eli Barzilay
50 minutes ago, Guillaume Marceau wrote: > On Mon, Jul 18, 2011 at 1:24 PM, Eli Barzilay wrote: > > > Something seems wrong. Specifically, I'm getting the right > > results (two matches from `2htdp/image' and one from > > `htdp/image'). What I did was: > > Where should I look to start debuggin

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Guillaume Marceau
The temporary file send-url creates contains: Please go here. but if I paste that url into my browser, it immediately rewrite itself to: file:///C:/Documents%20and%20Settings/gmarceau/Application%20Data/Racket/5.1.2.3/doc/search/index.html?q=w This is on Windows using Chrome, but our student

[racket-dev] for/vector much slower than vector-set! ?

2011-07-18 Thread John Clements
I was testing the speed of vector creation, and I was surprised to see that for/vector seems much slower than using 'for' with an explicit vector-set! (printf "let's try just generating a big vector.\n") (rtavg (for/vector ([i (in-range (* 100 sr))]) 0.243)) (printf "\n\n") (printf "how about wi

Re: [racket-dev] for/vector much slower than vector-set! ?

2011-07-18 Thread Sam Tobin-Hochstadt
On Mon, Jul 18, 2011 at 6:01 PM, John Clements wrote: > Does the first one somehow have to check some things that the second one > doesn't? Yes, how long the vector is going to be. Try: (for/vector #:length (* 100 sr) ([i (in-range (* 100 sr))]) 0.243) which is just as a fast as the `vector-

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Robby Findler
I tried this too and it seems to work for me, even under windows with firefox. So, I suspect that there is something subtle about the UI that Eli and I are doing one way but others are doing another way that is interacting badly with the way some internal state somewhere works. So, perhaps more c

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Guillaume Marceau
On Mon, Jul 18, 2011 at 7:21 PM, Robby Findler wrote: > I tried this too and it seems to work for me, even under windows with > firefox. > > So, I suspect that there is something subtle about the UI that Eli and > I are doing one way but others are doing another way that is > interacting badly wit

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Eli Barzilay
An hour and a half ago, Guillaume Marceau wrote: > The temporary file send-url creates contains: > > content="0;URL=file:///C:/Documents%20and%20Settings/gmarceau/Application%20Data/Racket/ > 5.1.2.3/doc/search/search-context.html?q=w&hq=O%3A%7B%20L%3Alang%2Fhtdp-beginner%20T%3Ateachpack%20%7D&la

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Eli Barzilay
5 minutes ago, Guillaume Marceau wrote: > On Mon, Jul 18, 2011 at 7:21 PM, Robby Findler > wrote: > > > I tried this too and it seems to work for me, even under windows with > > firefox. > > > > So, I suspect that there is something subtle about the UI that Eli and > > I are doing one way but othe

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Danny Yoo
>> > I tried this too and it seems to work for me, even under windows with >> > firefox. Sorry: I should have mentioned. I observed the behavior in IE on the Windows 7 machines in the lab. I believe what's happening is related to the way IE is prohibiting JavaScript from running on for local fi

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Danny Yoo
On Mon, Jul 18, 2011 at 8:03 PM, Danny Yoo wrote: >>> > I tried this too and it seems to work for me, even under windows with >>> > firefox. > > Sorry: I should have mentioned.  I observed the behavior in IE on the > Windows 7 machines in the lab.  I believe what's happening is related > to the wa

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Robby Findler
Also, when I disable cookies, I see that the context sensitive search just silently doesn't work. Would it be possible to always have the search set a (separate) cookie and give a warning if it doesn't find the (constant) cookie? Robby On Mon, Jul 18, 2011 at 7:03 PM, Danny Yoo wrote: >>> > I t