1,517 karma · joined Mar 15, 2023 (3y ago) · 542 submissions
comment 1d ago · link · parent
Thankfully there are plenty of great indie and AA games to try, more than a lifetime's worth.
comment 3d ago · link · parent
The programming books from my youth and my classes in college were so completely invested in Java and OO (from page 1) that it's only with hindsight that I can recognize: They never EVER gave a motive for why solutions need to be modeled that way. It might've been something like "We don't have enough memory or CPU throughput these days to be constantly copying data and performing collections", but even that is just an argument for procedural programming.
comment 6d ago · link · parent
comment 6d ago · link · parent
The question is, how integral to reasoning is compressing vast quantities of knowledge to the latent space?
comment 1w ago · link · parent
2) From std, compression (I pull the zippy package as a dependency, and have built against Brotli and other compression libaries; whether compression should be in std is I think something Araq may have commented on already).
Aside from that, nothing. Nim's compiler has an extraordinarily powerful templating engine built-in called Source Code Filters: These build text replacement procedures at compile-time, and can handle most arbitrary Nim code, including generics and the compile-time `when` conditional, although certain sugary arrangements by the default parser can't work (Nim code in SCF must be prepended with a # to mark it, and control flow blocks must have end markers). I use SCF primarily for HTML reports, which is one of my primary outputs.
comment 1w ago · link · parent
Biggest win: Single-owner scoped lifetimes by default with no annotations plus expression-oriented value semantics makes it eminently readable. Basically no memory semantics, all business logic. (It does processing of proprietary binary data including a lot of math.) Extraordinarily easy to maintain, refactor, add features. Valgrind confirms no orphaned blocks in some of our biggest test scenarios, it's impressive. Full compile-time evaluation is nice too, easy to slurp a whole file at compile-time and have it accessible in a normal binding, and writing generic procedures is obvious and simple.
Biggest pain point: Hard to say, the only friction I've really ever run into is its weak tooling. I just use Make for build scripting (invoking the compiler directly instead of using Nimble) and Sublime's built-in features for refactoring. It's small enough that print-debugging works, but I occasionally dip into FlameGraph. Nimsuggest has some...dealbreaking quirks, but successors are in the works.
comment 2w ago · link · parent
Scheme gets close but has some odd naming conventions and completely wild conventions for packages (SFRI, etc). CL's entire library is full of incredibly odd names first established at the very advent of computing. Using it can be...dense. And inconsistent, since it's not purely functional and has no dedicated data structure syntax.
comment 3w ago · link · parent
comment 4w ago · link · parent
comment 1mo ago · link · parent
Each sidebar "server" entry should be an ACTUAL SERVER, with a unique username and connection. Like Mumble, Ventrilo, and Teamspeak. Federation is a strictly worse model than what they got right two decades ago.
comment 1mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
Goose is a straightjacket by comparison. I've never enjoyed languages that plant a flag on one mechanism and force users to adapt.
comment 2mo ago · link · parent
Also, exploring minified Godot template compilation led to me distributing a 24 MB portable package (10MB zipped). Astonishingly efficient.
24.
AI Power Scaling Cuts Both Ways(nervecenter.github.io ↗)
2 points · by netbioserror · 3mo ago · discuss
comment 3mo ago · link · parent
comment 3mo ago · link · parent
Much as computers have made creation in other industries much easier, we're likely to see a glut of crap software made by non-programmers that does not meet any quality bar because these are the sorts who think "lines of code" was the hurdle to overcome.
comment 3mo ago · link · parent
It might suffice to say: The myth of sophisticated indigenous ecosystem engineers who harmonize with nature is a European trope.
Whenever any culture larger and more settled than hunter-gatherers has traditions of forest management and ecosystem balance, don't immediately attribute to them magical wisdom that Europeans somehow lack. Consider that those traditions are an ancient memory of one or more catastrophic ecosystem collapses and the practices of the people who survived them.