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

2018-11-17 Thread Alan Thompson
Looks nice. Alan On Sat, Nov 17, 2018 at 6:57 PM Chad Harrington wrote: > https://github.com/deercreeklabs/lancaster > > Lancaster is an Apache Avro library > for Clojure and ClojureScript. It aims to be fully compliant with the Avro > Specification

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

2018-11-17 Thread Chad Harrington
https://github.com/deercreeklabs/lancaster Lancaster is an Apache Avro library for Clojure and ClojureScript. It aims to be fully compliant with the Avro Specification . Lancaster is faster than JSON encoding / d

Re: [Question] How to properly start up refs in web applications?

2018-11-17 Thread Thais Lima
Hello Sean, I'm using refs for an exercise in which I have to handle state changes without a database. On Sat, 17 Nov 2018 at 22:32, Sean Corfield wrote: > This doesn’t answer your question but I’m wondering why you’re using refs > at all? In production Clojure code I think they are extremely r

Re: [Question] How to properly start up refs in web applications?

2018-11-17 Thread Oliver Muellerklein
I am working with Gary Johnson. Here is a great web app dev skeleton he created. https://gitlab.com/lambdatronic/clojure-webapp-template Sat, Nov 17, 2018, 4:36 PM Oliver Muellerklein wrote: > Hello, > > I also recently started learning Clojure and got throw into developing a > web app using

Re: [Question] How to properly start up refs in web applications?

2018-11-17 Thread Oliver Muellerklein
Hello, I also recently started learning Clojure and got throw into developing a web app using Ring and Clojurescript. Can we be something like pen pal but for Clojure dev? I have someone guiding me through a lot of the Clojure but it would be so helpful I think to both of us if we could bounce ide

RE: [Question] How to properly start up refs in web applications?

2018-11-17 Thread Sean Corfield
This doesn’t answer your question but I’m wondering why you’re using refs at all? In production Clojure code I think they are extremely rare (we have about 85K lines of Clojure and no refs at all). Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If

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

2018-11-17 Thread John Newman
In order to answer a SO question I ended up whipping up a quick and dirty implementation of predicate dispatch here . (unless I'm misunderstanding the definition of "predicate

[Question] How to properly start up refs in web applications?

2018-11-17 Thread Thais Lima
Hi, I've started learning Clojure and I am creating a simple web application using Compojure and Ring. I have refs defined in my core.clj like this: (def my-ref1 (ref {})) (def my-ref2 (ref {})) (def my-ref3 (ref 0)) And in my handler.clj, I call the functions from my core namespace that cha