This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-08
Channels
- # admin-announcements (3)
- # arachne (1)
- # aws (2)
- # beginners (10)
- # boot (287)
- # cider (5)
- # clara (2)
- # cljs-dev (150)
- # cljsjs (2)
- # clojure (99)
- # clojure-austin (1)
- # clojure-brasil (1)
- # clojure-dev (13)
- # clojure-greece (55)
- # clojure-japan (1)
- # clojure-nl (2)
- # clojure-russia (24)
- # clojure-spec (184)
- # clojure-taiwan (1)
- # clojure-uk (45)
- # clojurescript (55)
- # clojurex (1)
- # cursive (20)
- # datascript (16)
- # datomic (1)
- # devcards (4)
- # events (10)
- # figwheel (1)
- # funcool (7)
- # hoplon (48)
- # immutant (1)
- # jobs (6)
- # lambdaisland (2)
- # lein-figwheel (19)
- # mount (36)
- # off-topic (37)
- # om (16)
- # om-next (17)
- # onyx (29)
- # planck (53)
- # proton (1)
- # pure-frame (1)
- # re-frame (40)
- # reagent (44)
- # remote-jobs (1)
- # ring (2)
- # robots (2)
- # rum (5)
- # slack-help (4)
- # spacemacs (27)
- # specter (82)
- # test-check (18)
- # test200 (1)
- # untangled (17)
@jumblerg: I've been trying to get hoplon.ui working as a library. I'm still getting errors like 'WARNING: Bad method signature in protocol implementation, hoplon.core/IHoplonParent does not declare method called -append-child! at line 51 C:\Users\rigalo\.boot\cache\ tmp\Users\rigalo\Desktop\Dev\hoplon\ui-demo\9m4\-x19f70\index.html.out\hoplon\ui\elems.cljs'
Do I clone hoplon into the hoplon/ui project directory (v2) before i 'boot build'?
Ok, I think I missed that step. I'll try it now.
@jumblerg: It's compiling without errors!!! Thanks. My git-fu is weak..
Can you give me a simple basic function snippet to test in the browser.
I'll start digging for the api though..
Is there a hlisp function that will pretty print and arbitrary cljs data structure to html?
Sorry I was unclear. I have the datastructure, a deeply nested map. Is there a hlisp function that will turn it into some readable html?
@mac: you can do something like this
(pre (cell= (with-out-str (cljs.pprint/pprint data))))
@mac: i bet there is something like a html representation of clojure data in the code for the google chrome clojurescript extension
are there any examples out there using castra and transit to communicate jodatime dates?
@jjttjj: i think perhaps converting them to java.util.Date before serialization might be an easy way to get it working
@micha have you seen this? https://github.com/kennytilton/its-alive
i guess it moved here -> https://github.com/kennytilton/rube
at first glance the code looks like common lisp moreso than idiomatic clojure, which is understandable considering the author
yeah by limiting it we can make some things work, like formulas with side effects for instance, without needing more primitives
i'm interested to see if he's found a way to get around the weak reference problem in his cljs implementation
the problem is that cells need to hold references not only to the cells they depend on, but also to the cells that depend on them
we'd like to have the references to the cells that depend on them be weak refs, so the cells that depend on them can be GC
so in javelin they never get garbage collected, just removed from the sink when it's cell is destroyed https://github.com/hoplon/javelin/blob/master/src/javelin/core.cljs#L55