HNHacker News
TopNewBestAskShowJobs

porise

48 karma · joined December 14, 2025

submissionscomments
porise··on Ask HN: How do you maintain flow when vibe coding?
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.
porise··on C++26: Structured Bindings in Conditions
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.

porise··on Number in man page titles e.g. sleep(3)
Reading this makes me wonder if Easter eggs are ever appropriate for something as ubiquitous as man.
porise··on C++26 is done: ISO C++ standards meeting Trip Report
And yet, none of them work with std::regex etc.
porise··on C++26 is done: ISO C++ standards meeting Trip Report
I don't care until they stop pretending Unicode doesn't exist.
porise··on LinkedIn uses 2.4 GB RAM across two tabs
It's not as bad as JIRA, although JIRA is marginally more useful than LinkedIn.
porise··on C++26: A User-Friednly assert() macro
I'm still waiting for C++ to support Unicode properly.
porise··on Nobody ever got fired for using a struct
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.
porise··on Nobody ever got fired for using a struct
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.
porise··on Ask HN: Why are electronics still so unrecyclable?
I heard they changed it to 5Rs.

Refuse, reduce, reuse, recyle, rot.

porise··on GitHub is down again
Nope. If someone did that it should be reported if it's against the rules here.
porise··on GitHub is down again
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?
porise··on GitHub is down again
Can they use Github to their advantage to maintain a monopoly if they are nefarious? Think about it.
porise··on GitHub is down again
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.

porise··on GitHub is down again
What antitrust issue does my open source software have?
porise··on GitHub is down again
Take it away from Microsoft. Not sure how this isn't an antitrust issue anyway.
porise··on Bash scripts are brittle – simple error handling in bash
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.
porise··on How Jeff Bezos Brought Down the Washington Post
Just say Google. The need for keywords plastered everywhere (often hidden in the HTML) was their invention.
porise··on Notepad++ supply chain attack breakdown
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.
porise··on A few random notes from Claude coding quite a bit last few weeks
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.
porise··on Dutch police have their own car stolen during car theft chase
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?
porise··on Dutch police have their own car stolen during car theft chase
Nope. Only nonviolent crimes. Anyways I was just trying to draw a parallel to corporations doing harm.
porise··on Dutch police have their own car stolen during car theft chase
Hustle comes in many different forms. Some people just start evil companies in their garage.
porise··on GitHub should charge everyone $1 more per month to fund open source
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.

porise··on GitHub should charge everyone $1 more per month to fund open source
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.
porise··on C++ std::move doesn't move anything: A deep dive into Value Categories
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.

porise··on When compilers surprise you
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.

porise··on Get an AI code review in 10 seconds
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.
porise··on Get an AI code review in 10 seconds
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.
porise··on Three ways to solve problems
It's in own category for higher level beings who make pot holes bigger until it gets fixed.
Page 1 of 2Next →