Re: [ANN] clj-xchart – A charting/plotting library for Clojure

2016-10-16 Thread Mars0i
Looks very nice! Thanks Jean Niklas. I've been using Incanter for charts, which has been fine so far for my needs, but clj-xchart looks like it will make it easier to make nicer charts, and it would avoid loading much of Incanter when you don't need some of the other things Incanter provides.

Re: Is there an easy way for s/keys spec to work against both qualified/unqualiffied keys at the same time?

2016-10-16 Thread Ikuru Kanuma
Mauricio, thanks for the response! I agree that that gets what I asked for done, but that solution is in essence writing the same qualified/unqualified version of the spec twice and sounded redundant, which lead to my question. I guess it is what it is in that case... Leon, thanks for the

Re: Java like static typing for Clojure?

2016-10-16 Thread Alan Thompson
Be sure to check out Plumatic Schema (previously Prismatic Schema) if you haven't already. There is also a good Clojure Conj video from 2013. Alan On Sat, Oct 15, 2016 at 3:14 PM, Didier wrote:

Re: [ANN] clj-xchart – A charting/plotting library for Clojure

2016-10-16 Thread Alan Thompson
Looks nice - I'll be keeping it in mind. Alan On Sat, Oct 15, 2016 at 5:31 AM, Jean Niklas L'orange wrote: > Hi Clojurians, > > I am happy to announce clj-xchart ! > XChart is a lightweight

Re: Possible ClojureScript compiler issue...

2016-10-16 Thread Thomas Heller
FWIW I investigated the check with "true" and a sentinel value and found them to both have a small performance impact over just checking for a true-ish property. http://dev.clojure.org/jira/browse/CLJS-1658 The impact is really small so it might be worth the trade-off. /thomas On Sunday,

Re: Possible ClojureScript compiler issue...

2016-10-16 Thread David Nolen
It's true that there other scenarios where you can encounter this but it gets reported infrequently enough that I don't think these kinds of property name collisions are common. Still it has come up before and I think the simplest solution least likely to adversely affect performance is to test

Re: Java interop: dealing with Java implementation instances vs interfaces

2016-10-16 Thread hiskennyness
On Sunday, October 16, 2016 at 3:35:30 AM UTC-4, Erik Assum wrote: > > I think the method you're looking for is sendAsync. > Thx, yeah, I did that then ran into the same issue (I thought) trying to deal with the MessageBuilder mechanism so I thought I should come to grips with the general

Re: Java interop: dealing with Java implementation instances vs interfaces

2016-10-16 Thread Erik Assum
I think the method you're looking for is sendAsync. As for binding yourself to the implementation, you should stick to whatever interface getProducer says it returns, and you'll be ok. Erik. -- i farta > Den 16. okt. 2016 kl. 08.42 skrev hiskennyness : > > Not sure if

Java interop: dealing with Java implementation instances vs interfaces

2016-10-16 Thread hiskennyness
Not sure if this is a Java question or Clojure question, but I think it is the latter. I am trying to use the Yahoo pulsar library https://mvnrepository.com/artifact/com.yahoo.pulsar/pulsar-client/1.14 from Clojure. It is going OK in general, but a couple times now trying to replicate Java