this post was submitted on 27 Oct 2025
386 points (99.7% liked)

Programmer Humor

27092 readers
971 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] biotin7@sopuli.xyz 2 points 1 hour ago

Because then Security would be non-existent.

[–] fu@libranet.de 1 points 1 hour ago

@cm0002 #nowplaying Absolutely Right - Five Man Electrical Band (Absolutely Right: The Best of Five Man Electrical Band)

[–] Randelung@lemmy.world 3 points 5 hours ago

ahahahaha

Oh, you're serious. Let me laugh even harder.

AHAHAHAHA

[–] flamekhan@lemmy.world 2 points 5 hours ago

People who say these things clearly have no experience. I spent an hour today trying to get one of the better programming models to parse a response. I gave it the inputs and expected outputs and it COULD not derive functional code until I told it what the implementation needed to be. If it isn't cookie-cutter problems then it just can't predict it's way through it.

[–] IzzyScissor@lemmy.world 19 points 12 hours ago (1 children)

SchrΓΆdinger's AI: It's so smart it can build perfect security, but it's too dumb to figure out how to break it.

[–] chicken@lemmy.dbzer0.com 2 points 8 hours ago (2 children)

If there are actually no bugs, can't that create a situation where it's impossible to break it? Not to say this is actually a thing AI can achieve, but it doesn't seem like bad logic.

[–] IzzyScissor@lemmy.world 6 points 7 hours ago

Even if there's such a thing as a program without bugs, you'd still be overlooking one crucial detail - no matter the method, the end point of cybersecurity has to interface with humans. Humans are SO much easier to hack than computers.

Let's say you get a phone call from your boss - It's their phone number and their voice, but they sound a bit panicked. "Hey, I'm just about to head into a meeting to close a major deal, but my laptop can't access the server. I need you to set up a temporary password in the next two minutes or we risk losing this deal. No, I don't remember my backup - it's written down in my desk but the meeting is at the client's office."

You'd be surprised how many people would comply, and all of that can be done by AI right now. It's all about managing risk - there's never going to be a foolproof system.

[–] bss03@infosec.pub 1 points 5 hours ago (1 children)

Rice's Theorem prevents this... mostly.

[–] chicken@lemmy.dbzer0.com 2 points 5 hours ago

Another way of working around Rice's theorem is to search for methods which catch many bugs, without being complete.

I'd guess that hypothetical AI cybersecurity verification of code would be like that, where there are probably no bugs, but it's not a totally sure thing. But even if you can't have mathematical certainty there are no bugs, that doesn't mean every or most programs verified this way are possible to be exploited.

[–] Blackmist@feddit.uk 10 points 13 hours ago

Ron Howard narrator: Actually, they would need more.

[–] Routhinator@startrek.website 34 points 18 hours ago

AI is opening so many security HOLES. Its not solving shit. AI browsers and MCP connectors are wild west security nightmares. And that's before you even trust any code these things write.

[–] HulkSmashBurgers@reddthat.com 5 points 13 hours ago

The look on her face in the thumbnail matches the title perfectly.

[–] DupaCycki@lemmy.world 37 points 20 hours ago (1 children)

At this point, they're just rage baiting and saying random shit to squeeze that bubble before it bursts.

[–] Hudell@lemmy.dbzer0.com 1 points 2 hours ago

They are just afraid that a competitor may find some way of actually benefiting from AI before they do.

[–] Mikina@programming.dev 28 points 22 hours ago* (last edited 22 hours ago) (1 children)

I have worked as a pentester and eventually a Red Team lead before leaving foe gamedev, and oh god this is so horrifiying to read.

The state of the industry was alredy extremely depressing, which is why I left. Even without all of this AI craze, the fact that I was able to get from a junior to Red Team Lead, in a corporation with hundreds of employees, in a span of 4 years is already fucked up, solely because Red Teaming was starting to be a buzz word, and I had passion for the field and for Shadowrun while also being good at presentations that customers liked.

When I got into the team, the "inhouse custom malware" was a web server with a script that pools it for commands to run with cmd.exe. It had a pretty involved custom obfuscation, but it took me lile two engagements and the guy responsible for it to leave before I even (during my own research) found out that WinAPI is a thing, and that you actually should run stuff from memory and why. And I was just a junior at the time, and this "revelation" got me eventually a unofficial RT Lead position, with 2 MDs per month for learning and internal development, rest had to be on engagements.

