Fork me on GitHub
#datomic
<
2019-01-18
>
joshkh03:01:02

i've created a blog post about how I handle routing in the context of Datomic Ions and AWS API Gateway. for anyone interested, am i missing something? https://medium.com/@rodeorockstar/datomic-ions-aws-api-gateway-and-routing-d20a1bb086dd

👍 5
joshkh03:01:56

it's meant to pickup where the Datomic Ions Tutorial stops

fdserr07:01:34

hi there, is this very bad?

WARNING: requiring-resolve already refers to: #'clojure.core/requiring-reso
lve in namespace: datomic.common, being replaced by: #'datomic.common/requi
ring-resolve
and how can I resolve the conflict (using deps, not lein) TIA

Alex Miller (Clojure team)14:01:46

no, it’s not bad (that’s why it’s a warning)

Alex Miller (Clojure team)14:01:36

I expect a newer version of something on the datomic side probably fixes it, but I’d defer to someone from the datomic team to verify that

johnj16:01:18

I think requiring-resolve was introduced in 1.10, hence the name clash

Alex Miller (Clojure team)17:01:26

yes, but name clashes are quite intentionally not a bug

Alex Miller (Clojure team)17:01:45

so nothing is broken here, but newer versions can or do either silence the warning (by intentionally excluding it) or by switching to the version now in Clojure

Alex Miller (Clojure team)17:01:05

(I’m not sure which of those potential actions has already been taken)

jjfine19:01:38

is there a logical/performance difference between these two:

[(missing? $ ?foo :bar)]
(not [?foo :bar])

mdhaney19:01:09

With Datomic Cloud, if I need to fail/abort a transaction (i.e. validation failed) within a transaction function, can I just throw an exception? That's how it works with on-prem, but the docs for Cloud don't mention anything about aborting transactions from within a transaction function.

apsey23:01:06

Is there an official docker image for the Datomic Transactor from Cognitect? Has anyone used this one? https://hub.docker.com/r/pointslope/datomic-pro-starter/dockerfile/ Use case is: running transactors inside kubernetes to avoid running standby transactors (half the cost without the ec2 boot time) and better embrace resource usage within kubernetes (having less idle resources). cc @marshall

marshall13:01:00

There is not an official docker image.