[racket] how can I change only one element in the vector?

2010-11-19 Thread 김태윤
hello from the following code, I expected '#(#(#("2" "2" "3") #("1" "2" "3")) #(#("1" "2" "3") #("1" "2" "3"))) but the interpreter pop the '#(#(#("2" "2" "3") #("2" "2" "3")) #(#("2" "2" "3") #("2" "2" "3"))) how can I change only one element in the vector? ===following code=== #lang racket (defin

[racket] overlay two or more images

2010-11-19 Thread 김태윤
hello I am trying to overlay two or more images(not in universe) but I can't make it as transparent setting brush with transparent option doesn't work original image's format is png though. do I have to convert them into bitmap? or is there any option or something to make it transparent? thanks i

Re: [racket] request for testing Moby geolocation on android phone

2010-11-19 Thread Danny Yoo
> > I'm trying to see if the geolocation code I'm using for Moby (my > Racket->Android compiler) is robust across different Android > smartphones.  If you're interested, can you run the following program > on your Android phone and let me know if it runs well? I got enough feedback across several

[racket] request for testing Moby geolocation on android phone

2010-11-19 Thread Danny Yoo
Hi everyone, I'm trying to see if the geolocation code I'm using for Moby (my Racket->Android compiler) is robust across different Android smartphones. If you're interested, can you run the following program on your Android phone and let me know if it runs well? It's a simple world program that

[racket] request for testing Moby geolocation on android phone

2010-11-19 Thread Danny Yoo
Hi everyone, I'm trying to see if the geolocation code I'm using for Moby (my Racket->Android compiler) is robust across different Android smartphones. If you're interested, can you run the following program on your Android phone and let me know if it runs well? It's a simple world program that

Re: [racket] true vs. True in BSL

2010-11-19 Thread Eli Barzilay
30 minutes ago, Joe Marshall wrote: > > My understanding is that convention is to capitalize at the > beginning of a sentence or when using a proper name. Among the tech > savvy, using all capital letters is interpreted as shouting. > Lawyers seem to think that extremely important sentences shoul

Re: [racket] true vs. True in BSL

2010-11-19 Thread Joe Marshall
On Fri, Nov 19, 2010 at 9:57 AM, Don Blaheta wrote: > A student of mine is having trouble keeping track of when to use capital > vs lowercase letters---a common problem I've seen before, with any intro > language---and in particular, keeps trying to write True and False > instead of true and false

Re: [racket] Fresh sandboxes in Scribble documentation

2010-11-19 Thread Neil Toronto
Eli Barzilay wrote: After talking to Sam about it, he pointed out the further problems that you get into with TR's limitations wrt the repl. A potentially simple solution for this would be a variant of the the interactions thing that will get some code then run it as a *module*, and show the res

Re: [racket] Fresh sandboxes in Scribble documentation (was: Typed macros in untyped code)

2010-11-19 Thread Eli Barzilay
After talking to Sam about it, he pointed out the further problems that you get into with TR's limitations wrt the repl. A potentially simple solution for this would be a variant of the the interactions thing that will get some code then run it as a *module*, and show the results, instead of using

Re: [racket] Fresh sandboxes in Scribble documentation (was: Typed macros in untyped code)

2010-11-19 Thread Eli Barzilay
10 minutes ago, Neil Toronto wrote: > > The problem: because we create one evaluator and use it for everything, > our documentation examples aren't independent. This is only to make it run faster. Creating a sandbox can be expensive, and I'd expect a TR sandbox to be much more expensive. BTW,

Re: [racket] Fresh sandboxes in Scribble documentation (was: Typed macros in untyped code)

2010-11-19 Thread Carl Eastlund
Neil, Check out make-eval-factory and make-base-eval-factory in scribble/eval. They let you create new evaluators that nevertheless share compiled versions of the modules you are using. That way you don't recompile your language and instantiate new modules at each example. It's not super fast -

Re: [racket] Fresh sandboxes in Scribble documentation (was: Typed macros in untyped code)

2010-11-19 Thread Neil Toronto
Sam Tobin-Hochstadt wrote: On Thu, Nov 18, 2010 at 7:48 PM, Neil Toronto wrote: But Typed Racket craps on me if I use the typed macros inside a sandbox in Scribble. For example, using @(example #:eval my-eval (bftest-error (bfexp (bf 2 gives me this: (bftest-error (bfexp (bf 2))) eval:6

[racket] [Racket]27.3.5, 27.3.6 htdp

2010-11-19 Thread Ken Hegeland
Hi, Im sorry if I appear to be coming here a lot, just having trouble with the algorithm section more than any others. http://www.htdp.org/2001-01-18/Book/node145.htm I believe I completed find-root-linear, which to me seems like just testing if a number in the table is a root of some function,

Re: [racket] true vs. True in BSL

2010-11-19 Thread Shriram Krishnamurthi
Actually, I'm pretty sure the False signature has worked for me once where I was returning true. But anyway, as Matthias has pointed out, the signatures are gone now. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/

Re: [racket] true vs. True in BSL

2010-11-19 Thread Matthias Felleisen
I have removed the signatures from BSL precisely for reasons like that. Please update to Version 5.0.2. Once again, apologies for allowing checked signatures to slip into 5.0.1. -- Matthias On Nov 19, 2010, at 12:57 PM, Don Blaheta wrote: > A student of mine is having trouble keeping trac

[racket] true vs. True in BSL

2010-11-19 Thread Don Blaheta
A student of mine is having trouble keeping track of when to use capital vs lowercase letters---a common problem I've seen before, with any intro language---and in particular, keeps trying to write True and False instead of true and false. After a very strange discussion with him I went and tested

Re: [racket] etags support for DrRacket

2010-11-19 Thread Jens Axel Søgaard
2010/11/18 Vincent St-Amour : > Guillaume Marceau wrote a script for that: > http://lists.racket-lang.org/users/archive/2003-November/003715.html In Marceau's mail I get the impression, that etags makes it possible to jump from a function name to the definition of the function. In DrScheme one wo

Re: [racket] threads and Windows 7

2010-11-19 Thread Noel Welsh
I can't help with the Windows 7 problem, but you probably don't want that thread there... On Wed, Nov 10, 2010 at 2:42 PM, Sébastien Cano wrote: > Hi, > I'm currently working on a space invaders and I'm facing a problem with > Windows 7. > > Given that I'm not really familiar with the concept of