This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-23
Channels
- # ai (1)
- # beginners (84)
- # boot (111)
- # cider (2)
- # cljsrn (9)
- # clojure (245)
- # clojure-italy (2)
- # clojure-mke (1)
- # clojure-russia (6)
- # clojure-spec (92)
- # clojure-uk (32)
- # clojurescript (55)
- # core-async (1)
- # cursive (8)
- # datomic (19)
- # events (1)
- # hoplon (379)
- # lambdaisland (4)
- # lein-figwheel (8)
- # off-topic (115)
- # om (18)
- # om-next (5)
- # onyx (25)
- # re-frame (8)
- # reagent (5)
- # ring-swagger (1)
- # rum (19)
- # schema (3)
- # untangled (24)
wow, that’s awesome @alexmiller ; til about supers
and those two class graph libs
We wrote a metrics callback handler for capturing Datomic peer metrics in CloudWatch which I hope might come in handy for someone else too. https://gist.github.com/geoff-kruss/4504cdcf7e017d289862ab75fc856720
@wei no - s/keys relies on being able to iterate the map and you can't do that with entity maps. There is a ticket about this. One option is to put the entity into a map first by either into or select-keys
https://www.refheap.com/49bc0c1dfa442e26d4d2af766 - how you deal with data transformation datomic <-> spec? I mean what is your data structure in situation like that and what do you use to transform it from datomic -> spec and from spec -> datomic. I can use :product/id keys in app, but then i will feel like i am doing structure especially for datomic in the app.
hmm, one thing I am noticing is I get this error even without the transactor running
ok, so setting -Xm*512m in the peer seems to have fixed it: its like the peer needs its own transactor.properties too?
@ghaskins http://docs.datomic.com/capacity.html has a pretty comprehensive explanation of all the knobs and dials on this topic
has anyone had success using this buildpack to deploy an app + datomic to heroku? It looks so nice and then i hit a: Error: Could not find or load main class clojure.main which suggests its not building the jar i think.
http://blog.opengrail.com/datomic/heroku/postgres/2015/11/19/datomic-heroku-spaces.html <-- the builder of the buildpack i used seems to suggest using the openspace isn't just for security, but is necessary. That might be my issue?
I guess ill pivot back to the AWS methods 🙂
@alexmiller re: spec and entity maps - I’ve been doing this but it’s not composable and you can’t validate a ref, for example. do you have any suggestions?
(defmacro valid? [spec m]
`(clojure.spec/valid? ~spec (into {} ~m)))
(defmacro assert [spec m]
`(clojure.spec/assert ~spec (into {} ~m)))