This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-15
Channels
- # announcements (51)
- # beginners (65)
- # calva (44)
- # cider (6)
- # clara (3)
- # clj-kondo (30)
- # cljsrn (5)
- # clojure (63)
- # clojure-australia (7)
- # clojure-dev (7)
- # clojure-europe (43)
- # clojure-gamedev (1)
- # clojure-nl (6)
- # clojure-uk (7)
- # clojurescript (51)
- # conjure (1)
- # cursive (9)
- # datascript (16)
- # datomic (14)
- # depstar (20)
- # events (1)
- # exercism (17)
- # figwheel-main (6)
- # fulcro (9)
- # graphql (3)
- # gratitude (2)
- # honeysql (4)
- # jobs (7)
- # leiningen (3)
- # lsp (107)
- # meander (7)
- # minecraft (3)
- # off-topic (16)
- # other-languages (4)
- # pathom (4)
- # pedestal (26)
- # practicalli (4)
- # re-frame (3)
- # reitit (7)
- # remote-jobs (1)
- # shadow-cljs (26)
- # tools-deps (67)
- # vim (19)
- # vscode (1)
Where can I find exceptions in my cloudwatch logs for datomic ions? I’m having issues where I cannot see compilation exceptions or runtime exceptions. My logs aren’t showing any errors and then my deploy just fails
Are there any known bad version combos of the Datomic peer library and yada/aleph?
Both libraries uses netty under the hood.
For example one in-house project uses aleph 0.4.6 which bundles individual netty components with version 4.1.25.Final
.
The same project uses Datomic version 0.9.5930
which bundles io.netty/netty-all 4.1.32.Final
.
Yes I know it's an old version, but it seems to work. We've recently, after upgrading Datomic and aleph, had several problems, so we downgraded again.
For the record this project is built using boot uberjar
and I don't know what/which concrete netty version is actually being used, if not some of both.
I'd rather get rid of yada/aleph (and boot), but I'm not sure that is happening anytime soon.
Thanks!
Is there a way with datalog to return the value of a field if it exists and a default value if it doesn't? 🙂 As a (simplified!) example, in:
(d/q '[:find ?active
:in $ ?name
:where [?e :thing/name ?name]
[?e :thing/active ?active]]
db name)
When :thing/active
is not set, nothing is returned. I'd like to return everything, but when :thing/active
is not set I'd like to return true
(as a default). Is that possible?This SO https://stackoverflow.com/questions/21101259/find-entities-with-missing-attributes-in-datomic answer seems promising
Hi. Tell me what the error can mean:
message "Data did not conform"
when doing push.I am at a loss to understand where to look for the error, help.
Push? Of code to Ion?
I see, and https://docs.datomic.com/cloud/troubleshooting.html#troubleshooting-ion-push does not help 🙂 It looks like an error from Clojure Spec. Perhaps re-check your config file(s) for correctness?
@U0522TWDA ion-config.edn looks like ok
{:lambdas {:ensure-sample-dataset
{:fn starter.lambdas/ensure-sample-dataset
:description "creates database and transacts sample data"}
:get-schema
{:fn starter.lambdas/get-schema
:description "returns the schema for the Datomic docs tutorial"}
:get-items-by-event
{:fn starter.lambdas/get-items-by-event
:description "return inventory items by event"}
:get-all-items
{:fn starter.lambdas/get-all-items
:description "return all inventory items"}
}
:http-direct {:handler-fn starter.http/get-items-by-event}
:app-name "<name my project>"}
what else should i check?I don't know :(