You might get responses sooner in the designated channels - #cursive and #cider
Thanks. I just found and joined those two channels. Perhaps another answer might be to give up on those and use another IDE/environment?
I'd say that giving up on the most popular choices just because one thing (potentially easily fixable) doesn't work is more probable to cause more problems in the long run. But if you really want to try something else, IIRC VSCode + Calva is the third most popular choice.
Thanks for the suggestion! I am stalled on those two at the moment, so glad to try VSCode + Calva in hopes of getting work done.
Also a couple of things you could try independently or together: - Downgrade IDEA - Update Cursive to one of the EAP versions (participation in the EAP program can be enabled in the settings)
So far VSCode + Calva is working well. Very very helpful! Thanks!!
My Cursive version is 1.10.1-eap3-2020.3
and downgrading IDEA might be possible but it could run in to trouble with other language plugins .. so I can/will do it if necessary.
Does anybody know where I can find documentation on how to build clojurescript and run the tests? I'd like to try fixing an issue but I've always used cljsbuild and shadow-cljs, so I'm not sure how to build vanilla cljs.
https://github.com/clojure/clojurescript/wiki/Developers and https://github.com/clojure/clojurescript/wiki/Building-the-compiler seem like a good start
and https://github.com/clojure/clojurescript/wiki/Running-the-tests for running the tests
is there anything like elm-ui / theme-ui in the cljs ecosystem? closest thing Ive found is this: https://github.com/hoplon/ui
Can you explain what elm-ui/theme-ui is for those of us who haven't used Elm?
@simongray I havent used elm either, but watched a clip on it. essentially an abstraction on top of html/css that does away with the bad parts. theme-ui is similar but less ambitious, you use design tokens instead of hardcoding with pixels and hex/rgb colors
https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/
this should give a good idea
width fill, centerY, spacing 30
el [ alignRight ] myElement
these kinds of things
You can use reagent/hiccup with a simple css frame work like Bulma to accomplish the same thing.
@agold not exactly the same thing unfortunately
I haven't seen these before, but ostensibly you could build something yourself on top of theme-ui and a more barebones React wrapper
but something react based would be cool
Interesting, in Clojure:
[(mod 8.5 1.4) (rem 8.5 1.4)]
;;=> [0.10000000000000142 0.10000000000000142]
But in CLJS:
[(mod 8.5 1.4) (rem 8.5 1.4)]
;;=> [0.10000000000000053 1.5]
Ah, because (quot 8.5 1.4)
is 6.0 in Clojure, 5 in js
more like JVM and JS 🙂
haha, yes, sorry!
sicmutils.numbers-test> (/ 8.5 1.4)
6.071428571428572
sicmutils.numbers-test> (quot 8.5 1.4)
5
but this is a bug for sure, yeah @thheller? wherever the fix goes
sicmutils.numbers-test> (/ (- 8.5 (js-mod 8.5 1.4)) 1.4)
5.999999999999999
it doesn’t QUITE make it internally to the 6 it should be at. floating point shenanigans
is this sort of thing worth filing, or just JS floating point stuff that we inherit?
similar strangeness,
(rem 9037601485536036300227801N 1e4)
1.073741824E9
sicmutils.numbers-test> (rem 9037601485536036300227801N 10000)
7801N
on the JVM sidedouble on the right gets this wrong, and returns a number greater than the modulus