Re: Why I'm giving Clojure a try

2014-04-16 Thread Zhemin Lin
Hi Massimiliano, You may also want to give ClojureScript or LiveScript (which compiles to JavaScript and run on node.js) a try! LiveScript is quite functional and the callback hell is somewhat eased. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To

Re: first vals first vals

2013-11-21 Thread Zhemin Lin
Wow, that's really cool! Thanks a lot, John! -- -- 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 moderated - please be patient with your first post. To

Re: first vals first vals

2013-11-21 Thread Zhemin Lin
Thanks, John & Jernau. What if :cf, :cq are not fixed, and I don't really care about the keys, but only the value of the value of the value ...? Thanks, Zhemin. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email t

first vals first vals

2013-11-21 Thread Zhemin Lin
Hi. I'm quite annoyed by the ugly smell of (first (vals (first ... )). Is there any better way to do it? user=> (-> {:key1 {:cf {:cq "0,1,2,3"}}} vals first vals first vals first (clojure.string/split #",")) ["0" "1" "2" "3"] Thanks a lot! -- -- You received this message because you are su

Re: Tortoise-hare algorithm

2013-06-29 Thread Zhemin Lin
just a friendly suggestion, if you share code, >> and need some help, make sure people can get immediately what is going on. >> (READ: comment the code) >> >> >> On Saturday, June 29, 2013 1:34:57 PM UTC+2, Zhemin Lin wrote: >>> >>> Hi. >>> One

Tortoise-hare algorithm

2013-06-29 Thread Zhemin Lin
Hi. One of my colleagues gave a share about the cycle detecting tortoise-hare algorithm (wiki ). I translated the script on Wiki from Python to Clojure. It worked, but not elegant. I'd like to make it more functional, more tasty. An

Re: Clojure in production

2013-06-13 Thread Zhemin Lin
We use Clojure in some backend services in Trend Micro. -- -- 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 moderated - please be patient with your fir

Re: ANN lein-daemon, lein-test-out

2013-05-17 Thread Zhemin Lin
Hey guys, Thank Allen Rohner for his lein-test-out. If you're using Leiningen 2 as well as I do and got some problem, please feel free to check out my branch at https://github.com/miaoski/lein-test-out before he has time to merge the pull request. In Trend Micro, we use Hudson and automated uni

Re: community interest in machine learning (?)

2012-07-19 Thread Zhemin Lin
Hi Joshua, I've taken Andrew Ng's courses, too. Wonder where have they shared the source code in Clojure? I've done all the exercises in Octave. It would be great to study how to do it in Clojure. Thanks! 2012年7月16日月曜日 22時24分36秒 UTC+8 Joshua Bowles: > > Incanter does look great; look forwar