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.
when making a new date year and day is sane, but months are zero based...
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
Good explanation of how that came to be
to this day arrow keys are not part of character sets, but rather are hard coded escape codes for terminal(emulator)s
This calls for a repost of WAT! #js https://www.destroyallsoftware.com/talks/wat
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.
if only java started with its current time api
then js would have a sane one too
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?
Like, that treats equations as trees, rather than strings?
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.
The Wikipedia page on MathML shows an s-expression version of a MathML equation: https://en.wikipedia.org/wiki/MathML
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.
I figured if anyone would know it'd be clj community, ha
Like symbolic algebra simplification / integrals /etc like Mathematica and several open source packages can do?
maybe? I haven't opened Mathematica in a while, but I remember being disappointed
but, like, idk, let me go see
Maybe take a look at https://github.com/sicmutils/sicmutils for inspiration
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
also, tyvm for sci @borkdude
depending on what you mean by "doing math" https://github.com/latte-central/LaTTe might be interesting as well