this post was submitted on 16 Oct 2026
119 points (79.6% liked)

Linux

19541 readers
226 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS
 

There appears to be a few bad actors in the Lemmy community spreading ragebait for personal gain

In fact, the same mechanisms added at the beginning to catch bad human written code are the exact same that catch bad AI code

  1. No, the Linux kernel won't use AI to auto approve code for inclusion. And no plans to do so
  2. The Kernel actually has a huge number of maintainers. As part of the process, all patches are reviewed by a human who provide feedback as part of the process, and patches get bounced back and forth multiple time.
  3. Patches don't just magically go straight to master. The maintainers generally have their own branches where it goes to, then it goes to staging trees like Linux-Next. It goes through many eyes, and many tests by the end. The idea that AI code is overrunning the kernel is rediculous
  4. Maintainers also check that the code meets coding guidelines and is written properly, and solves the problem they are trying to solve. Yes, they also ensure the code isn't slop
  5. LLM's though might be used to identify obvious problems (bugs / coding guideline issues) with the code. These don't generate "slop" just find issues
  6. The only thing that matters is the human who submitted the code, as they should be checking the code submitted anyway (including LLM generated code).

Writing bad code isn't something new, and isn't unique to LLM's. Coders (and it seems some "journalists") have been writing slop since computers were invented.

The process hasn't gotten less stringent (probably even MORE stringent as there is an additional set of robotic eyes that can also check), and the same mechanisms that were put in place to catch badly written code 10 years ago, are still there now

you are viewing a single comment's thread
view the rest of the comments
[–] wesker@lemmy.sdf.org 25 points 1 day ago (1 children)

People really be thinking every fully human-rolled PR is gonna be flawless, yet the influx of fresh CVEs is higher than it's ever been right now, because LLMs are busy poking holes in existing human code.

[–] auzy1@lemmy.world 14 points 1 day ago (2 children)

Exactly this.

I've been doing code review on some of our code from 10+ years ago and I'm surprised by how many major bugs I'm STILL finding (different ones between Claude and ChatGPT). And this is code that's been in prod for years, and in heavy usage.

[–] 9tr6gyp3@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (1 children)

Yeah but
humanSlop = good.
aiSlop = bad.

[–] auzy1@lemmy.world -1 points 1 day ago* (last edited 1 day ago) (2 children)

The funny thing is that I wrote a Websocket server library years ago, and recently (as we scaled up), there were reports of bad performance in much larger systems

AI actually basically called my code slop (and it was), and made changes that improved performance, and fixed issues with incomplete frames. The solution it came up with was far better, and far cleaner than mine. I never would have come up with it..

And, I never would have guessed that's where the performance issues were either

I feel like there are people who are willing to point the finger instantly when AI generates bad code, but, it doesn't get credit when it improves it

[–] Croquette@sh.itjust.works 0 points 13 hours ago (1 children)

So you are just a terrible developer then. Not sure what you are trying to show here with your anecdote other than your inadequacies to do your job properly?

[–] auzy1@lemmy.world 1 points 13 hours ago* (last edited 13 hours ago) (1 children)

What I said doesn't indicate that at all. Not sure how many websocket servers you've written, but there is a reason that there are entire test suites to test them

Even worse, there are all kinds of combinations of half finished frames, masking, etc. The data size isn't predictable and you can also have fragmented frames too.

We also need to connect to all kinds of clients which do things slightly different

And, I had limited time to write it in as well.

If you're not getting any bugs, you're either not doing anything new, or you're designing really basic apps that offload the hard work to someone else.

Big shocker, but the performance fixing came down to bit handling of the header.. and yes, that made a huge difference overall. The code wasn't wrong...

We're working with embedded systems limited by RAM and CPU that operates on a single thread for everything, with lots of clients .We don't have the luxury of throwing in a better CPU or just pretending it's an issue. Even simply enabling logging drastically changes the CPU usage

[–] Croquette@sh.itjust.works -1 points 13 hours ago

What I said doesn't indicate that at all.

AI actually basically called my code slop (and it was), and made changes that improved performance, and fixed issues with incomplete frames. The solution it came up with was far better, and far cleaner than mine. I never would have come up with it..

I mean, these are your words.

[–] frongt@lemmy.zip 3 points 23 hours ago (1 children)

A profiler ought to show you where it's spending the most time.

[–] auzy1@lemmy.world 2 points 22 hours ago

I did profiling. But, there were many other more likely candidates, and, its a bit of a weird edgecase in our case (since we don't control the entire environment.. It's middleware)..

[–] pglpm@lemmy.ca -2 points 1 day ago (2 children)

I think we need a redefinition of "bug" though. If something hasn't been noticed for 10+ years, is it really a "bug"? I think the definition should depend on the probability of negative effects, not just on the possibility.

In fact, my impression is that any piece of code can be shown to have some bug, if taken from a particular angle or in particular contexts or scenarios.

(I think there are also connections with mathematical-logical foundations. For example, it is impossible to build an axiomatic system that is enough powerful and does not have undecidable propositions. Whenever you fix the axioms to fix one of the undecidable propositions, another one automatically pops up.)

[–] auzy1@lemmy.world 2 points 23 hours ago

Just because an issue isn't reported though, doesn't mean it hasn't been noticed by users.

We often see issues which are discussed in private forums, but were never actually reported to us (which is why we check them all)

[–] TrickDacy@lemmy.world 1 points 21 hours ago* (last edited 20 hours ago)

If something hasn't been noticed for 10+ years, is it really a "bug"?

Yes. If the intended functionality fails under conditions not often seen, it's still a bug. Bugs can be lower priority but that doesn't make them not bugs.