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

Programmer Humor

30630 readers
1045 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
[–] bobo@lemmy.ml 43 points 1 day 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 1 day 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 8 hours ago* (last edited 8 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 1 day 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 1 day ago

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

[–] Viceversa@lemmy.world 7 points 1 day ago

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

I love the idea of giving CoPilot Torrettes.1