Re: logging recommendation

2010-11-21 Thread David Plumpton
On Nov 21, 11:56 am, HiHeelHottie wrote: > What do you recommend for logging, especially to a set of rolling > files?  Simply use log4j? Log4j has been a dead project for a few years now. Try slf4j and logback. -- You received this message because you are subscribed to the Google Groups "Clojur

Re: Improving the documentation

2009-08-16 Thread David Plumpton
On Aug 17, 11:12 am, Ollie Saunders wrote: > Hi Clojurians, > > I've been learning Clojure for about 5 or so days (I'm osaunders on > the channel) now and I'm liking it a lot. However, the lack of > structure ofhttp://clojure.org/apiis hampering my learning a bit. I > wonder other people think it

Re: Idiomatic parsing of objects from several lines of a text file

2009-08-02 Thread David Plumpton
On Jul 31, 9:42 pm, Lau wrote: > Hey, > > I wanted to do something with Git and Qt, and the result was a project > which never really got off the ground. However its capable of reading > an entire Gitlog into a hash-map in the form {:hash > 129412849 :commit ..} > and so on. Ẃe used it at work to

Re: Idiomatic parsing of objects from several lines of a text file

2009-08-02 Thread David Plumpton
On Jul 31, 8:15 pm, Baishampayan Ghose wrote: > I think David is trying to solve the Github Contest problem > -http://contest.github.com/and not really trying to write a Git client > in Clojure :) Actually no, although that looks pretty fun. --~--~-~--~~~---~--~

Idiomatic parsing of objects from several lines of a text file

2009-07-30 Thread David Plumpton
I'm trying to find an idiomatic way to read through a text file (e.g. a Git history log) where an object will be represented by several lines of text, and when we find a line that starts a new entry we create the old entry and continue. For example here's my first clumsy attempt. Can anybody advis

Re: Trying to get a list of random numbers using repeat

2009-03-25 Thread David Plumpton
On Mar 24, 12:43 pm, Paul Drummond wrote: > Hi all, > > user=> (repeat 10 (rand-int 49)) > (4 4 4 4 4 4 4 4 4 4) > > Can someone please tell me why this doesn't work? I think this explains your problem: http://xkcd.com/221/ ;-) --~--~-~--~~~---~--~~ You received