this post was submitted on 04 Jun 2024
815 points (99.0% liked)

Programmer Humor

32410 readers
237 users here now

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

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SzethFriendOfNimi@lemmy.world 34 points 5 months ago (1 children)

That one i get at least. But race condition is using race in the sense of a competition.

[–] sping@lemmy.sdf.org 106 points 5 months ago* (last edited 5 months ago) (4 children)

You do? Because I don't. There is nothing racist about the concept of master. Is a masterpiece racist? Are master tapes, Are post-graduate degrees racist? We may as well declare "work" insensitive because slaves had to work.

Don't get me wrong, there are many terms we should adjust. I just can't see how "master" is one of them.

[–] SpaceNoodle@lemmy.world 57 points 5 months ago (4 children)

I'd argue that abolishing the term "slave" isn't the worst idea, implying that the word "master," only in context where it's paired with "slave," should go as well - but that, of course, requires nuance, which a simple word filter lacks.

[–] lowleveldata@programming.dev 53 points 5 months ago (2 children)

This. To avoid the "master" branch on our git to be associated with "slave" I now name new branches "bitch"

[–] SpaceNoodle@lemmy.world 43 points 5 months ago (2 children)

There aren't "slaves" in git, though. The term "master" in that context is that of a master copy.

[–] steventhedev@lemmy.world 19 points 5 months ago (2 children)

Nope. Bitkeeper used it in the master-slave pairing and the term was carried forward. Gitlab did a whole writeup about it.

[–] xilona@lemmy.ml 10 points 5 months ago

"Historically, the default name for this initial branch was master. This term came from Bitkeeper, a predecessor to Git. Bitkeeper referred to the source of truth as the "master repository" and other copies as "slave repositories". This shows how common master/slave references have been in technology, and the difficulty in knowing how the term master should be interpreted."

Excerpt from the link the other member posted above! You're welcome!

[–] Miaou@jlai.lu 7 points 5 months ago

It's funny, because a quick online search shows gitlab runs operations in Saudi Arabia. But at least a bunch of idiot westerners get to feel good about themselves 🤷‍♂️

Just skip the intermediate naming conventions and go straight to dom/sub

[–] sping@lemmy.sdf.org 30 points 5 months ago (2 children)

And yet there's a big push to rename git "master" branches, which have no slave connotations and are more analogous to master recordings.

Its not like I'll fight it, but it's stupid.

[–] SpaceNoodle@lemmy.world 24 points 5 months ago (2 children)

It is stupid, and it's because of a failure to understand the nuance.

I will not inconvenience myself or anyone else by making any changes to existing configurations, which will surely break workflows, but I don't give a shit what the main branch is called as long as it's obvious.

[–] unionagainstdhmo@aussie.zone 17 points 5 months ago

what the main branch is called

you mean master?

[–] NotSteve_@lemmy.ca 2 points 5 months ago

I thought it was dumb too but, to be honest, I kind of prefer using "main" now. It's quicker to type lol

[–] FederatedSaint@lemmy.world 15 points 5 months ago* (last edited 5 months ago) (1 children)

Why abolish the word slave? I've heard of people advocating for abolishing the word "black" also. It's crazy to me. I don't understand how using the word at all somehow advocates for human slavery.

[–] SpaceNoodle@lemmy.world 9 points 5 months ago (1 children)

It draws unfortunate parallels.

I do agree that the proposals to abolish "black" feel a bit misguided though surely well-intentioned; the etymology of "blacklist," for example, has no relation to race whatsoever. However, there are unfortunate parallels with how "black" and "white" people were and indeed are still treated differently.

[–] frezik@midwest.social 5 points 5 months ago

the etymology of “blacklist,” for example, has no relation to race whatsoever

What happens is that the term "black" takes on negative connotations in a million different ways. "Blacklist" being one example. It may have no overt connection to race, but it gains it through repeated use in different contexts. Your brain doesn't necessarily encode the different contexts in separate ways. You may be able to think it through at a high level of rationality in a debate, but not when you're out on the street going about your day.

The solution may not be to change the language, though. There are too many longstanding cultural associations with black = evil, and there's just no way to get rid of them all.

https://www.scientificamerican.com/article/the-bad-is-black-effect/

"Although psychologists have known for a long time that people associate dark skin with negative personality traits, this research shows that the reverse is also true: when we hear about an evil act, we are more likely to believe it was done by someone with darker skin. This “bad is black” effect may have its roots in our deep-seated human tendency to associate darkness with wickedness. Across time and cultures, we tend to portray villains as more likely to be active during nighttime and to don black clothing. Similarly, our heroes are often associated with daytime and lighter colors. These mental associations between color and morality may negatively bias us against people with darker skin tones. If this is true, it has far-reaching implications for our justice system. For example, eye witnesses to crimes may be more likely to falsely identify suspects who possess darker skin."

"Overall, the “bad is black” effect only underscores the importance of finding ways to combat the various ways that our inherent biases can influence perceptions of guilt and innocence. Understanding the extent of these biases, as well as what may be causing them, represents an important first step."

