News for hackers. Stuff that matters.
Re:Racket v5.3.6 released by test-it on Saturday August 10, 2013 @02:50PM (#6192209)
Any Racketeers over here?
Re:Racket v5.3.6 released by aufreak3 on Saturday August 10, 2013 @07:13PM (#6193028)
(wave)

Some years ago though. Wrote the "style browser" stand-alone application in DrScheme. Damn! Feeling nostalgic about Scheme as I browse through some old code :)

https://code.google.com/p/muvee-style-authoring/

If you're looking to dabble in Racket and are looking for pet project ideas, here is one I've had in mind for years --

Make a "browser"!

By that I don't mean make something that renders HTML/CSS, runs JavaScript, etc. Instead, make a browser whose "HTML page" is actually a Racket program that loads off a http URL and runs in the "browser"'s window. racket/sandbox is a candidate for sandboxing these runs. Give the script access to drawing on the window, making a sound, limited file system access, etc over time. A standard http server can serve these files, but something extra fun would be a server that also runs Racket that you can use s-expressions to communicate with (bye bye JSON).

Re:Racket v5.3.6 released by s_kilk on Saturday August 10, 2013 @07:23PM (#6193047)
wow, that's a pretty cool idea. I would be very interested in seeing a project like this kick off
Re:Racket v5.3.6 released by gcr on Saturday August 10, 2013 @05:16PM (#6192697)
Racketeer on and off since 2010. It's a really great language; I encourage everyone to at least give it a try.

The racket docs (http://docs.racket-lang.org/) have a list of tutorials at the top. There's a visual art/programming tutorial for those new to lisp (http://docs.racket-lang.org/quick/) and a webapp one (http://docs.racket-lang.org/continue/) that demonstrates Racket's built-in web framework.

Re:Racket v5.3.6 released by omaranto on Saturday August 10, 2013 @11:34PM (#6193733)
It is nice! My main issue is that Dr Racket is so pleasant I'm sorely tempted to use it and it brings my laptop to its knees (that feature that draws arrows from uses of identifiers to their definitions always freezes my computer for half a second to a second; if I evaluate something that consumes any non-trivial amount of memory Dr Racket starts swapping like it's 1999 and becomes unresponsive). I used Racket for a while from the REPL and everything worked beatifully but I constantly missed the Dr. In the end I switched to Chicken, which at least for my programs seems to be quite a bit faster too (I mean compiled Chicken code vs JITed Racket, of course, the Racket JIT is usually substantially faster than interpreted Chicken). Chicken also has great library support, so switching was not painful at all.

(Of course, I don't write fancy macros, so I wasn't taking advantage of Racket. For 99% of the macros I write syntax-rules is good enough.)

A few other things I prefer the SRFI way, for example, Racket's comprehensions seem awkward compared to SRFI-42 (in particular Racket decided to call the main comprehension for*/list, leaving prettier and shorter names to less useful variants such as the exotic parallel-by-default for/list, or the execute-for-side-effects and parallel-by-default for); but all in all I agree that Racket is pretty sweet. If ever own a computer with more than 2GB of ram I'll definitely give it another shot.

Re:Racket v5.3.6 released by jpd on Monday August 12, 2013 @02:33PM (#6200822)
I imagine that the names for for/list and its counterpart came from the scheme let and let*, which are parallel and sequential respectively.
Re:Racket v5.3.6 released by gcr on Friday August 23, 2013 @05:14PM (#6266285)
You can click on the colored circle in the lower right corner of the screen to turn the "Online Check Syntax" off, by the way.
Re:Racket v5.3.6 released by mjn on Saturday August 10, 2013 @08:14PM (#6193170)
I think it might have the best documentation of any Lisp.
Re:Racket v5.3.6 released by gcr on Saturday August 10, 2013 @11:29PM (#6193720)
The fact that the documentation is written in a form of Racket really helps with that, I think.

Having the documentation be parsed by the same infrastructure that understands the programs that you're annotating really goes a long way toward making the documentation cross-referenceable and easy for developers to work with.

I just wish there were an established way of documenting Packages (the PLaneT replacement).

Re:Racket v5.3.6 released by shriphani on Saturday August 10, 2013 @10:55PM (#6193639)
I keep using it from time to time. I have some java libs I am forced to use so I am using clojure.

I use it for personal projects and as some glue in my larger projects (processing text / html documents etc) now but I hope I can ship a full project related to work in it soon.

Re:Racket v5.3.6 released by nickmain on Saturday August 10, 2013 @07:25PM (#6193056)
Using it full time for my day job (prototyping game engines and DSLs).
Re:Racket v5.3.6 released by marshray on Saturday August 10, 2013 @09:34PM (#6193401)
Just prototyping? Is the plan to throw it out and use something else for production? Why?
Re:Racket v5.3.6 released by nickmain on Saturday August 10, 2013 @10:21PM (#6193552)
The target platforms are iPad, Android Tablets and Web - so Racket cannot be the runtime platform without a lot of tangential work.

I'm hoping that the prototyping can lead to Racket being the tools and authoring platform.

Racket is a great environment for developing DSLs and graphical tools.

Re:Racket v5.3.6 released by gcr on Saturday August 10, 2013 @11:31PM (#6193724)
Just as an aside, are you aware of Whalesong?

http://hashcollision.org/whalesong/

It's a Javascript VM that interprets Racket bytecode. It's complete enough to run, eg. World/Universe games or render HTDP2e pictures. Might be useful for some of what you're doing.

Re:Racket v5.3.6 released by nickmain on Sunday August 11, 2013 @12:58AM (#6193908)
Thanks - yes I was aware.

I thought that Whalesong was a Javascript code generator rather than a VM ?

Unfortunately JS performance on iOS rules that out for our purposes.

Re:Racket v5.3.6 released by Zuider on Saturday August 10, 2013 @03:53PM (#6192419)
Yeah - working through "Realm of Racket".
Re:Racket v5.3.6 released by codygman on Saturday August 10, 2013 @04:36PM (#6192587)
Same here, really enjoying it. I have/had a few pain points, but I'm writing a detailed review of the book as I go through it and those will be in there.
Re:Racket v5.3.6 released by platz on Saturday August 10, 2013 @09:31PM (#6193392)
I enjoyed using Racket in the 'programming languages' coursera course