This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-01
Channels
- # aleph (1)
- # bangalore-clj (5)
- # beginners (24)
- # boot (113)
- # cider (42)
- # cljs-dev (2)
- # cljsjs (2)
- # cljsrn (3)
- # clojure (37)
- # clojure-austin (4)
- # clojure-brasil (3)
- # clojure-france (55)
- # clojure-greece (15)
- # clojure-ireland (4)
- # clojure-italy (13)
- # clojure-russia (37)
- # clojure-spec (50)
- # clojure-uk (31)
- # clojurescript (49)
- # component (12)
- # consulting (1)
- # cursive (6)
- # datascript (9)
- # datomic (27)
- # editors (2)
- # garden (1)
- # hoplon (18)
- # jobs (1)
- # klipse (25)
- # lein-figwheel (1)
- # leiningen (1)
- # luminus (2)
- # om (53)
- # om-next (8)
- # onyx (5)
- # parinfer (4)
- # perun (4)
- # re-frame (13)
- # remote-jobs (1)
- # ring (1)
- # ring-swagger (3)
- # rum (52)
- # spacemacs (36)
- # specter (13)
- # sql (3)
- # untangled (49)
- # vim (11)
- # yada (9)
Is there a simple way to tell pull api to return all attributes on the entity but no component entities? Wildcard with no depth I guess.
So the best/only way is to specify all the attributes you want in the vector?
or you can load them lazily via Entity
@kirill.salykin cheers 🙂
is there a literal syntax for uri in datomic? i get errors when trying to insert facts?
:bracket/thumbnail "assets/thumbs/gt-c1.jpg”
that one fails saying that it is not a valid uri
how does one insert an URI using REST api :thinking_face:
@karol.adamiec :db.type/uri maps
to java.net.URI.
so...
@(d/transact conn [[:db/add #db/id[:db.part/user] :some/image (java.net.URI. "")]])
should be something like...
curl -X POST -H "Content-Type: application/edn" -d
"{:tx-data [{:db/add #db/id[:db.part/user] :foo (java.net.URI. "")}]}"
When querying :tx-data
return from a transaction, is there a way to refer to attributes by their db:ident
rather than their :db/id
?
I haven’t made any account or permission changes in the meantime. I also have a dev server that hits the same store if that makes any difference
Basically it requires me to completely rebuild my environment to get working again. Thoughts?
@karol.adamie #uri “
easy way to see is to make one with Java ctor and (prn)
it 🙂
@georgek, same thing just happened to me. I was using this install for 3 weeks, and now this happened. java.lang.ClassNotFoundException: org.jboss.netty.channel.socket.nio.BossPool java.lang.NoClassDefFoundError: org/jboss/netty/channel/socket/nio/BossPool
@psavine42 Wierd, glad to know it’s not a completely isolated incident! Have also had to rebuild your env or did you find something less time-consuming? (assuming you have enough of a similar setup of course)
@georgek no, this just happend at the end of my day, and I am just now getting back to it and figured i would come on here... and wouldn't you know. Is env rebuild what solves it for you?
Yep, that tends to reset everything. I think it is correlated to load, as if some instances die or are born corrupt(?)….