Hacker News new | ask | show | jobs
by Herring 118 days ago
> 4% of GitHub public commits are being authored by Claude Code right now. At the current trajectory, we believe that Claude Code will be 20%+ of all daily commits by the end of 2026.

https://newsletter.semianalysis.com/p/claude-code-is-the-inf...

2 comments

There’s lots of slop out there, that doesn’t mean it’s actually good or useful code.
Keep moving those goal posts.
Doesn’t look like goal-post moving to me. GP argued that AI isn’t making a difference, because if it was, we’d see amazing AI-generated open source projects. (Edit: taking a second look, that’s not exactly what GP said, but that’s what I took away from it. Obviously individuals create open source projects all the time.)

You rebutted by claiming 4% of open source contributions are AI generated.

GP countered (somewhat indirectly) by arguing that contributions don’t indicate quality, and thus wasn’t sufficient to qualify as “amazing AI-generated open source projects.”

Personally, I agree. The presence of AI contributions is not sufficient to demonstrate “amazing AI-generated open-source projects.” To demonstrate that, you’d need to point to specific projects that were largely generated by AI.

The only big AI-generated projects I’ve heard of are Steve Yegge’s GasTown and Beads, and by all accounts those are complete slop, to the point that Beads has a community dedicated to teaching people how to uninstall it. (Just hearsay. I haven’t looked into them myself.)

So at this point, I’d say the burden of proof is on you, as the original goalposts have not been met.

Edit: Or, at least, I don’t think 4% is enough to demonstrate the level of productivity GP was asking for.

It has been argued for a very long time, lines of code is largely meaningless as a metric. But now that AI is writing those lines... it seems to be meaningful again? I continue to be optimistically skeptical.
It's not a great ask. Who's going to quantify what is 'amazing open source work'?

4% for a single tool used in a particular way (many are out there using AI tools in a way that doesn't make it clear the code was AI authored) is an incredible amount. Don't see how you can look at that and see 'not enough'.

The vast majority of people using these tools aren't announcing it to the world. Why would they ? They use it, it works and that's that.

So we're suddenly going back into measuring lines of code as a useful metric?

Just because people are shitting out endless slop code that they never bothered to throw a 2nd glance at doesn't mean it'sgood or that it's leading to better projects or tools, it literally just means people are pushing code out haphazardly . If I made a python script that everyone started using and all it did was create a repo, commit a README and push it every 5 seconds we'd be seeing billions of lines of code added! But none of it is useful in any way.

Same with AI, sure we're generating endless piles of code, but how much of it is actually leading to better software?

It's not the be all end all and there are obviously issues with using it alone, but it's rather silly going the other extreme and pretending it isn't a major factor.

>If I made a python script that everyone started using and all it did was create a repo, commit a README and push it every 5 seconds we'd be seeing

1. Well you can't do that

2. Something like that won't register as Claude Code (or any other AI tool) usage anyway

3. Something like that won't come anywhere near 4%

They didn’t, amazing open source was asked for, meaningless stats were given. Not that GitHub public repositories were amazing before AI, but nothing has changed since, except AI slop being a new category.
> where are all the amazing open source programs

> amazing

Nobody moved the goal posts.

Keep evangelizing on behalf of tech billionaires.
[flagged]
Here are a few of mine from the past month - for all of them 90%+ of the code written by Claude Code:

- https://github.com/simonw/sqlite-history-json

- https://github.com/simonw/sqlite-ast

- https://github.com/simonw/showboat - 292 stars

- https://github.com/simonw/datasette-showboat

- https://github.com/simonw/rodney - 290 stars and 4 contributors who aren't me or Claude

- https://github.com/simonw/chartroom

Noting the star counts here because they are a very loose indication that someone other than me has found them useful.

I quickly read through the `sqlite-history-json` project and it's only a few hundred lines of code and the code doesn't use transactions which means that it can fail and leave the state of the code and database in an inconsistent state.
Being only a few hundred lines of code is a pro, not a con (it's 2,800 including tests: https://tools.simonwillison.net/sloccount?repo=https%3A%2F%2... - lines counted by my vibe-coded port of the classic Perl SLOCCount tool to run in a browser using Perl-in-WebAssembly.)

It does use transactions in the form of savepoints which means they can be nested: https://github.com/simonw/sqlite-history-json/blob/53e66b279...

Transactions are tested here: https://github.com/simonw/sqlite-history-json/blob/53e66b279...

I lead with sqlite-history-json because I think it's the most impressive of the bunch - it solves a difficult problem in an elegant way with code I would have been proud to write by hand.

Props for your work on these but they’re toys mate. These are things you built for yourself that other people happened to find useful. That’s great! I’m not shitting on that, but it doesn’t really convince me that AI coding really is this amazing productivity booster in all cases. It’s good for small greenfield projects, I’ll admit that.
Six useful small greenfield projects in two weeks is pretty good, especially when they weren't my primary focus for those two weeks.

I wouldn't call these toys either. If you want toys take a look at most of https://tools.simonwillison.net/ - these six are all real projects on GitHub with tests and documentation and release notes.

You could have easily made the same point and just not included the last sentence. Guidelines an all that
I feel different: the last line is very important in this context, since it communicates the underlying thoughts and values of the poster.

Asking for "amazing" open source projects in this case is not asking out of genuine curiosity or want for debate, it is a rhetorical question asked out of frustration at the general trajectory of AI and who profits off of it -- namely the boot-wearers.

Even if this was goalpost moving, is it really an unreasonable ask to not have slop everywhere?
> Honestly, AI slop PRs are becoming increasingly draining and demoralizing for #Godot maintainers.

> If you want to help, more funding so we can pay more maintainers to deal with the slop (on top of everything we do already) is the only viable solution I can think of

https://www.pcgamer.com/software/platforms/open-source-game-...

> If you want to help, more funding so we can pay more maintainers to deal with the slop (on top of everything we do already) is the only viable solution I can think of

This is exactly the wrong approach! Funnel even more money away from productive tasks and into AI? Madness![1]

The only viable solution is being quick with a banhammer - maybe someone should start up a spamhaus type list of every github user who submitted AI slop.

Force them to burn these accounts on the very first spam.

------------

[1] Imagine if we chose this approach to deal with spam - we ask people for more money to hire a warm body to individually verify each email. Do you think spam would be the solved problem it is today?