Re: SoftCaching in core.cache

2012-02-02 Thread Teemu Antti-Poika
On Feb 1, 7:01 pm, Bill Caputo wrote: > We are looking to add soft-reference based caching to one of our applications > and I was wondering if anyone could shed light on what the issues with > clache's implementation were (i.e. is a total loss, or would it potentially > be a good place for us t

Re: clojure.contrib.base64

2011-10-09 Thread Teemu Antti-Poika
ontrib module. Maybe using commons-codec is the best alternative for you? Yours, Teemu Antti-Poika -- 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 ar

Re: Testing equality

2010-04-28 Thread Teemu Antti-Poika
On Apr 28, 4:30 pm, WoodHacker wrote: > Can someone explain to me why this doesn't work: > >   (let [ p     "Bill/" >           sep (System/getProperty "file.separator") >            ] > >       (if (= (last p) sep) >           (println "found separator") >           (println "no separator") >  

Re: leiningen - a Clojure build tool

2009-11-18 Thread Teemu Antti-Poika
On Nov 18, 4:00 pm, Sean Devlin wrote: > Will there be a backwards compatibility mode for those of us that like > setting our hair on fire?  Perhaps a *set-hair-on-fire* binding that > defaults to false? You could always write a maven plugin for leiningen. That ought to do it. -- You received t

Re: Creating custom exceptions in clojure & gen--class use?

2009-11-02 Thread Teemu Antti-Poika
On Nov 2, 7:12 pm, John Harrop wrote: > On Mon, Nov 2, 2009 at 10:00 AM, Teemu Antti-Poika wrote: > > > I expressed myself poorly: what I meant was simply that I want to use > > exceptions to handle some error situations but leave some exceptions > > for the servlet con

Re: Creating custom exceptions in clojure & gen--class use?

2009-11-02 Thread Teemu Antti-Poika
On Nov 1, 11:18 pm, John Harrop wrote: > On Sun, Nov 1, 2009 at 3:47 PM, Teemu Antti-Poika wrote: > > > I want to use my own exceptions to control program flow. > > That's usually not a very good idea. What exactly are you trying to do, for > which this would be u

Creating custom exceptions in clojure & gen--class use?

2009-11-01 Thread Teemu Antti-Poika
Hi folks, greetings from a beginning clojurian! Below a dilemma I noticed recently. I think/hope I've missed something, since what I am trying to do does not sound too exotic. Any clues are appreciated! I want to use my own exceptions to control program flow. I want to catch my own exceptions a

Re: Newbie Question on re-split

2009-06-24 Thread Teemu Antti-Poika
On Jun 24, 4:36 am, John Carnell wrote: > (defn split-by-whitespace [sentence]( >    (re-split #"\W+" sentence) >    )) > Try removing the extra parenthesis: (defn split-by-whitespace [sentence] (re-split #"\W+" sentence)) Teemu --~--~-~--~~~---~--~~ You rec