This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-18
Channels
- # aws (1)
- # aws-lambda (1)
- # beginners (48)
- # boot (15)
- # cider (3)
- # cljs-dev (4)
- # cljsrn (4)
- # clojure (241)
- # clojure-chicago (1)
- # clojure-dusseldorf (12)
- # clojure-greece (41)
- # clojure-italy (3)
- # clojure-russia (16)
- # clojure-spec (7)
- # clojure-uk (34)
- # clojurescript (88)
- # community-development (9)
- # cursive (8)
- # data-science (55)
- # datomic (40)
- # devops (1)
- # emacs (20)
- # fulcro (19)
- # graphql (3)
- # hoplon (46)
- # luminus (11)
- # lumo (4)
- # off-topic (27)
- # onyx (26)
- # other-languages (25)
- # pedestal (2)
- # powderkeg (6)
- # re-frame (11)
- # reagent (4)
- # ring-swagger (17)
- # rum (4)
- # shadow-cljs (103)
- # spacemacs (14)
- # specter (6)
- # unrepl (21)
- # yada (1)
@flyboarder @alandipert what's up with .hl
files and dependencies?
basically dont use them in libraries
otherwise whoever consumes the library needs to use the boot-hoplon task
ah ok, so make sure everything is just .cljs
@thedavidmeister also, are you available for hire at all in the future? possibly for contracted/part-time work?
yup 🙂
atm i just do ad-hoc contracts and work remotely
so, available for whatever...
@thedavidmeister awesome, I’m having difficulty finding clojure devs in my area, and now that we have funding i’d like to move things along as quickly as possible Amelia said she was working with you so I thought it would work well if I could get you onboard
yeah for sure, milly was telling me a bit about what you've been working on
sounds interesting
want to organise a hangout?
yeah sounds good!
well i am available after 3pm today if you want, it's 12:20 now
yeah sure, that’s about 10:30 my time
am or pm?
pm but im heading into the office once everyone is off the network to do some stuff
so i’m available until very late tonight
im -7 MST
ok sure
well we can keep it quick so you can your shit done 😉
@flyboarder what's your email? i'll send a calendar invite
cool, sent
is there any way to get at the reset!
of a cell directly?
when i add-watch
on an atom, the callback fn is triggered every time reset!
is called, even if the old and new values are the same
cells seem to follow the propagation graph logic even at the add-watch
level, so the callback is only triggered if old and new values change
however, this doesn't seem to be the case for lens callbacks, the update callback of a lens is always called even if subsequent calls are passed the same argument
is there any way to get at/inject a callback for updates against a cell that is not a lens?
is this question identical to the discussion we all had the other day? 😛
@alandipert ^^ FYI, would love to hear your thoughts on this tx, i know we discussed something similar a while back
thedavidmeister that's a really interesting distinction, i'm not sure if it's intentional. i would guess it is, since the "implementation" of a lens might not follow value diff semantics and so the "raw" reset is useful.
@alandipert @thedavidmeister been looking through javelin’s code, still boggles my mind but I found that lenses are always updated and input cells update their state then propagate the cell, the issue for @thedavidmeister is line 25 https://github.com/hoplon/javelin/blob/master/src/javelin/core.cljs#L25 deep in the propagation code, I don’t see an easy way to circumvent this or provide our own propagation implementation, but perhaps thats the real issue, no way to set a custom propagator
I think something like the hoplon multimethod idea would work well here, use a multimethod to do the propagation and override that when we want something else to happen
@alandipert @micha is there a document available that the javelin cell graph is based on? like a research paper or something?
flyboarder part 3 "implementation" of http://cs.brown.edu/~sk/Publications/Papers/Published/mgbcgbk-flapjax/paper.pdf is maybe the best high level description of the general technique
flyboarder and this is a simplified implementation in clj https://github.com/alandipert/plumbata/blob/master/src/alandipert/plumbata.clj
re: that pdf, just looked at it, section 3.4 in particular has the juiciest bits
@alandipert cheers!
that's the way i went with my cell.js which i haven't polished or shared yet
... you can pass cells the test function to use when making them. weird/bad things become possible