And even then, we were able to do kind of OK in engagements, because the customers didn't know and also didn't care. I was always able to come up with "lessons learned", and we always found out some glaring sec policy issues, even with limited tools, but the thing is - they still did not care. We reported something, and two years ago they still had the same bruteforcable kerberos tickets. It already felt like the industry is just a scam done for appearances, and if it's now just AIs talking to the AIs then, well, I don't think much would change.

But it sucks. I love offensive security, it was really interresting few years of my carreer, but ot was so sad to do, if you wanted to do it well :(

[–] Jocker@sh.itjust.works 4 points 20 hours ago (1 children)

Seeing all these AI ideas, i think security is about to get hugely more important in the near future.

[–] Mikina@programming.dev 6 points 15 hours ago

Definitely, but the issue is that even the security companies that actually do the assesments also seem to be heavily transitioning towards AI.

To be fair, in some cases, ML is actually really good (i.e in EDRs. Bypassing a ML-trained EDR is really annoying, since you can't easily see what was it that triggered the detection, and that's good), and that will carry most of the prevention and compensate for the vulnerable and buggy software. A good EDR and WAF can stop a lot. That is, assuming you can afford such an EDR, AV won't do shit - but unless we get another Wannacry, no-one cares that a few dozen of people got hacked through random game/app, "it's probably their fault for installing random crap anyway".

I've also already seen a lot of people either writing reports with, or building whole tools that run "agentic penetration tests". So, instead of a Nessus scan, or an actual Red Teamer building a scenario themselves, you get a LLM to write and decide a random course of action, and they just trust the results.

Most of the cybersecurity SaaS corporates didn't care about the quality of the work before, just like the companies that are actually getting the services didn't care (but had to check a checkbox). There's not really an incentive for them to do so, worst case you get into a finger-pointing scenario ("We did have it pentested" -> "But our contract says that we can't 100% find everything, and this wasn't found because XYZ... Here's a report with our methodology that we did everything right"), or the modern equivalent of "It was the AI's fault", maybe get a slap on the wrist, but I think that it will not get more important, but way, way more depressing than it already was three years ago.

I'd estimate it will take around a decade of unusable software and dozens of extremely major security breaches before any of the large corporations (on any side) concedes that AI was really, really stupid idea. And at that time they'll probably also realize that they can just get away with buggy vulnerable software and not care, since breaches will be pretty common place, and probably won't affect larger companies with good (and expensive) frontline mitigation tools.

[–] itkovian@lemmy.world 59 points 1 day ago

Execs and managers showing Dunning-Kruger in full effect.

[–] MashedTech@lemmy.world 5 points 18 hours ago

Who is paying her?

[–] onlinepersona@programming.dev 30 points 1 day ago (4 children)

I tried using AI in my rust project and gave up on letting it write code. It does quite alright in python, but rust is still too niche for it. Imagine trying to write zig or Haskell, it would make a terrible mess of it.

Security is an afterthought in 99.99% of code. AI barely has anything to learn from.

[–] wiegell 1 points 11 hours ago

Mitchell Hashimoto writes a lot of Zig with AI (and this interview is almost a year old), see: https://www.youtube.com/watch?v=YQnz7L6x068&t=490s How long since you have tried tools? I think there has been some pretty astounding progress during the last couple of months. Until recently i did not use it daily, but now I just cant ignore the efficiency boost it gives me. There are definitely security concerns, and at this point you should not trust code that you do not read/understand, but tbh. i'm starting to believe that AI might (at least in the short term) free up resources to patch stuff and implement security features, that otherwise was not prioritised before due to focus on feature development. What it does to the IT sector in the long run - who knows...

[–] krooklochurm@lemmy.ca 33 points 1 day ago (2 children)

If you're using Hannah Montana Linux you can just open a terminal and type "write me ____ in the language ____" and the Hannai Montanai will produce perfectly working code every time.

[–] jaybone@lemmy.zip 15 points 1 day ago (1 children)
[–] krooklochurm@lemmy.ca 20 points 1 day ago

Hannah Montana Linux is serious business. I would never joke about Hannah Montana Linux.

[–] Archer@lemmy.world 5 points 1 day ago

If this isn’t real then someone is going to make it

[–] buddascrayon@lemmy.world 5 points 20 hours ago

It does quite alright in python

That's cause python is the most forgiving language you could write in. You could drop entire pages of garbage into a script and it would figure out a way to run properly.

[–] funkless_eck@sh.itjust.works 3 points 19 hours ago

Even in Python you have to keep it siloed. You have to drip feed it pieces because if you give it the whole script it'll eat comments, straight up chop out pieces so you end up with something like

 def myFunction():
      # ...start of your function here...

replacing actual code.

[–] TheReturnOfPEB@reddthat.com 164 points 1 day ago (4 children)

couldn't ai, then also, break code faster than we could fix it ?

[–] NuXCOM_90Percent@lemmy.zip 41 points 1 day ago* (last edited 1 day ago) (3 children)

I mean, at a high level it is very much the concept of ICE from Gibson et al back in the day.

Intrusion Countermeasures Electronics. The idea that you have code that is constantly changing and updating based upon external stimuli. A particularly talented hacker, or AI, can potentially bypass it but it is a very system/mental intensive process and the stronger the ICE, the stronger the tools need to be.

In the context of AI on both sides? Higher quality models backed by big ass expensive rigs on one side should work for anything short of a state level actor... if your models are good (big ol' "if" that).

Which then gets into the idea of Black ICE that is actively antagonistic towards those who are detected as attempting to bypass it. In the books it would fry brains. In the modern day it isn't overly dissimilar from how so many VPN controlled IPs are just outright blocked from services and there is always the risk of getting banned because your wifi coffee maker is part of a botnet.

But it is also not hard to imagine a world where a counter-DDOS or hack is run. Or a message is sent to the guy in the basement of the datacenter to go unplug that rack and provide the contact information of whoever was using it.

load more comments (3 replies)
[–] PattyMcB@lemmy.world 18 points 1 day ago (2 children)

AI WRITES broken code. Exploiting is is even easier.

load more comments (2 replies)
load more comments (2 replies)
[–] Itdidnttrickledown@lemmy.world 5 points 18 hours ago (1 children)

AI might pull her head our of her ass... eventually.

[–] Reginald_T_Biter@lemmy.world 1 points 12 hours ago

At this point we need to pull their heads out of our asses

[–] HazardousBanjo@lemmy.world 34 points 1 day ago

As usual, the biggest advocates for AI are the ones who understand its limitations the least.

[–] deadbeef79000@lemmy.nz 27 points 1 day ago (1 children)

Ha ha ha ha ha!

Oh wait, you're serious. Let me laugh even harder.

HA HA HA HA HA!

[–] Hudell@lemmy.dbzer0.com 2 points 2 hours ago

But it's true. Security teams will be pointless once things become completely unsecurable.

[–] 30p87@feddit.org 89 points 1 day ago* (last edited 1 day ago) (5 children)

Genius strategy:

  • Replace Juniors
  • Old nerds knowing stuff die out
  • Now nobody knows anything about programming and security
  • Everything's now a battle between LLMs
[–] jaybone@lemmy.zip 19 points 1 day ago (1 children)

I’ve already had to reverse engineer shitty old spaghetti code written by people who didn’t know what they were doing, so I could fix obscure bugs.

I can wait until I have to do the same thing for AI generated code.

load more comments (1 replies)
[–] OctopusNemeses@lemmy.world 5 points 20 hours ago

This is a generalized problem. It's not only programming. The world faces a critical collapse of expertise if we defer to AI.

load more comments (2 replies)
[–] bleistift2@sopuli.xyz 69 points 1 day ago (2 children)
[–] thesmokingman@programming.dev 2 points 14 hours ago

The current administration believes the same stuff. She left with the admin change yet agrees with things like the current admin’s approach to AI regulation.

[–] Susaga@sh.itjust.works 21 points 1 day ago (1 children)

I wonder why they don't work there anymore...

[–] i_stole_ur_taco@lemmy.ca 12 points 1 day ago (1 children)

Replaced by AI, ironically.

load more comments (1 replies)
[–] jaybone@lemmy.zip 13 points 1 day ago

Fix what code? The code it broke or wrote like shit in the first place?

[–] violentfart@lemmy.world 32 points 1 day ago
[–] kn0wmad1c@programming.dev 13 points 1 day ago

Clearly she's never seen AI code.

[–] melfie@lemy.lol 18 points 1 day ago
[–] buttnugget@lemmy.world 4 points 23 hours ago

The one thing I will agree with is that If you ignore the AI part and just focus on the idea of having good software that can find code vulnerabilities, that’s a good idea.

[–] rozodru@pie.andmc.ca 19 points 1 day ago

Not with any of the current models, none of them are concerned with security or scaling.

load more comments
view more: next β€Ί