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

Programmer Humor

30700 readers
2141 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
all 44 comments
sorted by: hot top controversial new old
[–] Quicky@piefed.social 113 points 6 days ago (5 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.

[–] Cevilia@lemmy.blahaj.zone 26 points 6 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 6 days ago

Chaotic good

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

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

Name all your variables poorly and with swear words

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

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

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

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

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.

[–] vivalapivo@lemmy.today 64 points 6 days ago (1 children)

Opted Out and moved all to codeberg

[–] Captain_Faraday@programming.dev 26 points 6 days ago (2 children)
[–] vivalapivo@lemmy.today 30 points 6 days ago (1 children)

Has everything I need, but not more

[–] Susaga@sh.itjust.works 25 points 6 days ago

My god, this is such a positive review these days.

[–] TerHu@lemmy.dbzer0.com 11 points 6 days ago

i love codeberg, though i haven’t had a chance to test the collaboration features all that much

[–] smeg@feddit.uk 40 points 6 days ago (1 children)

Not to be too snarky, but was there ever an assumption that stuff you put in wasn't being used to train it? Safe to assume that any online service you're using is making use of the data you're giving it.

[–] nogooduser@lemmy.world 13 points 6 days ago (1 children)

If you’re a business with a contract with them it should state that they won’t use your data to train their models.

If you’re using the free service then you’re right that it’s safe to assume that your data was already being used.

[–] MNByChoice@midwest.social 8 points 6 days ago (1 children)

business with a contract

I always wonder at this and have cautioned my managers repeatedly. Yes, we have a contract, but they have a literal army of lawyers and we have less (one lawyer one retainer for hourly work or a small grouping focused on taxes and employment law). As if our ownership won't bend over backwards to avoid suing a large company like Google, AWS, Microsoft, or Oracle. (Maybe OpenAI and Anthropic are sue-able by a $100 million corp?)

As proof I offer the lawsuits between businesses that have proceeded far enough the general public has heard about them. Not a specific one, just all of them.

[–] nogooduser@lemmy.world 2 points 6 days ago (1 children)

You have to trust the contract.

If you use Microsoft 365 or Google Workspace etc then they already have all your data anyway. Most businesses have to trust other companies and the contract at some point.

The only other option is to use Open Source self hosted everything which is beyond most people’s ability.

[–] MNByChoice@midwest.social 3 points 4 days ago

There are more options than the two you mentioned. Listing a few as more people should remember them. I did get a bit off topic....

  1. Use huge company to provide service.
  2. Provide service oneself (, likely with Open Source. )
  3. Use small or medium company to provide service (, likely with Open Source. )
  4. Use huge company for things huge company is great with, but keep "crown jewels" of company on internal self provided systems.
  5. Use a small or medium company to provide a service, and another series of small or medium companies to check on the first company.
  6. Use a huge company based in a country that is very serious about laws and putting CEOs in prison for wrongful acts.
  7. Do not do the thing. (Included for completeness.)
  8. Do the thing not on a computer. (Violation of privacy could result in violation of more serious laws.)
  9. Use an older technology on a computer.
  10. Use the huge company to provide service, but ensure the data includes insane things.
[–] entropiclyclaude@lemmy.wtf 23 points 5 days ago

As soon as Microslop got involved I pulled all my repos and left.

[–] Aeri@lemmy.world 20 points 6 days ago (2 children)

I mean if it wants some absolutely abysmal code then look no further.

[–] traxex@lemmy.dbzer0.com 7 points 5 days ago

Hell yeah, I hope I contributed to some bot somewhere absolutely flailing to provide a good python snippet.

[–] GreenKnight23@lemmy.world 2 points 5 days ago (1 children)

makes me want to fill my repos with absolute garbage code.

[–] Aeri@lemmy.world 4 points 5 days ago

Way ahead of you

[–] lime@feddit.nu 21 points 6 days ago (2 children)

fun fact, if you've ever accidentally clicked the "enable" button on copilot because you're a dumbass who can't read, you get a shitton of more settings, most of which are locked to "enabled".

[–] Madrigal@lemmy.world 30 points 6 days ago (2 children)

Even more fun fact, if you never clicked the "enable" button on Copilot, most of those settings are locked to "enabled" anyway.

[–] lime@feddit.nu 18 points 6 days ago

yeah you just can't see them. fun!

[–] UnrefinedChihuahua@lemmy.dbzer0.com 8 points 6 days ago (2 children)

Yes I just found that this morning. Time to seriously look at the GitHub alternatives.

[–] UnrefinedChihuahua@lemmy.dbzer0.com 10 points 6 days ago (1 children)

Also another setting under CoPilot>Coding Agent - turn off for All Repositories - mine was set to On.

[–] Quibblekrust@thelemmy.club 1 points 5 days ago (1 children)

Even with that setting on, nothing would be done unless you explicitly assign a Github task to Copilot. Even then, the worst thing that would happen is you'd get a pull request at some point if you somehow accidentally assigned a task to Copilot.

Got it. I didn't read too far in it. I saw the option to turn something copilot-related off, so I took it!

Thanks for providing an explanation.

[–] Cevilia@lemmy.blahaj.zone 2 points 5 days ago

I hear good things about Codeberg

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

...and they want to train the idiot machine on this dumbass' terrible self-taught python code.

[–] lime@feddit.nu 4 points 5 days ago

i will not dispute the dumbass part but i have been programming professionally in python for 16 years. doesn't mean my code is any good, of course.

[–] HexesofVexes@lemmy.world 7 points 5 days ago
  1. Migrate code and back it up
  2. Set up local AI
  3. Have local AI "patch" your github code by converting the entire program into brainfuck (https://en.wikipedia.org/wiki/Brainfuck?wprov=sfla1)
  4. Merge patched version to GitHub
  5. Profit
[–] onlinepersona@programming.dev 9 points 6 days ago

If you're still om github, you're kinda doing for it.

[–] danhab99@programming.dev 2 points 4 days ago

I kind of wish we'd get some copilot discounts if we opt in

[–] Captain_Faraday@programming.dev 7 points 6 days ago (1 children)

Got this email last night and felt validated for never uploading any code to GitHub because I don’t trust Microsoft. lol I don’t have any big coding projects, but I self-host a ForgeJo server in my mini rack at home behind a Twingate VPN.

[–] Hawke@lemmy.world 7 points 6 days ago (1 children)

FYI: it is not “ForgeJo”

Forgejo is derived from Esperanto where the “ejo” suffix means “place”. The J is pronounced like y is in English.

It’s “forge-ejo” not “forge-joe”

[–] Quibblekrust@thelemmy.club 4 points 5 days ago (1 children)

No, it's pronounced ForJayHo.

[–] entwine@programming.dev 2 points 5 days ago

That's how I pronounce it in my head. Spanish J is pronounced with an H sound, and Spanish isn't a fake language like Esperanto.

[–] sp3ctr4l@lemmy.dbzer0.com 4 points 5 days ago* (last edited 5 days ago)

Microsoft:

Fully automating supply chain attacks since (at least) 2026.