this post was submitted on 22 Jun 2023
61 points (88.6% liked)

Programmer Humor

19623 readers
89 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
 
top 43 comments
sorted by: hot top controversial new old
[–] SpaceNoodle 50 points 1 year ago (2 children)

master (n): an original from which copies can be made

[–] [email protected] 23 points 1 year ago (2 children)

Context is pretty important when it comes to words with multiple definitions. I find it hard to interpret the "master branch" as anything but this definition. Now if you're talking about PATA hard drives, I can understand updating the standard terminology there.

[–] [email protected] 12 points 1 year ago

yeah we might know what a 'slave drive' is but it sure sounds sketchy lol

[–] SpaceNoodle 4 points 1 year ago

Right, or the relationship between an i^2^c host and a connected device. A blanket ban that doesn't consider context completely misses the entire point.

[–] bisby 7 points 1 year ago (6 children)

Thats not the only definition though. It's clearly the intended one, but it's possible to make someone think of other definitions when a word pops up.

And it's not too hard to go "Oh, I get why alternate definitions might make people uncomfortable, even if I have no issue with it." And if you can see why someone might be uncomfortable in a situation, and it's zero effort to avoid that situation... why not?

Unless you're intentionally trying to not understand, or lack empathy and genuinely can't understand why words with alternate definitions heavily linked to slavery might make people uncomfortable, it feels pretty self explanatory.

I'll give Linus a pass, because linux kernel is probably the most widely accessed repo out there, and changing defaults and standards can have an actual impact on third party tooling.

[–] [email protected] 13 points 1 year ago

and it's zero effort to avoid that situation

It usually isn't, though. Going against a standard causes extra work. If it's an existing project that already used that "bad word" then you're proposing a major piece of work to change things around, likely breaking a ton of stuff in the process.

[–] SpaceNoodle 12 points 1 year ago (2 children)

The meaning is exceedingly clear. Mindless actions ignoring context completely miss the entire point of the exercise, serving only to waste people's time with virtue signaling.

I in no way oppose changing the standard from "master" to "main" for new repositories, but going back and trying to change things with unknown dependencies is just going to cause more problems than it solves.

[–] bisby 2 points 1 year ago

I don't know the history of who started the master/main debate. if it was a bunch of white people trying to show how progressive they were while black programmers were like "yeah, we don't care", then it's virtue signaling. If it was the black programmers being like "this phrase feels weird to us... can we change it?" .. then it's not virtue signalling, it's listening to underrepresented voices. I legitimately don't know which scenario it is. I'm also not in a position where the word bothers me at all, but I also have an easy life, and if someone tells me a word used in a certain way feels weird and I can resolve that with 0 effort (ie, switch new projects to main), I will.

And of course about the retroactive changing, which is why I said I wouldn't expect linux to change.

[–] [email protected] -1 points 1 year ago* (last edited 1 year ago) (1 children)

I mean when you look at the inclusion of slave being used in the same context it’s not so clear.

https://en.wikipedia.org/wiki/Master/slave_(technology)

[–] [email protected] 6 points 1 year ago (1 children)

There aren't "slave branches" though. Yeah, there are places where master/slave terminology exists in computing but git branches aren't one. Full disclosure, I prefer main personally just because it is less characters lol.

[–] [email protected] 6 points 1 year ago (1 children)

There were such a thing as slave branches, though; not in git itself, but git was modeled after (and inherited the term ‘master’ from) bitkeeper, which had ‘master’ and ‘slave’ repositories.

I’m not sure that’s super relevant or important, these days, but, it feels worth getting the history right. The term ‘master’ as used in git can be traced directly to a master/slave usage, not a ‘master copy’ usage.

[–] [email protected] 4 points 1 year ago

Good point, I stand corrected then! That makes it trickier to talk about because it could just as easily mean the other usage of master now while still historically being master/slave.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (2 children)

I genuinely can’t understand why words with alternate definitions linked to slavery might make people uncomfortable. It unintentionally reminds you bad things in history, and? Should we stop using words like "Nazi" or "War" too? Can we all stop using "death" while we're at it? It reminds me the mortal nature of human

[–] [email protected] 4 points 1 year ago (1 children)

@lowleveldata In general, I would say yes, it’s better not to use “Nazi” as a metaphor for otherwise everyday activities where there are plenty of unobjectionable alternatives.

