Hi there, I wrote this ray tracer. Thanks to everyone for your positive comments. I don't have a copy of that version any more, but it was 83 lines from start to finish, including the scene description and dealing with Java to display the image. No AA or multi-CPU support, but point-light sources and reflection, and a little general-purpose vector library.
There was probably more code on each line than is typical Lisp style, though.
There are some techniques in the code for getting good performance (as good as Java at least) for mathematical routines - the JVM is the limiting factor rather than Clojure.
I hope it helps to show that Clojure is a practical language, since the concepts in it are going to be important in the near future. Also, if anyone is impressed by shiny spheres and wants to talk of entrepreneurial things, email's on the project page. :)
Hypomania is pretty much a temporary phase in bipolar/schizoaffective disorders. There isn't really such a thing as being in a perpetual state of hypomania. The debilitating effects of the other aspects of these illnesses (psychosis, mood swings into depression, etc) are likely to greatly outweigh the short-lived advantages of being in a mild state of hypomania.
In the real world, this means the visionary plans and energy levels experienced during hypomania are most likely to be washed away in a tide of depression, or lead to the sufferer doing something irrational like joining a pyramid marketing scheme. There will be exceptions, particularly in creative fields or environments where the sufferer is able to coast or be supported through the negative cycles. Ever work with one of those people who slacks off and fails to meet their schedule most of the time, but occasionally delivers something incredible out of nowhere in the space of a few days?
So, are entrepreneurs hypomanic? The real lesson of this article is to beware of how easy it is to confuse DSM-style bullet point symptom lists with medical diagnoses.
There was probably more code on each line than is typical Lisp style, though.
There are some techniques in the code for getting good performance (as good as Java at least) for mathematical routines - the JVM is the limiting factor rather than Clojure.
I hope it helps to show that Clojure is a practical language, since the concepts in it are going to be important in the near future. Also, if anyone is impressed by shiny spheres and wants to talk of entrepreneurial things, email's on the project page. :)