- 249 Posts
- 843 Comments
Rust is more modern and gives compiler errors on bugs that would cause obscure, possibly very hard to debug errors in C and C++. That is an advantage for programmers, and also people using LLMs.
Still, it takes time to write good software, so it being written extremely quickly compared to the size is an indicator of slop.
HaraldvonBlauzahn@feddit.orgto
Programming@programming.dev•Defending the patch gap against automated attackers | The Mozilla Blog
2·2 days agoSoftware has usually between 15 and 50 defects per 1000 lines of code.
Some say it is larger - from the above link:
This observation is very old, and comes from a very venerable source, namely Fred Brooks in his book “The Mythical Man Month”. He was a top manager at IBM, and managed many programming projects including the milions-of-lines operating system OS/360. In fact he reported that the number of bugs in a program is not proportional to the length of code, but quadratic!
Firefox 20 has about 4 millions of lines of code.
Using the rough and perhaps optimistic estimate from above, it could have between 60,000 and 200,000 bugs, and perhaps much more.
So, while this is a finite number, in practical terms, the number of bugs is unlimited.
HaraldvonBlauzahn@feddit.orgto
Europe@feddit.org•Hackers Hijacked French Blood Plasma Freezers, Changing Temperature Settings From −30°C to 110°CEnglish
8·3 days agoLet me guess: The freezer was using Danfoss hardware with a default password?
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•Anthropic confirms new Claude Code limits to prevent game cloning — users report Opus 5.5 is also actively blocking reverse engineering tasksEnglish
3·3 days agoYeah, it clones the Unix / POSIX API: Programs written for Unix will run on Linux. In the same way, the Photoshop/Office lookalikes are clones, they were written from scratch to yield a result compatible to the original.
Look at the explanations I linked.
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•Anthropic confirms new Claude Code limits to prevent game cloning — users report Opus 5.5 is also actively blocking reverse engineering tasksEnglish
43·4 days agoAlso it’s incredibly telling how Anthropic doesn’t add code to stop suicide ideation in teens (what they are their ilk are being sued for) but can somehow very quickly stop reverse engineering.
This.
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•Anthropic confirms new Claude Code limits to prevent game cloning — users report Opus 5.5 is also actively blocking reverse engineering tasksEnglish
2·4 days agoI can assure you local models will blow up too.
Why?
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•Anthropic confirms new Claude Code limits to prevent game cloning — users report Opus 5.5 is also actively blocking reverse engineering tasksEnglish
53·4 days agoThe adobe suite was not reverse engineered, in the sense in which the term is applied to binary, closed-source softeware. Rather, it was cloned.
This is technically and often also legally very different. Cloning is a new implementation of a system which reproduces the abstract API of an existing System. Since APIs are not subject to copyright law, this is legally unproblemaric. It is also a creative process (so far). For exsmple, Linux is a clone of AT & T Unix.
Reverse engineering uses techniques like analysing the internal behaviour and decompiling the binary code of an existing product. It is im general not illegal, but it can violate license agreements and is more in a grey area. Laws like the DMCA might also apply if some kind of copy protection is used.
BTW, many Linux drivers are reverse enginnered to some degree.
HaraldvonBlauzahn@feddit.orgto
Europe@feddit.org•Germany to build new gas power stations as cover for wind and solarEnglish
51·4 days agoGermany has 80 million people, China 1.400 millions. The per-capita consumption of Germany is still much higher. Chinas energy production is rapidly growing, and the share of renewable energy in it is growing as well.
Moreover, Germany is the largest economy in the world’s largest democratic economic bloc, since the US objectively ceased to be democratic. So, Germany and the EU have the duty to show that they can do better. “We had democratic governments but they had to serve the short-term interest of capitalist megscorporations” will not sound like a good excuse to our grandchilds when they have to live on a devastated earth.
HaraldvonBlauzahn@feddit.orgto
Europe@feddit.org•Germany to build new gas power stations as cover for wind and solarEnglish
2·4 days agoAnd batteries second.
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•New York Times and other outlets sue web browser Brave over alleged content scraping: unlawfully distributed it to customers the suit names as Anthropic, Perplexity, Mistral, xAI, and Cohere.English
15·4 days agoI don’t get why it is listed in the Arch Linux wiki.
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•Innocent People Are Being Accused of Shoplifting by Faulty AI-Facial Recognition Systems at an Alarming Rate: "It's the stuff of Kafkaesque nightmares."English
8·5 days agoKafka has written other stories, the author might have had The Trial (Der Process) in mind.
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•Innocent People Are Being Accused of Shoplifting by Faulty AI-Facial Recognition Systems at an Alarming Rate: "It's the stuff of Kafkaesque nightmares."English
7·5 days agoAnd the supermarket systems still don’t get right the prices for fruits. Which means you have to call another employee to enter the price for you.
HaraldvonBlauzahn@feddit.orgto
Programming@programming.dev•You can’t find 10x developers, but you can build 10x organizations
7·6 days agoExactly this. Organizations often have a far larger influence. They can easily turn a very effective and competent developer into a 0.01x developer. Especially if they have huge technical debt.
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•Cisco gives 27-year-old engineer unlimited AI tokens to rewrite 98% of the company's legacy code in 24 months — president plucks former startup founder, telling him to 'go nuts'.English
421·7 days agoJust to get that straight: Legacy code is practically always large code with countless hidden requirements, and with insufficient or no tests and without documentation. But which works somehow. Any change needs to meet numerous unwritten requirements, and it can often only be tested in the real world. If you have N features, you have N*(N-1)/2 interactions between two features, so it is quadratic growth with N. This is why it is very hard and time-consuming to change.
It shouldn’t be that way, but writing large software - especially in commercial environments - is often like climbing a high roof on a ladder, and then throwing away that ladder. Modifications are only incremental, and usually not documented. Incremental modifications are one of the only two working engineering approaches for software we know - and the only one used for commercial software.
The other way - which is used in aviation for example - is to specify, document, and test everything, right from the start.
Now the problem is you can rewrite legacy stuff as much as you like, but it is near impossible to make sure that large changes work. Because in order to do that, you would need to run the tests that do not exist, or create tests from specifications and requirements which do not exist either.
And GenAI tools are not going to change that. The agentic tools kinda work by filling in missing requirements with assumptions and average observed stuff. It can generate reams of code, fast. But while this kinda works for a small phone app, it doesn’t for large complex stuff. If the code does not fit in the head of one person working for months on it, it will never fit in the context window of an LLM.
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.world•Man Hires Swarm of AI Agents to Go on Epic Hacking Spree Against Major CompaniesEnglish
18·13 days agoThese companies advertising methods are becoming a bit too much!
It is what the text is about, so that you can - if you want so - go and read it yourself.
It is not a summary. I can’t read it for you, so if you chose not to read it, you might keep silence about the content. Clear?
It feels to me like you don’t want people reading the article?
And your argumentation for not reading it is not really consistent. It can hardly be both overly emotional and a boring wall of text?
Also, fascism isn’t the same as a capitalist economy. At least on the tin, the latter is not contrary from having a democracy.
HaraldvonBlauzahn@feddit.orgto
Programming@programming.dev•Software is slow because of bad design, not slow languages
41·14 days agoHe is right in many aspects. However, for example Guile, Racket or SBCL Lisp are a lot faster than Python, and they are more powerful than Python while being much simpler, which makes them very interesting for prototyping algorithms.
The ideal combo for such things would be a powerful interactive language with debugging capabilities combined with Rust, perhaps even a language similar to Rust. I do not know of any easy solution for that, but it could be made work with Rust’s macro system (since the above languages all provide C ABI FFI).
Also,most of design happens when a program is written first. It is hard to re-design a larger program later, which might be one reason to re-write it. So maybe the main reason for rewriting is to get a better design, not the faster language - the faster language might be an additional reason.
Also, LLMs can produce terribly bloated Rust code - not only by a factor ten larger, but also much slower.
Also, CRUD apps are uninteresting to many programming enthusiasts, and for companies, optimizing them is only interesting if it saves them money.
HaraldvonBlauzahn@feddit.orgto
Technology@lemmy.ml•Wi-Fi 8 is coming, but Ethernet still beats it for one simple reason
1·15 days agoThere is also PFE optical fiber which is easy to handle and thin.




















There will be trials in our lifetime, and these people will be judged by how many human beings they have killed with their actions. Science leaves no iota of doubt what are the consequences of what they do.