[ANN] Luke VanderHart's "Clojure Zippers" Conj video up

2010-12-27 Thread Alan Dipert
Hi everyone, We've just released the next Conj video, Luke VanderHart's talk on Clojure Zippers: http://clojure.blip.tv/file/4503162/ I've also just blogged over at clojure.com on what our video release plan is, along with links to videos released so far: http://clojure.com/blog/2010/12/27/conj-vi

Clojure Conj 2011?

2010-12-27 Thread Sean Corfield
Now that videos are being posted for the 2010 conj, I figured it might be worth asking if there has been any discussion about when/where the 2011 conj might happen? I had a schedule conflict last year (actually a double conflict) so I'd like to get this year's event on my calendar as early as poss

Re: Clojure Conj 2011?

2010-12-27 Thread Alan Dipert
Hi, On Mon, Dec 27, 2010 at 7:41 PM, Sean Corfield wrote: > Now that videos are being posted for the 2010 conj, I figured it might > be worth asking if there has been any discussion about when/where the > 2011 conj might happen? Conj 2011 will most likely be in either Raleigh or Durham, North Ca

Re: Clojure Conj 2011?

2010-12-27 Thread Sean Corfield
On Mon, Dec 27, 2010 at 6:07 PM, Alan Dipert wrote: > Conj 2011 will most likely be in either Raleigh or Durham, North > Carolina, and probably will happen around the same time of year as the > last Conj. Good to know. I just hope it won't be the weekend of October 22-23 :( One of the events tha

Re: printf output from threads

2010-12-27 Thread justinhj
On Dec 26, 11:42 pm, Alex Osborne wrote: > justinhj writes: > > I tried passing *out* to my thread function and then binding it to > > *out* in the thread, and this works but then makes the threads execute > > one at a time, and I'm presuming that is because my use of *out* in > > the binding blo

Re: printf output from threads

2010-12-27 Thread Alex Osborne
justinhj writes: > On Dec 26, 11:42 pm, Alex Osborne wrote: > (defn test-threads [n out] > (dotimes [x n] > (.start (Thread. (#(sleeper-thread %1 %2 %3) out x (+ 2000 (rand- > int 5000))) Ah. The problem is here. You're calling that lambda in the main thread and then passing the re

Re: printf output from threads

2010-12-27 Thread Robert McIntyre
Your problem is caused by one itty-bitty misplaced parenthesis that is hard to catch; In your code which creates threads, you do: (.start (Thread. (#(sleeper-thread %1 %2 %3) out x (+ 2000 (rand-int 5000))) #(sleeper-thread %1 %2 %3) is exactly the same as just sleeper-thread, so this boils

can members of a defrecord be type hinted?

2010-12-27 Thread Sunil S Nandihalli
Hello everybody, can members of a record be type hinted? will this enhance performance or improve storage efficiency? Sunil. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts

Re: printf output from threads

2010-12-27 Thread Robert McIntyre
what the heck... mailing-list.print-from-threads> (Thread. ((constantly nil))) # mailing-list.print-from-threads> (Thread. ((fn []))) # mailing-list.print-from-threads> (Thread. ((fn [] nil))) # mailing-list.print-from-threads> (Thread. (let [this-is-nil ((fn [] nil))] this-is-nil)) # mailing-l

Re: can members of a defrecord be type hinted?

2010-12-27 Thread Sunil S Nandihalli
with my preliminary examination it seems like it does enhance storage efficiency and improve runtime performance.. How would still love to hear what you all have to say On Tue, Dec 28, 2010 at 1:02 PM, Sunil S Nandihalli < sunil.nandiha...@gmail.com> wrote: > Hello everybody, > can members