this post was submitted on 18 Dec 2023
739 points (96.5% liked)

Programmer Humor

19699 readers
121 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 1 year ago
MODERATORS
 
all 37 comments
sorted by: hot top controversial new old
[–] [email protected] 95 points 11 months ago (8 children)

I don't open source my code bc I don't understand git

[–] [email protected] 44 points 11 months ago (1 children)

So, you don't "git it"?

I'll escort myself out.

[–] HamBrick 6 points 11 months ago

Git push yourself out* to make the obvious joke

[–] [email protected] 32 points 11 months ago

We are the same

[–] [email protected] 23 points 11 months ago
[–] [email protected] 20 points 11 months ago (2 children)

it's just linked lists of commits (except when merging)

[–] [email protected] 14 points 11 months ago* (last edited 11 months ago) (2 children)

I don't understand linked lists

[–] [email protected] 20 points 11 months ago (1 children)

In internet terms: It's just a soyjak holding a box with data who is pointing at another soyjak holding a box with data who is pointing at another {insert N-3 of the same soyjaks} soyjak with a box with data without an arm to point with

[–] [email protected] 5 points 11 months ago (1 children)

I don't understand what a soyjak is.

[–] [email protected] 20 points 11 months ago* (last edited 11 months ago) (1 children)
[–] [email protected] 6 points 11 months ago (1 children)

I still don't understand Git but I like this image

[–] [email protected] 5 points 11 months ago

each commit points to the one before. additionally a commit stores which lines in which files changed compared to the previous commit. a branch points to a particular commit.

[–] [email protected] 4 points 11 months ago (1 children)
[–] philm 3 points 11 months ago

Almost... To be precise it's a Merkle DAG

[–] [email protected] 14 points 11 months ago

It's perfectly fine to just make a zip available

[–] [email protected] 11 points 11 months ago

Branchophobic

[–] [email protected] 5 points 11 months ago

There's a guy out there who made a reversible NES emulator, meaning it can run games backwards and come to the correct state. He made a brilliant post on Reddit /r/programming linking his ideas for the emulator to quantum mechanics.

Then he was asked why he didn't distribute his program in git. He said that he didn't know git.

To me, that's a pretty good example of the difference between computer science and software engineering.

[–] [email protected] 1 points 11 months ago

You can open source your code just by uploading it on some kind of cloud storage and setting it as publicly available.

[–] [email protected] 25 points 11 months ago (3 children)

Jokes on you, the reason I don't open source my code is because I never finish writing it

[–] [email protected] 5 points 11 months ago

Commitmentphobe

[–] [email protected] 3 points 11 months ago (1 children)

Joke's* on you

(Short for "The joke is on you".)

[–] [email protected] 6 points 11 months ago

Jokes on you, my apostrophe key is broken

[–] [email protected] 0 points 11 months ago

But that's one of the benefits of open source. Post your code and find someone else to finish it :D

[–] [email protected] 17 points 11 months ago (1 children)

Personally, I open source my code as a resume.

[–] [email protected] 3 points 11 months ago

Is that why nobody would hire you? /s

[–] [email protected] 11 points 11 months ago (1 children)

I don't open it because there is more comment than code...

[–] autokludge 7 points 11 months ago* (last edited 11 months ago) (2 children)
[–] [email protected] 4 points 11 months ago

Nah fuck that, thats bloat.

[–] [email protected] 3 points 11 months ago

Ah, another professional documentation writer, greetings!

[–] [email protected] 8 points 11 months ago

Lol is it bad this is the reason I setup a self hosted gitea instead of GitHub

[–] [email protected] 5 points 11 months ago

That's a lot of spaghetti

[–] [email protected] 4 points 11 months ago

I don't open source because the open source idea values mainly practical advantage and does not campaign for principles.

When we call software “free,” we mean that it respects the users' essential freedoms: the freedom to run it, to study and change it, and to redistribute copies with or without changes. This is a matter of freedom, not price, so think of “free speech,” not “free beer.”

These freedoms are vitally important. They are essential, not just for the individual users' sake, but for society as a whole because they promote social solidarity—that is, sharing and cooperation. They become even more important as our culture and life activities are increasingly digitized. In a world of digital sounds, images, and words, free software becomes increasingly essential for freedom in general.

Tens of millions of people around the world now use free software; the public schools of some regions of India and Spain now teach all students to use the free GNU/Linux operating system. Most of these users, however, have never heard of the ethical reasons for which we developed this system and built the free software community, because nowadays this system and community are more often spoken of as “open source,” attributing them to a different philosophy in which these freedoms are hardly mentioned.

Some of the supporters of open source considered the term a “marketing campaign for free software,” which would appeal to business executives by highlighting the software's practical benefits, while not raising issues of right and wrong that they might not like to hear. Other supporters flatly rejected the free software movement's ethical and social values. Whichever their views, when campaigning for open source, they neither cited nor advocated those values. The term “open source” quickly became associated with ideas and arguments based only on practical values, such as making or having powerful, reliable software. Most of the supporters of open source have come to it since then, and they make the same association. Most discussion of “open source” pays no attention to right and wrong, only to popularity and success; here's a typical example. A minority of supporters of open source do nowadays say freedom is part of the issue, but they are not very visible among the many that don't.

The two now describe almost the same category of software, but they stand for views based on fundamentally different values. For the free software movement, free software is an ethical imperative, essential respect for the users' freedom. By contrast, the philosophy of open source considers issues in terms of how to make software “better”—in a practical sense only. It says that nonfree software is an inferior solution to the practical problem at hand.

[–] [email protected] 3 points 11 months ago

Stop not open sourcing your stuff because you think it's embarrassing. Some of the best products are made by junior devs, since they come with the fresh ideas and energy to change the status quo.

[–] [email protected] 3 points 11 months ago

I swear I saw this posted a few weeks back

[–] [email protected] 2 points 11 months ago

Por que no los dos?

[–] [email protected] 1 points 11 months ago

Why not both!