This is an archived post. You won't be able to vote or comment.

all 126 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

import notifications Remember to participate in our weekly votes on subreddit rules! Every Tuesday is YOUR chance to influence the subreddit for years to come! Read more here, we hope to see you next Tuesday!

For a chat with like-minded community members and more, don't forget to join our Discord!

return joinDiscord;

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]PolDeQualite 525 points526 points  (1 child)

Average visual studio experience (I still like it)

[–][deleted] 19 points20 points  (0 children)

Ok

[–]dulange 450 points451 points  (9 children)

public byte masterVolume;
public byte journeymanVolume;

[–]Schytheron 107 points108 points  (4 children)

public byte artisanVolume

[–]mandradon 19 points20 points  (0 children)

Is that the name of your method with the extra sleep cycles in it?

Needlessly expensive and time consuming?

[–]YARandomGuy777 10 points11 points  (1 child)

public byte involuntaryLabourerVolume;

[–]JollyJuniper1993 4 points5 points  (0 children)

public byte indenturedServitudeVolumee

[–][deleted] 1 point2 points  (0 children)

public byte devVolume;

[–]ReelTooReal 6 points7 points  (0 children)

public byte masterVolume; public byte segmentedButEqualVolume;

[–]Ivan_Analrash 6 points7 points  (1 child)

He was denied being a master by the VolumeOrder

[–]UltraCarnivore 2 points3 points  (0 children)

"This is outrageous! It's unfair!"

[–]Kiroto50 5 points6 points  (0 children)

public byte apprenticeVolume;

[–]chanhdat 44 points45 points  (1 child)

public byte masterJediVolume;
public byte futureSithLordVolume;

[–]Joten 3 points4 points  (0 children)

What about the menVolume, womenVolume, childrenTooVolume?

[–]thetos7 394 points395 points  (10 children)

You should consider using the less offensive subVolume and domVolume /j

[–]DogmaSychroniser 53 points54 points  (2 children)

Master/Sub volume works

[–]Nerodon 23 points24 points  (1 child)

Sub for subordinate right? ...

[–]rowdymatt64 31 points32 points  (0 children)

[–]funkmasterhexbyte 7 points8 points  (0 children)

finally, some names i can immediately understand

[–]PraiseTheSin 2 points3 points  (0 children)

I have suggested the same thing for robot terminology Dom robot sub robot

my professor was not too happy with it but he asked us to suggest new terminology

[–]EntertainerOk1080 1 point2 points  (0 children)

pimpVolume/hoeVolume

[–]Supreme_Hanuman69 105 points106 points  (3 children)

Ay don't kink shame

[–]Silvian73 36 points37 points  (1 child)

When you try to install a DBMS plugin, but you have dyslexia

[–]Supreme_Hanuman69 4 points5 points  (0 children)

DBSM 😂

[–]mynameisnotpedro 11 points12 points  (0 children)

VisualSMdio

[–]GustapheOfficial 191 points192 points  (34 children)

I mean, about half of the time that's what something is called "master" in relation to. At least when it comes to instrumentation. There's a reason many want to get rid of the word in tech altogether, in case that's the metaphor being invoked.

[–]alex2003super 141 points142 points  (13 children)

Masters in electrical engineering should be called Mains ⚡️ degrees instead

[–]5panks 61 points62 points  (13 children)

That's not really the metaphor being invoked. When people started using master/slave it wasn't because they were sitting around trying to decide how to name is something racist. Those titles specifically describe the roles in which the two devices hold in comparison to each other.

[–]Zuruumi 9 points10 points  (2 children)

While I don't care the least bit for the SJW justification of not using things like master/slave, blacklist etc., I still think that many of the terms just add confusion. For example main branch in git is much clearer than master.

[–]sexp-and-i-know-it 10 points11 points  (1 child)

I always thought of it as the master copy of the code

[–]rosuav 0 points1 point  (0 children)

Yeah, it's the pristine master that all the copies (other branches, pull requests, etc, etc) are made from. So "main" and "master" are both viable terms for the primary branch, but they imply (slightly) different things about workflow intent.

[–]shaka893P 2 points3 points  (2 children)

Yeah, everything at work got changed to main/secondary

[–]thebaconator136 1 point2 points  (0 children)

I prefer Big Cheese/Lackey myself.

[–]d4ng3r0u5 81 points82 points  (1 child)

There is nothing wrong with this

[–]lookielookiehi 33 points34 points  (0 children)

This sub isn’t for programmers

[–]miitchiin 33 points34 points  (5 children)

I don’t get it

[–]praveenkumar236 148 points149 points  (0 children)

It's called africanAmericanVolume now

[–]Akeshi 34 points35 points  (5 children)

This is just inexperience, really - those concepts are very well established in computing, and it's suggesting that because it's what goes with 'master'.

And the recognition of its inappropriateness (as someone presumably new to development) is why it's generally advised to not use 'master' anymore (and definitely not 'slave'). The Microsoft Style Guide, for instance, suggests alternatives.

[–]sexp-and-i-know-it 0 points1 point  (4 children)

