Better HN
topnewbestaskshowjobs
Log inSign up

porise

48 karma · joined Dec 14, 2025 (11mo ago) · 35 submissions

Submissions

comment 7mo ago · link · parent

Sorry for not answering your question, but asking how to not let something do your work for you not be so exhausting is like listening to a billionaire complain that they have to instruct their maids and chefs too often.

comment 7mo ago · link · parent

Yeah I wouldn't like this in a code review. Add one more line of code so I don't have to investigate foo().

That's my fundamental gripe with C++

int i = 0;

function_0(i,...);

...

function_9(i,...);

which one changes i? It's not obvious in a code review due to default mutable references.

comment 7mo ago · link · parent

Reading this makes me wonder if Easter eggs are ever appropriate for something as ubiquitous as man.

comment 8mo ago · link · parent

And yet, none of them work with std::regex etc.

comment 8mo ago · link · parent

I don't care until they stop pretending Unicode doesn't exist.

comment 8mo ago · link · parent

It's not as bad as JIRA, although JIRA is marginally more useful than LinkedIn.

comment 8mo ago · link · parent

I'm still waiting for C++ to support Unicode properly.

comment 8mo ago · link · parent

Rusts tradeoff is awful. People organize struct members in the logical ways in which they will be accessed. Rust just decides to do things different so they can say they do things different and "better" than the old C. The featured article is an extreme case but other normal cases would have the same issue. Packing structs should be the exception.

comment 8mo ago · link · parent

Why is rust allowed to reorder fields? If I know that fields are going to be generally accessed together, this prevents me from ordering them so they fit in cache lines.

comment 9mo ago · link · parent

I heard they changed it to 5Rs.

Refuse, reduce, reuse, recyle, rot.

comment 9mo ago · link · parent

Nope. If someone did that it should be reported if it's against the rules here.

comment 9mo ago · link · parent

I've had two accounts. I changed because I don't like the history (maybe one other person has the same opinion I did?). Anyways it's pretty obvious why this is an issue. Microsoft has a historical issue with being brutal to competition. There is no oversight as to what they do with the private data on GitHub. It's absolutely an antitrust issue. Do you need more reasoning?

comment 9mo ago · link · parent

Can they use Github to their advantage to maintain a monopoly if they are nefarious? Think about it.

comment 9mo ago · link · parent

Companies used to be forced to sell parts of their business when antitrust was involved. The issue isn't the downtime, they should never have been allowed to own this in the first place.

There was just a recent case with Google to decide if they would have to sell Chrome. Of course the Judge ruled no. Nowadays you can have a monopoly in 20 adjacent industries and the courts will say it's fine.

comment 9mo ago · link · parent

What antitrust issue does my open source software have?

comment 9mo ago · link · parent

Take it away from Microsoft. Not sure how this isn't an antitrust issue anyway.

comment 9mo ago · link · parent

Perl was written to write more complicated bash scripts. It's so seamless to call and handle shell commands and the first class regexes make it terse in a way that's appropriate for this use case.

comment 9mo ago · link · parent

Just say Google. The need for keywords plastered everywhere (often hidden in the HTML) was their invention.

comment 9mo ago · link · parent

I guess package managers win in the end. I got two emails from my IT department in the last year telling me to immediately update it.

comment 10mo ago · link · parent

I wish the people who wrote this let us know what king of codebases they are working on. They seem mostly useless in a sufficiently large codebase especially when they are messy and interactions aren't always obvious. I don't know how much better Claude is than ChatGPT, but I can't get ChatGPT to do much useful with an existing large codebase.

comment 10mo ago · link · parent

What kind of comments did you expect other than the one that was borderline racist with plausible deniability? What's a good conversation in this thread?

comment 10mo ago · link · parent

Nope. Only nonviolent crimes. Anyways I was just trying to draw a parallel to corporations doing harm.

comment 10mo ago · link · parent

Hustle comes in many different forms. Some people just start evil companies in their garage.

comment 10mo ago · link · parent

I would put Disney in there. I picked 8 arbitrarily but those companies have substantial pull in governmental regulations and the state of the web. Probably missing some Chinese companies.

imo corporations have more pull on governments than governments have on businesses at this point as far as long term culture goes.

comment 10mo ago · link · parent

I paid 1 buck for WhatsApp back in the day. Better business model than what meta did with it. But we're moving closer and closer to 8 companies controlling the world. Both WhatsApp and github are owned by them.

comment 10mo ago · link · parent

Value categories actually just are confusing in a language as complicated as C++. I'm not willing to bet that even senior C++ developers are always going to be able to deduce the correct value category.

And worse, in typical C++ fashion, there is still little guaranteed as far as when std::move will actually cause a move. The implementation is still given a lot of leeway. I've been surprised before and you basically have no choice but to check the assembly and hope it continues to be compiled that way as minor changes make their way into the code base.

comment 11mo ago · link · parent

You don't have to be an expert in compiler design to make godbolt in fairness, although he does know a lot.

I spend a lot of time looking at generated assembly and there are some more impressive ones.

comment 11mo ago · link · parent

Template instantiation is relatively simple and can be resolved immediately. Trying to figure out how 4 different libraries interact with undefined behavior to boot is not going to be easy for AI for a while.

comment 11mo ago · link · parent

Good thing I work on an old C++ code base where it's impossible for AI to go through the millions of lines that all interact horribly in unpredictable ways.
12