[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

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: #RejectedExecutionException java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@4fe887e6 rejected from java.util.concurrent.ThreadPoolExecutor@aea107f[Terminated, pool size = 0, active threads = 0, queued

[: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,

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 a2093...@trbvm.com 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}

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)

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

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

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

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 wrote a