[racket] Support for MS SQL in Racket?

2011-02-05 Thread Dave Yrueta
Hi All -- I'm an HtDP veteran but otherwise a newbie to the world of commercial programming. Recently, I fell into a contract job which consists of moving data from one MS SQL Server database to another, and using SQL scripts to "cleanse" the data. The scripts are brutally repetitive, and seem l

Re: [racket] image.ss: can one make a rotation-invariant middle?

2011-02-05 Thread Yaron Minsky
Sorry for the noise: I think I answered my own question. You basically stick a pinhole in the image you want to place at its desired center, you put a pinhole on the scene at the place you want the image to go, and you use overlay/pinhole to place the image (or place-image/align, and use 'pinhole

[racket] image.ss: can one make a rotation-invariant middle?

2011-02-05 Thread Yaron Minsky
In playing around with image.ss, I've run into the following problem: the center of an image does not appear to be rotation invariant. Thus, if you use place-image/align in order to place a triangle, say, that you then rotate continuously, you will see the triangle wobble as its effective center m

Re: [racket] Making animations in racket (or, why racket is hard to transition to from scratch)

2011-02-05 Thread Yaron Minsky
On Sat, Feb 5, 2011 at 9:43 PM, Mark Engelberg wrote: > There are projects that are trivial in Scratch that are hard in Racket, and > vice versa. Porting your Scratch projects to Racket is not likely to be a > very productive use of your time because they have such different strengths > and weakn

Re: [racket] Making animations in racket (or, why racket is hard to transition to from scratch)

2011-02-05 Thread Mark Engelberg
There are projects that are trivial in Scratch that are hard in Racket, and vice versa. Porting your Scratch projects to Racket is not likely to be a very productive use of your time because they have such different strengths and weaknesses. I think your best bet is to pick some projects which ar

Re: [racket] Making animations in racket (or, why racket is hard to transition to from scratch)

2011-02-05 Thread Yaron Minsky
On Wed, Feb 2, 2011 at 7:20 AM, Stephen Bloch wrote: > > > Another thing I'd be interested in suggestions with is how to deal with > updating a struct in a clean way. Right now, you need to explicitly wrote > set-world-X functions for each field in your struct, which is pretty ugly. > Also, the

Re: [racket] Making animations in racket (or, why racket is hard to transition to from scratch)

2011-02-05 Thread Yaron Minsky
On Wed, Feb 2, 2011 at 10:23 AM, Matthias Felleisen wrote: > > On Feb 1, 2011, at 9:27 PM, Yaron Minsky wrote: > > > I'm finding it to be rather tough going, mostly because a lot of things > that are really easy in scratch seem surprisingly hard in racket. > > [I thought we had discussed this befo

[racket] quack-view-keyword-docs for Racket

2011-02-05 Thread Darshan Shaligram
I've been learning Racket using Emacs with quack. Unfortunately quack-view-keyword-docs doesn't seem to work with Racket docs (perhaps this is already fixed in a new version of quack? I'm using quack 0.40), so I thought fellow quack+racket users might be interested in this workaround (elisp): (def

Re: [racket] Racket v5.0.99.900 is available for testing

2011-02-05 Thread Ковалев Юрий
For write to registry I use "shell-execute" and "reg" utility. I forgot what the problem is to use "write-resource", but it was. "read-resource" from registry I use less frequently, but no doubt, it needed, for example, for read system information. write-resource/read-resource I use mainly for