RE: [ANN] clojure-future-spec, a backport of clojure.spec for 1.8

2016-06-30 Thread sean
I can’t help but think you’re making it way more complicated than it needs to be. Define ::config in example.spec, and in example.core use :example.spec/config (and, yes, require the example.spec namespace). You need to avoid circular namespace dependencies. Sean Corfield -- (904) 302-SEAN An

Re: [ANN] clojure-future-spec, a backport of clojure.spec for 1.8

2016-06-30 Thread Sam Estep
I spent quite a while trying to figure out how I can use some features of spec, like destructuring, to work properly when my specs are in a separate namespace. I asked a question about this on Stack Overflow; do you have any advice on how to solve th

Re: Why does a call fail without type hints? (Understanding reflected calls)

2016-06-30 Thread Beau Fabry
My guess is the class generated by jnr-ffi can't be inspected with reflection for some reason or other, you should try poking at that sodium instance with http://clojure.github.io/clojure/branch-master/clojure.reflect-api.html in a repl and see what you get! In terms of "how expensive reflecti

Re: [ANN] walmartlabs/datascope 0.1.0

2016-06-30 Thread arthur . maciejewicz
Tried this out to visualize a DFA used for dictionary matching. Very cool. On Monday, June 27, 2016 at 1:57:56 PM UTC-4, Howard M. Lewis Ship wrote: > > > A library that can be used to render typical Clojure data structures using > Graphviz. > > https://github.com/walmartlabs/datascope > > -- >

Why does a call fail without type hints? (Understanding reflected calls)

2016-06-30 Thread lvh
Hi, In my project, caesium, I’m binding against libsodium using jnr-ffi. This involves creating an Interface with a bunch of methods. This all works swimmingly, most of the time. I have two functions that differ only in their arguments being type hinted: (defn secretbox-easy-to-byte-bufs-noca

[ANN] Loudmoauth 0.1.1 - A single user multi provider oauth2 client library

2016-06-30 Thread Karl Blomström
Hello all! I wanted to share the 0.1.1 release of Loudmoauth, an oauth2 client library made for single user access to several oauth2 providers simultaneously. Good to have if you just want to consume an oauth2 API without too much hassle or for testing purposes. https://github.com/blmstrm/loudmoa

Re: [ANN] clojure-future-spec, a backport of clojure.spec for 1.8

2016-06-30 Thread Lucas Bradstreet
Thanks Sean. You make an excellent point with specs being in a separate namespace. I had thought that using fdef would have prevented doing something like this but it appears I am wrong. On 30 June 2016 at 01:20, Sean Corfield wrote: > On 6/29/16, 10:03 AM, "Lucas Bradstreet" of lucasbradstr...@

ANN: diehard 0.1.0, a Clojure wrapper for Failsafe

2016-06-30 Thread Ning Sun
Hi all, Just to announce the first release of diehard[1], a clojure wrapper over the Failsafe[2] library, which deals retry stuff for you. Diehard allows you to set retry criteria for any block a clojure code, like: (diehard/with-retry {:retry-on IOException} (http/get "https://google.com";))

[ANN] defn Podcast Episode #4 Immutable Persistent Collections

2016-06-30 Thread Vijay Kiran
Hello Everyone, We published the Episode #4 of defn podcast, the topic of this episode is immutable persistent collections. It is available on SoundCloud for your listening pleasure: https://soundcloud.com/defn-771544745/defn-04-immutable-persistent-collections :) If you happen to listen to