Fork me on GitHub
#planck
<
2017-07-10
>
pesterhazy13:07:49

@bherrmann Max, not Maxwell I think?

mfikes13:07:49

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

mfikes13:07:40

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/

kommen15:07:11

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

mfikes15:07:14

@kommen I suppose you could make a Planck-specific version that makes use of and planck.core/slurp. What specific issue are you encountering?

kommen15:07:37

ah, I didn’t know about . but how would I be able to require it in cljfmt/core?

mfikes15:07:19

@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.

mfikes15:07:12

Meaning, you might be able to intern your own read-resource* Var

kommen16:07:28

ok, thanks will have another stab at it later

slipset19:07:27

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.

pesterhazy20:07:54

fwiw https://github.com/kkinnear/zprint already works in clojurescript