This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-27
Channels
- # announcements (13)
- # asami (12)
- # babashka (65)
- # beginners (62)
- # calva (14)
- # cider (8)
- # clara (11)
- # clj-kondo (16)
- # clojure (86)
- # clojure-europe (12)
- # clojure-gamedev (4)
- # clojure-nl (2)
- # clojure-sg (4)
- # clojure-uk (5)
- # clojurescript (206)
- # clojureverse-ops (11)
- # community-development (7)
- # conjure (12)
- # core-async (2)
- # core-logic (13)
- # cursive (49)
- # datalevin (1)
- # datomic (30)
- # deps-new (3)
- # duct (8)
- # events (5)
- # fulcro (10)
- # helix (5)
- # jobs (1)
- # klipse (5)
- # lsp (178)
- # luminus (1)
- # malli (8)
- # meander (3)
- # membrane (13)
- # missionary (1)
- # nrepl (5)
- # other-languages (4)
- # pedestal (4)
- # reitit (3)
- # releases (1)
- # reveal (27)
- # shadow-cljs (89)
- # tools-build (6)
- # tools-deps (11)
- # vim (2)
- # xtdb (64)
Anyone knows if offline support including some write capability has been talked about? One idea could be to support creation of new entities offline for syncing later when online..
Has anyone examined or thought about a possible connection between Datomic and “Local-First Software” ? (https://martin.kleppmann.com/papers/local-first.pdf)
I read this paper some time ago and couldn't find it later. And now all of a sudden here it is. Thank you!
I’ve runned into Could not find artifact com.datomic:ion:jar:0.9.50 in central (
I see it was discussed previously, but I don’t understand the investigation scenario so far.
I’ve checked the ~/.m2/settings.xml
and the ~/.clojure/deps.edn
and it all looks as in the instruction.
Project’s deps.edn also works for other team members.
How can I diagnose if I’m connecting to the right datomic cloud with the right credentials?
__
upd: I’ve found the tip about the IAM user and the S3FullAccess policy, but I’m too bad at AWS language.
> I’ve found the tip about the IAM user and the S3FullAccess policy, but I’m too bad at AWS language What that means is, that you also need to setup the AWS CLI V1 as described in the docs, with your AWS keys that you get in the AWS console in the top right corner under "my security credentials". Your AWS user also needs Read-Access to S3
Yeah, got it, on it, thanks!
Got to
Error building classpath. Could not transfer artifact software.amazon.ion:ion-java:jar:1.0.2 from/to central ( ): status code: 416, reason phrase: Range Not Satisfiable (416)
this helped, thanks!
Has anyone got Metabase connected to Datomic? I'm unable to authenticate using Presto, seems to be an SSL issue
I have not tried, but I there has been quite a lot of changes (for the better) in both JDK 8 and JDK 11, what JDK(s) are you using?
(engineer at Metabase here, who has worked on the Presto driver specifically) do you have a full stack trace of the error?
(d/q '[:find ?x
:where
[(ground :foo) ?x]
(not [_ :db/ident :does-not-exist])]
db))
=> #{} ;; expect #{[:foo]}
What’s going on here?Context: I’m trying to write a query which will work (i.e. not error and produce a default value) before an attribute is installed.
(d/q '[:find ?x
:where
[(ground :foo) ?x]
[(ground :does-not-exist) ?v]
(not-join [?v]
[_ :db/ident ?v])]
db)
=> #{[:foo]}
yes
(d/q '[:find ?x
:where
[(ground :foo) ?x]
[(ground :does-not-exist) ?v]
(not [_ :db/ident ?v])]
db)
=> #{[:foo]}
I’ve had problems with _
unifying with itself and with the non-explicit -join
doing the wrong thing or throwing an error--so it’s just a paranoid tick at this point
I destructured something like [(re-matches #"a (b) (c)" "a b c") [_ _ ?c]]
and it would never produce a ?c
because the two _
were unequal. the workaround was [?_ignore1 ?___ignore2 ?c]
I can’t do it now though, maybe it’s been fixed, or the conditions were more complicated
Still strange that your original query doesn't work as expected. Perhaps there should be at least one bound variable in a not
?
Is there a “correct” way to shut down Datomic (client peer api, on prem) at the end of a one-off task, say a maintenance script? I’ve tried a number of variations on this sort of code, but frequently (though not always) end up with exceptions:
(d/release connection) ; seems to happen wither I call release or not
(d/shutdown false) ; true/false does not have an impact here either
(shutdown-agents)
The exceptions are always “AMQ219019: Session is closed”, e.g.
[datomic.slf4j] (clojure-agent-send-off-pool-4) {:message "Caught exception", :pid 1, :tid 38}
org.apache.activemq.artemis.api.core.ActiveMQObjectClosedException: AMQ219019: Session is closed