this post was submitted on 26 Mar 2026
472 points (99.0% liked)

Programmer Humor

31675 readers
1682 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Quicky@piefed.social 118 points 2 months 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 44 points 2 months 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 months 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.

[–] taco@anarchist.nexus 13 points 2 months 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 14 points 2 months ago

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

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

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

[–] ozymandias117@lemmy.world 4 points 2 months 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

[–] Aerosol3215@piefed.ca 4 points 2 months ago

Artisanal crap code.

[–] bufalo1973@piefed.social 2 points 2 months ago* (last edited 2 months 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.

I love the idea of giving CoPilot Torrettes.1

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

Name all your variables poorly and with swear words

[–] Flipper@feddit.org 8 points 2 months 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.

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

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

[–] 4am@lemmy.zip 18 points 2 months 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 14 points 2 months ago

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

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

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

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.