Re: if nil is true

2017-01-31 Thread Sayth Renshaw
On Tuesday, 31 January 2017 10:25:31 UTC+11, Leon Grapenthin wrote: > > Hi Sayth, welcome to Clojure. > > Read like this: > > (nil? nil) > ;-> true > Is nil nil? True. > > (true? nil) > ;-> false > Is nil true? False. > > Kind regards, > Leon. > > Thanks Leon. Yeah it does make sense it just

Re: [ANN] Gorilla REPL v0.4.0

2017-01-31 Thread John Szakmeister
It looks like the v0.4.0 and v0.3.6 tags point to the same thing in the gorilla-repl repo, so the v0.4.0 tag isn't picking up the new commits. -John On Mon, Jan 30, 2017 at 1:58 PM, Jony Hudson wrote: > Hi All, > > it's a pleasure to announce a new release of Gorilla REPL :-) For those > that h

[ANN] Vase: data-driven microservices

2017-01-31 Thread Paul deGrandis
I'm very pleased to announce the availability of Vase - a library for writing declarative, data-driven microservices. With Vase, HTTP services can be created within minutes, complete with database integration and data validation. I first described Vase o

Re: structuring parallel code

2017-01-31 Thread Dragan Djuric
1) When you work with numerics, you have to take into account that numerical operations are typically order(s) of magnitude faster and consume much less resources per element than any of those concurrency mechanisms. 2) It is important whether the problem you're working on parallelizable in itse

Datomic cardinality/many uniqueness

2017-01-31 Thread Dmitry Lipovoi
Hey everyone, Im trying to express following requirements in datomic schema: person may have many emails, but no two persons should share the same email. What comes to mind at first: {:db/ident :person/email :db/valueType :db.type/string :db/cardinality :db.cardinality/many :db/unique

Re: Datomic cardinality/many uniqueness

2017-01-31 Thread Alex Miller
You might want to post this at https://groups.google.com/forum/#!topic/datomic instead... On Tuesday, January 31, 2017 at 1:16:02 PM UTC-6, Dmitry Lipovoi wrote: > > Hey everyone, > > Im trying to express following requirements in datomic schema: person may > have many emails, but no two persons