[ANN] Clojure 1.10.0-beta7

2018-11-19 Thread Alex Miller
1.10.0-beta7 is now available. You can try it with clj using: clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.0-beta7"}}}' Changes in 1.10.0-beta7: - CLJ-2435 - include root cause class name in compilation and macroexpansion

Re: [ANN] Clojure 1.10.0-beta7

2018-11-19 Thread Alex Miller
We expect to move back into release candidates next, so testing welcome... On Monday, November 19, 2018 at 3:34:03 PM UTC-6, Alex Miller wrote: > > 1.10.0-beta7 is now available. > > You can try it with clj using: > > clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.0-beta7"}}}' > >

Re: Efficient Predicate Dispatch [was ANN: Logos v0.6]

2018-11-19 Thread Khalid Jebbari
Oups, I didn't notice that the original message was from 2011... On Tue, Nov 20, 2018, 5:41 AM Aleš Roubíček It was promoted to contrib since then. > https://github.com/clojure/core.match/wiki/Crazy-Ideas and > https://github.com/clojure/core.match are links you are looking for. > > On Monday,

Re: Efficient Predicate Dispatch [was ANN: Logos v0.6]

2018-11-19 Thread Aleš Roubíček
It was promoted to contrib since then. https://github.com/clojure/core.match/wiki/Crazy-Ideas and https://github.com/clojure/core.match are links you are looking for. On Monday, November 19, 2018 at 9:50:20 AM UTC+1, Khalid Jebbari wrote: > >

Re: [ANN] Clojure 1.10.0-beta7

2018-11-19 Thread Andy Fingerhut
Not testing results this time, but just a comparison of reflection warnings in Clojure 1.9.0 vs. 1.10.0-beta7, after adding (set! *warn-on-reflection* true) to all .clj files in Clojure's source code that did not already have one. These were obtained when compiling Clojure using mvn and Oracle

[ANN] Quil 2.8.0 Release

2018-11-19 Thread Mikita Belahlazau
Happy to announce Quil 2.8.0 release. Quil is a Clojure/ClojureScript library for creating interactive drawings and animations. The release available on clojars: https://clojars.org/quil. List of changes: - New looping? function. Contributed by @NightMachinary

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-19 Thread Łukasz Korecki
This looks great! Thank you for sharing Any plans for logical types[1] support? That's one of the biggest things missing in Abracad imho Łukasz [1] - https://avro.apache.org/docs/1.8.0/spec.html#Logical+Types On Sunday, November 18, 2018 at 2:57:18 AM UTC, Chad Harrington wrote: > >

Re: Efficient Predicate Dispatch [was ANN: Logos v0.6]

2018-11-19 Thread Khalid Jebbari
https://github.com/swannodette/match/wiki/Crazy-Ideas is 404, as well as https://github.com/swannodette/match

Re: Efficient Predicate Dispatch [was ANN: Logos v0.6]

2018-11-19 Thread John Newman
Update the example to leverage isa? hierarchies and allow prefer-poly, a la prefer-method: https://stackoverflow.com/questions/53329709/dispatching-function-calls-on-different-formats-of-maps/53354967#53354967 V/r John On Saturday, November 17, 2018 at 5:09:09 PM UTC-5, John Newman wrote: > >

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-19 Thread Chad Harrington
Good idea. I will try to add that to the perf results sometime this week. Chad Harrington chad.harring...@gmail.com On Sun, Nov 18, 2018 at 10:37 PM Tommi Reiman wrote: > Looks good. Would be interesting to see the JVM Json perf tested also with > https://github.com/metosin/jsonista. > > -- >

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-19 Thread Łukasz Korecki
Hi! We're interested in the Date/Time/Timestamp part of the spec. A bit of background: our RabbitMQ framework (https://github.com/nomnom-insights/nomnom.bunnicula) supports pluggable serialization and adopting Avro made our life easier. We're using it in couple of RPC-over-HTTP calls and that

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-19 Thread Chad Harrington
Hi Łukasz, Logical types could certainly be added. Are you more interested in arbitrary logical type support or the specific logical types defined in the spec (Decimal, Date, Time, Timestamp, Duration)? Understanding your use case will help with the design. Thanks, Chad Harrington

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-19 Thread Chad Harrington
It's definitely a tradeoff. In my experience, it's well worth it. For messaging, I use a union of the possible message schemas. I wrote a library (https://github.com/deercreeklabs/capsule) that makes messaging (events and RPC) simple and easy. It uses Lancaster / Avro over WebSockets.

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-19 Thread Chad Harrington
The JavaScript perf seems okay to me: https://github.com/deercreeklabs/lancaster/blob/master/README.md#performance I probably need to test Transit alongside the other cljs performance tests. I will try to do more / better perf testing this week. Thanks for your interest, Chad Harrington

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-19 Thread Chad Harrington
I do the same thing with dates & times (convert them to a more Avro-friendly form first.) I didn't want to couple clj-time and cljs-time to the lancaster library, since not everyone uses those. I think the right design is to allow an arbitrary logical type mechanism with user-specified serializers

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-19 Thread Łukasz Korecki
Makes absolute sense  (and I like the approach, it's similar to how Cheshire handles it) On Monday, November 19, 2018 at 6:47:42 PM UTC, Chad Harrington wrote: > > I do the same thing with dates & times (convert them to a more > Avro-friendly form first.) I didn't want to couple clj-time and