Re: "If you wish to have a version for off-line use...

2009-09-19 Thread Angel Java Lopez
Hi people! I understand you want to use the download button from: http://github.com/richhickey/clojure Angel "Java" Lopez http://www.ajlopez.com http://twitter.com/ajlopez On Sat, Sep 19, 2009 at 3:59 PM, cej38 wrote: > > I was just looking through the main web page of clojure-contrib and > c

"If you wish to have a version for off-line use...

2009-09-19 Thread cej38
I was just looking through the main web page of clojure-contrib and came across this: "If you wish to have a version for off-line use you can use the download button on the page at GitHub .gh-pages branch." Is there a similar repository for the clojure.org? --~--~-~--~~

Re: problem with threading and sql lib

2009-09-19 Thread John Harrop
Nothing leaps out at me as a likely cause of a dropped message. OTOH, the loop/recur at the end is probably better changed to a doseq. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gr

Re: frameworks

2009-09-19 Thread Sean Devlin
Well, if you new I'd recommend taking a look here http://clojure.org/libraries The first thing you should do is play around with contrib, which is sort of a standard library... but not quite. There are a lot of useful utilities in there. On Sep 19, 10:35 am, Daniel Werner wrote: > On Sep 18,

Re: problem with threading and sql lib

2009-09-19 Thread Roger Gilliar
> > You mention threading in the subject and you have a (binding > [...] ...) form. Are you starting a thread, or communicating with > one, or using pmap, future, an agent, or etc. inside the binding, > and expecting the binding to affect the code that runs in the thread/ > map/future/agent?

Re: OutOfMemoryError with loop/recur

2009-09-19 Thread Rosen K
How about: (defn limited-reduce [f coll n] (reduce f (take n coll))) Rosen On Sep 18, 10:52 pm, Patrik Fredriksson wrote: > Hi! > > Could someone please help me understand why the following causes a > java.lang.OutOfMemoryError: Java heap space for large n:s (10 > works fine, 100 do

Re: Can anyone here give a comparison between Clojure and Erlang on concurrent programming?

2009-09-19 Thread Wojciech Kaczmarek
On Fri, Sep 18, 2009 at 17:41, Stuart Sierra wrote: > > On Sep 17, 6:54 pm, dongbo wrote: >> Can any one give a comparison between Clojure and Erlang on concurrent >> programming? Hi! I'd add 2cents here as I did some hacking in Erlang and now i'm transforming lots of habits to try coding in Cl

Re: problem with threading and sql lib

2009-09-19 Thread John Harrop
On Sat, Sep 19, 2009 at 1:07 AM, Roger Gilliar wrote: > > Hi, > > > re you opening something, using it to return a lazy sequence, and > > then closing it before consuming the sequence? > > > No. I started with just opening the database connection in the handler > function. You mention threading

Re: frameworks

2009-09-19 Thread Daniel Werner
On Sep 18, 2:08 pm, demet8 wrote: > Im new to Clojure. Are there any development frameworks for clojure > worth noting yet? There is quite a range of frameworks available already, covering topics such as web development, database persistence, MapReduce and computer algebra. Try browsing the Cloj

Re: problem with threading and sql lib

2009-09-19 Thread Roger Gilliar
Not from my code. Regards Roger Am 19.09.2009 um 12:11 schrieb Christophe Grand: > is "db" dynamically rebound? > > On Sat, Sep 19, 2009 at 7:07 AM, Roger Gilliar > wrote: > > Hi, > > > re you opening something, using it to return a lazy sequence, and > > then closing it before consuming

Re: problem with threading and sql lib

2009-09-19 Thread Christophe Grand
is "db" dynamically rebound? On Sat, Sep 19, 2009 at 7:07 AM, Roger Gilliar wrote: > > Hi, > > > re you opening something, using it to return a lazy sequence, and > > then closing it before consuming the sequence? > > > No. I started with just opening the database connection in the handler > fun