Pop!_OS bans AI-generated code from much of its codebase
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Pop!_OS bans AI-generated code from much of its codebase
Unofficial Hacker News client; not affiliated with Y Combinator.
brink · · focus · HN ↗
lucianmarin · · focus · HN ↗
fignews · · focus · HN ↗
runarberg · · focus · HN ↗
fignews · · focus · HN ↗
nvme0n1p1 · · focus · HN ↗
A good workman shuts up and finds better tools without complaining.
runarberg · · focus · HN ↗
sirsinsalot · · focus · HN ↗
Save your "you're holding it wrong" if you're not going to suggest how to hold it.
Cult speak escape hatches are intellectually lazy.
williamcotton · · focus · HN ↗
Edit: My latest project is all GPT-6 Astra High. It takes a lot of steering to keep it from adding a bunch of, while useful, features that are not strictly enough to the point. That main issue is it’ll use a lot of extra tokens in the process!
What was your process?
hirvi74 · · focus · HN ↗
In case it is unclear, I am genuinely curious. I have great success with chatbots, but vibing coding has never gotten me further than a proof-of-concept.
[deleted] · · focus · HN ↗
[deleted]
williamcotton · · focus · HN ↗
<a href="https://williamcotton.github.io/datafarm-studio" rel="nofollow">https://williamcotton.github.io/datafarm-studio
Some demos of the above charting language:
<a href="https://williamcotton.github.io/algraf/demos" rel="nofollow">https://williamcotton.github.io/algraf/demos
WASM, in browser editor, LSP, and more.
fignews · · focus · HN ↗
<a href="https://github.com/NousResearch/hermes-agent" rel="nofollow">https://github.com/NousResearch/hermes-agent is 99% (just a guess) LLM generated. 1140 closed pull requests this week. 1.5k closed issues. The github insights page for commits doesn't load for me presumably because it can't handle this scale of commits. But I estimate ~1K commits per day on average.
There's a blog entry <a href="https://nousresearch.com/refactoring-hermes-with-1393-agents" rel="nofollow">https://nousresearch.com/refactoring-hermes-with-1393-agents that details some work that was done by LLMs to refactor and improve the code.
I guess they know how to hold it?
chmod775 · · focus · HN ↗
I had a look at the kind of issues that are reported at that project (there's 15k of them, so I can at best assess a couple). It looks like a complete mess: A lot of concurrency and resource mismanagement issues and edge cases that in a better-managed project would have been avoided by construction. They will now will likely be solved by more defensive programming, driving overall complexity ever upwards.
If you really want to check some quantity metrics to try to reason about code quality, look at whether "fix" PRs are overall LOC neutral or negative (not counting tests). In this project, almost every "fix" is an addition. Worse, almost every fix is more branching.
If almost every PR is some sort of fix, and most of them add branching, and there's thousands of them weekly... That leads to only one place and I want to be nowhere near it.
nvme0n1p1 · · focus · HN ↗
Show me an AI that adds features by deleting code (<a href="https://www.folklore.org/Negative_2000_Lines_Of_Code.html" rel="nofollow">https://www.folklore.org/Negative_2000_Lines_Of_Code.html) and I'll pay attention.
northstar702 · · focus · HN ↗
[dead]
diek · · focus · HN ↗
Your response was: "Well you're not doing it right, but these hermes devs know what they're doing".
But the blog post you linked to shows their prompt, which is:
> I want god files broken up. I want simplification across the board. I want unification of helpers and methods that can be reused. I want less if-if-if-if-if-if-else routing. I want code legibility up. I want interpretability of the codebase and how things connect to each other up.
So it sounds like AI made their code a mess too. They then tried to make the point of how much money they saved cleaning up the code with AI, that AI made a mess of to begin with.
And if you look at the merged PRs on that project, a ton of them are bug fixes... to the code the AI wrote. And that's been my personal experience too: AI creates a huge amount of churn in a codebase. Just vast amounts of PRs fixing code that the AI itself wrote.
catlifeonmars · · focus · HN ↗
I’m saying it’s probably multiple factors and both you and GP are right.