This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-24
Channels
- # announcements (2)
- # babashka (31)
- # beginners (608)
- # cider (60)
- # clj-kondo (22)
- # cljsrn (28)
- # clojure (14)
- # clojure-europe (5)
- # clojure-nl (3)
- # clojure-spec (1)
- # clojure-uk (19)
- # clojurescript (38)
- # conjure (20)
- # cursive (9)
- # data-science (26)
- # datascript (4)
- # datomic (19)
- # duct (4)
- # emacs (8)
- # figwheel-main (5)
- # fulcro (7)
- # helix (15)
- # leiningen (12)
- # malli (2)
- # off-topic (20)
- # overtone (3)
- # pathom (14)
- # pedestal (10)
- # re-frame (2)
- # reitit (13)
- # ring (13)
- # shadow-cljs (18)
- # spacemacs (8)
If I create a lazy sequence in one thread (A) and pass it to another (B) which iterates over it, can I assume the computation will happen on thread B?
It’s cached and used from both so it depends
If A is not iterating, then yes it’s in B
The thread that needs an unrealized value will be the one to realize it
Which also means, be careful with your dynamic variables, because they might not be there when the value is realized (this used to bite me when I was beginning to write Clojure, coming from Common Lisp).
how do you guys do event streaming for Datomic? I just want a web app that displays live data changes with reagent
These seem good first steps: https://vvvvalvalval.github.io/posts/2018-11-12-datomic-event-sourcing-without-the-hassle.html https://docs.datomic.com/on-prem/log.html
they don’t seem to fire events, it’s more like a on-request if I’m understanding this correctly. So I guess I’m supposed to notify some thing that the log has changed and I should update some log cache?
In my previous post I didn't really find the thing I had in mind (that I vaguely remembered)
it's the transaction report queue
. Seems like this app would map quite well to your original intent (given the frontend focus): https://github.com/waf/push-demo
thanks, that seems to be what I had in mind as well
Hello, does anyone happen to have a snippet or something to easily generate mac addresses as strings ?
https://developer.epages.com/blog/tech-stories/how-to-generate-mac-addresses/ seems like a good place to start
Thanks
they don’t seem to fire events, it’s more like a on-request if I’m understanding this correctly. So I guess I’m supposed to notify some thing that the log has changed and I should update some log cache?