by Pinus · 4y ago · 0 comments
(Plain)TeX always seems the opposite of this. There is never a keyword that does what you want, but you can always do it by using five different mechanisms in concert. You always feel like you are trying to trick the system into doing something it was not designed for.
This is one of the hallmarks of human civilization.
Your hands were designed for throwing a stone at the eye of a mammoth. But you can play the violin with them! Yes; it is totally awkward and anti-natural for your hands, obviously not their intended purpose... but so beautiful!
No, they weren't designed at all.
And utility in fine as well as gross manipulation of the type you describe is clearly part of what they were selected (not designed) for.
> But you can play the violin with them
Violins, unlike human hands, were designed, and specifically for people with human hands to use. They aren't just something existing outside of humans in nature that hands happen to work with.
So, it's not at all surprising that they can be used with human hands.
This is one of the hallmarks of evolution.
How do you think wings evolved? By repurposing an appendage that was already had a purpose other than flight.
This is not true of a violin, which is of cause the product of intelligent design and is designed to fit our hands, no Awkwardness intended. Though naturally there are constraints dictated by the physics of the sound generation.
Avoiding silly theological tropes, evolution is often mistakenly referred to as a designer when it's just an emergent property of competing, replicating agents. People don't normally bother with precision though, so we are where we are.
[1] “The sculpture is already complete within the marble block, before I start my work. It is already there, I just have to chisel away the superfluous material.”
Did orangutans evolve hands to throw rocks at mammoths? No, they did not
The parent comment is making ridiculous claims without evidence
https://www.worldatlas.com/articles/what-do-orangutans-eat.h...
The anthropic principle does not imply designed, it implies suited for.
LaTeX makes it difficult to compose stuff. Even HTML did this better.
LaTeX is a cool idea, but the implementation? Absolutely horrid.
The other problem was the questionable decision by the LaTeX core team to, rather than release LaTeX3, they instead decided to evolve LaTeX2e which means that they are encumbered by backwards compatibility issues.
The noisy output from LaTeX is also not so great. One of the things I’m doing with finl is (a) assuming that there won’t be an attempt to fix errors mid-run (one of those 1982-era decisions that no longer makes sense) so a comprehensive list of errors can be presented to the user (or revealed programmatically) and (2) Adding indications in the output (which can be disabled) of errors in the input. I’m debating between errors being PDF annotations so users would click on an error or warning icon in the PDF to see the message and indication of where the issue was found, or just making it a big blot of overprinting (so many times on tex.stackexchange there are so many issues where a user—usually on Overleaf—ignored the error messages being output.
⸻
1. Actually beyond its limits. LaTeX will no longer run on a Knuth TeX executable but requires eTeX extensions to run.
This would be by far the best approach, no?
and slow. Most of the time the idiomatic pandas answer takes advantage of its vectorization capabilities while plain python would require nested loops.
Edit: My assumption is that many Python libraries are written in C for performance, but maybe that's not the case.
This is most definitely not true. Even stuff like subtle aliasing guarantees can make code run an order of magnitude faster or slower.
My conclusion is that I rather like the opinionated take of python. It might take a liiiiittle bit of a learning curve, but you do come to appreciate the zen of choices they've arrived at after a few decades of going at it.
Clearly you haven't seen https://github.com/mscroggs/realhats
[OT] Concerning "programming is about assembling composable parts": I always find both sad and ridiculous when self-proclaimed software developers bash Unix because they are not able to appreciate its philosophy.
A monolith can be just as composable if not more, with a much “stronger glue” in the form of language-mandated guarantees. Also, sometimes doing multiple things well is the better direction — IPC is additional complexity and essential complexity can’t be decomposed.
I think to really use something like that, I'd want a well-defined ordering for the fields and the ability to also do something like
variable.1
in addition to
variable.someLongFieldName
This could result in less than obvious scripts, but a shell language also needs to be compact, for interactive usage.