Re: [racket] How to get a pict-box into a slideshow?

2013-09-20 Thread Konrad Hinsen
Robby Findler writes: You probably want to insert a Racket box into the pict box and then type some code in there that evaluates to a pict. Got it. It works! But I fear you'll be disappointed. The reason I mothballed these (and I had forgotten about the environment variable!) was

[racket] pkg.racket-lang.org down?

2013-09-20 Thread Laurent
Hi, I get a 502 Bad Gateway error when trying to go to pkg.racket-lang.org. Is it just me? Laurent Racket Users list: http://lists.racket-lang.org/users

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread Jay McCarthy
That error will never be just you. Also, we had a watch dog that sends me texts if it goes down. I was just brushing my teeth and it took a sec to bring it back. Jay On Fri, Sep 20, 2013 at 7:36 AM, Laurent laurent.ors...@gmail.com wrote: Hi, I get a 502 Bad Gateway error when trying to go to

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread David Vanderson
I got the same error well. On 09/20/2013 09:36 AM, Laurent wrote: Hi, I get a 502 Bad Gateway error when trying to go to pkg.racket-lang.org http://pkg.racket-lang.org. Is it just me? Laurent Racket Users list: http://lists.racket-lang.org/users

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread Jay McCarthy
I think Eli wrote it... don't know anything else On Fri, Sep 20, 2013 at 7:50 AM, Laurent laurent.ors...@gmail.com wrote: Just to know, what kind of watchdog do you use? Racket-based home made? On Fri, Sep 20, 2013 at 3:48 PM, Laurent laurent.ors...@gmail.com wrote: On Fri, Sep 20, 2013 at

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread Laurent
On Fri, Sep 20, 2013 at 3:45 PM, Jay McCarthy jay.mccar...@gmail.comwrote: That error will never be just you. Also, we had a watch dog that sends me texts if it goes down. I was just brushing my teeth and it took a sec to bring it back. Then please don't ever brush your teeth again, that

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread Laurent
Just to know, what kind of watchdog do you use? Racket-based home made? On Fri, Sep 20, 2013 at 3:48 PM, Laurent laurent.ors...@gmail.com wrote: On Fri, Sep 20, 2013 at 3:45 PM, Jay McCarthy jay.mccar...@gmail.comwrote: That error will never be just you. Also, we had a watch dog that sends

Re: [racket] How to get a pict-box into a slideshow?

2013-09-20 Thread Robby Findler
Yes. You would use ct-find and friends to find the picts that you put into the box. Robby On Fri, Sep 20, 2013 at 7:55 AM, Konrad Hinsen konrad.hin...@fastmail.netwrote: Robby Findler writes: You probably want to insert a Racket box into the pict box and then type some code in there

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread Eli Barzilay
An hour ago, Laurent wrote: Just to know, what kind of watchdog do you use? Racket-based home made? It's an almost-simple shell script that runs a bunch of tests. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/

Re: [racket] How to get a pict-box into a slideshow?

2013-09-20 Thread Konrad Hinsen
Robby Findler writes: Yes. You would use ct-find and friends to find the picts that you put into the box. Sure, but what do I ask ct-find to look for? I found one way, even though it looks a bit clumsy: (define my-text (t inside the pict box)) (define box ... put the pict box here and

Re: [racket] How to get a pict-box into a slideshow?

2013-09-20 Thread Robby Findler
Something along those lines is what I had in mind, right. A pict box just produces a pict, not something that specially knows about subpicts (more than any other pict would). You can iterate over subpicts, I believe, but what you're doing is probably better than that. Robby On Fri, Sep 20, 2013

[racket] Annulus with dc%?

2013-09-20 Thread J. Ian Johnson
I'm trying to make some visuals for a slideshow presentation, and I want to have a ring with borders (inner and outer ring borders) to draw over another image, thus a transparent center is necessary. I haven't been able to find a way to do this with the current API. Anyone have a suggestion

Re: [racket] Using GUI editor

2013-09-20 Thread Matthias Felleisen
On Sep 20, 2013, at 1:05 PM, Alan Johnsey wrote: It looks like I’ve stumbled into another area where I’m lacking a basic understanding of what’s going on. I’m trying to use the built-in editor in the gui package, but I need to put some initial content into the editor window. When I put

[racket] Best canonical package?

2013-09-20 Thread Anthony Carrico
Is there a package that represents the current best practice for the new package system (naming, organizing, modules, submodules, files, docs, tests, READMEs, the works)? I know a lot of them were ported forward, and this area is evolving. A really decent example would be nice. -- Anthony

Re: [racket] Annulus with dc%?

2013-09-20 Thread Jens Axel Søgaard
Here is one way to draw an annulus on a 400x400 bitmap with center (200,200) and radii 100 and 200 respectively. #lang racket (require racket/draw) (define bm (make-object bitmap% 400 400)) (define dc (new bitmap-dc% [bitmap bm])) (define p (new dc-path%)) (send p move-to 300 200) (send p arc

Re: [racket] Annulus with dc%?

2013-09-20 Thread Robby Findler
You could use a large pen and just not draw the center part at all. Robby On Fri, Sep 20, 2013 at 12:51 PM, J. Ian Johnson i...@ccs.neu.edu wrote: I'm trying to make some visuals for a slideshow presentation, and I want to have a ring with borders (inner and outer ring borders) to draw over

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread Laurent
Any chance to see what it looks like? On Fri, Sep 20, 2013 at 4:57 PM, Eli Barzilay e...@barzilay.org wrote: An hour ago, Laurent wrote: Just to know, what kind of watchdog do you use? Racket-based home made? It's an almost-simple shell script that runs a bunch of tests. --

Re: [racket] Annulus with dc%?

2013-09-20 Thread J. Ian Johnson
Excellent, thanks, Jens. I changed the line-to to move-to in order to not draw over the filled color. -Ian - Original Message - From: Jens Axel Søgaard jensa...@soegaard.net To: J. Ian Johnson i...@ccs.neu.edu Cc: users users@racket-lang.org Sent: Friday, September 20, 2013 2:11:12 PM GMT

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread Greg Hendershott
I'm using Travis CI for some projects that need to `raco pkg install` some required packages. On a few occasions I've had Travis CI mark something build failed, and the reason was the package install failed (otherwise the build would have succeed). There are two links in the chain: The

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread Greg Hendershott
Nice. Delegating something like 24/7/365 uptime to Amazon S3 is smart. (And good for dental hygiene :)). On Fri, Sep 20, 2013 at 4:53 PM, Jay McCarthy jay.mccar...@gmail.com wrote: The current plan for reliability is to switch the package catalog to be served from a static S3 site that

Re: [racket] Best canonical package?

2013-09-20 Thread Jay McCarthy
I feel this is hard to answer because there are still different tastes for what it best. I think the opengl package is pretty good, if relatively simple to the point where there's not much to do wrong. Jay On Fri, Sep 20, 2013 at 10:07 AM, Anthony Carrico acarr...@memebeam.org wrote: Is there a

Re: [racket] Using GUI editor

2013-09-20 Thread Alan Johnsey
Thanks. That will do for now, but it remains a mystery to me why my approach doesn't work. -Alan _ From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] Sent: Friday, September 20, 2013 10:17 AM To: Alan Johnsey Cc: 'Racket Mailing List' Subject: Re: [racket] Using GUI editor

Re: [racket] Using GUI editor

2013-09-20 Thread Robby Findler
A dc% object doesn't work like that. If you want to draw something into it, you have to set up a callback and draw during the dynamic extent of the callback. Also, if you do that, you probably want to use a canvas% object, not an editor-canvas%. The editor-canvas% objects already do a lot of work