This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-13
Channels
- # beginners (17)
- # boot (16)
- # cider (13)
- # cljs-dev (26)
- # cljsrn (5)
- # clojure (155)
- # clojure-belgium (2)
- # clojure-spec (19)
- # clojure-uk (4)
- # clojurescript (32)
- # community-development (16)
- # core-async (12)
- # cursive (3)
- # datomic (7)
- # hoplon (14)
- # lambdaisland (1)
- # lumo (16)
- # microservices (1)
- # off-topic (3)
- # om (5)
- # onyx (4)
- # protorepl (1)
- # re-frame (1)
- # rum (1)
- # specter (6)
- # unrepl (32)
@qqq pretty good rundown here: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop
is there a systematic way to debug: "my code works in optimizations none" BUT NOT in "optimizesona advanced" or does it just require guessing which function it's dying on ?
@qqq https://clojurescript.org/reference/advanced-compilation#fixing-advanced-compilation-issues
@anmonteiro : thanks // turned out bug was: both -none and -advanced were broken but somehow -none was on old version of code that worked thus it incorrectly appeared that -advanced broke the build
1. I'm aware of aget. 2. There is no acall. 3. Using aget, how do I rewrite (.callFoo obj 2 3) ?
Does anyone know of a performant cljs / clj 3d vector maths lib? Rolling my own but it’ll be dog slow 🙂
I have heard very good thing about https://github.com/thi-ng/geom
I still don't have a project that uses http://thi.ng, but every time I search for some library related to 3d graphics in clojure, some subpart of http://thi.ng always pops up.
@qqq as an aside, aget
only works with arrays. If it works with objects that's purely a coincidence.
How can I access the lein project version in a ClojureScript app?
@thheller to include it in error reports to Sentry.
you can probably get something semi useful using :closure-defines
and some env trickery
(.call (aget obj "callFoo") obj 2 3)
to be 100% correct, because callFoo
might want to work with this
Is there something explaining the rationale for the renaming of cljs.spec to cljs.spec.alpha?
Is this a sane way to read stdin in Node? I’m not yet that familiar with that platform:
@thheller The node.js API is documented here: https://nodejs.org/dist/latest-v7.x/docs/api/