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

Programmer Humor

31092 readers
770 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 120 points 4 weeks 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 4 weeks 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 4 weeks 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 4 weeks 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 13 points 4 weeks ago

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

[–] Viceversa@lemmy.world 7 points 4 weeks ago

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

[–] Aerosol3215@piefed.ca 4 points 3 weeks ago

Artisanal crap code.

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

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

[–] Cevilia@lemmy.blahaj.zone 27 points 4 weeks 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 4 weeks ago
[–] 4am@lemmy.zip 8 points 4 weeks ago

Name all your variables poorly and with swear words

[–] Flipper@feddit.org 8 points 4 weeks 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 4 weeks ago (1 children)
[–] Quicky@piefed.social 20 points 4 weeks ago (1 children)

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

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

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

[–] communism@lemmy.ml 6 points 4 weeks 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.