This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-18
Channels
- # aleph (12)
- # beginners (31)
- # boot (67)
- # cider (17)
- # cljs-dev (14)
- # clojure (111)
- # clojure-dev (1)
- # clojure-france (4)
- # clojure-gamedev (1)
- # clojure-italy (49)
- # clojure-nl (3)
- # clojure-poland (2)
- # clojure-russia (18)
- # clojure-spec (15)
- # clojure-uk (68)
- # clojurescript (33)
- # core-typed (1)
- # datomic (15)
- # emacs (3)
- # graphql (4)
- # hoplon (36)
- # leiningen (3)
- # lumo (44)
- # mount (2)
- # off-topic (46)
- # om (21)
- # onyx (47)
- # parinfer (22)
- # pedestal (21)
- # protorepl (4)
- # quil (4)
- # re-frame (15)
- # reagent (4)
- # ring-swagger (9)
- # rum (27)
- # spacemacs (11)
- # vim (7)
- # yada (8)
@devth do you have any open source code showing your spec->schema->generators stuff?
we're planning to open source it but not yet. i'll see if i can get something out in the next week or two. will post here when we have something out.
that sounds really useful
hi, (we are analyzing datomic for our situation) : say, we divide our data among n number of datomics. Our logic needs to break down a unit of change among these datomics. Our understanding is, you have the peer library that application can use to "transact" the data. Is it possible for a code of the following nature ? or is there a different way to do it ?
I don't believe so, Datomic provides transactions only in the context of one transactor.
Approaches to mitigating this issue can include 1 - using db.with() on both connections prior to transacting to ensure some invariants speculatively 2 - issuing compensating transactions in case of an error. Both are full of caveats IMO.
@wistb you can do (almost) arbitrary Clojure code in a transaction: http://docs.datomic.com/database-functions.html#transaction-functions
I don't think this solves @wistb's issue, as transaction functions can't be used to provide coordination across several Datomic deployments
here’s a video explaining it: https://www.youtube.com/watch?v=8fY687k7DMA
I'm running into the same problem described here: https://groups.google.com/forum/#!topic/datomic/YKsnB_z1YHs