Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get rid of master/slave terminology #5248

Open
ThomasWaldmann opened this issue Jul 7, 2020 · 12 comments
Open

get rid of master/slave terminology #5248

ThomasWaldmann opened this issue Jul 7, 2020 · 12 comments

Comments

@ThomasWaldmann
Copy link
Member

master/slave was used a lot in the code that deals with hardlinks:

when we archive multiple hardlinks pointing to same inode (file contents), this happens:

  • the first encountered hardlink is treated like any regular file: its file contents are chunked, chunks written to repo, file metadata and chunkid_list is written to the archived item.
  • all afterwards discovered hardlinks referring to same inode also create a regular file item, but its source attribute points back to the name of the first encountered hardlink. these items do not have a chunkid_list and thus no own content.

so we need new terminology for this now, please suggest.

@ThomasWaldmann
Copy link
Member Author

maybe:

  • full hardlink vs. reference hardlink
  • contentful hardlink vs. contentless/reference hardlinks

don't like:

  • primary / secondary (because there might be any amount, not just 2. also, in the filesystem, hardlinks are fully symmetric)

@ThomasWaldmann
Copy link
Member Author

ThomasWaldmann commented Jul 7, 2020

@strugee
Copy link
Contributor

strugee commented Jul 8, 2020

canonical/alias maybe?

@ThomasWaldmann
Copy link
Member Author

@strugee i know that terminology rather from naming things. but in our case, hardlink names are all equally "good" in the filesystem (only for symlinks, there is a asymmetry).

So this is rather about how borg stores these items in the archive.

@strugee
Copy link
Contributor

strugee commented Jul 10, 2020

Yeah, I see what you're saying 👍

* contentful hardlink vs. contentless/reference hardlinks

The more I think about it the more I like this pairing. It does a pretty good job communicating the idea right in the name, without needing a ton of further explanation.

@ThomasWaldmann
Copy link
Member Author

Not sure why there is a thumbs down on the top post, but maybe it needs some clarification:

Of course renaming some words in an open source project does not change history nor does it improve the situation of slaves that still exist in today's world.

but keeping such negatively loaded terminology without a good reason or opposing to change them would be even worse, so let's just change them.

of course they were never meant in any negative way.

@deathtrip
Copy link

no need to inject divisive politics into open source software

@enkore
Copy link
Contributor

enkore commented Jul 30, 2020

primary/reference, stored/referencing [hardlink], first/following (<-- this is very accurate, but the terms are possibly too generic to be immediately registered as "jargon"). Contentful/contentless is very accurate and descriptive as well, but imho as far as contrasting pairs go both are pretty similar if you squint your eyes.

no need to inject divisive politics into open source software

As far as I can tell this is your first comment on a borg repo, perhaps contribute something else before trying to tell people what to do.

@enkore
Copy link
Contributor

enkore commented Jul 30, 2020

master chunks index -> primary/main chunks index (when referring to .../cache/.../chunks) and reference chunks index (in the case of borg.hashindex.ChunkIndex.stats_against -- the docstring basically calls it this already).

Renaming base branches might be a little bit annoying, but I'd suggest develop over latest, so that people are less tempted to run "the latest version" in production. Honestly "master" as a base branch name in git has always made little sense, if any. A poor default.

@ThomasWaldmann
Copy link
Member Author

Due to hardlink_master / slave removal, a good part of this ticket will be done within #6663.

@Cheaterman
Copy link

Cheaterman commented Jun 21, 2022

Primary/reference really sounds nice IMHO :-)

EDIT: Or main/reference for that matter, but I think "reference" conveys a good amount of meaning either way :-)

@elandorr
Copy link
Contributor

elandorr commented May 16, 2023

I'm here for software, but unfortunately, Zeitgeist politics invade this space every day.
This started as a reply to the PR comment auto-linked above, but it turned into a funny blog post, and everyone needs a laugh. (And some food for thought.) If the reader can't read more than twitter, just skip it.

This issue is completely offtopic, so why should @deathtrip not voice his opinion? That's what it's for. Make it private and go closed source, if you don't want open input. Him browsing issues shows he's probably an avid user seeing if he can help someone or learn something new, presumably he's techy enough to be allowed a technical opinion, but it wouldn't even matter, as this is wholly unrelated to tech and borg altogether.

