This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-02
Channels
- # aws-lambda (1)
- # beginners (28)
- # boot (54)
- # cider (11)
- # clara (28)
- # cljs-dev (74)
- # cljsrn (13)
- # clojure (342)
- # clojure-austin (3)
- # clojure-dusseldorf (4)
- # clojure-france (2)
- # clojure-greece (11)
- # clojure-italy (42)
- # clojure-poland (7)
- # clojure-russia (11)
- # clojure-spec (44)
- # clojure-uk (156)
- # clojure-ukraine (4)
- # clojurescript (102)
- # cursive (17)
- # datascript (19)
- # datomic (17)
- # dirac (39)
- # emacs (22)
- # funcool (56)
- # hoplon (25)
- # jobs (3)
- # jobs-discuss (31)
- # leiningen (2)
- # luminus (4)
- # lumo (3)
- # off-topic (47)
- # om (51)
- # onyx (57)
- # re-frame (13)
- # reagent (57)
- # remote-jobs (15)
- # ring (9)
- # ring-swagger (7)
- # robots (2)
- # rum (6)
- # specter (16)
- # sql (7)
- # test-check (37)
- # untangled (7)
- # yada (5)
OK, here's a tx syntax question: How does datomic decide whether something in an entity map's value is a lookup ref or a list of two items, the first being referred to by :db/Ident and the second by eid?
the cardinality of :a/b in the schema
Hi everyone. I’m working on onyx-datomic’s log reader, and I recently changed it so that it wouldn’t just call (d/tx-range last-tx nil)
with an open end range, since I was a bit worried it might not read the txes lazily. The problem is that I don’t have a good way to ask “what’s the max tx id for the next 10 transaction”. Is this a job for a query?
I'm trying to think of another way to answer your question that isn't just (->> tx-range (drop 9) first :db-after d/basis-t)
I had originally thought so, but it came up in the past https://clojurians-log.clojureverse.org/datomic/2016-10-04.html
bkamphaus 19:05:40
<@U05120CBV> and <@U0509NKGK> I believe the premise in Onyx documented as: "relies on the fact that tx-range is lazy” is not true.
marshall 19:05:51
i think you’re right
I'm pretty sure it's lazy. (tx-range log nil nil)
on a large db does not act like it's realizing everything.
Yeah, that’s what I was originally assuming. That was quick for me too.
@lucasbradstreet I improved it, added some more paranoia, dropped the need for partition-key-by