Fork me on GitHub
#datomic
<
2016-06-24
>
rauh09:06:54

Is it possible to get the source of squuid? I'd like to implement it in lua (for nginx)

cursork09:06:32

@rauh datascript has an implementation that seems to agree with datomic:

boot.user=> (ds/squuid) (d/squuid)
#uuid "576cfc7a-f3e7-493c-bb6a-da9536ec6caf"
#uuid "576cfc7a-8671-4d59-8053-6be834ac295f"

rauh09:06:47

@cursork: Thanks! I'll fix my version, it doesn't set the variant (IETF) properly.

rauh10:06:53

@stuarthalloway: Thanks! Got it all working. 🙂 The java.util.UUID/randomUUID also shows setting the variant nicely

adamfrey15:06:54

Hi everyone. I wrote a blog post about the first steps to using property-based testing to test your Datomic transaction building code: http://blog.altometrics.com/2016/06/property-based-testing-with-clojure-and-datomic-part-2/ I’m interested in your thoughts on the approach.