Re: [ANN] iota - Infix operators for test assertions

2015-07-17 Thread Matching Socks
The name iota is also used by https://github.com/thebusby/iota [iota "1.1.2"] "Iota is a Clojure library for handling large text files in memory" On Friday, July 17, 2015 at 10:44:18 AM UTC-4, Malcolm Sparks wrote: > > I've been writing quite a lot of tests recently, with clojure.test > > I wr

Re: [:ann :book] ClojureScript Unraveled

2015-07-17 Thread Joe R. Smith
I believe [:ann :book] is a variant. :D > On Jul 17, 2015, at 1:44 PM, Fluid Dynamics wrote: > > Nitpick: a collection of tag keywords, which can be presumed not to have > duplicates, is probably better represented as a set or a sorted-set rather > than a vector, so "#{:ann :book} ClojureScrip

Re: [:ann :book] ClojureScript Unraveled

2015-07-17 Thread Fluid Dynamics
Nitpick: a collection of tag keywords, which can be presumed not to have duplicates, is probably better represented as a set or a sorted-set rather than a vector, so "#{:ann :book} ClojureScript Unraveled" might be preferable. ;) -- You received this message because you are subscribed to the G

Re: RejectedExecutionException? I don't think I was using anything concurrent?

2015-07-17 Thread Zach Tellman
A RejectedExecutionException is thrown when a thread-pool's queue is full. Try using 'jstack' to take a thread dump, and see who has spun up a thread pool under the covers. Possible culprits include 'at-at' and 'carmine'. On Friday, July 17, 2015 at 11:01:05 AM UTC-7, sugarste...@gmail.com w

Re: Advice on introducing a Java dev to Clojure

2015-07-17 Thread Johanna Belanger
Thanks so much for this really nice rundown. A few responses inline... On Thursday, July 16, 2015 at 3:23:17 AM UTC-7, Colin Yates wrote: > > Hi Johanna, you may intuit some of my experience by my posts on the DDD > groups ;-). > I've read them all. =) By far the hardest thing I found was ap

Re: RejectedExecutionException? I don't think I was using anything concurrent?

2015-07-17 Thread sugarsteviahoney
Okay, this error seems to be triggered by a NullPointerException which seems to arise when I try to fetch a non-existent document out of Redis. I am a bit of a noob, so perhaps someone can explain how this works. I'm not aware of using any of Clojure's concurrency tools in this (very simple) a

[:ann :book] ClojureScript Unraveled

2015-07-17 Thread Alejandro Gómez
Hello everybody, I'm happy to announce that Andrey Antoukh (@niwinz) and I published the book about ClojureScript that we have been writing lately on Leanpub. It's not still 100% complete but the sections about the language and compiler are almost done. We'd greatly appreciate any feedback, errata

RejectedExecutionException? I don't think I was using anything concurrent?

2015-07-17 Thread sugarsteviahoney
My app starts up, runs for a few minutes, and then: # This is a very simple app, and I am not aware of using any concurrency. I am not using Futures or Promises or pmap or anything else I can think of. My first hunch would be this comes from some library I am using, but I am not sure what. I

[ANN] iota - Infix operators for test assertions

2015-07-17 Thread Malcolm Sparks
I've been writing quite a lot of tests recently, with clojure.test I wrote a little macro to help. It means you could replace this : (require '[clojure.test :refer :all] '[schema.core :as s]) (deftest my-test (let [response ...] (is (= (:status response) 200)) (is (= (count (