Re: Why is this code so slow?

2013-02-05 Thread Sung Pae
On Sat, Feb 02, 2013 at 06:28:09PM -0800, Alexandros Bantis wrote: Hello all. I'm working through the Project Euler problems in Java, Scala, Clojure (trying to learn all three?!?). I notice that for one particular problem, I use--more or less--a similar algorithm for all three, but the

Re: Question: Looking at Noir code - hey, are those singletons?

2012-09-16 Thread Sung Pae
On Thu, Sep 13, 2012 at 12:56:47PM -0400, Chas Emerick wrote: One of the great advantages of Ring (and other purely functional bits that stack on top, like Compojure, Bishop, etc) is that its handlers are readily composable. Among other things, this means that way you compose handlers from

Re: ForkJoinTask not found under Java 7?

2012-08-21 Thread Sung Pae
Jim - FooBar(); jimpil1...@gmail.com writes: I thought I did not need the jsr166y.jar under java 7...what is happening? Has clojure 1.5 apha3 been aot-compiled against java 6? It certainly looks that way. The compile-if macro [1] in clojure.core.reducers conditionally defines several vars at

Re: == is not always transitive

2012-04-13 Thread Sung Pae
Leif leif.poor...@gmail.com writes: I'd also like to make sure people are aware of this oddity. I discovered this after reading an article about the bad design of PHP. I read that in PHP, == is not transitive. I thought Ha ha ha, that ridiculous PHP! Then I checked c.c/== ; Imagine my