48 karma · joined November 8, 2023
However, arrays of a single type are just enormously common in applications. Support for arrays is pretty much ubiquitous in other languages, including ones that are in the same general dynamic space.
Internally Lua does treat arrays in their own pathway to keep performance reasonable. There is also some user facing special syntax for arrays. Arrays should be part of the core language — some learning overhead for the newcomer but worth it.
https://github.com/nessan/xoshiro
Documented at: https://nessan.github.io/xoshiro/
Handles the full family of these generators featuring arbitrary jump sizes, stream partitioning for parallel applications, and, like this library, a number of convenience sampling methods to shield the casual user from the complexities of using <random>.
Can be used with a companion `bit` library (https://github.com/nessan/bit) that performs efficient linear algebra and polynomial reduction over GF(2) for those that want to explore some of the mathematics behind these linear generators.
American students are mostly rich by any global standard and very, very lazy. Doesn’t matter a huge amount as they don’t matter — they will amount to nothing anyway. The States imports enough talent to make up for the lacuna. In the meantime, their parents pump cash into what will become their Alma Maters.
When I went to an Ivy League US university as a grad student I was astonished at the remedial nature of undergraduate courses. Content that students in my country mastered at 13 needed to be spoon-fed to US students that were 5-6 years older.
Even back then almost nobody failed a course in the US. It was a major deal to fail someone. I came from a culture where the standard was absolute. No curve. Get below z% and you spent the Summer getting ready for a retake. Fail that, and you were out.
Education was paid by the State so it wasn’t a business. Profs could fail 20 - 40% of a class and often did.
It is astonishing that a Philosophy prof is seeing this. Who the fuck does philosophy at Uni and can’t be arsed to read the recommended texts?
He/she is a full Prof. Almost impossible to fire. So fail the lot of those entitled, lazy, bums I say. Enjoy that tenure!
Totally brain-dead. Like pricing a car by the number of o-rings in the engine.
Typst is technically interesting but it doesn’t appear to have a driver (a person, a Zuck, a Bezos, a …) with a business/power-hungry brain at the top table. Forget paper/PDF, and for the love of God forget TeX/LaTeX. All — absolutely all, resources should be focused on web/HTML. Rank-order your priorities. Using all cores in a CPU to produce something for a printer is not even on page 33.
Focus please and make the web a friendlier place for exploring/expositing science/knowledge. It’s annoying because you tapped into something but seem to not understand the little ledge you have carved out. Wishing you a explosive success!
I came across MTW’s “Gravitation” as a student in the 70’s and it inspired a positively unreasonable desire to own a copy just because it looked so beautiful. Couldn’t afford the doorstop of a book at that time but happily it is still in print 50 years later.