[–] NigelFrobisher@aussie.zone 7 points 5 months ago

Humans, conversely, are incredibly talented at deciphering nuance, except when they don’t want to.

[–] AdamEatsAss@lemmy.world 16 points 5 months ago (1 children)

It upsets some people. It doesn't affect the end user. The terms "Bull Branch" and "Cuck Branch" will make stand up meeting more fun.

[–] bob_lemon@feddit.de 14 points 5 months ago (1 children)

Isn't the master branch the submissive one? Always behind, getting force fed content from the other branches.

[–] jaybone@lemmy.world 2 points 5 months ago

You take that push!

[–] Sylvartas@lemmy.world 9 points 5 months ago (2 children)

I guess it could be construed as racist when it's literally "master/slave". But I have never seen it as a normalization of slavery because there usually is no value attached to the terms, it's just describing the relation between them. And I don't think acknowledging that a slave generally doesn't have much say in doing what their master tells them is racist in itself or endorsing/normalizing slavery.

But also, I am white, and there are other terms we can use that can describe this kind of relation just fine, so, whatever. I just get mildly annoyed when some stuff that was working perfectly fine gets deprecated just to change these terms and I have to adapt to it.

[–] black0ut@pawb.social 3 points 5 months ago

Master/slave indicates a relationship between two things. You can have masters and slaves in mechanics, for example. We've also had masters and slaves for decades in the tech field. Drives and floppy readers used to be configured in a master/slave setting. And of course, you have masters and slaves in programming.

None of these examples have anything to do with race or human slavery. They're just a way to describe how two things interact with each other. Human slavery is called that way because the relationship between the slaves and the masters can be described by that word, not the other way around.

It's clear that we should stop using racist words with racist intentions. No-one argues that human slavery should be allowed. However, in this case, there's no intention of racism in the words, and we shouldn't stop using words just because they can be used in a racist setting. Same thing goes with black paint. It's clear that the word black is describing a color, and it is needed to correctly describe it.

[–] Semi_Hemi_Demigod@lemmy.world 1 points 5 months ago

I work with databases and don't use master/slave because it's not really accurate. Replicas break a lot, and the primary doesn't have any control over them.

[–] Skullgrid@lemmy.world -1 points 5 months ago (1 children)

Don’t get me wrong, there are many terms we should adjust. I just can’t see how “master” is one of them.

https://en.wikipedia.org/wiki/Master%E2%80%93slave_(technology)

here you go!

[–] Ephera@lemmy.ml 8 points 5 months ago (2 children)

That is a very specific usage of the word "master". We can adjust that, while continuing to use "master" in all the cases where it has nothing to do with slavery.

[–] MindTraveller@lemmy.ca 2 points 5 months ago

Let's just call it the sensei branch and be done with it

[–] Skullgrid@lemmy.world -1 points 5 months ago (1 children)

Whatever ma'am, go name the branch at work a racial slur, I don't care

[–] Ephera@lemmy.ml 4 points 5 months ago (1 children)

That's quite a toxic response, ma'am, and I do not understand why.

[–] Skullgrid@lemmy.world 1 points 5 months ago (1 children)
[–] fushuan@lemm.ee 1 points 5 months ago (1 children)

Because that's like saying that "negro" is a slur when it's being used in a Spanish textbook. No it's a fucking color. Context is important and rewriting other languages because it seems hurtful in yours is super toxic.

Master means supreme, master piece, the supreme piece, master ball, supreme ball, master key, the supreme key. It was used in slavery because the master was the supreme entity for the slaves, in a bad way. One specific use of a word doesn't and shouldn't cover the inherent meaning of it and as a consequence all of its uses.

Tbh, I don't care which name is used for the supreme branch, be it main or master because my team usually renames them to prod/uat/dev and branches as feature_etc, but saying that others are using racial slurs because they are using the old default that makes perfect sense is toxic.

[–] Skullgrid@lemmy.world 1 points 5 months ago (1 children)

Ok, and do the people who are offended/hurt/affected by the user of "master" not finding your desire to continue using master toxic?

[–] fushuan@lemm.ee 1 points 5 months ago (1 children)

I think that it's about intolerance, some people are using a term in the intended non-slur manner, and others are intolerant about that rational desire. Even tolerant people shouldn't torerate intolerance, so no, being pissed about people telling them to stop using the term in the intended non-slur way is not toxic.

If that really hurts you, it's a you thing. It's not intentional, the meaning isn't derived from the slur, it's not a micro aggression. You won't like the answer, but toughen up.

[–] Skullgrid@lemmy.world 1 points 5 months ago (1 children)

So , why is toughening up not an option for you?

[–] fushuan@lemm.ee 1 points 5 months ago (1 children)

As stated in my comment:

You shouldn't tolerate intolerance

Bro, I'm gonna asumme you are just creating fake outrage, holy shit.

[–] Skullgrid@lemmy.world 1 points 5 months ago

ok. and that's what we're doing with you. multiple gigantic software institutions with actual people who are affected by this have made the change, and you're sitting there going "brah, it's not offensive, it's cool, get hard" .

you get hard.