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.
HN user
porise
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.
Reading this makes me wonder if Easter eggs are ever appropriate for something as ubiquitous as man.
And yet, none of them work with std::regex etc.
I don't care until they stop pretending Unicode doesn't exist.
It's not as bad as JIRA, although JIRA is marginally more useful than LinkedIn.
I'm still waiting for C++ to support Unicode properly.
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.
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.
I heard they changed it to 5Rs.
Refuse, reduce, reuse, recyle, rot.
Nope. If someone did that it should be reported if it's against the rules here.
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?
Can they use Github to their advantage to maintain a monopoly if they are nefarious? Think about it.
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.
What antitrust issue does my open source software have?
Take it away from Microsoft. Not sure how this isn't an antitrust issue anyway.
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.
Just say Google. The need for keywords plastered everywhere (often hidden in the HTML) was their invention.
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.
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.
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?
Nope. Only nonviolent crimes. Anyways I was just trying to draw a parallel to corporations doing harm.
Hustle comes in many different forms. Some people just start evil companies in their garage.
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.
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.
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.
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.
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.
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.
It's in own category for higher level beings who make pot holes bigger until it gets fixed.