I don’t know that trying to divorce it from context and find a general rule is particularly helpful, though. It’s not just “alternate” definitions, it’s the primary definition for most people that the industry adopted.

[–] [email protected] 4 points 1 year ago (1 children)

@lowleveldata I am fully aware that most who use it regularly probably have recontextualized it by default, but why not be more inclusive to those who might be put off by it when we have perfectly cromuoent another options?

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Because that's a theory that could be applied to any words. We're catering to some imaginary person ("who might be put off") so it's basically devil's proof.

[–] [email protected] 1 points 1 year ago (2 children)

Because there are words that have less violent associations that can still capture the relationship sought to be described.

[Stop using Nazi, war]

Those aren't used for computing though. And, yeah, I think if we did we probably should. Like if terms related to genocide were used for stopping a lot of processes at once that would be pretty weird to me.

[death]

Kill is used to refer to stopping processes and that's probably where the line is in my opinion. It feels very different to me to say "kill a process" versus "genocide a group of processes"

[–] [email protected] 6 points 1 year ago (2 children)

We do use war. It's a common package in Java. Should we rename that because it might make people uncomfortable when we say "We are going to deploy the war tomorrow"? Why can't we just accept the fact that words have multiple meanings?

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

I want to update the web app but war never changes.

[–] [email protected] 5 points 1 year ago

hmm... have you tried nuking everything? That might help

[–] [email protected] 1 points 1 year ago

No, because it is an abbreviation for web archive.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

There's a project I'm following where an opcode called "SUICIDE" (which deleted the program it was triggered from) was renamed "SELFDESTRUCT" because people were bothered by the reference to self-harm. I personally considered it a waste of effort, but at least in that case it was really just a matter of changing some strings in the documentation and having compilers accept either label for it, since the opcode itself didn't change is value.

The opcode is likely to be entirely deprecated soon anyway, which IMO makes it even more of a waste of time. Oh well.

[–] marcos 3 points 1 year ago (1 children)

And it’s not too hard to go “Oh, I get why alternate definitions might make people uncomfortable, even if I have no issue with it.”

If you accept the opinion of people that take your words out of context in order to get offended, somebody somewhere will have a problem with every word you can pick in a dictionary to use.

It's a power play. The people insisting on the change want to exploit the people doing things so that they gain some perceived or real reward. Stop supporting this.

[–] bisby 0 points 1 year ago (1 children)

The issue is that no one is taking my words out of context to get offended. No one is getting offended because I said things. They are getting offended because of their own situation, that I just happened to have brought up. If someone in the military had PTSD because someone yelled "Duck!" and then a grenade blew up right near them, so now they have panic attacks anytime they hear someone loudly say duck. That isn't them "taking the word duck out of context" that is "the word duck affects their brain differently." No one is saying that using the word master makes you a mean malicious person. No one is accusing you of being on the attack trying to hurt people when you use a word without realizing how it impacts others. If a military vet was like "hey I have severe anxiety when someone says duck, can we say 'leave early' instead of 'duck out early'". I would be like "oh shit, i didnt realize. my bad, yeah, of course" not "YOURE TAKING MY WORDS OUT OF CONTEXT I HAVE THE RIGHT TO USE THOSE WORDS". If you know the word hurts others and then you double down and insist on using it, then yeah, you're on the attack because clearly you don't care that you are hurting people.

It's pretty easy to tell a good faith argument most of the time. You don't need to just blindly accept the opinion of all people. "Hey this word is heavily associated with slavery and makes people think of slavery" is pretty striaghtforward. Thats not a purely bad faith argument.

I don't know all who you think is "insisting" on the "master/main" change. Everyone I've talked to has been like "yeah, if we could that's cool." or likened it to more of a "its like if someone reminded you daily of that time you accidentally called the teacher 'mom' ... having it go away would be nice, but if it doesn't oh well." No one is crying over it or making demands. The only "insisting" is just people questioning why the slight suggestion results in so much pushback.

It seems like your only reason to not change is "because someone asked me to and I'm too stubborn and reject any decision that wasn't my own." At least "changing a branch name on the worlds largest repo has consequences" is a valid reason. But "I refuse to listen to others"... cmon.

[–] marcos 1 points 1 year ago (1 children)

