off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
2021-02-17T00:51:48.428300Z

Related: https://www.youtube.com/watch?v=XONRaJJAhpA

2021-02-17T16:15:04.431900Z

1
2021-02-17T18:43:21.433Z

Well, this is a new low for me and my JS journey. Been fighting with an issue of getting duff data back from our backend when I was querying it with dates parsed out of "data" labels on elements on the front end.

2021-02-17T18:43:36.433400Z

when making a new date year and day is sane, but months are zero based...

2021-02-17T18:48:03.433500Z

Not sure how many years you have been doing programming, and in what kinds of variety of programming languages / libraries, but these kinds of differences are legion in software development. https://www.google.com/search?q=dictionary+legion

dpsutton 2021-02-17T18:53:28.433800Z

https://www.hillelwayne.com/post/always-more-history/

dpsutton 2021-02-17T18:53:41.434400Z

Good explanation of how that came to be

2021-02-17T20:24:12.435800Z

to this day arrow keys are not part of character sets, but rather are hard coded escape codes for terminal(emulator)s

Thomas Moerman 2021-02-17T20:37:20.435900Z

This calls for a repost of WAT! #js https://www.destroyallsoftware.com/talks/wat

1
mjw 2021-02-17T22:04:57.436900Z

JS Date was basically adopted directly from the initial implementation of java.util.Date and therefore has a lot of the same issues that can’t be fixed due to backward compatibility.

emccue 2021-02-17T22:21:53.437100Z

if only java started with its current time api

emccue 2021-02-17T22:21:59.437300Z

then js would have a sane one too

roninhacker 2021-02-17T22:37:16.437700Z

kind of a weird question, but: anyone know of an equation editor that lets you manipulate expressions with the same facility as paredit lets you deal with sexprs?

roninhacker 2021-02-17T22:38:16.438500Z

Like, that treats equations as trees, rather than strings?

2021-02-17T22:39:28.440100Z

I doubt that "with the same facility" applies to my examples, but MS Word has (or had in some version) an math equation editor that was kinda WYSIWIG and structural. I forget whether LyX does, but it might.

2021-02-17T22:40:12.440800Z

The Wikipedia page on MathML shows an s-expression version of a MathML equation: https://en.wikipedia.org/wiki/MathML

roninhacker 2021-02-17T22:47:11.443400Z

Yeah, I'm explicitly being spoiled here: I want to do this stuff by muscle memory. It seems like there's a million-and-a-half things for authoring math, but very little for actually doing it.

roninhacker 2021-02-17T22:47:56.443800Z

I figured if anyone would know it'd be clj community, ha

2021-02-17T23:10:12.444400Z

Like symbolic algebra simplification / integrals /etc like Mathematica and several open source packages can do?

roninhacker 2021-02-17T23:11:53.445300Z

maybe? I haven't opened Mathematica in a while, but I remember being disappointed

roninhacker 2021-02-17T23:12:21.446300Z

but, like, idk, let me go see

borkdude 2021-02-17T23:12:22.446400Z

Maybe take a look at https://github.com/sicmutils/sicmutils for inspiration

roninhacker 2021-02-17T23:21:47.447400Z

hmm, sicmutils itself isn't what I'm looking for I think, but it looks like there might be some pieces of interest inside of it, thanks

roninhacker 2021-02-17T23:21:54.447700Z

also, tyvm for sci @borkdude

👍 1
2021-02-17T23:48:12.448400Z

depending on what you mean by "doing math" https://github.com/latte-central/LaTTe might be interesting as well