There's pressure from almost every major corporation on almost every outlet, no hour goes by without another manipulative news 'article' or corporate announcement. Find a dozen a day, if you like. Rapidly spread by the lowest common denominator like the 'vice' you reference. A constant flurry of revisionism and rhetoric. They unilaterally decided to virtue signal and implicitly or openly deperson everyone who doesn't parrot. A slave to trends, sweet irony.

You wouldn't have created this issue in the first place, if it weren't for 24/7 brainwashing. Even non-media exposed native speakers don't see offense; non-native speakers don't even have any reference. Germans especially use the word 'Meister' in a myriad of ways, none of which are negative. ('Meisterbrief', 'meisterhaft', 'meisterlich', 'Meisterschaft', 'Meisterhand', peruse a dictionary to find dozens more) (I'm multilingual, that's not just autotrans) There's the English maester, too, all similarly positive. Master/slave are apt terms for many tech topics. The phrase 'being a slave to sth.' is linked to 'slavery' as much as 'killing a process' is linked to 'murder'. Or 'taking a shot at the problem' to 'firing a gun at your notebook'. The proposed changes are euphemisms forever linked to what you pretend to be against. Forever linked because of you. Nobody thought of it that way before. Just like in the link at the bottom.

Not to mention it's plain historically inaccurate. The historic issue affected everyone. This faulty logic would force you to hate everyone and everything, commit suicide on the spot, as there are thousands of such issues given a long enough timespan. Either be consistent or be a hypocrite.
Your own people were slaves for much of your own history, to your wealthy 'elite'. Every time they tried to break free, they were enslaved yet again. Over and over and over. Does that relate to anything in your life today? No. (Millions of your countrymen are in similarly terrible conditions today, in case you hadn't noticed.)

No admin who sets up repos, zones, anything, ever thinks of 'slavery', just like you don't think of murder when you casually SIGKILL. It's a trend and an attempt to further control language and thought.

This agenda wouldn't even be acceptable, if some revisionist liar misconstrued offense to profit off a random VCS term. Not even, if it were actually offensive. I just killed children on my computer who wouldn't play nice. Now that really is offensive. I connected to a sock. It was amazing, I sent so much through it, the box could barely keep up. Every Linux guy has a manual for killing on his system, backup users might BURP regularly until they discover borg. (That's star wars, right? I bet the borg are also offensive to someone, how dare you!) To keep our inbox pure and clean, an assassin is routinely employed. For penetration testing, john the ripper was used often, it seems hashcat is more common now. If you're a newfangled web-kid, you probably abused a vagrant before to rapidly deploy and gulp down your bloat in a segregated area. A container city for algos, hashtag thoughts and prayers.
I bet you can come up with 100 more.

If you want to, you can implicate anything in anything, even the term 'anything' can be made out to be 'bad'. I'll leave that as a thought exercise to the reader; I already found 2 ways you could successfully argue for in the same circles that push these nonsensical changes.

A 'primary' is superior to a 'secondary'. An 'alpha' is superior to a 'beta'. Being 'first' is better than 'following'. We'll be calling people 'references' soon enough. All been done before. We had to read about this behaviour in school, now it's becoming hip again. History really does repeat itself.

Oh, to start with borg, I bashed a cat with multiple pipes until the output pleased me. What did the cat ever do to me?! Now it's time for the big mounting. Isn't that illegal? Or maybe I'll have borg serve me? Or maybe I'll employ a supervisor to control zombies?
Does that make me a necromancer?
I should probably also add a trap before using it in production so I know when it dies unexpectedly.

Sure a lot of death and mayhem in UNIX. Just nobody ever thought of it that way, until psychopaths started policing language like it's 1984. Tells you much about the people who propagate such trends!

Let's not forget about the busybox on your devices.
Until now I never thought of it that way. Hilarious.

Tech is a useful tool for tyrants. Hence encryption became a must, for uttering words means starving homeless in the west, today. Depersoning takes mere hours. People go from 'stable' 9-5 to literal starvation in record time. From giving their life to the system to not having money to eat or pay basic deductibles. Millions upon millions of homeless.

Laut "Armutsbericht" des Paritätischen Wohlfahrtsverbandes leben im 83-Millionen-Einwohner-Land Deutschland inzwischen 13,8 Millionen Menschen unterhalb der - statistisch definierten - "Armutsquote".

Even government-controlled media using government-whitewashed numbers admits to 14 million people below the already ultra-low poverty line, in one of the richest and most powerful EU states. More than 1M homeless were reported in 2019. They censored the more honest article, but I found another (gov-media) one that admits 1M. But hey, we have to control language and stop free thinking! A clear priority.
My bad, 'homeless' is censored, now, they're the 'unhoused'. More filthy euphemisms. Please don't cut my social credit points, I'll reign in the evil words and stick with gov-approved groupthink. Shucks, I just used another banned phrase.

The new era of capitalist dictators has a nasty habit of using language for power and profit. If e.g. the new EU law passes, we're all terrorists, even for using e.g. borg. Then all language will be controlled. Dystopia perfected. Thomas will be our black arms dealer, if he doesn't remove the encryption functionality. But those of us who are admins with clearnet servers can't protect their users - at least not from within the EU, or, if the clients are in the EU.

If Thomas is defiant and continues to provide an encryption feature, he'll be labeled an official child molester, or at least supporter of such - this is officially 'just to help the children', after all. As someone with a history of abuse myself, I wish people would use honest language again. It's not 'CSAM' as the EU calls it, or 'pedos*xuality'. It's child p*rn, babyra*ing, done by heartless childf*ckers, use anything honest, don't hide the truth. It hurts when your suffering is turned into a political joke for greed and control. Not like the EU cares about these matters - millions of children disappear - no effort to explore and stop the root causes. Not in the US, not in the EU. The same 'leaders' personally engaged in pro child abuse matters forever. Eg. the PNVD and various clones. After decades of 'pedose*uality' talk by gov officials, widespread attempts at normalization, complicit mass-media, go figure.
Cohn-Bendit's still running around enjoying his illicit wealth. He openly spoke about how se*y 5 year olds are. Yes, we're not talking 14 year olds which are already the 'new normal' in this weird pro-censorship yet pro-child-abuse era.

If you haven't heard of the latest law, check this:
https://www.eff.org/deeplinks/2022/10/eu-lawmakers-must-reject-proposal-scan-private-chats
https://stopscanningme.eu/en/

At least be honest and consequent and change every single term that can possibly be offensive to anyone. In any language, or do you want to offend them? Looking at what the term means, start finding a new name for borg. How insensitive and offensive to use such a 'creature' for a brand! /s (Never saw star wars or trek, this is funny!)

They are very fitting, however:

The Borg are cybernetic organisms (cyborgs) linked in a hive mind called "the Collective". The Borg co-opt the technology and knowledge of other alien species to the Collective through the process of "assimilation": forcibly transforming individual beings into "drones"

The archetypal uber-slave owners. Full circle.

Good God, the backup tool I'm interested in is offensive! Sound the alert!
Should rename it the
Dedicated Integrity Multiplication with Increments Tool.
That's nice and neutral.

If you really want to be moral and help, go and donate to people directly! Now! Not next week, next month. There's so much poverty, go and do it today, it's trivial to find people in need!
And without first asking for their political affiliation.
Everyone deserves the same food and shelter you do, don't they?

Deduplicate yourself and check your integrity.

If you come from a well-paid tech job, then sell your house and go get a couple of people an apartment. Super easy. If everyone did that instead of virtue signaling, there'd be no poverty. Heck, I let someone stay with me, and I had a 20m2 city flat. It's doable and even fun. Where's that 'just do it' gif when you need it?

I'd like to leave you with a Carlin clip. He noticed the brain surgery 20 years ago: https://www.youtube.com/watch?v=h67k9eEw9AY. It's good he's dead so he doesn't have to see where it all went. More poverty, more suffering, more censorship than ever before. But his presentation is a joy.

Cheers dudes

Edit:
Borg is a goldmine:

We are the Borg. Lower your shields and surrender your ships. We will add your biological and technological distinctiveness to our own. Your culture will adapt to service us. Resistance is futile.

Almost makes me want to watch an episode or two, thanks!

@borgbackup borgbackup locked as too heated and limited conversation to collaborators May 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants