Better HN
topnewbestaskshowjobs
Log inSign up

Vaushite

282 karma · joined Sep 25, 2026 (2mo ago) · 249 submissions

Submissions

comment 2w ago · link · parent

Knowing the story behind a decision like that is worth a thousand spec clauses.

When the language got operator overloading there was the question of how to convert the arguments from the operator itself to its implementation. You wanted to write a+b, not &a+&b but most versions of operator+ were going to want const pointers for efficiency. One option was to make the & implicit, another was to introduce a type of argument that didn't need & but acted like a pointer. So references were born.

I ignore people who advise to use references when something can't be null. A null reference is UB just like a null pointer, it just shifts where the UB is, but the compiler is likely to produce the same code either way and the program is just as likely to crash. Instead, I use pointers to make it obvious that something is a pointer, and references when it should be invisible, just like with operator overloading.

comment 2w ago · link · parent

C++ has to be approached as a grab bag of useful parts, not a coherent whole. It's somewhat akin to Python if Python modules were C++ language features. It's said that nobody knows all of C++, even its creators.

Do you know C? Everything that works in C works in C++, modulo a few minor syntactic changes (void* doesn't implicitly convert). You can get acquainted to C++ features on an as-needed basis. Other people will surely disagree with me on this.

With pointer types in particular, I'd say use C-style pointers long enough to know how frustrating they are but also how they work. Then you'll know what unique_ptr and shared_ptr are doing to help you. (And those are the only two you need 99% if the time. weak_ptr is a spin-off of shared_ptr that you'll know if you need it. observer_ptr is just stupid ivory-tower stuff.)

comment 2w ago · link · parent

A bubble can't pop as long as most people, or at least most dollars, still think it's a bubble. Bubble pops can only take the market by surprise.

comment 2w ago · link · parent

This guy just hasn't understood the phrase, he's picked several strawmen to argue against. Not literally everything a system does is its purpose, so you can't just pick the stupidest ones and use them to disprove the principle.

How about "the purpose of a system is not something it doesn't do" or "the purpose of a system is some of the things it does" but that's not as catchy.

comment 2w ago · link · parent

It's also likely that "keep the bosses rich" is the purpose of most currently existing institutions that make money.

I actually don't think anyone involved gives a shit about the carbon dioxide. Even oil barons don't - they care about selling oil, and if an emissionless way to burn oil were discovered, they wouldn't mind. "... using oil" may be part of the purpose.

comment 2w ago · link · parent

The guy is just huffing copium because he missed the point, it seems. It seems his process is to pick a system, pick one thing it does, observe that doesn't seem to be the main purpose and then declare the principle dead.

Let's focus on one of the examples he gives:

> [POSIWID implies that] The purpose of the New York bus system is to emit four billion pounds of carbon dioxide [and this is obviously absurd]

But that's not what the bus system does, is it? That's only one thing it does and it's the least purposeful thing it does, as if you chose that one on purpose.

I'd sooner think the purpose of the NYC bus system is to move money from government coffers to oil barons, or to placate left-wing protestors, or to satisfy a sustainability checklist item, or to increase the employment rate in NYC than to think the CO2 is the point.

comment 2w ago · link · parent

Let me know when my landlord accepts exposure.

comment 2w ago · link · parent

The tax is 30% and the purpose of a system is what it does

comment 2w ago · link · parent

The fun is now in poisoning their training data.

comment 2w ago · link · parent

Until it turns out your server is vulnerable to something like *sshole which you had no way to know about or defend against without formally verifying the whole OS.

comment 2w ago · link · parent

Source?

comment 2w ago · link · parent

> For example, in this instance the fall of the web to commercial interests is more or less inevitable if you look at the basics

The basics in this case are not some natural law. There are, in fact, a large number of powerful people who force the rest of us to execute fiat-currency capitalism.

comment 2w ago · link · parent

A product is optimized for revenue or profit.

comment 2w ago · link · parent

It's not like I'm using them anyway.

comment 2w ago · link · parent

For low difficulty tasks use Eunuch for lower costs. For advanced features, higher limits and access to Incel, our wizard-tier model, upgrade to Pro for only $96 per month.

comment 2w ago · link · parent

And yet, the highest scores on the scoreboard are 10, which happens to be the score you get by completing the tutorials for using pwn.college.

comment 2w ago · link · parent

Is it better?

comment 2w ago · link · parent

In Golang a nil value is semantically an empty container. You wouldn't want this translation in Java but in Golang it makes sense.

comment 2w ago · link · parent

Efficient code means code with a large amount of embedded assumptions. Code that's more generic is almost always less efficient.

Go is about as far as you can "go" to the efficiency end without becoming Rust. It's a low-overhead language (like C) but with a GC that ensures memory safety. If you want to manage memory yourself and still prove safety it gets very complicated, as we see in Rust.

comment 2w ago · link · parent

It's an analogy. Storing a file in Glacier is like shipping physical tapes to Iron Mountain. You don't expect to get most of them back but you expect that you can get them back if you want to. You can test this by retrieving a random or non-random sample.

comment 2w ago · link · parent

Licensing is downstream of software existing. The person who actually writes software gets to make the license. If you want a GPL one you have to make that.

comment 2w ago · link · parent

If it's all your own work, or all yours except for a trivial amount (this is 99% of projects) you can always change the license later.

comment 2w ago · link · parent

Mostly it's not stuff that would've had a community if it was GPL - it's stuff that would've had a community either way, then Amazon took it and made it proprietary and took the community too.

comment 2w ago · link · parent

Enshittification and capitalism are synonymous. There's no other magical form of equity that's any better. Steam's an oft cited counterexample but Steam is in enshittification stage 2 (once you have the users, be good to vendors to develop total platform lock-in).

comment 2w ago · link · parent

It helps that the rebels donated copies of all their equipment to the dark forces.

comment 2w ago · link · parent

All text on the page is AI slop. Cool effect though.

comment 2w ago · link · parent

Tools have to be allowed to evolve. Half the Linux ecosystem's problems are caused by sticking on some design that made sense in 1980.

At least the command is still called sudo or run0. Changing it to doas would have been a much more breaking change.

Alas, TFA blocks me with no workaround because I'm using Tor Browser so I can't read about the nature of the changes.

comment 2w ago · link · parent

You test the tape before sending it to Iron Mountain, and you just have to trust that Iron Mountain isn't degaussing them. You retrieve one tape from them, as a test.

comment 3w ago · link · parent

PCs are like 5% of computing devices. Very important for business offices but not outside of that niche. And mass amounts of servers can be adapted to whatever is cheapest. Google wouldn't insist on AMD64 - they'd port to ARM if ARM was cheaper. And if you do want AMD64, AMD currently makes better AMD64 chips.

comment 3w ago · link · parent

It's all a next token predictor, which is trained at first to predict the next token. RLVR etc. are also training the next token predictor.
12345
9