This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-10
Channels
- # aleph (4)
- # beginners (32)
- # cider (12)
- # cljs-dev (56)
- # cljsrn (7)
- # clojars (3)
- # clojure (165)
- # clojure-dev (33)
- # clojure-germany (1)
- # clojure-italy (27)
- # clojure-russia (7)
- # clojure-spec (24)
- # clojure-uk (62)
- # clojurescript (37)
- # core-async (7)
- # core-matrix (1)
- # cursive (9)
- # data-science (8)
- # datomic (8)
- # duct (4)
- # events (1)
- # figwheel (7)
- # flambo (3)
- # fulcro (43)
- # hoplon (25)
- # jobs-discuss (8)
- # lein-figwheel (4)
- # luminus (2)
- # off-topic (35)
- # om (8)
- # om-next (3)
- # onyx (30)
- # pedestal (62)
- # portkey (2)
- # protorepl (2)
- # re-frame (40)
- # reagent (9)
- # shadow-cljs (123)
- # specter (30)
- # sql (22)
- # testing (1)
- # uncomplicate (40)
- # unrepl (3)
- # vim (13)
- # yada (5)
I guess I'm doing something stupid but I've been stuck trying to transact a schema for quite a while now.
Getting java.lang.IllegalArgumentException: :db.error/not-an-entity Unable to resolve entity: :db/indent
when I called (datomic.api/transact conn [{:db/indent :foo/bar :db/valueType :db.type/string :db/cardinality :db.cardinality/one}])
... I'm on version 0.9.5561.59
any ideas?
adding an index to an attribute happens in a background process on the transactor, correct? does it degrade service on running peers at all, other than using resources?
I just want to make sure I understand the process
an existing attribute, that is
and is there a way to monitor progress?
other than monitoring sync-schema
, which I guess I could easily script something out around
Hi, I have a quick collections question. I’m doing some stuff with datomic and of course you’re kind of on the hook for your own paging. I’m trying to implement cursor based paging such that I can give a key value then return that item, plus N items ‘in front’ or ‘behind of it’ So for the following
({:id "A" :val..} {:id "B" :val..} {:id "C" :val..}{:id "D" :val..} {:id "E" :val..})
If I have say “C” and ‘2 behind’, I get A,B,C. Or “C” and ‘one after’ would give me C and D. and of course, it’d be nice if it was reasonably performant. Any suggestions?