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 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 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.
(One side point, that background is a little hard to read against; it actually started to give me a headache... :)
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!