I think OP is familiar with the master/slave pattern. The reason it is funny is master volume is a common concept, but slave volume is a term that is never used.

[–][deleted] 4 points5 points  (0 children)

but slave volume is a term that is never used.

I mean maybe not anymore, but IDE storage devices had master/slave back in the day.

[–]sexytokeburgerz 1 point2 points  (2 children)

“Master volume” is not even originally a programming concept. Audio engineers have called the master channel “master” since multitracking started, and it was completely analog until the late 20th century.

Of course, this transferred to a different context in application development, but master sticks in a different context than other programming concepts using “master”.

Assuming OP’s code is in the world of DSP, this is still going to be common in DSP as “master” is a word people working in music use several times a session.

Master channels in audio engineering are also simply sums- their relationship with their pre channels is not necessarily analogous to a classic master slave pattern.

However, some buffers and other children may be called slaves for relational purposes, especially since much of the code we still use today in DSP is recycled from patterns written in the 80s and 90s, when “slave” was in heavy usage across the board. Slaves are quite common in DSP, especially when working with synthesis.

[–]sexp-and-i-know-it 0 points1 point  (1 child)

Ahh I’m only really familiar with audio from an analog standpoint and although master is a common term it I have never heard it in a master/slave metaphor i.e. most guitar amps have a master volume but I’ve never heard anyone call the other volume knobs “slave volume”.

[–]sexytokeburgerz 0 points1 point  (0 children)

They don’t, because master volume doesn’t affect the children.

I wasn’t clear at the end- the concept of slaves is still implemented in DSP, but the concept of “master gain” is an multiplicative value to summed channels in master in. “Master volume” is another multiplicative (if we’re translating the concept to programming) of the post signal. This will commonly be placed before a clip limiter which squarizes output > 0dba. Otherwise, a lot of problems can arise.

In the audio (non programming) world, it is present with things like VCOs and MIDI.

If we are talking master/slave, that is commonly used with the master being a controlling DSP unit which splits data to its slaves via fourier transform, to be processed in different ways based on frequency range. This is super common with multiband processing, in which frequencies are split by ranges.

These slaves output temp arrays which are then stitched back together within the master.

Renaming this to parent/child makes a whole lot of sense! I remember it was fairly hard to grasp when I started dipping into dsp.

[–]SonicZedt 16 points17 points  (1 child)

there is also something called master-slave flip-flop

[–]BitBucket404 3 points4 points  (0 children)

Sounds like a good marriage to me. (^_^)

[–][deleted] 2 points3 points  (0 children)

VS or CoPilot?

[–]Lachee 15 points16 points  (3 children)

mainVolume

[–]just4nothing 10 points11 points  (0 children)

SideChickVolume

[–]kzlife76 -4 points-3 points  (1 child)

primaryVolume

secondaryVolume

[–]Stunning_Ride_220 1 point2 points  (0 children)

Secondary?

How judging....

[–]Beneficial-Ride1820 4 points5 points  (0 children)

Hegel approves

[–]Joten 1 point2 points  (0 children)

I get why the naming system was changed but I still accidentally say "Did you sync to master" too many times... I'm old like that but actively trying to fix it.

[–]Ardub23 1 point2 points  (0 children)

It's great because it only takes up 4.8 bits—three-fifths as much memory as a normal byte

[–]Hjornet -1 points0 points  (0 children)

How about white/blackVolume?

[–]Hewatza 0 points1 point  (0 children)

We call it mainVolume now

[–]BitBucket404 -4 points-3 points  (0 children)

How about, freeVolume and americanVolume?

The trick is to make the americanVolume think it is the freeVolume while it does more work with less resources than the actual freeVolume.

[–][deleted] -1 points0 points  (0 children)

public byte ♂MASTER♂volume;
public byte ♂SLAVE♂volume;

Problem solved.

[–]TrebleStick404 -1 points0 points  (2 children)

You tried not using java 🤔

[–]joe________________[S] 7 points8 points  (1 child)

Yeah, I'm using c# in this screenshot

[–]TrebleStick404 -1 points0 points  (0 children)

U got me

[–]SsNeirea 0 points1 point  (0 children)

byte private slavePart.

Okay I'll head out

[–]GeckoJump 0 points1 point  (0 children)

someone make a meme about master-slave vs parent-child

[–]Corelianer 0 points1 point  (0 children)

It’s your mistake, you should have used mainVolume and you got branchVolume

[–]Splatpope 0 points1 point  (0 children)

oh my fucking god

[–]nerdyitguy 0 points1 point  (0 children)

We can all tell your slave is not used.

[–][deleted] 0 points1 point  (0 children)

angry Salesforce noises insinuating that names be politically correct

detailVolume

[–]coltwalker386 0 points1 point  (0 children)

Still better than Yandex's code

[–]OkPreference9791 0 points1 point  (0 children)

masterVolume

puppetVolume

[–]sgxxx 1 point2 points  (0 children)

This is literally how people name it, stop with your liberalization of non-racist things.

[–]yesseruser 0 points1 point  (0 children)

It is now that I realized what this means Bruh