This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-17
Channels
- # announcements (1)
- # aws (40)
- # babashka (37)
- # beginners (305)
- # chlorine-clover (15)
- # cider (5)
- # cljs-dev (40)
- # clojure (62)
- # clojure-europe (13)
- # clojure-nl (4)
- # clojure-spec (10)
- # clojure-sweden (2)
- # clojure-uk (59)
- # clojurescript (9)
- # core-async (13)
- # cursive (5)
- # data-science (2)
- # datascript (2)
- # datomic (29)
- # emacs (8)
- # fulcro (58)
- # lambdaisland (9)
- # leiningen (2)
- # lumo (3)
- # mid-cities-meetup (1)
- # midje (1)
- # off-topic (28)
- # shadow-cljs (32)
- # spacemacs (3)
- # sql (5)
- # tools-deps (1)
- # tree-sitter (1)
- # vscode (2)
- # yada (2)
Are there any other UI options for Datomic Cloud other than REBL? I’d love to introduce non-clojure team members to Datomic to get them excited and have them try out queries, and the old Datomic Console for on-prem looked perfect, but sadly doesn’t seem to be available for cloud(?). Have people built any solutions for this need?
is there a way to configure a username and password for the Presto server built into the Datomic Cloud access gateway?
[on-prem]
There is guidelines about datomic and core.async?
I need to run queries inside a go-block
I know, I can create a thread pool and bla bla bla
But it can't be delivered as a library, like datomic.client.api.async
@U04VDQDDY I remember that sometime ago you asked about connect datomic-client-pro
in a datomic:mem
conn
Did you end up with some solution?
@U2J4FRT2T that must have been someone else with that issue
Using clojure spec for datomic entity spec seems like a good idea. Is there any reason why it might not? I can't find it being mentioned anywhere. Doing so would make it easy to use the same verification code client side and server side. The possible downside I can think of is that it might be a bit of overhead. Something along the lines of:
(s/def :user/phone-number (s/and string? #(re-matches #"\+[0-9 +-]+" %)))
(s/def :user/uuid uuid?)
(s/def :example/user (s/keys :req [:user/uuid] :opt [:user/phone-number])
(in-ns 'example)
(defn user? [db eid]
(let [user (d/pull db '[*] eid)]
(if (s/valid? :example/user user)
true
(s/explain-str :wavy/user user))))
;; datomic schema
{:db/ident :example/user
:db.entity/preds example/user?}
is there anyway to mass transact data?
Do you mean this? https://docs.datomic.com/on-prem/best-practices.html#pipeline-transactions
I'm already pipelining, I was just wondering if there was some functionality to run a large batch of transactions
I wasn't able to find anything, but I figured I would ask here in the event that I was just failing to search properly
there are some tricks to improve “import” transaction cost or performance if that’s what you’re looking for?
so this is interesting! when using the standalone pull
syntax with [:db/id]
as the selector, the results include reverse reference attributes with a '...
symbol value. is this expected?
(d/pull db [:db/id] 1234567891234)
=>
{:attribute/a "value-a"
:attribute/b "value-b"
:attribute/_c ...
:attribute/_d ...}
are you sure that's not just repl printing?
yup:
((juxt identity type) (:attribute/_c (d/pull (client/db) [:db/id] 1234567891234)))
=> [... clojure.lang.Symbol]
a coworker found this today, and i reproduced it on my machine (different IDEs and REPLs)> can you provide some more context?
DatomicCloudVersion 8846
com.datomic/client-cloud {:mvn/version "0.8.78"}
and nothing peculiar about our schema. the reverse reference attributes are legit, and for what it's worth non-component. pulling *
on the same entity returns the same data but without reverse references (as expected).
has anyone here successfully integrated Datomic Cloud Analytics with a third party BI platform? we can successfully validate our Presto connection, but after selecting a Schema (db name) we get the error Query failed: Expected string for :db-name
someone else has the same problem and posted on the forums a few months ago without a resolution
https://forum.datomic.com/t/error-on-integration-between-datomic-analytics-and-power-bi/1266/2