This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-10
Channels
- # beginners (15)
- # boot (15)
- # cider (6)
- # cljs-dev (231)
- # cljsjs (1)
- # cljsrn (26)
- # clojure (147)
- # clojure-argentina (1)
- # clojure-dev (8)
- # clojure-germany (1)
- # clojure-italy (26)
- # clojure-russia (2)
- # clojure-spec (83)
- # clojure-uk (154)
- # clojurescript (123)
- # conf-proposals (3)
- # core-async (5)
- # cursive (26)
- # datascript (21)
- # datomic (120)
- # emacs (2)
- # graphql (9)
- # hoplon (195)
- # instaparse (16)
- # jobs-discuss (1)
- # leiningen (8)
- # luminus (8)
- # lumo (7)
- # off-topic (17)
- # om (7)
- # om-next (3)
- # parinfer (121)
- # pedestal (5)
- # planck (13)
- # re-frame (11)
- # reagent (21)
- # ring-swagger (2)
- # spacemacs (28)
- # uncomplicate (3)
- # unrepl (7)
- # untangled (34)
- # vim (5)
@bherrmann Max, not Maxwell I think?
@pesterhazy Yes, Max not Maxwell. https://en.wikipedia.org/wiki/Max_Planck
Yeah. My thinking at the time was surrounding startup time. I thought of the shortest time possible, and that’s where the name came from. https://en.wikipedia.org/wiki/Planck_time
Interestingly, if you can get below 80 milliseconds, because of the way the human brain works, you can’t perceive any latency. If you are curious about this effect: https://blogs.scientificamerican.com/observations/time-on-the-brain-how-you-are-always-living-in-the-past-and-other-quirks-of-perception/
so what would be needed to get cljfmt working with planck? in my first try I couldn’t get the read-resource
macro working, I think there’s something I don’t yet understand with clojurescript macros. https://github.com/weavejester/cljfmt/blob/master/cljfmt/src/cljfmt/core.cljc#L26
@kommen I suppose you could make a Planck-specific version that makes use of
and planck.core/slurp
. What specific issue are you encountering?
@kommen If you don’t want to make a Planck-specific version, you might be able to get away with monkey-patching it after it has been required (assuming you can get that far). If so, planck.core/intern
might be useful.
Of course, @mfikes should’ve mentioned his effort https://github.com/abiocljs/abio. If you could use this when working with cljfmt, you’d be making it easier to port to eg lumo.
fwiw https://github.com/kkinnear/zprint already works in clojurescript
though if the goal is to speed things up, see https://github.com/kkinnear/zprint/blob/master/doc/filter.md#appcds-version