This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-15
Channels
- # admin-announcements (3)
- # aws (1)
- # beginners (1)
- # boot (73)
- # cider (1)
- # clojure (146)
- # clojure-japan (4)
- # clojure-nl (3)
- # clojure-russia (90)
- # clojurescript (72)
- # community-development (17)
- # core-async (10)
- # cursive (60)
- # datomic (15)
- # devcards (7)
- # emacs (5)
- # events (5)
- # hoplon (3)
- # instaparse (3)
- # ldnclj (48)
- # leiningen (5)
- # off-topic (27)
- # om (120)
- # onyx (31)
- # re-frame (7)
- # reagent (7)
- # ring-swagger (17)
- # yada (3)
hi, all! i'm pretty new to clojure and just started trying out datomic. i just got the latest (0.9.5327) and have gone through the tutorials with the shell. however, i can't seem to get the console running as i hit the following: Exception in thread main java.lang.IllegalAccessError: tried to access method clojure.lang.RT.classForNameNonLoading(Ljava/lang/String;)Ljava/lang/Class; from class datomic.console.error
specifically the last post on https://groups.google.com/forum/#!topic/datomic/4BwCDxs6zKw
Hi everyone, i'm really new to datomic, well i need advice, i got datomic free 0.9.5302 , when i use (d/create-database "datomic:<free://localhost:4334/sample-database%22|free://localhost:4334/sample-database">) => true but (d/connect "datomic:<free://localhost:4334/sample-database%22|free://localhost:4334/sample-database">) =>NullPointerException com.google.common.base.Preconditions.checkNotNull (Preconditions.java:191) Problem didn't occur when i use datomic:mem Any advice, please?
@caskolkm: Something like:
(defn retracted-datoms
[db]
(let [hdb (d/history db)
present? (fn [_ datom]
(not (:added datom)))
ret-db (d/filter hdb present?)
ret-datoms (d/datoms ret-db :eavt)]
(seq ret-datoms)))
@caskolkm: to follow up on that, if you can limit by attribute or entity or something, can query the retraction filtered history db much faster
how do I edit my comment, query not filter constraints by attr 😛 — though you could do it there, maybe should?
ok, that entire thing was spurious b/c I started w/Marshall’s filter, but w/query by specific attr you don’t need that of course, can just do history query
any particular reason why "fuzzy query" (`foobar~`) on a :db/fulltext
attribute doesn't work, but prefix query does (`foobar*`)?