Re: [ANN]: Introducing lein-try

2013-07-13 Thread xumingmingv
cool! 发自我的 iPhone 在 2013-7-13,21:56,Ryan Neufeld 写道: > Hey folks, > > Don't you hate it when someone releases a cool new library and you have to go > into a project and add an unwanted dependency just to try it out? Worse, > maybe you decide to 'lein new delete-me' and add it there. > > No

Re: ref-history-count always return 0?

2013-05-30 Thread xumingmingv
ref-count only increment when one of the following occurs: * min-history > 0 * ref-read-faults > 0 && current-ref-history-count < max-history-count. ;; ref-count increment because min-history > 0 (let [r (ref 1 :min-history 1) f1 (future (dosync (Thread/sleep 1000) (

Re: "I don't feel the absence of a debugger, because I've learnt enough that I don't ever need a debugger."

2013-05-29 Thread xumingmingv
+1 On 2013-5-29, at 上午2:23, Warren Lynn wrote: > > Still miss the Elisp debugger, which is great. It's right there, in your > editing environment. It's good for debugging my own code. It's really > good for working out someone elses code. I wish I debug clojure in the > same way. It's not ess

Re: Clojure for Map Reduce (on hadoop > 0.22)

2013-05-28 Thread xumingmingv
There is also cascalog: https://github.com/nathanmarz/cascalog On 2013-5-29, at 上午7:55, Ramesh wrote: > Hi All, > > I want to use clojure to write map reduce tasks on Hadoop version > 0.22. I > was wondering if this is possible with Stuart Sierra's clojure hadoop > https://github.com/stuartsi

Re: Head retention example

2013-04-23 Thread xumingmingv
Thanks Colin! 在 2013-4-24,上午9:23,Colin Fleming 写道: > I'm pretty sure the implementation of locals clearing is all in > Compiler.java, in the LocalsBinding class. See canBeCleared in that class. > > > On 23 April 2013 23:37, xumingmingv wrote: > Michal, do you know a

Re: Head retention example

2013-04-23 Thread xumingmingv
Michal, do you know any resources/links that introduce the internals of local-clearing? or The Clojure source files which implemented this technique? 在 2013-4-23,下午3:55,xumingmingv 写道: > Thanks a lot Michal! > > 在 2013-4-21,上午6:51,Michał Marczyk 写道: > >> On 20 April

Re: Head retention example

2013-04-23 Thread xumingmingv
Thanks a lot Michal! 在 2013-4-21,上午6:51,Michał Marczyk 写道: > On 20 April 2013 23:41, Tonino Jankov wrote: >> I mean, I think that in both cases the original sequence at one point in >> time must be, entirely realized, in memory. > > Well no, it doesn't. > > The original sequence is lazy and c

Re: [ANN] http-kit 2.0.0 released

2013-03-29 Thread xumingmingv
Good Job! 在 2013-3-29,下午2:03,"Shen, Feng" 写道: > Hello folks. > > I just released version 2.0.0 of http-kit. > > > 2.0.0 (2013/3/29) > Unify WebSocket and HTTP long polling/streaming with Channel protocol and > with-channel (API breaks with the RC) > WebSocket support sending and receiving

Re: Native library not found after upgrade to leiningen 2.0

2013-03-21 Thread xumingmingv
Have a look at this: http://nakkaya.com/2010/04/05/managing-native-dependencies-with-leiningen/ 在 2013-3-22,上午6:55,Dave Snowdon 写道: > I just upgraded from leiningen version 1.5.2 to 2.0.0 and noticed that the > native library path no longer seems to be set correctly. > > Here is my project fi

Re: [Typed-Clojure] Where is the definition of All?

2013-02-05 Thread xumingmingv
Ah, thanks AtKaaZ! 在 2013-2-6,下午2:33,AtKaaZ 写道: > maybe this one: > https://github.com/frenchy64/typed-clojure/blob/a5944e7c11fa8fe27a86f781feab63a0d218868f/src/typed/parse.clj#L184 > > > > On Wed, Feb 6, 2013 at 7:02 AM, James Xu wrote: > > e.g. > (ann test1 (All [x y] [x y -> x])) > > wh