On Feb 1, 7:01 pm, Bill Caputo logos...@gmail.com 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
Hi Daniel,
promo codes are used to let speakers and sponsors' people register
without paying (or for joint-campaigns with partners like SkillsMatter
who will run a raffle for a number of discounted tickets for their
members).
Happy to answer any questions in private since I'm sure this is OT
Hi! I'm trying to figure out where to get defalias from in the new contrib
repositories:
http://dev.clojure.org/display/doc/Clojure+Contrib
it says that some of the old contrib.def moved to core.incubator, but
apparently not defalias. Can anyone tell me where it is now (or better
yet: how
Sean, Thank you!
Yoshinori Kohyama
--
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 unsubscribe
(Apologies if this is a repost: I thought I'd asked it last night but I
couldn't find it this morning!)
I'm trying to find defalias in the new github contrib repos: core.incubator
apparently absorbed some of the old def namespace, but it doesn't contain
defalias. Does anyone know where that
Hi,
I spotted a weird behaviour of 'let' (or equivalently 'defn') when
multiple expressions are used in the body of the form. When one of the
expressions, but not the last one, throws an exception, it seems to be
ignored and the final value of 'let' becomes the value of the last
expression. For
Map actually doesn't do anything at all. It simply creates a new lazy
sequence. Instead of map, use doseq and you'll get the result you
expect. Since you actually never print the result of the map, the lazy
sequence is just thrown away, and f is never called, hence never
evaluates.
Timothy
For
On Feb 2, 2012, at 4:47 AM, Teemu Antti-Poika wrote:
On Feb 1, 7:01 pm, Bill Caputo logos...@gmail.com 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
Hi,
What's the clojure way to filter out null values from a sequence?
I have following code:
(filter identity (map myfun myseq))
Is there a better/faster way?
Thanks,
Razvan
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
Razvan Rotaru razvan.rot...@gmail.com writes:
(filter identity (map myfun myseq))
Is there a better/faster way?
Not yet, but there's an open ticket for that:
http://dev.clojure.org/jira/browse/CLJ-450
-Phil
--
You received this message because you are subscribed to the Google
Groups
Note that `(filter identity ,,,)` will also remove `false` values:
= (filter identity [1 2 nil 3 false 4])
(1 2 3 4)
You could use `remove` instead
= (remove nil? [1 2 nil 3 false 4])
(1 2 3 false 4)
Hope that helps!
Jonas
--
You received this message because you are
(keep my-fun my-seq) does exactly what you want, I believe.
--
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
On Thu, Feb 2, 2012 at 6:59 PM, Phil Hagelberg p...@hagelb.org wrote:
Razvan Rotaru razvan.rot...@gmail.com writes:
(filter identity (map myfun myseq))
Is there a better/faster way?
Not yet, but there's an open ticket for that:
http://dev.clojure.org/jira/browse/CLJ-450
Hmm, the
Hi everyone!
I'm a newbie here and to Clojure (I've been studying it for a few
weeks). Lately I've been doing a lot of practice, and when I was
thinking on how to get some feedback on my code I found a blog post[1]
by Jacek Laskowski asking just that. So I jumped in and implemented my
Hey Mike,
I don't think it's in any of the new modular contrib libraries. I placed it
in a utility library called Jackknife that we use from Cascalog:
https://github.com/sritchie/jackknife/blob/master/src/jackknife/def.clj#L4
I think the only change I had to make for 1.3 compatibility was
Hi Manuel,
Your second version looks pretty solid:
https://bitbucket.org/manuelp/geo-quiz/src/a75d57d0e5a2/src/geo_quiz/core.clj
You might consider getting rid of the vars for capitals, ask-capital, and
ask-capitals and using a let or letfn instead.
You don't need a do inside of ask-capital.
Mike,
Here's your first thread w/ my response:
http://groups.google.com/group/clojure/browse_thread/thread/2e189d3d296f5ff4/143976b50711dc84?lnk=gstq=where+is+defalias#143976b50711dc84
Cheers,
Sam
On Thu, Feb 2, 2012 at 8:00 AM, R Daneel maspo...@gmail.com wrote:
(Apologies if this is a
If you need scalability, two phase connect might be necessary.
1. Resolve a server name which client should be connected to.
If a client need to be connected to specific resource (chat room etc)
consistent hashing is useful.
http://nakkaya.com/2010/05/05/consistent-hashing-with-clojure/
2.
Oaaron Thu, Feb 2, 2012 at 5:02 PM, Sam Ritchie sritchi...@gmail.com wrote:
Hey Mike,
I don't think it's in any of the new modular contrib libraries. I placed it
in a utility library called Jackknife that we use from Cascalog:
On Wed, Feb 1, 2012 at 10:23 PM, R Daneel maspo...@gmail.com wrote:
it says that some of the old contrib.def moved to core.incubator, but
apparently not defalias. Can anyone tell me where it is now (or better yet:
how to answer that sort of question generically!)?
defalias did not get
20 matches
Mail list logo