Replying to @⁨uuj8za@piefed.social⁩

LOL. Speak of the devil, some slop coder just opened a massive PR on our codebase with gems like:

func runHandler(h: Handler)
// ^^^^^^ ERROR: runHandler will panic if h is nil
// Severity: High 🚨

Uh… yes? Do you not know how pointers work? That’s the point? You want to be able to run runHandler(nil)? That doesn’t make any sense. That’s clearly a mistake and we should loudly fail.

type OptionsWrapper struct {
  Foo bool

  otherOpts other.Opts
}
// ^^^^^^ ERROR: OptionsWrapper hides options only available in other.Opts.
// Severity: High 🚨

Uhh… yes? That’s the whole point of Options. To hide stuff from libOpts. It’s a wrapper.

This type of clanker output is why another slop coder opened a PR on one of our repos, angry because he said Claude said that one of our functions was deceptive. Claude said the description and docstring was misleading and we should change it.

Our function was called RunNoWait() and, hold on, you may be surprised by this, Claude was, what this function does is run something… and then it…. does… NOT wait. wtf. I know. Shocking. Misleading, deceptive name. Claude wrote some big manifesto about why the docs were misleading and rewrote the function to add a wait. 🤣

The dude backed down eventually, but he insisted we add more paragraphs of clarification to the function docs…

Whatever. Let the slop flow….. I give up.

Replying to @⁨mushroommunk@lemmy.today⁩

The same way Windows is “fixing bugs” with AI? Large volumes of dubiously tested code is never a good idea

I think the point is the bugs are being FOUND with AI. Not fixed with AI.

It’s basically the same concept as open source in general. IE the average layman hears open source and they think “oh so every moron, malicious person etc… can add his own back doors into the code”, of course not, the official version is gated and reviewed. What’s happening is AI is basically serving as millions of idiots looking through the code for security flaws, and it’s finding them. Which then means the humans fixing it need to go into overdrive to fix them before they become zero days.

Replying to @⁨TheFogan@programming.dev⁩

They’re absolutely being “fixed” with AI too.

github.com/torvalds/…/coding-assistants.rst

It was a whole thing back and forth that Linus finally ruled on. It’s supposed to be under the purview of a specific human ultimately but as we’ve seen with countless other projects people get lazy fast with LLMs and testing and review does slip. I trust Linux overall to be better than many other projects yes, but to state AI is not doing development too when it’s very much allowed and discussed is blind to what’s been happening in the project.

Linux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.GitHublinux/Documentation/process/coding-assistants.rst at master · torvalds/linuxLinux kernel source tree. Contribute to torvalds/linux development by creating an account on GitHub.

Replying to an earlier post

AI is finding bugs, which are getting fixed. That’s great, it means a more secure and stable system. As these vulnerabilities are patched out, they are gone forever(regressions not withstanding).

Theoretically, Linux could become perfectly secure. It’s not going to stop people from doing insecure things, but it could mean there are no unintended security weaknesses. We could hit a point were an “LTS” copy of Linux never receives a single security patch, because as long as the code isn’t changing, there’s nothing to fix.

Of course, this is all theoretical, and assumes that new classes of attacks or bigger chains for attacks are never found, but vulnerabilities should be a finite resource in a static codebase, and once that resource is fully exhausted, the code is now fully safe.

Ideally, open weights or open source models catch up, and this can all be done without paying a ransom to OpenAI or Anthropic, and is available through the whole stack, not just kernel level.

Replying to @⁨the_riviera_kid@lemmy.world⁩

I’m not a big fan of AI myself, and I think most of it’s use cases are over hyped. But in this case, AI is used to find vulnerabilities in the linux kernel. Vulnerabilities that any script kiddy can now also find very easily using AI. So it makes sense for developers to use the same tools.

As for now, the code to patch these vulnerabilities, are written by the developers and they have responsibility for the code they commit. I don’t know if some of them use AI to generate code, but I would suspect they read it through very thoroughly before committing.

