This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-22
Channels
- # announcements (7)
- # babashka (1)
- # beginners (87)
- # boot (1)
- # cider (1)
- # clj-kondo (33)
- # cljfx (1)
- # cljs-dev (8)
- # clojars (3)
- # clojure (105)
- # clojure-austin (3)
- # clojure-europe (74)
- # clojure-finland (1)
- # clojure-korea (4)
- # clojure-nl (1)
- # clojure-uk (6)
- # clojurescript (10)
- # conjure (9)
- # cursive (29)
- # datalog (6)
- # datomic (13)
- # emacs (3)
- # events (4)
- # figwheel-main (1)
- # gratitude (1)
- # humbleui (6)
- # introduce-yourself (7)
- # jackdaw (1)
- # jobs (1)
- # lsp (29)
- # malli (3)
- # nbb (2)
- # podcasts-discuss (1)
- # portal (5)
- # re-frame (4)
- # reitit (28)
- # remote-jobs (5)
- # shadow-cljs (38)
- # tools-deps (46)
- # vim (6)
- # xtdb (24)
What exactly is the difference between {:server-type :ion} and {:server-type :cloud}? I'm turned around, because I'm querying and transacting locally with the server-type as ion? I can't help but feel I've got my system wired up wrong, perhaps so wrong it's working. CHEERS!
Does this answer from Stu help? https://ask.datomic.com/index.php/590/when-would-i-want-to-use-server-type-cloud
The information is also listed here: https://docs.datomic.com/cloud/ions/ions-reference.html#server-type-ion
Hello! Why can't I download the ions library? I just get
> Downloading: com/datomic/ion/1.0.59/ion-1.0.59.pom from datomic-cloud
> Downloading: com/datomic/ion/1.0.59/ion-1.0.59.jar from datomic-cloud
> Error building classpath. Could not find artifact com.datomic:ion:jar:1.0.59 in central (https://repo1.maven.org/maven2/)
so it seems like it does not find it in the repo. I suppose that my authentication is fine because before I was missing it in my ~/.m2/settings.xml
and then clj was failing with "ExceptionInfo: Unexpected error downloading artifact from datomic-releases-1fc2183a {:bucket "datomic-releases-1fc2183a", :path "maven/releases/com/datomic/ion/1.0.59/ion-1.0.59.pom", :reason :cognitect.anomalies/fault}", which is understandable. So auth is fine but the .pom and/or .jar are not in the s3 bucket? My deps.edn
has
:mvn/repos {"datomic-cloud" {:url ""}}
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
com.datomic/dev-local {:mvn/version "1.0.243"}
com.datomic/ion {:mvn/version "1.0.59"}
...
🙏I vaguely remember having to grant access to an IAM user when pulling down Datomic dependencies from that bucket a while back. It might be worth double checking your AWS credentials allow you to read from that bucket.
This might be relevant: https://ask.datomic.com/index.php/546/could-not-find-artifact-com-datomic-ion-jar-0-9-48-in-central
Does datomic support reciprocal relationship? If so, where can I find documentation on it?
all ref types can be followed backward in entity-map and pull expressions using _
in the name part, e.g. :foo/_bars
is the reverse of :foo/bar
, i.e. on a bar
, it gives you all foo
that reference it via :foo/bars
In datalog queries there’s no difference. Whether [?foo :foo/bar ?bar]
is “backwards” or “forwards” depends on what index is used.
This is cloud: https://docs.datomic.com/cloud/query/query-pull.html#reverse-lookup This is on-prem: https://docs.datomic.com/on-prem/query/pull.html#reverse-lookup
Thank you, exactly what I was looking for.