Re: [racket] drawing on canvas what's wrong with my code?

2010-10-26 Thread 김태윤
thank you very much the following code works well === #lang scheme/gui (require 2htdp/image) (define pic dc<%>) (define chipset (make-object bitmap% "town.png" 'png)) (define f (instantiate frame% ("map editor"))) (define mcan% (class canvas% (

Re: [racket] drawing on canvas what's wrong with my code?

2010-10-26 Thread Ryan Culpepper
김태윤 wrote: drawing on canvas what's wrong with my code? I coded as follow and run it but nothing apear. could sombody tell me what's wrong with my code? #lang scheme/gui (require 2htdp/image) (define pic dc<%>) (define f (instantiate frame% ("map editor"))) (define mcan% (class canvas%

[racket] drawing on canvas what's wrong with my code?

2010-10-26 Thread 김태윤
drawing on canvas what's wrong with my code? I coded as follow and run it but nothing apear. could sombody tell me what's wrong with my code? #lang scheme/gui (require 2htdp/image) (define pic dc<%>) (define f (instantiate frame% ("map editor"))) (define mcan% (class canvas% (override on-

Re: [racket] revoking PLaneT packages?

2010-10-26 Thread Robby Findler
I think Neil covered the bases pretty well. Pragmatically, the only thing you can currently do is release a new minor version that raises a syntax error (minimize the dependencies (and no docs) and the error will hopefully happen quickly). Robby On Tue, Oct 26, 2010 at 8:50 PM, Danny Yoo wrote: >

Re: [racket] revoking PLaneT packages?

2010-10-26 Thread Neil Van Dyke
Danny Yoo wrote at 10/26/2010 09:50 PM: Is there a procedure ready for revoking old PLaneT packages? Some of my packages are obsolete or dead enough that I'd like to disable them from being served by PLaneT, or at the very least, I'd like PLaneT to warn the user that the package is dead. Is

[racket] revoking PLaneT packages?

2010-10-26 Thread Danny Yoo
Is there a procedure ready for revoking old PLaneT packages? Some of my packages are obsolete or dead enough that I'd like to disable them from being served by PLaneT, or at the very least, I'd like PLaneT to warn the user that the package is dead. Is there a standard procedure for doing marking

Re: [racket] apache configuration for racket

2010-10-26 Thread Neil Van Dyke
scouic wrote at 10/26/2010 06:48 PM: nobody has an apache configuration to run Dr.racket files in localhost ? =/ There are several different ways to use Racket with Apache. If you are using the Racket Web Server, then you don't necessarily need Apache. However, if you want, you can make Apa

Re: [racket] apache configuration for racket

2010-10-26 Thread scouic
nobody has an apache configuration to run Dr.racket files in localhost ? =/ _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] problems running moby from source

2010-10-26 Thread keyd...@gmx.de
Hi Danny, thanks a lot for the explanation,- it worked fine, and this is very cool! But you know, the reason I wanted to look into the source was that as a new and proud I-never-thought-I'd-buy-something-like-that-in-my-life owner of an Android smartphone, I wanted to look into how Moby interfa

Re: [racket] Cycles when loading modules

2010-10-26 Thread Carl Eastlund
Joe, Check out the "racket/unit" library of dynamic, recursively-linkable components. You can define separate signatures for constraints and connectors, then define a unit implementing each that imports one signature and exports the other, and finally link the two modules together. The unit syst

Re: [racket] there must be function right after parenthesis?

2010-10-26 Thread namekuseijin
On Tue, Oct 26, 2010 at 5:11 AM, wrote: > there must be function right after parenthesis? no: '(1 2 3) '("foo" "bar") only if list is to be evaluated by not quoting them first element should evaluate to a function. > hello~ > while I am learning GUI programming in DrRacket, > I don't get how s

[racket] Cycles when loading modules

2010-10-26 Thread Joe Snikeris
Hi all, I've encountered: standard-module-name-resolver: cycle in loading at... I understand the issue; however, I'm not sure how to resolve it while maintaining good design. Perhaps my idea of good design is flawed. Anyway, I'm working on a problem from SICP [1] that involves several objects:

Re: [racket] Transparent area's

2010-10-26 Thread Matthew Flatt
At Mon, 25 Oct 2010 16:41:32 +0200, "Christophe Vandenberghe" wrote: > Even with a transparent canvas the problem persists. A transparent canvas > just > adds the background color of it's parent to a bitmap you add. So If you were > to put a background image in the canvas that would be fine, but

Re: [racket] there must be function right after parenthesis?

2010-10-26 Thread Richard Cleis
Oops. Sorry about the first question. I thought you meant that it did *not* work, and I didn't read enough of the code. As CV showed, 'instantiate' is defined with special syntax. The language allows for developers to define special syntax, too. New forms are normally closely related to the la

Re: [racket] internet connect through ip sharer

2010-10-26 Thread Neil Van Dyke
kty1...@gmail.com wrote at 10/26/2010 03:14 AM: thank you for your replying I think my case is the most former one what I have to do if there is some problem to be able to get a route? [..] > * You might not be able to get a route, especially if a home router is doing NAT. Try traceroute to se

Re: [racket] there must be function right after parenthesis?

2010-10-26 Thread Richard Cleis
On Oct 26, 2010, at 1:11 AM, kty1...@gmail.com wrote: > there must be function right after parenthesis? > hello~ > while I am learning GUI programming in DrRacket, > I don't get how string literal can be placed right after parenthesis > such as > (define frame (instantiate frame% ("Example")))

Re: [racket] there must be function right after parenthesis?

2010-10-26 Thread Christophe Vandenberghe
That is just the instantiate syntax, http://docs.racket-lang.org/reference/objcreation.html?q=instantiate#(form._ ((lib._racket/private/class-internal..rkt)._instantiate)) From: users-boun...@racket-lang.org [mailto:users-boun...@racket-lang.org] On Behalf Of kty1...@gmail.com Sent: dinsd

Re: [racket] internet connect through ip sharer

2010-10-26 Thread kty1104
thank you for your replying I think my case is the most former one what I have to do if there is some problem to be able to get a route? On Oct 26, 2010 1:44am, Neil Van Dyke wrote: 김태윤 wrote at 10/25/2010 11:47 AM: I want to make program that connect both computer and send and receive dat

[racket] there must be function right after parenthesis?

2010-10-26 Thread kty1104
there must be function right after parenthesis? hello~ while I am learning GUI programming in DrRacket, I don't get how string literal can be placed right after parenthesis such as (define frame (instantiate frame% ("Example"))) (define msg (instantiate message% ("No events so far..." frame))) (in