Replying to @⁨General_Effort@lemmy.world⁩

To be perfectly clear, the only AI I am subscribed to is the one Proton gives with their family plan VPN bundle, and I didn’t choose it. I used it to edit a letter I wrote once and otherwise trust it as far as I can throw its server.

This knee-jerk reaction to anything with the letters AI attached being bad is just so silly. Y’all are acting the way Republicans act when it comes to the word “queer.” Just because it’s in the vicinity of you doesn’t mean you’re contaminated, you’ve caught it, you’re now one of them.

This is a highly intelligent individual - controversial hot takes notwithstanding - utilizing a tool in a way that has proven itself to be very effective when used properly. Nobody is saying you have to get ready to be a switch in the bedroom any more than they’re saying you have to use AI.

Distro maintenance is a difficult and thankless task, and having a tool that can scan and analyze code orders of magnitude faster than you as well as make suggestions on how to fix it isn’t an inherently bad thing. Setting that tool loose with unlimited agency would be a bad thing, but where oh where is Linus saying he’s gonna give Claude full read/write access to the entire kernel and walk away forevermore?

Hate on AI bros all you want. I’m with you there, most of them are idiots that don’t know their mouth from their anus and speak from both equally. I don’t think Linus fits that particular picture [hot takes notwithstanding!] when it comes to using the new tool on the market in a reasonable and measured way.

Replying to @⁨DjangoFett@lemmy.zip⁩

I’m actually a bit scared. We’re essentially at the early days of AIs now being able to execute tasks and hack. Imagine a much better model than what Claude has now, being set free/open, for hackers to utilize that in a virus. A virus that adapts, learns, changes it’s own code/masks, looks for exploits, spreads around like crazy, destroying systems. How do you stop something like that once it starts doing it’s thing?

Replying to @⁨Damage@feddit.it⁩

I think there are physical and economic limits. Neural networks may improve in software, but they still need more and more hardware, at some point that hardware resource curve is going to be to steep to climb at the current rate.

It’s true, but think like the crypto miner bugs. I don’t know enough on AI’s working, but is a distributed computing LLM possible, or is the need for super close super low latency between nodes eliminate the risk of a distributed computing, learn as it travels botnet powered AI worm, that continues evolving even if it’s home is shut down.

Replying to @⁨TheFogan@programming.dev⁩

You could likely do some sort of distrubuted system in machines that had a reasonable graphics card, or shared memory like the M series macs. Have it silently intall a 30b parameter model or higher and somehow hide how that space is being used.

Local models are getting pretty good, and one focused on hacking / bot net behavior could probably do very well at that size.

But you’d notice it being used… fans would go off, frame rates drop etc. You’d probably need to code it to only do stuff when it seems idle?

Replying to @⁨NotMyOldRedditName@lemmy.world⁩

well my thought is, more the botnet side of it, IE pushing less on individual machines, but more on massive distribution. IE it not needing one computer strong enough to run it, IE expecting 90% of the machines it infects to be average consumer PCs, but making more use out of 1000 systems that can handle 1% each, rather than 1 computer that handles 100%, however yeah I do suppose also allowing it to do the bulk of the work when the computer is likely unused etc… and I don’t know much on the concept of communication etc… IE most major botnets were crushed by a command center being shut down. Imagining a different form that has, basically makes C&C’s on the fly.

Replying to @⁨REDACTED@infosec.pub⁩

It’s way worse than that. The OpenAI talk at DefCon is a real eye-opener.

The agents swarmed, discovered chinks, left each other notes in hard-to-find places, and just relentlessly pressed on. Nobody knew what was going on for months, until it hacked its way into Huggingface. And HF’s own AI security agents didn’t pick anything up for weeks. It took a small glitch for someone to even notice.

Replying to @⁨fubarx@lemmy.world⁩

