Re: Clojurescript Light Table Setup

2015-02-22 Thread JvJ
Actually, the problem seems to be fixed. I used the lein figwheel template and that seems to work well. On Friday, 20 February 2015 14:52:15 UTC-8, Sam Ritchie wrote: > > What issues are you having? > > JvJ > February 20, 2015 at 2:17 PM > I'm having some issues working with CLJS and Light t

Re: [ANN] Buddy 0.4.0: Security library for clojure.

2015-02-22 Thread Dave Sann
buddy-auth vs friend? What is the difference/motivation? On Monday, 23 February 2015 06:32:22 UTC+11, g vim wrote: > > On 22/02/2015 11:36, Andrey Antukh wrote: > > Documentation: > > https://funcool.github.io/buddy-core/latest/ > > https://funcool.github.io/buddy-auth/latest/ > > https://f

Re: Returning early from a function

2015-02-22 Thread Stig Brautaset
Hi, I see you use the multi-arity form of * - did you know that you can use that with < and <= too? I think it this improves your function: (defn params-correct-lucky-numbers [upto] (let [max (* 10 1000 1000)] (if (<= 1 upto max) true (do (println "The parameter

Re: A newbie question with using parkour

2015-02-22 Thread Sunil S Nandihalli
Thanks Jeremy for the response. I was using clojure-1.7.0-alpha5 , parkour 6.2that looked was the original problem. After I changed the version to clojure-1.6.0 I got past that problem and hit a new set of problems. Marshall suggested that the issue could be because of mismatched hadoop-versions. I

Re: [ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-22 Thread danle...@gmail.com
I did some work to reduce consing and our generation of v1 (time-based) UUID's using clj-uuid are now about 40% faster than invoking the JVM's java.util.UUID/randomUUID static method: user> (criterium.core/bench (uuid/v1)) Evaluation count : 51250020 in 60 samples of 854167 calls. Execution t

Re: [ANN] Buddy 0.4.0: Security library for clojure.

2015-02-22 Thread gvim
On 22/02/2015 11:36, Andrey Antukh wrote: Documentation: https://funcool.github.io/buddy-core/latest/ https://funcool.github.io/buddy-auth/latest/ https://funcool.github.io/buddy-hashers/latest/ https://funcool.github.io/buddy-sign/latest/ Great addition to Clojure web development security. Fo

Re: A newbie question with using parkour

2015-02-22 Thread Jeremy Heiler
What version of parkour are you using? That will help us match line numbers in the stracktrace with the code. -- 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 membe

Re: defmulti: dispatch function is not called

2015-02-22 Thread Timur
Thank you all for your answers. The problem was caused by not starting the REPL. I did not know that defmulti had defonce semantics. On Sunday, February 22, 2015 at 7:04:58 PM UTC+1, Jeremy Heiler wrote: > > On 2/22/15 12:52 PM, Timur wrote: > > Hi everyone, > > > > I have the following quest

Re: defmulti: dispatch function is not called

2015-02-22 Thread Jeremy Heiler
On 2/22/15 12:52 PM, Timur wrote: Hi everyone, I have the following question regarding the defmultis of clojure: (defmulti create-fact (fn [item-vector] (do (print item-vector) (first item-vector (defmethod create-fact [:a] [item-vector]

Re: defmulti: dispatch function is not called

2015-02-22 Thread Fluid Dynamics
On Sunday, February 22, 2015 at 12:52:04 PM UTC-5, Timur wrote: > > Hi everyone, > > I have the following question regarding the defmultis of clojure: > > (defmulti create-fact > (fn [item-vector] (do > (print item-vector) > (first item-vector > >

Re: defmulti: dispatch function is not called

2015-02-22 Thread Ambrose Bonnaire-Sergeant
Have you tried restarting the REPL? defmulti has defonce semantics. Thanks, Ambrose On Sun, Feb 22, 2015 at 12:52 PM, Timur wrote: > Hi everyone, > > I have the following question regarding the defmultis of clojure: > > (defmulti create-fact > (fn [item-vector] (do > (pr

defmulti: dispatch function is not called

2015-02-22 Thread Timur
Hi everyone, I have the following question regarding the defmultis of clojure: (defmulti create-fact (fn [item-vector] (do (print item-vector) (first item-vector (defmethod create-fact [:a] [item-vector] (str "a")) (defmethod create-fact [[:

ANN Monger 2.1.0 is released

2015-02-22 Thread Michael Klishin
Monger [1] is a Clojure MongoDB client for a more civilized age. 2.1.0 is a minor feature released. Change log: http://blog.clojurewerkz.org/blog/2015/02/22/monger-2-dot-1-0-is-released/ There will be no more 2.x releases (except for bug fixes, of course). Monger development will focus on 3.0 no

Re: [BUG] : clojure.data/diff handles nested empty collections incorrectly

2015-02-22 Thread Raymond Huang
Not trying to hijack this thread, @andy check out Differential Sync. On Sat, Feb 21, 2015, 4:36 PM Andy Fingerhut wrote: > Sorry if you've already explained this and I'm missing it, but for > example, suppose the current state on both sides is {:x {:y 1}}, and the > 'sender' wants to change to o

A newbie question with using parkour

2015-02-22 Thread Sunil S Nandihalli
Hi Everybody, I am complete newbie to using parkour. I am having trouble just reading in data. Can somebody help me figure out the problem. The code I am using is here.. https://gist.github.com/52f4298e5b6ca6a46699 I agree that there is no other stage apart from the input. I had all other stage

[ANN] Buddy 0.4.0: Security library for clojure.

2015-02-22 Thread Andrey Antukh
Hi! I am happy to announce a new release of buddy (security library for Clojure). Since 0.3.0, buddy is split from monolithic library in four modules: - buddy-core: Cryptographyc api. - buddy-sign: High level message signing - buddy-auth: Authentication and Authorization facilities for ring base