a problem about Redis client: com.taoensso/carmine

2014-02-08 Thread tao
lein try com.taoensso/carmine ;; try is from https://github.com/rkneufeld/lein-try (def server-connection {:pool {:max-active 8} :spec {:host "localhost" :port 6379 :timeout 4000}})

Re: a problem about Redis client: com.taoensso/carmine

2014-02-08 Thread tao
car/hgetall "yyy")) ["pass" "yy" "yyy" "yyy"] (wcar* (car/hgetall* "yyy")) {"pass" "yy", "yyy" "yyy"} But what I want (or expect) is what I set before: {:yyy "yyy", :pass "

Re: a problem about Redis client: com.taoensso/carmine

2014-02-08 Thread tao
Thank you very much! -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Sunday, February 9, 2014 at 1:06 AM, mynomoto wrote: > You can use: > > (into {} (map (fn [[k v]] [(keyword k) v]) {"pass" "yy", "yyy" "yyy"})) >

Re: a problem about Redis client: com.taoensso/carmine

2014-02-08 Thread tao
after use your solution, I looked up the source code of carmine and found that: (wcar* (car/hgetall* "yyy" true)) can get what I want. Thank you! -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Sunday, February 9, 2014 at 9:34 AM, tao wrote: > Thank

Re: Do you recommend the book: "Web Development with Clojure"

2014-02-19 Thread tao
It’s a great book, but require you to play with the code when you read the book. -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, February 20, 2014 at 12:14 AM, Laurent Droin wrote: > For what it worth... I bought this book because I thought it would be a gr

What's the best clojure library to access HBase?

2014-03-06 Thread tao
the same as the title. -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) -- 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

Re: Is Clojure right for me?

2013-12-25 Thread tao
http://pedestal.io/ http://www.luminusweb.net/ -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, December 26, 2013 at 5:06 AM, Massimiliano Tomassoli wrote: > Hi, > I'm not sure if Clojure is the right language for me. I'd like to use Clojure

Re: Is Clojure right for me?

2013-12-26 Thread tao
Yes, I feel framework is a patch to a language. Use framework can do some thing productively, but also limit you do some thing poorly. Prefer Libraries to Frameworks http://blog.getprismatic.com/blog/2012/4/5/software-engineering-at-prismatic.html -- tao Sent with Sparrow (http

How to indent clojure code in Emacs

2014-01-03 Thread tao
. I already read this tutorial (http://www.unexpected-vortices.com/clojure/10-minute-emacs-for-clojure.html), but I cannot found the method. sorry for disturb. :) -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) -- -- You received this message because you are subscribed to the

Re: How to indent clojure code in Emacs

2014-01-03 Thread tao
C-x h selects the entire buffer. C-M-\ reindents the selected region. http://stackoverflow.com/questions/11423566/how-do-i-intelligently-re-indent-clojure-in-emacs sorry, I have found the answer. -- tao Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, January 3, 2014 at