Better HN
topnewbestaskshowjobs
Log inSign up

netbioserror

1,517 karma · joined Mar 15, 2023 (3y ago) · 542 submissions

Submissions

comment 1d ago · link · parent

AAA is redundant. Budget and fidelity can't buy your way into the brand loyalty of IP that started 20-30 years ago. The entire premise of spending lots of money on making a video game is a false start given the circumstances and tastes of today, and many, MANY executives are going to get exactly the wrong ideas from GTA6.

Thankfully there are plenty of great indie and AA games to try, more than a lifetime's worth.

comment 3d ago · link · parent

And it did. Clojure and Rich Hickey helped me understand that the most basic units of computation, data and functions, really are the simplest and most general-purpose tools for thinking about and modeling problems.

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

Nim has opt-in RC using the `ref` keyword; the default is stack-managed single-owner lifetimes, including for heap types. Passing is borrowing by default, while moving must be explicit; the vice-versa to Rust's approach. Data is technically cleaned up by the RC's procedures, but the destroy hooks are always called at the end of scope. And like I said, `ref` or `ptr` short-circuits that.

comment 6d ago · link · parent

The more abstractly reasoning can be modeled, the better. It means knowledge can be externalized to discrete knowledge bases and queried when needed, and models can be run locally with lower and lower energy hardware.

The question is, how integral to reasoning is compressing vast quantities of knowledge to the latent space?

comment 1w ago · link · parent

1) From std, a fully Nim-native tiny regex engine (the tinyre package fills this need, and I think it should be the default; the default regex engine brings in PCRE as a dependency).

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

It has a scoped responsibility, does mostly compute and data processing. Invoked by a PHP backend, single-threaded, we get parallelism at invocation rather than internally. So we can saturate server threads optionally if we need to.

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 1w ago · link · parent

Using Nim in production, AMA.

comment 2w ago · link · parent

It's immutable, has bracket syntax for data structures, and most of its standard library has very sensible naming and nil-sentinel conventions. The result is that it's astonishingly easy to read and write. The data structure sharing under the hood also keeps it performant. Finding and obtaining packages with its build systems is also easy.

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

"Proper", "consensus", "discourse", "corrupted", "real democracy". You're an idealistic true-believer well beyond fault.

comment 3w ago · link · parent

Most of those countries have not been democracies for very long. The United States used to have many of those checks and balances, all of which were systematically ripped out by the relentless political machine. Give it another century, and even with proportional voting or citizen's veto's, things will still probably end up in a similar state.

comment 4w ago · link · parent

When you stop judging systems by their design intent and instead by their outcomes, it makes perfect sense. Democracies inexorably diffuse responsibility until its component entities are distant enough from punishment that hiding power levers becomes an easy advantage to grab for, whether the justification is internal or external conflict. All that's needed is for the necessary overseers to be rubber stamps.

comment 1mo ago · link · parent

Reticulum. Encryption-required mesh-routing alternative to the IP stack. Can route over just about any medium (piggyback IP, Lora, WiFi, Bluetooth, USB, microwave P2P, anything). Also future-proofed with support for high-bandwidth persistent connections.

comment 1mo ago · link · parent

Federation is annoying. Why does every Discord alternative insist that your whole interface, including the "server" list, is dedicated to one instance, as targetable and inconvenient as that is?

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

Same for firmware, kernels, drivers, everything. I'm not an AI diehard but the medium-term potential for LLMs undercuts huge swathes of entire markets. For the long-term 10+ year vision, just put these capabilities in an open local model running on a 5W phone chip with no loss in quality or speed. Software rent-seeking will die, and for-purchase models are seriously threatened.

comment 1mo ago · link · parent

It's the only country in the hemisphere without another functional demonym. Posts like yours are vapid, pedantic, and tiresome.

comment 2mo ago · link · parent

I would think the dominating factors in Oregon and California are their uplifted soft geologies. The orogenies that lifted the West have resulted in an elevated, cliff-bounded sandy coastline along the Pacific that has been aggressively eroding for a lot longer than humans have been there.

comment 2mo ago · link · parent

If mass is proportionally equivalent to energy, then this can't be true. The photon is the fundamental energy unit. Right?

comment 2mo ago · link · parent

Then wouldn't it be "one-photon"? I've heard (but don't fully understand) that massed particles are simply photons trapped in toroidal vortices, which gives them an outward charge field and lets them interact with the Higgs. Annihilation supposedly just being untangling the toroid.

comment 2mo ago · link · parent

Nim defaults to this kind of stack management and value semantics, except the `ref` and `ptr` trapdoors are there whenever you need them. So like this, Nim requires no memory annotations or semantics for good, safe default behavior.

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

I've only dipped my toe in, but it compiles fast code and works. Can't argue with results.

comment 2mo ago · link · parent

The turning point is approaching: Interest rates will gradually overtake all other gov't expenditures. All politics will revolve around shoring up the parasitic drain on the rest of absolutely everything.

comment 2mo ago · link · parent

I made an internal GUI tool for company in Godot. It uses GDExtension to interact with OS systems, namely serial/COM ports. Yes, you can make quite good desktop GUI applications in Godot, with mostly its default toolkit!

Also, exploring minified Godot template compilation led to me distributing a 24 MB portable package (10MB zipped). Astonishingly efficient.

comment 2mo ago · link · parent

Why not have WMs and DEs specialized for specific disability categories?

24.

AI Power Scaling Cuts Both Ways(nervecenter.github.io ↗)

2 points · by netbioserror · 3mo ago · discuss

comment 3mo ago · link · parent

Yeah, I got the impression that Reticulum's main claim is that it replaces the IP stack with a future-proof, encrypted protocol for routing regardless of the underlying network medium. Which is not an insigificant claim to test, but boy would it be fantastic.

comment 3mo ago · link · parent

There's a third way here. It could be called many things: Single ownership by default, automatic stack lifetimes, hidden unique pointers, etc. The main idea is that the lifetime of dynamic heap data is treated no differently to primitive stack data: Clean it when it goes out of scope. Rust and C++ require you to specify this manually, but Nim is unique among native-compiled languages in that is does it by default, with tools to opt-out. An advantage of this approach is that combining immutable values and static analysis can reduce most parameter passing to borrows, again, without needing the programmer to specify, by default. The main cost being that some assignments, especially crossing the variable-to-immutable line or vice-versa, would require a copy.

comment 3mo ago · link · parent

LLMs are vectoring towards solving problems of software quantity. What remains is judgment, caution, and taste for quality.

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

That is definitely not what the Maya did. Or really any civilization with large permanent cities. The record of forest cutting once settlements reach a certain size is consistent and global. The Amazon simply experienced a full civilizational collapse and more than enough time untouched to recover.

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.

12345
19