News for hackers. Stuff that matters.
Re:Learn Clojure as a holiday project by cmansley on Thursday December 22, 2011 @04:06PM (#3383251)
Just a note. The distribution being created here is the Binomial distribution. It just so happens that because of the central limit theorem, you can approximate it with the Gaussian distribution. For a low number of samples (n<20), this approximation will degrade. http://en.wikipedia.org/wiki/Binomial_distribution#Normal_ap...
Re:Learn Clojure as a holiday project by edd_dumbill on Thursday December 22, 2011 @11:28AM (#3382064)
This came out of me needing an excuse to write some Clojure, and wanting to model a simple coin-tossing game. What started as a guide to Clojure for busy programmers probably makes a right-sized holiday hacking project.
Re:Learn Clojure as a holiday project by Lio on Thursday December 22, 2011 @12:22PM (#3382354)
Thanks for the article Edd. I've been meaning to have a go at Clojure since I started playing with Lisp/Scheme.

(One side point, that background is a little hard to read against; it actually started to give me a headache... :)

Re:Learn Clojure as a holiday project by edd_dumbill on Thursday December 22, 2011 @12:30PM (#3382392)
Thanks Lio. Let me know what you think. Also, I got rid of the background. Seems my evil plan to hypnotize the population of HN might not actually work out.
Re:Learn Clojure as a holiday project by uniclaude on Thursday December 22, 2011 @12:51PM (#3382485)
This shade of grey is way better than the previous background to me. Thanks !
Re:Learn Clojure as a holiday project by tednaleid on Thursday December 22, 2011 @02:19PM (#3382854)
I'm just diving into clojure now and have finally gotten my vim environment set up with a working repl (war scars here for vim users trying to get going: http://naleid.com/blog/2011/12/19/getting-a-clojure-repl-in-...)

This is exactly the kind of next step I was looking for beyond the 4clojure and clojure koans stuff. I'll be working through it this weekend. Thanks!

Re:Learn Clojure as a holiday project by jherdman on Thursday December 22, 2011 @12:28PM (#3382384)
Sounds interesting, but... I think your site is down.
Re:Learn Clojure as a holiday project by edd_dumbill on Thursday December 22, 2011 @12:31PM (#3382395)
Working here. Try again? It's hosted on Tumblr.
Re:Learn Clojure as a holiday project by jherdman on Thursday December 22, 2011 @12:47PM (#3382465)
Still boned. I'll try again later. I'm looking forward to it!
Re:Learn Clojure as a holiday project by SonySeng on Thursday December 22, 2011 @02:54PM (#3382987)
I just read through this at work (Slow day before Holidays). Very nice. I've also been going through The Joy of Clojure as a beginner book to lisp and small projects like this are very helpful. I learn the same way. If something seems daunting or if something seems trivial, I am not as motivated. There is a good balance that I have to find.
Re:Learn Clojure as a holiday project by whateverer on Friday December 23, 2011 @05:54PM (#3387541)
The tutorial looks lovely but... if you have good a relationship with your family or have close friends, wouldn't it be better to spend time with them rather than learning Clojure these holidays? There will be plenty of time for Clojure the rest of the year, but this is a special occasion.
Re:Learn Clojure as a holiday project by Kittynana on Thursday December 22, 2011 @03:51PM (#3383204)
Thanks for this. It's hard to find good examples that are so thoroughly explained and aren't trivial.