This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-05
Channels
- # bangalore-clj (2)
- # beginners (132)
- # boot (311)
- # cider (5)
- # cljs-dev (27)
- # cljsjs (2)
- # cljsrn (16)
- # clojure (76)
- # clojure-art (1)
- # clojure-france (8)
- # clojure-russia (35)
- # clojure-spain (3)
- # clojure-spec (2)
- # clojure-uk (11)
- # clojureindia (1)
- # clojurescript (98)
- # core-async (3)
- # css (9)
- # cursive (9)
- # datascript (7)
- # datomic (7)
- # emacs (30)
- # jobs (1)
- # lein-figwheel (7)
- # london-clojurians (1)
- # lumo (14)
- # off-topic (6)
- # om (1)
- # planck (3)
- # protorepl (1)
- # re-frame (27)
- # reagent (17)
- # spacemacs (10)
- # untangled (1)
- # yada (16)
I'm experimenting with offline-first app with cljs+reframe+pouchdb/couchdb, I'm all hears if there are other dbs
@lsenta: https://github.com/metasoarous/datsync <-- have not tried it yet
I was looking for datascript (cljs) <-> datastore (gae), but the closest I've found is datascript <-> datomic
@lsenta: how does pouchdb's merging work? I was looking into it, but did not figure that partout
What are you trying to do? Have you tried pouchdb before looking into (state of the art)+1 techs? 🙂
@lsenta: I saw Elixir/Phoenix Presence, was trying to understand it, run into "Delta-State based CRDTs" -- and now, everything I read leads to CRDTs.
@qqq after a quick look, it looks like CRDT is all about commutative operations: all your replicas live their life and sometime they share data (whether deltas or the full database). Eventually, and because their can't be any conflicts, all your data is replicated.
then they go into heavy math using unions and sigmas, and I"m thikning "just give me a damn concrete example" 🙂
it also turns out that not all ops on all datastructures can be mapped this way, so the field becomes a bag of tricks of "what ops on what data structures" can be mapped this way
Yea, that's why I miss to see the improvement, let me know if you find more details or any practical example
I'm clearly not qualified to defend CRDT, but I think the goal is: instead of everyone rolling their own eventual-consistent techniques let's just formalize things (like how we have big-Oh notation for vectors, lists, heaps, etc ...) let's ust formalize: here's a list of data structures here's a list of ops you can do CRDTs on qed
Odd... using a method as a reagent component used to work well and now it isn't. I'm not sure why.
Just revisited the re-frame documentation and WOW it's simply amazing! Easily one of the best docs I've ever seen, it's almost like a book now! 👏
i'm probably missing something... does anybody else think that it would be a good idea to have "bootstrap" as an option to the re-framed template?
@pupeno as in a multi-method? It's still working here... in what way is it not working for you? What version of the various cljs/reagent/re-frame?
@sandbags it doesn't properly re-load the component when it changes. ClojureScript 1.9.299, Reagent 0.6.0 and Re-Frame 0.9.1.