any?

2015-04-25 Thread coltnz
Any reason why we don't have `any?`. Googled without much luck. Trivially done as `comp boolean some` not doubt, but I know I use it more than not-any at least. It's particularly useful as a composable `or`. -- You received this message because you are subscribed to the Google Groups "Clojure"

Re: Workaround for CLJ-1604?

2015-02-19 Thread coltnz
I had a similar problem where I patched it back it in : https://gist.github.com/coltnz/4818581be0231207a046 On Friday, February 20, 2015 at 5:10:50 PM UTC+13, Adam Krieg wrote: > > I'm running into what appears to be the same issue described in CLJ-1604 > <http://dev.clojur

Re: core.async chan ex-handler

2015-01-23 Thread coltnz
On Friday, January 23, 2015 at 12:59:40 AM UTC+13, Derek Troy-West wrote: > > From the documentation: > > (chan buf-or-n xform ex-handler) > > "If a transducer is supplied a > buffer must be specified. ex-handler must be a fn of one argument - > if an exception occurs during transformation it wil

Re: [ANN] Alia 2.1.1 - Clojure client for cassandra

2014-08-27 Thread coltnz
Some unsolicited testimony: Max is doing a great job with Alia and in keeping it up to date with the current Cassandra driver. We're happily using it in a bunch of projects. cheers Colin -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t

Re: Clojure.core.async and ThreadLocals

2014-07-29 Thread coltnz
Thanks Timothy, yeah I gave it some thought and did seem non trivial. Shame because Netty uses ThreadLocals for ref counting its direct memory buffers so they don't release cleanly in go blocks. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To pos

Clojure.core.async and ThreadLocals

2014-07-29 Thread coltnz
Do we expect this, seems inconsistent? cheers Colin (def ^:dynamic dvar 1) (def tl (ThreadLocal.)) (.set tl 1) (def _ (clojure.core.async/go (println "Expect 1, ThreadLocal: " (.get tl)) (println "Expect 1, Dvar: " dvar))) #'user/_ Expect 1, ThreadLocal: nil Expect 1, Dvar: 1 -- You re

[ANN] Alia 2.0.0-rc3 - Lightweight Cassandra driver integrated with core.async - Hayt (query dsl)

2014-05-22 Thread coltnz
Alia / Hayt are a great combo thanks Max! I'm looking forward to trying Cassandra as a lazy-seq. Colin -- 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

[ANN] ccm-clj - test Cassandra clusters via Clojure

2014-04-08 Thread coltnz
ccm the Cassandra Cluster Manager, https://github.com/pcmanus/ccm, allows the running up of arbitrary Cassandra clusters from specific version source. ccm-clj (https://github.com/SMX-LTD/ccm-clj) is a Clojure interface designed specifically for the ease of use of ccm in Clojure integration tests

Re: Quick library status updates (logging, Redis, i18n, etc.)

2013-12-04 Thread coltnz
Hi Peter, Timbre looks quite cool but just a bit surprised to see it using spit. Surely thats not particularly performant or is there something I'm missing? cheers Colin On Thursday, December 5, 2013 6:30:11 AM UTC+13, Peter Taoussanis wrote: > > Hi all, quick batched update on some libs that

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread coltnz
Hi the other Colin. It's a shame this thread's been somewhat rudely hijacked from its purpose. Hopefully others aren't dissuaded from speaking out in support too. My team will heartily endorse such a project. Here's why: - we have a large legacy codebase of Java to embrace and extend with Cloj

Re: ANN: Morph 0.2.0, state+error-handling with pure functions

2013-03-20 Thread coltnz
So thats at least four clojure monad libraries I know of. This one, https://github.com/bwo/monads, https://github.com/jduey/protocol-monads and the original (?) https://github.com/clojure/algo.monads. Anyone care to comment on the differences beyond use of protocols or not? Pick me a winner...

fileseq modifiers - :min-depth, :max-depth ?

2012-10-01 Thread coltnz
Hi, not sure if this is considered too frivolous somehow but I've thought many times how nice it would be to modify a fileseq call by using a min-depth or max-depth modifier rather constructing a filter. Depth would refer to the levels of the underlying treeseq returned. So min-depth=0,max-dept

Clojurians in Auckland, NZ?

2012-07-04 Thread coltnz
Hi there, I see precedent for this on the list so hopefully still kosher, Is anyone out there interested in Clojure work in Auckland (could help with visa potentially)? We do cool cloud, big data stuff (Storm, Cassandra, Cascalog). Please reply to me off list. cheers Colin. -- You rec