Re: How to implement a distributed and concurrent system in Clojure?

2017-06-30 Thread Derek Troy-West
I still have Storm topologies in prod, but I'm investigating Kafka Streams and Onyx right now. On Saturday, July 1, 2017 at 9:38:08 AM UTC+10, Bobby Calderwood wrote: > > Onyx is super cool, has matured substantially, and has a great team behind > it. > > I've also had success building with Kafk

[ANN] clojure.java.jdbc 0.7.0 Beta 2

2017-06-30 Thread Sean Corfield
What? Clojure’s contrib wrapper for JDBC. Where? https://github.com/clojure/java.jdbc [org.clojure/java.jdbc “0.7.0-beta2”] Summary? Improves reducible queries; Completes (optional) specs for public API; Drops support for Clojure 1.5 and 1.6 (so, requires Clo

Re: How to implement a distributed and concurrent system in Clojure?

2017-06-30 Thread Bobby Calderwood
Onyx is super cool, has matured substantially, and has a great team behind it. I've also had success building with Kafka (and its ecosystem libraries Kafka Connect and Kafka Streams) and Datomic. Cheers, Bobby -- You received this message because you are subscribed to the Google Groups "Clojur

Re: [ANN] antizer 0.2.0

2017-06-30 Thread James Reeves
This looks like just what I need. Thanks for writing it! On 30 June 2017 at 04:31, Michael Lim wrote: > https://github.com/priornix/antizer > > > Antizer has just been released. It > is a ClojureScript library implementing Ant Design >

Re: def partially done when used in if

2017-06-30 Thread Sean Corfield
You can see it at work in this: user=> foo (unable to resolve foo) user=> (when nil (def foo 42)) nil user=> foo (unbound var foo) When a ‘def’ form is _compiled_ -- which happens in the above case because the whole form must be compiled – then it interns the var. The ‘d

Re: def partially done when used in if

2017-06-30 Thread Didier
I admit, this is very surprising. It looks like evaluation happens in two pass, like first it finds all defs and declares them, interning the symbol and creating an unbound var. And on a second pass it evaluates the full form. Can someone more informed confirm or explain in more details what's r

Re: Stubbing with instrument and generators

2017-06-30 Thread Michael Glaesemann
Thanks for taking a look. Here's a ticket: https://dev.clojure.org/jira/browse/CLJ-2197 > On 2017-06-30, at 11:52, Alex Miller wrote: > > I don't think this is the same case as CLJ-2095 as the instrumented var > should have the opportunity to use the gen overrides you've included. In > partic

Re: Stubbing with instrument and generators

2017-06-30 Thread Alex Miller
I don't think this is the same case as CLJ-2095 as the instrumented var should have the opportunity to use the gen overrides you've included. In particular, it seems like stest/instrument-choose-fn is currently passing the :gen overrides map when getting the gen for the stubbed var. I'm wonderi

Re: Clojure android activity?

2017-06-30 Thread Alex Miller
It's not really lack of interest from the core team, just a matter of not being able to do everything. I personally am not aware of any list of patches necessary to make Clojure work on Android (other than CLJ-1472, which has been the subject of some debate across Android and Clojure). I would

Re: How to implement a distributed and concurrent system in Clojure?

2017-06-30 Thread Christopher Small
I'd have to know a little bit more about the specifics of your message driven architecture to say for sure, but in general I'd still highly recommend Onyx over Storm. In the last two years the Distributed Masonry crew have done a TON of fabulous work with Onyx, including closing the performance gap

Re: Clojure android activity?

2017-06-30 Thread Adam Clements
Hey Mike, It's a case of life getting in the way - both Alex and myself got jobs not in the Android space. That being said, looking at the issues that have come up on the mailing list recently most would be fairly simple fixes, and I don't think there would be much of a problem bringing it up to d

Stubbing with instrument and generators

2017-06-30 Thread Michael Glaesemann
Using spec instrument to stub functions is really helpful. I'm using stubbing to test Stuart Sierra-style components with some success. However, I've been surprised that generator override doesn't work as I would expect it to. Here's an example: ;; [org.clojure/spec.alpha "0.1.123"] (require '

ANN: ClojureScript 1.9.671, bugfix release

2017-06-30 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript Leiningen dependency information: [org.clojure/clojurescript "1.9.671"] This is a follow up bugfix release to 1.9.660. As always, feedback welcome! ## 1.9.67

Scripting with a pre-prepared environment

2017-06-30 Thread Phillip Lord
I am trying to build a clojure environment which can run pre-prepared scripts, using functions from my own library. I've been trying out boot and it's nice. I can do things like so: #!/usr/bin/env boot (set-env! :dependencies '[[uk.org.russet/tawny-owl "2.0.0-SNAPSHOT"]])

Re: How to implement a distributed and concurrent system in Clojure?

2017-06-30 Thread Matan
This thread is a bit old, but it's seen two year awakenings before... and still shows up high in google searches. I wonder how you folks see it now. Onyx is a bit older by now, and not much seems new out there. What would you choose for reliable and resilient distributed computing with clojure,