This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-16
Channels
- # announcements (2)
- # beginners (50)
- # boot (80)
- # calva (4)
- # cider (58)
- # cljs-dev (11)
- # clojure (140)
- # clojure-brasil (1)
- # clojure-denver (1)
- # clojure-dev (10)
- # clojure-europe (8)
- # clojure-finland (2)
- # clojure-italy (5)
- # clojure-nl (2)
- # clojure-quebec (1)
- # clojure-spec (2)
- # clojure-sweden (4)
- # clojure-uk (94)
- # clojurescript (98)
- # cursive (19)
- # data-science (1)
- # datascript (9)
- # datomic (43)
- # emacs (2)
- # fulcro (29)
- # graphql (41)
- # hoplon (15)
- # jobs (2)
- # kaocha (4)
- # liberator (24)
- # off-topic (9)
- # perun (1)
- # re-frame (11)
- # reagent (17)
- # reitit (8)
- # remote-jobs (2)
- # rum (2)
- # shadow-cljs (24)
- # spacemacs (1)
- # specter (1)
- # tools-deps (21)
So once the repl is running, I manage to call the push
function in datomic.ion.dev
, (datomic.ion.dev/push {})
, although I'm getting the following error IOException CreateProcess error=2, The system cannot find the file specified java.lang.ProcessImpl.create (ProcessImpl.java:-2)
Not sure how to debug this and what could be wrong, has anybody ever encountered this?
Is there a way to define which bits of a schema a peer server can use? It looks like filters (https://docs.datomic.com/on-prem/filters.html) could be used for this but it doesn't seem to be their intended use case. Is there a better option? The best practices guide briefly mentions aliasing schema elements for different applications, is that a better direction?
Are reverse navigations always cardinality many
unless they are :unique
@dustingetz isComponent
isComponent implies a 1-1 relationship, so the reverse of an isComponent attr will be cardinality-one
ah yes
I wonder if every isComponent should also assert unique just to get the extra constraint checked
is unique ref a thing?
it is possible to transact a ref to someone else's component entity
although frowned upon
Yeah. so unique scalars aren’t refs so you can’t pull them backwards; unique refs are :many; so it’s just component refs that are :card/one
Thank you
@dustingetz I think card-many isComponent will also have reverse-ref card-one
what does will release Clojure resources
mean specifically? kill the process with the peer? or just terminate things like the core async thread pool?
unless you have another non-daemon thread running your process will probably die after that
Given a datomic DB or schema, what do people use to generate an entity-relationship diagram? escherize/drytomic, or perhaps Hodur can be used this way?
setting up schema at work. i was prototyping with :db/valueType
ref but now i prefer to go to string. The docs say there is no way to do this. What should i do at this point? Must I come up with a new name for my attribute? Can i do some renaming shenanigans? This is all on our test db