Re: Trouble with dotrace

2012-10-03 Thread justinhj
Thanks for the info Luc I'm fine with trace, that works for me. Justin On Tuesday, October 2, 2012 10:25:13 PM UTC-7, justinhj wrote: > > I'm trying to use dotrace from clojure.tools and having some trouble. > > Here's my leiningen project file > >

Trouble with dotrace

2012-10-03 Thread justinhj
I'm trying to use dotrace from clojure.tools and having some trouble. Here's my leiningen project file (defproject test1 "1.0.0-SNAPSHOT" :description "test1" :dependencies [[org.clojure/clojure "1.4.0"] ]] :dev-dependencies [ [swank-clojure "1.3.3"]

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-04-27 Thread justinhj
> Neat project, have you looked into using their web service API > (http://developer.rottentomatoes.com/) rather than scraping? Hi Yeah that is a good idea. The purpose of this project was that I was finding my feet with Clojure and wanted to do something that retrieved and parsed html pages. Ex

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-04-26 Thread justinhj
An update on this little side project to grab movie ratings from popular a movie website: I've add it to github and included the project file and updated the README https://github.com/justinhj/movieratings Also fixed it so it works with a recent change their page format. Justin --

Google AI contest

2011-04-05 Thread justinhj
Is anyone working on a Clojure getting started package for the next Google AI contest? See http://aerique.blogspot.com/2011/03/preparing-for-next-google-ai-challenge.html Justin -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-20 Thread justinhj
> > > > > > On Wed, Jan 19, 2011 at 11:58 PM, Mark Nutter wrote: > > Let me also recommend swannodette's excellent Enlive tutorial: > > >https://github.com/swannodette/enlive-tutorial > > > It's a great way to jump into the meat and potatoes. >

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-18 Thread justinhj
ol for HTML scraping and templating - > it might be more robust than your regexp-based solution. It takes a bit of > learning, though. > > Regards, > Stuart > > [1]https://github.com/cgrand/enlive > > On 16 January 2011 05:57, justinhj wrote: > > > > >

Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-15 Thread justinhj
Sharing my first useful Clojure program. Feedback welcome. http://bit.ly/clojure-rotten-tomatoes -- 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 from new members are mode

Re: Entity component system

2011-01-09 Thread justinhj
Thanks for sharing. I've also spent some time building a Common Lisp game engine that uses a component architecture for the game objects. For example in pong the player's paddle is made up of a visual, physical and logical components. (defun make-pong-player(side human sprite-def control-type na

Re: printf output from threads

2010-12-28 Thread justinhj
On Dec 27, 10:59 pm, Alex Osborne wrote: > 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))) >

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 o

printf output from threads

2010-12-26 Thread justinhj
What do people use for logging debug output from threads? Either native threads created with Thread. or implicit threads via agents or pmap etc? 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,