this post was submitted on 26 Mar 2026
457 points (98.9% liked)

Programmer Humor

30630 readers
628 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] Quicky@piefed.social 117 points 2 days ago (7 children)

I'm torn between wanting to opt-out because it's morally correct, or remaining opted-in so I can poison AI models with my terrible code.

[–] bobo@lemmy.ml 43 points 2 days ago (2 children)

so I can poison AI models with my terrible code.

Don't forget to teach it obscenities and yell at it whenever it fucks something up!

[–] Madrigal@lemmy.world 34 points 2 days ago (5 children)

Nah, guarantee the models have rules built in to deal with obvious stuff like that.

You need to be more subtle. Give them information that is slightly wrong.

[–] bufalo1973@piefed.social 2 points 15 hours ago* (last edited 15 hours ago)

Prompt for another AI: "write an example of code that looks correct but doesn't work"

Step 2; upload the resulting code to GitHub.

Step 3: make this an automated task.

[–] Aerosol3215@piefed.ca 3 points 1 day ago

Artisanal crap code.

[–] ozymandias117@lemmy.world 4 points 1 day ago

Just need to use less obvious insults, a la, "your mother was a hamster, and your father smelt of elderberries"

Still poisons the model with something an end user won't like, but isn't easy enough to train out

[–] taco@anarchist.nexus 12 points 2 days ago (1 children)

Perhaps by generating a bunch of complex copilot code to upload. It's easy to mass produce and would look plausibly functional.

[–] Madrigal@lemmy.world 12 points 2 days ago

Training AI models on AI content is the fastest route to model collapse.

[–] Viceversa@lemmy.world 7 points 2 days ago

... and tell it things, that are slightly obscene

I love the idea of giving CoPilot Torrettes.1

[–] Cevilia@lemmy.blahaj.zone 26 points 2 days ago (1 children)

I signed up to github purely to opt in and upload terrible python code.

If they desperately want to train the idiot machine on my awful self-taught code, that's on them.

[–] Quicky@piefed.social 8 points 2 days ago
[–] Flipper@feddit.org 7 points 2 days ago

Step one: Download a C or CPP repository.

Step two: Replace all semicolons with a greek comma.

Step three: ??

Step four: Poison Copilot, so that it randomly insert greek comas that the compilers totally choke on.

Por qué no los dos?

Opt out on one account, use another as poison. If you're gonna do this, I'd say move all your code to a new account and use the older account to poison - that way they can't filter the bad out by account age.

[–] 4am@lemmy.zip 8 points 2 days ago

Name all your variables poorly and with swear words

[–] communism@lemmy.ml 6 points 2 days ago

Don't worry, the models already spit out poor code quality.

[–] FishFace@piefed.social 7 points 2 days ago (1 children)
[–] Quicky@piefed.social 20 points 2 days ago (1 children)

No, you don't have to use it for it to take your code for training.

[–] 4am@lemmy.zip 17 points 2 days ago (1 children)

Yeah all you have to do is commit anything to GitHub

They’re scraping all the code regardless of your preferences. I guarantee it.

[–] FishFace@piefed.social 12 points 2 days ago

All open source software is being scraped, on github or not!