2,033 karma · joined Sep 24, 2014 (12y ago) · 348 submissions
comment 4d ago · link · parent
A lot of this is simply because of microsoft firing all their QA and pushing it onto customers, which hasn't really worked all that great
comment 1w ago · link · parent
We seem to be in a situation where 0.1% of people are creating anything new in the programming space, which isn't a change at all, but the difference now is that there's an absolute army of people waiting in the wings for the second they finish to take credit - and profit off their work without compensation. Because apparently that's progress, according to some people
This has been happening the most in realtime with news sites, where any news they publish is fed into chatgpt and recycled to avoid giving them any clicks or advertising money. What happens when all the news sites die because chatgpt ate their ability to survive? We'll go backwards as a society because we won't have news, and then suddenly chatgpt will lose its ability to report the news. Lose lose, unless you're an extreme short termist
It extends to everything with AI, its giving us negative progress as a society, because its society eating itself in exchange for the shortest time line go up
comment 1w ago · link · parent
By contrast, when <tool> announces they've found XXXX vulnerabilities in Linux, it makes the news literally everywhere. Even if 0% of them turn out to be real, it doesn't matter - they've already gotten what they want out of it which is the round of coverage about how incredible <tool> is and its the end of the world
comment 2w ago · link · parent
comment 2w ago · link · parent
I'm mildly hopeful that when text watermarking comes in, we'll be able to automatically filter out all the LLM crap that gets generated currently. It feels like we're in the very early days of email becoming a tool used for mass spam, while we figure out exactly how to deal with that
comment 3w ago · link · parent
1. AI games
2. AI Art
3. AI Music
4. AI literature in most forms, except for factual text like search
Or at least, they won't pay money for it
AI hatred isn't being pushed by people with a narrative. I can't use AI for my game, because it'll sell £0 if I do. That's the net result of millions of other people telling me that they despise AI and won't purchase my product if it contains any AI, and I'm just making a business decision
Also google and some other big tech companies were widely loved for a while. Microsoft/gates managed to entirely rehabilitate their image at one point, and google was seen as one of the good guys. Those days died with the cambridge analytica scandal, and there's no evidence its coming back
comment 1mo ago · link · parent
No security expert can or should work that fast. Its a completely reasonable thing to do given the hyperbolic reporting just in case it turns out to be true. Some websites being down for a few hours doesn't end the world
comment 1mo ago · link · parent
The last 20 years of experience have told me that that's the #1 variable that correlates with the death of a project, so I'm in no hurry to speed that along. People have been trying to find some way to skip that difficult step of actually understanding what's happened since programming was invented, and its always a bad idea - because that process of internalising a projects structure is the single most valuable thing for a project. Creating a project structure that can be internalised by human beings - and then doing that - is software engineering
comment 1mo ago · link · parent
If you want to use asserts, you need to control the definition of NDEBUG. You either do this with your build system (common), or manually (slightly less common). This is literally <assert.h> 101
The preprocessor is widely used for a variety of things when its necessary, including #includes and #defines, because there's literally no other mechanism for this. Its bizarre to say that nobody controls the definition status of NDEBUG because people don't use the preprocessor
comment 1mo ago · link · parent
Its trivially easy to guarantee that an assert always runs, and its well defined behaviour according to the spec. There's no reason not to if you want to use asserts in a way that guarantees that they always fire, which is a supported use case. Its common practice
There's no equivalent for contracts
comment 1mo ago · link · parent
The programming model for C++ contracts as described by the authors, and spec, is that they are 'ghost code'. You must never assume that a contract check is actually executed, even if you've asked your compiler to execute your contract checks. This is because ABI/ODR problems can and will cause your contract checks to be deleted, as well as the 'observe' contract mode which is a strange one
So its hard to know what the use case for them is as a result. You can't use them for safety checks, because you must assume they won't be run. Hilariously, they actually introduce safety problems vs asset: Eg take two pieces of code:
assert(p != nullptr);
assert(p->some_value());
vs contract_assert(p != nullptr);
contract_assert(p->some_value());
People mistakenly transform #1 into #2 unconditionally, not realising that this is actually a misuse of the contracts feature. It can, and will lead to undefined behaviour - while being perfectly well defined with assertsI have a feeling that in 10 years the advice will be to never use contracts in anything approaching code that needs safety, as they're generally less safe than using an assert for no real reason. So what's their use case?
comment 1mo ago · link · parent
Valve rightly get a lot of flak for the gambling and high % cut, but you do get a functional useful service in return at least, that doesn't appear to be actively trying to screw you over
comment 1mo ago · link · parent
Its kind of appalling that people think this is an acceptable way to behave