[ANN] http-kit 2.2.0 final is out

2016-07-11 Thread Peter Taoussanis
On Clojars, and GitHub at: https://github.com/http-kit/http-kit/releases This release was put together with the help of (23!) individual contributors. Enjoy, cheers! :-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send em

Re: [ANN] Tufte, simple profiling and performance monitoring for Clojure/Script

2016-07-11 Thread Peter Taoussanis
Thanks Gary, happy to hear that :-) -- 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

Q: Any plans to make the default value of :gen-max a dynamic var?

2016-07-11 Thread Joseph Wayne Norton
Taken from the spec documentation: And additional args that control gen > :gen-max - the maximum coll size to generate (default 20) Q: Any plans to make the default value of :gen-max a dynamic var? -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: Thoughts on clojure.spec

2016-07-11 Thread Alan Thompson
Do you find it frustrating that there's no way to turn on instrumentation of function outputs for manual testing? Yes. On Mon, Jul 11, 2016 at 4:16 PM, Oliver George wrote: > > Do you find it frustrating that there's no way to turn on instrumentation >> of function outputs for manual testing?

Re: Thoughts on clojure.spec

2016-07-11 Thread Oliver George
> Do you find it frustrating that there's no way to turn on instrumentation > of function outputs for manual testing? Yes. In particular when I'm refactoring code and want to know when I'm returning something surprising. I haven't yet had much success with spec generators for CLJS / UI

Re: [ANN] Tufte, simple profiling and performance monitoring for Clojure/Script

2016-07-11 Thread Gary Trakhman
Wonderful, used it today on some core.async code. It helped me tune GC/buffer-sizes/parallelism and the metrics are a useful communication tool across a team that's less familliar with clojure. On Mon, Jul 11, 2016 at 9:45 AM Peter Taoussanis wrote: > On Clojars, and GitHub at: https://github.c

[ANN] XT16 Conference in the UK

2016-07-11 Thread Jon Pither
Dear Clojurians, Let me explain about our XT16 conference: a couple of days ago I was talking with a programmer from Pamplona, Spain. He was encamped in a busy bar with lousy WIFI because a load of bulls were about to rampage through the streets and most of the town was shut down; the shops boa

Re: Clojure 1.9.0-alpha10: Semantic mismatch: any? vs not-any?

2016-07-11 Thread Alex Miller
On Monday, July 11, 2016 at 1:01:52 PM UTC-5, Alan Thompson wrote: > > In clojure we are used to shortcuts involving not: > > (when-not x ...) => (when (not x) ...) > (if-not x ...) => (if (not x) ...) > (not-every? pred coll) => (not (every? pred coll)) > (not-any? pred coll)

Re: Rationale for `keys` not supporting vectors?

2016-07-11 Thread Alex Miller
As background re the collection model: http://insideclojure.org/2016/03/16/collections/ Keys and vals are both defined as functions that take a seqable of map entries. Given that definition, it is not easily possible to widen it to also take a collection with the associative trait, because a co

Re: Secondar Sorting in spark using clojure/flambo

2016-07-11 Thread Punit Naik
So I finally figured it out on my own. I had to basically write my custom ordering function as a separate scala project and then call that in clojure. I had my scala file written in this manner: import org.apache.spark.Partitionerimport org.apache.spark.rdd.RDD case class RFMCKey(cId: String,

Re: Secondar Sorting in spark using clojure/flambo

2016-07-11 Thread Punit Naik
Hi Black Thanks for the reply but figured it out on my own. Posting the answer after this. On Monday, July 11, 2016 at 11:42:10 PM UTC+5:30, Blake Miller wrote: > > Hi Punit > > The behavior you are referring to is a feature of the Scala compiler, > which is why it does not happen automaticall

Re: Secondar Sorting in spark using clojure/flambo

2016-07-11 Thread Blake Miller
Hi Punit The behavior you are referring to is a feature of the Scala compiler, which is why it does not happen automatically when you try to use it from Clojure. Please see the note here: https://github.com/t6/from-scala/blob/4e1752aaa2ef835dd67a8404273bee067510a431/test/t6/from_scala/guide.clj

Clojure 1.9.0-alpha10: Semantic mismatch: any? vs not-any?

2016-07-11 Thread Alan Thompson
In clojure we are used to shortcuts involving not: (when-not x ...) => (when (not x) ...) (if-not x ...) => (if (not x) ...) (not-every? pred coll) => (not (every? pred coll)) (not-any? pred coll) => (not (some pred coll)) However, the new function clojure.core/any? breaks

Re: Rationale for `keys` not supporting vectors?

2016-07-11 Thread Sam Estep
I asked a question about this on Stack Overflow; you may be interested in the discussion there: http://stackoverflow.com/q/35341969/5044950 On Saturday, July 9, 2016 at 12:50:22 AM UTC-4, Michael Gardner wrote: > > I've looked around, but couldn't find any discussion on the topic. Is it > purely

[JOB] Product Engineer at CircleCI

2016-07-11 Thread Brave Clojure Jobs
CircleCI is hiring a product engineer to learn and work in Clojure and Clojurescript with one of the most experienced Clojure teams in the world. Hiring in San Francisco and Toronto. More details: https://jobs.braveclojure.com/jobs/17592186046002/product-engineer-circleci -- You received thi

[ANN] Clojure 1.9.0-alpha10

2016-07-11 Thread Alex Miller
Clojure 1.9.0-alpha10 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha10 - Leiningen: [org.clojure/clojure "1.9.0-alpha10"] 1.9.0-alpha10 includes the following changes since 1.9.0-alpha9: - NEW clojure.core/any? - a predicate that matches

Re: Thoughts on clojure.spec

2016-07-11 Thread Rich Hickey
Kovas is right on the money here. Inherently when you make something ‘programmable’ generating correct programs for it is hard. I would say though, I frequently see people struggling to spec more complex logic are going directly to independent input generation. Thus, how will inputs be reasonab

[ANN] Tufte, simple profiling and performance monitoring for Clojure/Script

2016-07-11 Thread Peter Taoussanis
On Clojars, and GitHub at: https://github.com/ptaoussanis/tufte Basically took the weekend to clean up Timbre's old profiling ns, generalize it, and move it to its own lib. Biggest difference for most folks will probably be the new documentation. Enjoy, cheers! :-) -- You received this me