This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-13
Channels
- # admin-announcements (4)
- # beginners (14)
- # boot (41)
- # capetown (1)
- # carry (10)
- # clojure (168)
- # clojure-czech (11)
- # clojure-mexico (3)
- # clojure-quebec (1)
- # clojure-russia (63)
- # clojure-spec (108)
- # clojure-uk (44)
- # clojurescript (37)
- # component (5)
- # data-science (2)
- # datascript (5)
- # datomic (3)
- # defnpodcast (9)
- # dirac (14)
- # emacs (18)
- # events (1)
- # funcool (2)
- # garden (2)
- # hoplon (48)
- # leiningen (6)
- # numerical-computing (1)
- # off-topic (8)
- # om (61)
- # onyx (22)
- # proton (14)
- # re-frame (50)
- # reagent (2)
- # uncomplicate (1)
- # untangled (41)
- # vim (5)
- # yada (5)
@jumblerg: Is there just a simple Hoplon-UI demo? It looks interesting but not sure where to begin
@tbrooke: i suggest approaching it with caution right now, since it is changing constantly; i’m guessing that we’ve captured 80-90% of the use cases in some sort of implementation at this point, but we need to do a major refactoring before too many people start depending on it.
@jumblerg: can we add an ':id' tag somewhere in the flow? It's very useful when debugging 🙂
has broken submit - getting an error
ui.cljs:585 Uncaught TypeError: (intermediate value)(intermediate value)(...).call is not a function(anonymous function) @ ui.cljs:585
which I think is because the submit in the let is hiding the destructure from attrs. Over-exuberant find/replace?i'm reticent expose ids to the surface area of the api, but i do think we can modify defelem so the tag of the element itself corresponds to its symbolic name and maybe add some other attribute to assist with debugging.
lol “Launching the koala's"
@alandipert: what are you using for the dependency graphing in javelin?
@flyboarder: what do you mean by graphing? visualizing?
well i’d like to visualize it, but I was originally referring to the system itself
in the past i've written stuff to visualize using d3 via dagre-d3, http://tailrecursion.com/~alan/ttt/basic.html
unfortunately i lost the source to that 😞 but i remember it wasn't much code
since then there have been some innovations that could make graphing cells more awesome, in particular Var meta in cljs
so we could put the source code of formula cells on them, to see the formula code later in a live graph view
yeah that would be sweet
nice little version you got going on there tho!
can you elaborate on what you mean "by the system itself"... you mean like, the algorithm for doing the formulas in dependency order?
I thought you might use something like stuartsierra/dependency or maybe tools.namespace
in the same general category, but javelin's needs are different
in particular javelin supports dynamically adding new formulas at runtime
and also anonymous formulas
the algorithm is adapted from the one in flapjax, but uses an immutable priority-map instead of a mutable heap
interesting
there are basically two popular ways of doing dataflow in UI, dirty checking and propagation
2.2 of http://repository.cmu.edu/cgi/viewcontent.cgi?article=1761&context=isr explains the difference
when they say 'dataflow constraint' you can sub in equality, since that's the only constraint javelin imposes... propagation is equality based. things happen when the new value isn't equal to the previous
the mark-sweep strategy they describe is what angular does
aka dirty-checking
ok makes sense
my needs arent nearly as complex as to handle changes between dependent items so i’ll probably stick with the dependency lib
thanks for the link tho
yeah np
oh, this might be handy also if you're doing something simple https://gist.github.com/alandipert/1263783
if you have a graph, it orders them in dependency order
the nodes that is
for any map of item to sets of item
what I am trying to do is make a better version of vulcanize as a boot task, so I need dependency mgmt between files and then code inlining
oh, i would use the kahn sort thing then probably... scan the files and build up a map of file -> files it depends on
then you can get the dependency-sorted list of files by calling kahn on that map
awesome!
thanks!