This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-15
Channels
- # aws-lambda (3)
- # beginners (37)
- # boot (294)
- # carry (1)
- # cider (38)
- # cljs-dev (37)
- # cljsjs (88)
- # clojure (187)
- # clojure-android (2)
- # clojure-austin (1)
- # clojure-dusseldorf (9)
- # clojure-hk (3)
- # clojure-italy (12)
- # clojure-russia (36)
- # clojure-spec (55)
- # clojure-uk (27)
- # clojurescript (75)
- # community-development (5)
- # conf-proposals (2)
- # copenhagen-clojurians (3)
- # cursive (9)
- # datomic (54)
- # devcards (5)
- # devops (3)
- # dirac (69)
- # emacs (6)
- # ethereum (1)
- # euroclojure (1)
- # events (3)
- # funcool (1)
- # hoplon (20)
- # immutant (4)
- # luminus (14)
- # midje (4)
- # om (178)
- # om-next (2)
- # onyx (47)
- # pedestal (19)
- # protorepl (20)
- # re-frame (14)
- # reagent (54)
- # ring (2)
- # ring-swagger (7)
- # test-check (10)
- # uncomplicate (11)
- # untangled (9)
- # yada (9)
top-level set!
calls seem to be elided during advanced optimizations, is that unexpected?
@martinklepsch what is the target object of that set!
? I think setting something on your own object which is not used will be elided
target was a foreign js lib so js/Dropzone.prototype.something
or maybe you need some extern to tell it that Dropzone.prototype is external thing and should not be elided?
right, externs are provided
The particular thing isn't used anywhere else but js/Dropzone
is
I'll see if I have time to create a repro, maybe it was also just some intermittent weirdness
Currently, it seems that Contrib Clojure projects cannot be portable with cljc. See https://github.com/clojure/math.combinatorics/pull/3
@alexmiller’s note:
Please note that currently Clojure contrib projects with cljc cannot be built in the Clojure CI system (due to a stack of yaks). The only project currently using cljc is test.check, which must be built through a painful manual process. Because of that, I would prefer to delay this until that issue is fixed.
We have mapped out the path to fixing this issue but it's been delayed due to other work. It is considered an important issue to fix and we do intend to do it.
Who knows what is the status of this issue?
But I expect to work on it soon
soon is days, weeks or months?
I have a nice demo of using math.combinatorics/permutations
to solve a not-so-easy arithmetic riddle
and I understand
The riddle is:
find the permutation of 3 numbers x,y,z where x has 3 digits, y has 2 digits and z has 1 digit with distinct digits between 1 and 6
such that a*b*c is maximal
The solution is here: http://app.klipse.tech/?cljs_in.gist=viebel/e52e5fecb6dae2372640c02e1ce97427&external-libs=[https://raw.githubusercontent.com/viebel/math.combinatorics/master/src/main/clojure/]
I am loading clojure.math.combinatorics
from my github fork
It would be nice to have combinatorics
in clojurescript
But I’ll be patient...
once the CI server can handle .cljc, I’m sure the rest is up to the community to patch libs
Yeah. Usualy, it’s not so hard to patch
and to test with planck or klipse that it self-host compatible
Definitely