clara

http://www.clara-rules.org/
whilo 2018-04-09T20:19:49.000181Z

hi

whilo 2018-04-09T20:20:12.000358Z

i have just stumbled over factui and finally realized that clara is like reactive dataflow base programming

whilo 2018-04-09T20:20:56.000203Z

i am working on datahike: https://github.com/replikativ/datahike and am wondering how i would stream datoms properly into clients with factui

whilo 2018-04-09T22:27:35.000118Z

one idea would be to make clara's memory durable and do a joint database

whilo 2018-04-09T22:41:24.000353Z

so a simple approach would realize the web after tomorrow scenario of @tonsky http://tonsky.me/blog/the-web-after-tomorrow/

whilo 2018-04-09T22:43:33.000312Z

on a next step one can introduce CRDTs for intermediary result sets. this would allow local and offline edits in p2p fashion, which can occur with a parallel addition of the fact to the main central database that will acknowledge the intermediary result set

whilo 2018-04-09T22:47:13.000025Z

the latter is necessary for the facts to be joinable in a synchronized fashion with other parts of the system. that would yield a very good tradeoff for data driven application development in my opinion

whilo 2018-04-09T22:49:15.000155Z

i can provide a durable sorted-map with the hitchhiker tree as a fast and transparent building blog: https://github.com/datacrypt-project/hitchhiker-tree

whilo 2018-04-09T22:49:34.000364Z

operations can be done in memory and flushed at distinct points in time

whilo 2018-04-09T22:51:37.000310Z

just to be clear the hitchhiker-tree is not from me, but david greenberg, but i have ported it to clojurescript with core.async and have used it to make datascript durable in datahike

whilo 2018-04-09T22:54:18.000290Z

i guess i would have to implement IPersistentMemory, IMemoryReader and ITransientMemory for durability, right?

whilo 2018-04-09T22:54:56.000327Z

i am not sure whether this makes sense in your opinion, would be nice to chat a bit about how do it right