cljfx

https://github.com/cljfx/cljfx
borkdude 2019-03-13T12:39:26.012500Z

@vlaaad this works: https://re-find.it/?args=%23%23Inf%20%23%23Inf&ret=number%3F The NaN case probably fails because of (= ##NaN ##NaN), Iā€™m not sure re-find should support it šŸ™‚

vlaaad 2019-03-13T12:40:13.012900Z

so not-a-number is a number, heh šŸ˜„

borkdude 2019-03-13T12:40:34.013200Z

as a workaround you can do this: https://re-find.it/?args=%23%23Inf%20%23%23Inf&ret=%23%28%3D%20%22NaN%22%20%28str%20%25%29%29

borkdude 2019-03-13T12:41:27.013800Z

about cljfx, is there something that turns a cljfx app into a standalone desktop application?

vlaaad 2019-03-13T12:41:57.014400Z

should be #(and (number? %) (not= % %)) instead of #(= "NaN" (str %)) ā€” won't give false positive for "NaN" input

borkdude 2019-03-13T12:43:20.015600Z

yes, that works too

vlaaad 2019-03-13T12:44:24.016Z

> is there something that turns a cljfx app into a standalone desktop application? not in a library itself, but you should be able to assemble a stripped down jdk using jlink tool (I tried that), and after that pack stripped jdk + fat jar as a single-file executable using jpackager (which I didn't try)

vlaaad 2019-03-13T12:44:39.016300Z

probably should investigate and add to readme

borkdude 2019-03-13T12:45:14.017Z

Iā€™m just asking because this would be cool, but adding it to the README would make it more accessible yes

vlaaad 2019-03-13T12:45:39.017200Z

agree