Re: [racket-users] Re: My son's game in Racket

2015-08-24 Thread Joel McCracken
This would be where I would reach for a let* to handle intermediate results, because code like this is very awkward. On Mon, Aug 24, 2015 at 2:32 PM, John Carmack wrote: > The idea that you functionally compose images like this: > > (place-image image-1 x y > (place-image image-2 x y >

Re: [racket-users] My son's game in Racket

2015-08-24 Thread Joel McCracken
FYI, I think the Mac version is out of date. Dropbox says the mac installer file is two weeks old, and the windows version is a few hours old. On Mon, Aug 24, 2015 at 12:27 PM, John Carmack wrote: > We “released” my 10 year old son’s game that was done in Racket: > www.1k3c.com > > > > I’m stil

Re: [racket-users] eval PSA (was Sending Closures to Places)

2015-08-05 Thread Joel McCracken
My impression is that stored procedures are much less commonly used than sending plain strings across the wire to the DB. I don't have any data for this though, just my impression. The common way to avoid SQL injections is to use some symbol to represent a variable to be replaced on the server wit

Re: [racket-users] eval PSA (was Sending Closures to Places)

2015-08-05 Thread Joel McCracken
One example of eval being used for extremely practical purposes is with SQL. Many practical programmers regularly generate SQL strings which are then passed to a remote server, which are then evaluated. Indeed, all the same sorts of arguments against eval may be made against SQL: 1. SQL is co

Re: [racket-users] Correction: Half-life was *not* written in a Lisp after all.

2015-07-25 Thread Joel McCracken
Crash bandicoot is the one example I know. Is that what you were thinking of? Sent from my iPhone > On Jul 25, 2015, at 8:02 AM, Hendrik Boom wrote: > >> On Sat, Jul 25, 2015 at 12:04:07AM +, John Carmack wrote: >> Half-life was written in C on my Quake 1 codebase. > > Thank you for the co

Re: [racket-users] What limits would you put on racket?

2015-07-23 Thread Joel McCracken
I think he's asking, when would you *not* use racket for something? What problems is it particularly suited towards, and what areas is it weak in? I'd also like to know how the list would answer this. PS sorry for forgetting to cc the list on my last msg Matthais. On Thu, Jul 23, 2015 at 9:59 AM

Re: [racket-users] help please on git/github pull request

2015-07-03 Thread Joel McCracken
Am I correct in understanding that you are unfamiliar with rebasing? If so I would gladly pair with you on it. I do it all the time at work. Sent from my iPhone > On Jul 3, 2015, at 5:00 AM, Tim Brown wrote: > > Thanks for the help folks! > > I'll take a long hard look at rebasing before I d

Re: [racket-users] Emacs Lisp as a Racket Language?

2015-07-02 Thread Joel McCracken
This is an excellent idea. I have no idea if this is being worked on, but I would love to help such an effort. On Thu, Jul 2, 2015 at 3:36 PM, Greg Davidson wrote: > Is there interest in creating a Gnu Emacs Lisp Racket Language, along with > the underlying APIs (perhaps tied to DrRacket) suffic

Re: [racket] using scribble/eval in conjunction with scribble/lp

2015-01-05 Thread Joel McCracken
acro, and it was pretty hard to get working, so I am pretty sure the code is gross in some way. On Thu, Dec 18, 2014 at 3:14 PM, Joel McCracken wrote: > I tried creating an `examples` macro like the existing `examples` > macro, without success. I'll try again later, but for now thanks!

Re: [racket] using scribble/eval in conjunction with scribble/lp

2014-12-17 Thread Joel McCracken
t sure if lp2 includes some facility to make @examples work without the evaluator creation. On Tue, Dec 16, 2014 at 11:48 PM, Joel McCracken wrote: > I'm glad there is a repository issue -- that's where I tried without > success. I tried the build available right now (3bb896d) with

Re: [racket] using scribble/eval in conjunction with scribble/lp

2014-12-16 Thread Joel McCracken
right. > > At Tue, 16 Dec 2014 14:54:06 -0500, Matthias Felleisen wrote: >> >> You probably want the current snapshot: >> >> http://www.cs.utah.edu/plt/snapshots/ >> >> >> >> >> On Dec 16, 2014, at 1:28 PM, Joel McCracken wrote: >

[racket] Fwd: using scribble/eval in conjunction with scribble/lp

2014-12-16 Thread Joel McCracken
Forwarding to users, since I forgot to reply-all. -- Forwarded message -- From: Joel McCracken Date: Tue, Dec 16, 2014 at 1:27 PM Subject: Re: [racket] using scribble/eval in conjunction with scribble/lp To: Matthew Flatt Hmm, I'm having trouble finding this new relea

Re: [racket] using scribble/eval in conjunction with scribble/lp

2014-12-14 Thread Joel McCracken
(f x) >(* x x))] > > - > > ;; lp-test.rkt > #lang racket > (require "lp.rkt") > (f 3) ;; Error! > > > > On Sun, Dec 14, 2014 at 2:24 AM, Joel McCracken > wrote: >> >> I'm trying to create a document that in

[racket] using scribble/eval in conjunction with scribble/lp

2014-12-13 Thread Joel McCracken
I'm trying to create a document that includes code, describes that code, includes example usage, and exports some of the bindings so that it may be included later. I've been looking at the scribble documentation, and it seems like all this should be possible. I can't seem to figure out how to actu

[racket] Running subset of RackUnit tests

2014-11-21 Thread Joel McCracken
Hi, I have a I'm trying to figure out how to run specific test subsets. I have organized different subsets into test suites, and do run-tests on each of them, but I would prefer a scheme where: 1) I can run all of the tests for a project, and 2) I can "tag" tests to run subsets. Is there a way t