This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-06
Channels
- # announcements (2)
- # beginners (97)
- # boot (3)
- # cider (23)
- # clara (9)
- # cljs-dev (40)
- # cljsrn (6)
- # clojure (107)
- # clojure-finland (2)
- # clojure-india (3)
- # clojure-italy (15)
- # clojure-nl (2)
- # clojure-spec (107)
- # clojure-uk (91)
- # clojurescript (28)
- # cursive (10)
- # data-science (4)
- # datomic (26)
- # duct (1)
- # emacs (6)
- # events (9)
- # figwheel-main (4)
- # fulcro (4)
- # graphql (2)
- # jobs (3)
- # jobs-discuss (12)
- # juxt (7)
- # kaocha (6)
- # off-topic (8)
- # onyx (2)
- # parinfer (13)
- # pedestal (32)
- # portkey (1)
- # re-frame (58)
- # reagent (17)
- # reitit (21)
- # ring-swagger (3)
- # shadow-cljs (35)
- # spacemacs (1)
- # tools-deps (33)
- # yada (13)
On Datomic Ions Solo, I'm getting an error Unable to resolve entity: :db/index
when trying to transact schema
hey all - how do you all deal with possible transaction timeouts? we’ve tried something like
(defn transact-timeout [conn tx timeout timeout-result callback]
(future
(callback (deref (d/transact-async conn tx)
timeout
timeout-result))))
but that doesn’t seem to do the trick. any advice?You might want to look at https://github.com/Datomic/mbrainz-importer/blob/c095cfcff2bfa17ec66d313153cf0d7c75d1c0e9/src/cognitect/xform/batch.clj#L78-L114
i’m having a rather hard time wrapping my head around datalog query/pull syntaxes. is there a resource other than the official guide that someone can point me toward?
i feel like reading the language grammar and the official reference documentation will help me as a step 2, but for step 1 i just need a bunch of examples
@lwhorton I recommend shoving a bunch of data you’re familiar with into Datascript and then experiment for yourself!
I just received this exception when trying to transact to a newly created database:
clojure.lang.ExceptionInfo: Loading database
clojure.core/eval core.clj: 3206
...
dev.system/eval34859 REPL Input
compute.command-processor.streams.customer/create-customer customer.clj: 31
datomic.client.api/eval13775/fn/G api.clj: 127
datomic.client.api.sync/eval34382/fn sync.clj: 82
datomic.client.api.async/ares async.clj: 56
clojure.core/ex-info core.clj: 4739
clojure.lang.ExceptionInfo: Loading database
cognitect.anomalies/category: :cognitect.anomalies/unavailable
cognitect.anomalies/message: "Loading database"
What is the correct solution? Retry?If I delete the database and try again, I get:
clojure.lang.ExceptionInfo: :db.error/db-deleted 52ece0c2-7322-4eb7-af99-10f6dbc8ae5c has been deleted
@robert.mather.rmm no, schema can’t be retracted
hey team, noob question: I am in the process of switching to a different db, in one of our usecases of datomic I ran the switch in prod -- but I think there are still some stray reads happening, that I may have missed. Is there a quick way to check in datomic -- "what has been the last queried thing?"
Is it possible to run one transaction that both creates an entity and executes a tx fn involving that entity?
Does anyone know what logging to expect from a Peer server talking to ElastiCache in AWS? As far as I can tell, this server has all the VPC networking/security group setup correct but it never seems to put any items into the EC cluster and also seems to log only one connection attempt event and nothing thereafter.
Is there a list somewhere of what I’d expect to see logged at which log levels?