This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-12
Channels
- # bangalore-clj (4)
- # beginners (77)
- # boot (71)
- # cider (10)
- # clara (1)
- # cljs-dev (52)
- # cljsjs (28)
- # cljsrn (1)
- # clojure (390)
- # clojure-dev (5)
- # clojure-india (1)
- # clojure-italy (5)
- # clojure-nl (24)
- # clojure-poland (4)
- # clojure-russia (123)
- # clojure-spec (71)
- # clojure-taiwan (2)
- # clojure-uk (8)
- # clojurescript (236)
- # core-matrix (6)
- # cursive (19)
- # datomic (16)
- # defnpodcast (2)
- # editors (1)
- # emacs (36)
- # garden (2)
- # hoplon (5)
- # jobs (1)
- # jobs-discuss (10)
- # juxt (47)
- # luminus (4)
- # lumo (6)
- # off-topic (207)
- # om (1)
- # onyx (20)
- # pedestal (40)
- # perun (2)
- # re-frame (8)
- # reagent (48)
- # ring (2)
- # ring-swagger (2)
- # specter (13)
- # unrepl (89)
- # vim (6)
How to do a 'group by'-like query? Having a dataset like:
1 yes
2 no
3 no
4 yes
...
I'd like to count how many times there's a yes
and a no
, so resulting in:
[["yes" 23]
["no" 19]]
@marshall got it, thx!
Hey folks, I have a colleague who's really stuck on Java setup of Datomic. If it were Clojure, I could help and/or point him here, but I have zero idea where folks go for help with Java Datomic. Can anyone clue me in on that?
I’m thinking of serializing entitymaps as an id and a t-value to store in some external system (e.g. Redis). has anyone taken this approach, or have already written an EDN tag-reader?
@eggsyntax the mailing list would probably be good https://groups.google.com/forum/#!forum/datomic
I’m trying to specify a time for a transaction as described here: http://docs.datomic.com/best-practices.html#set-txinstant-on-imports Does anyone see what I’m doing wrong here?
@(d/transact conn [{:db/id (d/tempid :db.part/user) :ti.location/name "somewhere"} {:db/id "datomic.tx" :db/txInstant #inst "2017-04-12T20:26Z"}])
datomic.impl.Exceptions$IllegalArgumentExceptionInfo: :db.error/not-an-entity Unable to resolve entity: datomic.tx in datom ["datomic.tx" :db/txInstant #inst "2017-04-12T20:26:00.000-00:00"]