This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-11
Channels
- # admin-announcements (10)
- # arachne (2)
- # beginners (74)
- # boot (302)
- # cider (49)
- # cljs-dev (11)
- # cljs-edn (7)
- # cljsjs (13)
- # cljsrn (1)
- # clojure (164)
- # clojure-austin (1)
- # clojure-brasil (3)
- # clojure-finland (2)
- # clojure-greece (4)
- # clojure-russia (48)
- # clojure-uk (11)
- # clojurescript (138)
- # community-development (1)
- # cursive (13)
- # datascript (1)
- # datomic (19)
- # emacs (4)
- # events (1)
- # garden (1)
- # hoplon (123)
- # jobs-discuss (9)
- # keechma (5)
- # lein-figwheel (4)
- # leiningen (2)
- # luminus (15)
- # mount (1)
- # off-topic (8)
- # om (66)
- # on (1)
- # onyx (28)
- # other-languages (2)
- # planck (1)
- # proton (5)
- # re-frame (18)
- # reagent (15)
- # untangled (15)
I'm learning datomic right now and seeing that it works with arbitrary data could it be an replacement to filter func in clojure?
@vinnyataide: you don't like filter
? yes Datalog can be useful for declarative data manipulation and expressing rules, doesn't mean it's always better than clojure.core functions though
@vinnyataide: but given that querying is practically non-remote, nothing stops you from mixing both styles, that's one of the wonderful things with Datomic
@val_waeselynck: well I didn't say but I was asking if it blends in like the core
all right
that's exactly my point, it's very nice indeed
@vinnyataide: my everyday Datomic code mixes Datalog queries for selecting entities and clojure.core function that manipulate entities (i.e instances of the Entity class)
my next question is a little more scientific. the "bound" variables follow the same principles from the monads?
@vinnyataide: not sure what you mean by that
@val_waeselynck: no need to answer just found out, now... Is there any resource to learn datomic inserts anywhere? I'm not finding it
@vinnyataide: have you watched the Day of Datomic videos?
those + some REPL experimentation worked well for me
@val_waeselynck: all right gonna check it out and play with the api a little bit
btw stu's hair is epic 😄
an interesting aspect is that I came upon this database already thinking about a more generalized way to build immutable databases that sees the facts as timeless atoms. I commented this idea with my research teacher but was like daydreaming for him, sadly there's not much research in my area about functional programming. but I'm very happy to see this idea work so perfectly
the state machine as we know today takes pictures of the whole universe in a fraction of a clock, now this db builds atoms that represent all the dimensions that it is in, that what I got