this post was submitted on 02 Aug 2023
1449 points (97.9% liked)

Programmer Humor

33485 readers
229 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

I'm doing you a favor

top 50 comments
sorted by: hot top controversial new old
[–] traches@sh.itjust.works 54 points 2 years ago (2 children)

I post my terrible code to github so I can sabotage copilot

[–] floofloof@lemmy.ca 32 points 2 years ago (1 children)

Get copilot to generate bad code in quantity, then upload that to GitHub so it slowly cannibalizes itself.

[–] ox0r@jlai.lu 17 points 2 years ago* (last edited 2 years ago)

I only post upload badly written reverse shells so that copilot just turns all code in a backdoor, take that NSA!

[–] kamen@lemmy.world 6 points 2 years ago

Imagine Copilot using it to intentionally showcase terrible code.

[–] korstmos@kbin.social 38 points 2 years ago (6 children)

I dont post my code to github because I would rather use gitlab

We are not the same

[–] original_ish_name@lemm.ee 17 points 2 years ago

I dont post my code to gitlab because I would rather use codeberg

We are not the same

load more comments (5 replies)
[–] GodIsNull@feddit.de 37 points 2 years ago (4 children)

I don´t post code to github because it's a microsoft company.

load more comments (4 replies)
[–] uyuu@lemmy.4d2.org 35 points 2 years ago (2 children)

I got one star on my repo so i immediately privated it

[–] pythonoob@programming.dev 14 points 2 years ago

Shit that's brutal

[–] darcy@sh.itjust.works 6 points 2 years ago

me when i accidently star my own repo

[–] Gecko@lemmy.world 32 points 2 years ago (2 children)

ngl, I'm annoyed whenever someone creates an application but doesn't want to publish their code cause it looks bad. Like no one cares that your code is bad and by publishing it, you can get others to help you improve it.

[–] lol@sh.itjust.works 13 points 2 years ago* (last edited 2 years ago) (1 children)
[–] rmuk@feddit.uk 11 points 2 years ago (2 children)

Steadily increasing unsigned integer on a long-running piece of infrastructure: bonjour

load more comments (2 replies)
[–] fer0n@lemm.ee 13 points 2 years ago

I think you convinced me to actually do it

[–] HiddenLayer5@lemmy.ml 30 points 2 years ago* (last edited 2 years ago) (1 children)

"I don't post my code to GitHub because it's a proprietary platform owned by Microsoft and the antithesis to open source. We are not the same."

[–] umbrella@lemmy.ml 4 points 2 years ago* (last edited 2 years ago) (1 children)

They are probably scraping it to train AI anyway. Not doing that for free.

[–] MyNameIsRichard@lemmy.ml 13 points 2 years ago (1 children)

Maybe we should all host our shitty code on github and make the ai psychotic!

[–] dandroid@dandroid.app 7 points 2 years ago (2 children)

Oh don't worry. My shitty code is on GitHub.

load more comments (2 replies)
[–] zzzeyez@lemmy.dbzer0.com 29 points 2 years ago

i post my code to github so ppl will fix it for me because im just a artist

[–] cipherlab@lemmy.ml 20 points 2 years ago

I don't post code to GitHub because I get paid to code, and I'm too lazy to do more.

And my code probably sucks.

[–] maxbossing@feddit.de 19 points 2 years ago (1 children)

You don’t passt your code because you’re embarrassed by it.

I don’t post my code to github because i don’t use proprietary garbage.

We are not the same.

[–] Dirk@lemmy.ml 14 points 2 years ago (1 children)

You don't post your code to GitHub because you don't use proprietary garbage.

I don't post my code to GitHub because I selfhost my own Forgejo instance.

We are not the same.

[–] Afghaniscran@feddit.uk 31 points 2 years ago

You don't post you code to GitHub because you self host you something or other

I don't post any code to GitHub cos I don't code and I'm not really sure what's going on

Are we the same? Idk

[–] MeetInPotatoes@lemmy.ml 17 points 2 years ago (1 children)

User name checks out. I scrolled all the way down to make sure I can say this and still be original in this particular instance only.

[–] PretentiousDouche@lemmy.sdf.org 6 points 2 years ago (1 children)

The best part of Lemmy is the low userbase in comparison means it's easier to be original and not try and say the same thing a hundred times.

[–] MeetInPotatoes@lemmy.ml 5 points 2 years ago

Amen! There's plenty of content to doomscroll through as well. I genuinely don't miss Reddit as that part of my brain forgets it's not Reddit. Hell, we should call Lemmy "I can't believe it's not Reddit" and hire Fabio to do a commercial.

[–] scottmeme@sh.itjust.works 10 points 2 years ago (1 children)

I don't post my code to GitHub because I use GitLab. We are not the same

[–] TechieDamien@lemmy.ml 8 points 2 years ago (1 children)

I don't post to GitLab because I use Gitea. We are not the same.

[–] rmuk@feddit.uk 18 points 2 years ago* (last edited 2 years ago) (1 children)

I don't post to Gitea because I scrawl my code onto a piece of leather made of human flesh and venture down to the shore on a stormy night to hurl it into a raging sea as I shriek insults at God in a language known only to madmen. We are not the same.

[–] dmrzl@programming.dev 4 points 2 years ago (1 children)

Oh, you are the guy from the neighboring beach. We should consider synchronizing our sacrifice.

load more comments (1 replies)
[–] SexualPolytope@lemmy.sdf.org 9 points 2 years ago

I'm not a professional dev. So I don't care what anyone else thinks, it's not gonna affect my job prospects. So I publish all my shit code for the world to see.

[–] forgotmylastusername@lemmy.ml 9 points 2 years ago

I make throwaway accounts. Push code. Disappear forever. Come to find out nobody ever looks at it anyways.

[–] narc0tic_bird@lemm.ee 8 points 2 years ago

Many people here seem to have very strong opinions about GitHub :D

[–] Worthstream@lemmy.one 8 points 2 years ago (1 children)

Oh, that's the next excuse i'll use when a recruiter asks for my github page. "i'm protecting my product".

load more comments (1 replies)
[–] Anticorp@lemmy.ml 6 points 2 years ago (1 children)

GitHub has private repositories for both of you.

[–] MaxPower@feddit.de 12 points 2 years ago

I'd bet that AI still gets to appropriate it as its "own" creation.

[–] azvasKvklenko@sh.itjust.works 5 points 2 years ago

Most companies are both

[–] M1st3rM@discuss.tchncs.de 4 points 2 years ago (2 children)

Any good alternatives for GitHub you can recommend?

[–] maxbossing@feddit.de 12 points 2 years ago (2 children)

Codeberg, Forgejo, Gittea, Gitlab,

load more comments (2 replies)
[–] vox@sopuli.xyz 7 points 2 years ago* (last edited 2 years ago)

gitlab, self-hosted gitea instance, codeberg

[–] lowleveldata@programming.dev 4 points 2 years ago

Post it if it provides functions not found anywhere else. I can't give less fuck to code quality if it does the work for that absurd user requirement for me.

[–] roi@lemmy.blahaj.zone 3 points 2 years ago

I post to GitHub because I am GitHub

load more comments
view more: next ›