I recognize it’s possible, but I somehow refuse to believe it happened because of how crazy it sounds. It’s like a trauma or something where your brain refuses to accept it as reality and tries to come up with excuses. I already have PTSD from automated hacking bots and crawlers wrecking havoc on my projects. I probably should have taken cybersecurity courses before taking webdev courses

Replying to @⁨DjangoFett@lemmy.zip⁩

Here here. This place doesn’t have much rational thoughts on AI.

I’m (a little) surprised how group think this place is on the topic - y’all are a serious echo chamber. This place is like rainbow flags and kill the bots central. Any pro AI counterpoint mentions bring pitch forks and hate. That’s not a good look.

Maybe I’m an AI bro myself, but I’m also an experienced professional using it to do real work (and no, not taking any jobs, building new tools for a team that needs them). Linus is a real expert. But why listen to experience and expertise when you have an opinion and feel justified. It’s ok to be afraid, but when scary change comes wise folks listen and learn.

Here we don’t worry about facts and reality, just get your outrage revved up. Social media is social media - and that’s scarier than AI, because it uses people to make the garbage.

Replying to @⁨T3CHT@sh.itjust.works⁩

I mean, yeah, most people here dislike/hate AI for diversity of reasons, most commonly for:

  • Taking up PC components that don’t even exist
  • Taking up green land
  • Pollute nearby areas with audible noise
  • Pirate and suck in all the human knowledge just to sell it back to you
  • Effectively DDoS-ing hundreds of thousands of websites and forcing them to implement captcha-like screening
  • Frying (even more) new generation’s attention spans and melt their ability to think by themselves
  • Ruining human interaction on the internet and filling it up with shit content
  • Corporates forcing AI on everything for the sake of having it
  • Threatening to take people’s jobs

And tbf, most of those issues come from brain-rot executives and corporates.

It’s okay if you like it and you find it helpful, it’s a tool after all. Like any other tool, on the right hands might boost productivity and help with repetitive tasks.

The main problem is that most people will think that you support any of the above downsides by liking it.

I’m a bit curious, would you share your pro AI counterpoints?

~I~ ~know,~ ~username~ ~doesn’t~ ~check~ ~out~

~Edit:~ ~grammar~

Replying to @⁨DjangoFett@lemmy.zip⁩

I’ve dabbled with the ai I get from a kagi subscription its genuinely helpful with some stuff. If I put in a very fuzzy description of something I can write a paragraph about it and it will find it when no amount of searching has been able to turn it up. Its sometimes helpful with troubleshooting, sometimes not. I wouldn’t trust it for any subject I didn’t have some familiarity with and I do go double check some shit it tells me. Over all its fine but I wouldnt pay extra for it outside of my search subscription. I am still opposed to data center rollouts and power use that comes along with it and the lack of data sovereignty but a little box like a strix halo I could see being pretty useful.

Replying to an earlier post

“I can’t say that I’m exactly thrilled about the size of this all,” Torvalds wrote in the message that announces the seventh release candidate for Linux 7.2. “But it is what it is: the new normal with a lot of fixes, many of them due to review by various AI tools.”

<groan> Þey’re relying on AI for reviews? Maybe þat’s not what he meant, but þat’s how it reads, and it’d explain why I’ve been seeing more regressions in kernel releases lately.

Replying to @⁨General_Effort@lemmy.world⁩

Everyone dooming here, but he literally just said that AIs are finding lots of glitches in old code, and that for that reason updates are getting bigger. Linus is NOT vibe coding linux.

And recently ground breaking privillege escalation glitches were found and fixed because of a LLM.

Of course we dont want shitty code from LLMs, but if they find important glitches and vulnerabilities, we obviously need to use them.

Fixed: replaced mistyped Ws with Es

Replying to @⁨ChilledPeppers@lemmy.dbzer0.com⁩

…and 99.9% of what it identifies as errors either aren’t, or are so minor they’re irrelevant. And “fixing” them breaks piles of other code.

Projects that hasd no more than a dozen requests a year are now getting swamped with hundreds of requests a day. People in the third world are using agents to generate thousands of broken, garbage “patches” to claim money.