If you know the word hurts others and then you double down and insist on using it, then yeah, you’re on the attack because clearly you don’t care that you are hurting people.

That would be a pretty ok argument, if you wasn't extending it to all of the internet. But you are, so it becomes "somebody somewhere on the world has a problem with your words, you should adjust or you are a bad person". And no, that form isn't reasonable.

It's also not reasonable if that person that has a problem with "duck" then comes back and say "yeah, and I have a problem with 'early' too", and you change early to something else, and they come back and say "yeah, we have a problem with 'of', can you stop that too?". And it just happens to be the same people raising a lot of other demands on a lot of other contexts, to the point that some people are just leaving the group to avoid them.

[–] bisby 1 points 1 year ago

Yeah. people raising complaints in bad faith is a problem. If they say "I have a problem with 'early' too" and the reason is just "i dont like it". then sure. I'd agree this is a person being a problem. This is a phrase that is directly traceable to master/slave via bitkeeper. Its not just "someone is grasping at straws trying to be offended at random words that are completely unrelated". And things can get stuck in your head. You might think of this conversation every time you git checkout master going forward. So a person affected by slavery, thinking of slavery everytime a word about slavery is used feels pretty understandable. It's not completely upfront, so if things don't change it's not going to cause someone to change careers. This is a VERY low impact change. It's going to make 1% of people's life 0.1% better. It will also make 0% of people's life worse at all. It is a net benefit.

A person with 3 legitimate complaints is not a problem. You gave an example of a person with 1 legitimate complaints and 2 random complaints.

To me, it sounds like you're saying "Black people complain about being oppressed too much, sure maybe they have some valid complaints, but the word doesn't bother ME so therefore this is just unfair whining." You don't see the severity of it, so therefore its not severe.

You seem pretty insistent on not wanting to change because you don't want to have to bend the knee and change just because someone told you to change. And I seem to think that this is a (very minor but nonzero) net benefit in the world, so the world gets better if we do it, not because we have to and someone is telling us to, but because why not. I don't think we're going to see eye to eye on this, so agree to disagree.

[–] [email protected] 2 points 1 year ago (1 children)

People get super defensive about every single word they say, like some single solitary slight substitution squarely suggests stifling someone's soul, striking substance seemingly senselessly. But it's not substance: it's simply a choice of word that some/many make without even really considering it. It's a non-issue that suddenly becomes a big damn problem suppressing people's freeze peach for no good reason I recall ever seeing.

"Hey, could you not say [word] [/so much] maybe? There are [better/other] choices" is apparently equivalent in personal offensiveness to "You're now Harold, a Scientologist whose favourite colour is green and your greatest dream/goal in life is to become a glider pilot."

[–] [email protected] 4 points 1 year ago

Where it really becomes an issue is when they find it so offensive they decide to break things. For example, a function was added to the Debian Buildbot packages so that updating the packages would artificially fail if it detected the worker basedir was in the slaves directory (which used to be the default). Forcing everyone using it to figure out what was wrong and move the directory. Because the Debian project apparently found a file path so offensive they had to ban it, even on your own private server.

[–] kredditacc 30 points 1 year ago* (last edited 1 year ago) (1 children)

I continue to name all my master branches master because, as a non-American, I don't want to abide by corporate moral signaling.

[–] [email protected] 2 points 1 year ago

Exactly my thoughts.

[–] [email protected] 17 points 1 year ago* (last edited 1 year ago) (1 children)
[init]
defaultBranch = chaos
[–] chaos 3 points 1 year ago

Yeah, let's do this!

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)

I just got annoyed yesterday when git made the default branch master and had to fiddle to push to githubs main

[–] kredditacc 6 points 1 year ago (2 children)

You had this problem probably because you created your repo with the GitHub web UI?

I always create the local repo first with git init, make at least 1 commit, and then gh repo create. And yes, my default branch would be master but why should I care if I offend some Americans.

[–] [email protected] 1 points 1 year ago

Naw I did it in the cmd line I guess the git version I have defaults to master I had already started working B4 init ing

[–] [email protected] 3 points 1 year ago

git push -u origin master and you're done. Then in the GitHub repo change the "default branch" to master.

Or, git branch -m main to rename locally.

[–] [email protected] 2 points 1 year ago

MA = maining art

load more comments
view more: next ›