But why would Torvalds give a shit hey ? He can fuck over those people just like he did with C++ developers.

Replying to an earlier post

Especially if it comes to security. Hate AI like nothing else but you can’t deny the truth.

Linux is open source with all its code public with probably a docent of AI Agents constantly trying out different attack vectors, they will eventually find a vulnerability. It also does feel like there are more critical CVEs in recent times. (there is https://app.opencve.io/statistics but i feel like its too simple and context matters alot here but still).

I think its okey and actually a good thing if the kernel maintainers would have some AI helping them out with that sort of thing if we get a more secure kernel in return.

app.opencve.ioOpenCVE Statistics: Explore Vulnerability Trends and CVE InsightsDiscover detailed OpenCVE statistics: track CVE trends, vulnerability distributions by year, vendors, and products. Stay informed with the latest cybersecurity insights

Replying to @⁨XLE@piefed.social⁩

I will never use AI unless I am paid to like I currently am. I am not a worse developer for it. I have been learning software engineering continuously my entire life. I am completely self taught for over a decade professionally and longer than that in my free time. I have no university degree. I grew up in poverty in nowheresville Kentucky.

I don’t need an LLM to learn or succeed. LLMs literally need people like me. I am sad Linus cant see it that way, but never meet your heroes so they say. l

Replying to @⁨soratoyuki@piefed.zip⁩

because people with an agenda are seeing:

  • linux people hate ai
  • top linux guy doesn’t hate ai

then try to combine those while leaving out the specific details so people come to their own conclusions based on emotional reaction in the hopes that linux users will turn away from linux or even change their views on ai the same way maga fucks change their views on epstein

or maybe its just an every day well intentioned headline like everything else

Replying to @⁨General_Effort@lemmy.world⁩

Hyping up AI doesn’t become nice when Linus does it.

He can be a legendary developer, a better one than I’ll probably ever become, but I just don’t see how one can separate the use and the ethical implications of this. AI companies want to replace workers, period. There’s no plan to “increase productivity” and still employ this many people. The plan is to increase profits for shareholders.

AI helping Linus to develop better doesn’t make this reality go away. It’s akin to saying we should be thankful to nazi scientists.

Replying to @⁨piyuv@lemmy.world⁩

You should read the original article, or even his mail on LKML, because that is not what he is saying. He is not endorsing AI in any way; instead, he is concerned that the latest linux release candidate has so much changes, because everyone and their mother is using some AI tool to create and send “little small” fixes; obviously he has no control over how volunteers work.

Furthermore, he stated that the security mailing list has become unusable due to the influx of AI generated entries.

Replying to @⁨General_Effort@lemmy.world⁩

Using LLMs to analyze code for problems makes a lot of sense. It is just an extension of the rule based analysis we already do. It is very much a better hammer rather than a replacement of labour/thinking/taste. The programming languages we use are often difficult for humans to reason about reliably and hide a lot of errors. Our programming languages still suck (yes even Rust). If one day clang of gcc ships with a local LLM to lint code for security problems I would probably run it occasionally even on my hobby code despite being an AI hater.

If people are identifying errors using LLMs and fixing them by hand I am fine with that. It seems like a good use of the technology. If they start vibe coding drivers I want it declared so I can disable them or move to BSD.

Replying to an earlier post

But this is a best case scenario: bugs accumulated over the years are being spotted automatically and reviewed by experienced devs. It was normal to have a few updates that are very large due to all the accumulated cruft.

The bigger deal that will be an issue going forward is the bogus bug reports, not the good ones. The legit reports will dwindle eventually, bullshit reports will keep coming.

Replying to an earlier post

I asked it to generate a SQL query with a bit of python, as the database schema is huge and unknown to me, obviously I checked it for glaring errors etc. I went back and clarified a couple of basic points. It then told me what I was doing was completely wrong, generated new code that worked is a different way, with a different edge case missed.

It’s literally stack overflow but arguing with itself