# About the use of the terms master/slave and blacklist, proposal to replace.

- Thread: https://externals.io/message/110515
- Original archive: https://news-web.php.net/php.internals/110515
- Started by Daniel Rodrigues Lima on 2020-06-15T15:43:14+00:00
- Messages: 50
- Page 1 of 2: messages 1 to 25 (25 per page, add `?page=N` to the URL)
- Next page: https://externals.io/message/110515.md?page=2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #110515 — Daniel Rodrigues Lima — 2020-06-15T15:43:14+00:00

URL: https://externals.io/message/110515#110515

Hi internals,

I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.
Therefore, I propose that we discuss the non-use of terms master/slave, because the use of this can allude to the slavery and negative feelings about black people.

Some projects that changed the terminology:

* https://github.com/sebastianbergmann/phpunit/commit/8e9c76d33dab4095c9066072076f368193e4166d
* https://go-review.googlesource.com/c/go/+/236857/
* https://issues.apache.org/jira/browse/COUCHDB-2248
* https://bugs.python.org/issue34605

Greets,

Daniel Rodrigues.

geekcom@php.net
https://twitter.com/geekcom2
https://www.linkedin.com/in/danielrodrigueslima/

---

## #110516 — Kalle Sommer Nielsen — 2020-06-15T15:58:20+00:00

URL: https://externals.io/message/110515#110516 · In reply to: #110515

Hi

Den man. 15. jun. 2020 kl. 18.43 skrev Daniel Rodrigues Lima
<danielrodrigues-ti@hotmail.com>:
>
> Hi internals,
>
> I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
> As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.
> Therefore, I propose that we discuss the non-use of terms master/slave, because the use of this can allude to the slavery and negative feelings about black people.

We are an open source project and should be politically neutral,
changing this not only causes a huge BC break, but puts us in a
position where we are no longer politically neutral. You should be
able to join and be a part of the PHP project without feeling
obligated to follow certain global politics like trying to not use
blacklist, master, slave or whatever flavour of the day word here that
may be offensive to someone.

The moment we change blacklist to blocklist, we are essentially
agreeing to the fact that we should censor words because they contain
a color in its name, something that is totally unrelated to any human
race. Are we also gonna change the internal values of the Garbage
Collector for PHP to not use different color markings or what about
the IMG_BLACKMAN filter, are we gonna rename that even though it is
named so after the Blackman-Turkey transformation? Of course we should
not. We cannot go around and censor words that have no correlation to
the current political events occurring world wide. This here is just
an example of changing things for the sake of changing.

-- 
regards,

Kalle Sommer Nielsen
kalle@php.net

---

## #110517 — Daniel Rodrigues Lima — 2020-06-15T16:15:25+00:00

URL: https://externals.io/message/110515#110517 · In reply to: #110516

Hi Kalle,

I understand your position.

But i believe that changing retrograde terminologies that refer to bad feelings,
doesn't put us anywhere politically.


It's not about sides, it's about people, and our community is made up of people.

--
Cheers,

Daniel Rodrigues

geekcom@php.net
https://twitter.com/geekcom2



________________________________
De: Kalle Sommer Nielsen <kalle@php.net>
Enviado: segunda-feira, 15 de junho de 2020 12:58
Para: Daniel Rodrigues Lima <danielrodrigues-ti@hotmail.com>
Cc: PHP Internals <internals@lists.php.net>
Assunto: Re: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

Hi

Den man. 15. jun. 2020 kl. 18.43 skrev Daniel Rodrigues Lima
<danielrodrigues-ti@hotmail.com>:
>
> Hi internals,
>
> I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
> As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.
> Therefore, I propose that we discuss the non-use of terms master/slave, because the use of this can allude to the slavery and negative feelings about black people.

We are an open source project and should be politically neutral,
changing this not only causes a huge BC break, but puts us in a
position where we are no longer politically neutral. You should be
able to join and be a part of the PHP project without feeling
obligated to follow certain global politics like trying to not use
blacklist, master, slave or whatever flavour of the day word here that
may be offensive to someone.

The moment we change blacklist to blocklist, we are essentially
agreeing to the fact that we should censor words because they contain
a color in its name, something that is totally unrelated to any human
race. Are we also gonna change the internal values of the Garbage
Collector for PHP to not use different color markings or what about
the IMG_BLACKMAN filter, are we gonna rename that even though it is
named so after the Blackman-Turkey transformation? Of course we should
not. We cannot go around and censor words that have no correlation to
the current political events occurring world wide. This here is just
an example of changing things for the sake of changing.

--
regards,

Kalle Sommer Nielsen
kalle@php.net

---

## #110518 — Max Semenik — 2020-06-15T16:28:17+00:00

URL: https://externals.io/message/110515#110518 · In reply to: #110517

пн, 15 июн. 2020 г., 19:15 Daniel Rodrigues Lima <
danielrodrigues-ti@hotmail.com>:

> But i believe that changing retrograde terminologies that refer to bad
> feelings,
> doesn't put us anywhere politically.
>
>
> It's not about sides, it's about people, and our community is made up of
> people.
>


The word "master" has 18 meanings in English, according to
https://en.m.wiktionary.org/wiki/master - do you propose to outlaw those 17
of them that have nothing to do with slavery, too? What about master's
degree, for example?

---

## #110519 — David Rodrigues — 2020-06-15T16:28:30+00:00

URL: https://externals.io/message/110515#110519 · In reply to: #110517

I don't think that terminology of this type affects people. Or else, they
shouldn't. Comparing "blacklist" with a black person, implying something
pejorative, seems more sick to those who think like that than we actually
understand with the meaning of the word in our midst. I understand that
this can be done in a different way from now on for new codes or updates,
as long as it does not impact immediate understanding and does not create
problems for existing things (like Github wanting to exchange "master" for
"main", which for me will cause much more confusion than actually solving
something for the world).

For me, such changes are just to say "we care" in a very forced and not at
all humble way. They are like youtubers that donate to homeless people just
to get likes, and basically they are not like that at all in everyday life
(of course, considering that there are really exceptions).

Anyway, I believe that we must keep the current terminology as long as it
has specific meaning for us and, if it is to change, to change little by
little, and not in a radical or forced way.


Atenciosamente,
David Rodrigues


Em seg., 15 de jun. de 2020 às 13:15, Daniel Rodrigues Lima <
danielrodrigues-ti@hotmail.com> escreveu:

> Hi Kalle,
>
> I understand your position.
>
> But i believe that changing retrograde terminologies that refer to bad
> feelings,
> doesn't put us anywhere politically.
>
>
> It's not about sides, it's about people, and our community is made up of
> people.
>
> --
> Cheers,
>
> Daniel Rodrigues
>
> geekcom@php.net
> https://twitter.com/geekcom2
>
>
>
> ________________________________
> De: Kalle Sommer Nielsen <kalle@php.net>
> Enviado: segunda-feira, 15 de junho de 2020 12:58
> Para: Daniel Rodrigues Lima <danielrodrigues-ti@hotmail.com>
> Cc: PHP Internals <internals@lists.php.net>
> Assunto: Re: [PHP-DEV] About the use of the terms master/slave and
> blacklist, proposal to replace.
>
> Hi
>
> Den man. 15. jun. 2020 kl. 18.43 skrev Daniel Rodrigues Lima
> <danielrodrigues-ti@hotmail.com>:
> > […]
> master/slave and blacklist terminologies.
> > […]
> see #blackLivesMatter for example.
> > […]
> because the use of this can allude to the slavery and negative feelings
> about black people.
>
> We are an open source project and should be politically neutral,
> changing this not only causes a huge BC break, but puts us in a
> position where we are no longer politically neutral. You should be
> able to join and be a part of the PHP project without feeling
> obligated to follow certain global politics like trying to not use
> blacklist, master, slave or whatever flavour of the day word here that
> may be offensive to someone.
>
> The moment we change blacklist to blocklist, we are essentially
> agreeing to the fact that we should censor words because they contain
> a color in its name, something that is totally unrelated to any human
> race. Are we also gonna change the internal values of the Garbage
> Collector for PHP to not use different color markings or what about
> the IMG_BLACKMAN filter, are we gonna rename that even though it is
> named so after the Blackman-Turkey transformation? Of course we should
> not. We cannot go around and censor words that have no correlation to
> the current political events occurring world wide. This here is just
> an example of changing things for the sake of changing.
>
> --
> regards,
>
> Kalle Sommer Nielsen
> kalle@php.net

---

## #110520 — Kalle Sommer Nielsen — 2020-06-15T16:29:20+00:00

URL: https://externals.io/message/110515#110520 · In reply to: #110517

Den man. 15. jun. 2020 kl. 19.15 skrev Daniel Rodrigues Lima
<danielrodrigues-ti@hotmail.com>:
>
> Hi Kalle,
>
> I understand your position.
>
> But i believe that changing retrograde terminologies that refer to bad feelings,
> doesn't put us anywhere politically.

It exactly puts us in a political area, because the moment we change
these things we are effectively agreeing that this is a terminology
(while unrelated to races) that should be censored. That is where the
political stance begins. You are trying to censor something because
you think it might be offensive to some, that is the first problem
here. Any person raised with basic understanding of social etiquette
and norms understand that these are not words that are offensive
words, unlike so many other words. Claiming a word may be offensive to
some without understanding the actual meaning of the word is poor
judgement.

> It's not about sides, it's about people, and our community is made up of people.

It puts us at different sides, because now you are playing on the
feeling that it refers to bad feelings, and because it is a political
agenda to censor, then it becomes about sides as there is never an
agreement in a political spectrum.

One thing your reply does not do either is to justify the BC break
that any of these have on a grand scale. It might be fine to change
your policy for your local medium sized open source project, but when
you are dealing with something on the scale of PHP, you have to
justify these changes and I still am not convinced that we should
change these for the sake of changing. I get that the thread is to
start a dialog, but I do not see any concrete plan here to justify
these changes.


-- 
regards,

Kalle Sommer Nielsen
kalle@php.net

---

## #110521 — Reinis Rozitis — 2020-06-15T16:36:53+00:00

URL: https://externals.io/message/110515#110521 · In reply to: #110518

> The word "master" has 18 meanings in English, according to
> https://en.m.wiktionary.org/wiki/master - do you propose to outlaw those
> 17 of them that have nothing to do with slavery, too? What about master's
> degree, for example?
> 

I wonder what will astronomers do with 'black hole' .. 

p.s. or physicists with 'white noise'. Also what happens when someone decides 'whitespace' to be racist ..  Crazy times.

rr

---

## #110522 — Stanislav Malyshev — 2020-06-15T16:48:10+00:00

URL: https://externals.io/message/110515#110522 · In reply to: #110516

Hi!

> The moment we change blacklist to blocklist, we are essentially
> agreeing to the fact that we should censor words because they contain
> a color in its name, something that is totally unrelated to any human
> race. Are we also gonna change the internal values of the Garbage
> Collector for PHP to not use different color markings or what about
> the IMG_BLACKMAN filter, are we gonna rename that even though it is
> named so after the Blackman-Turkey transformation? Of course we should
> not. We cannot go around and censor words that have no correlation to
> the current political events occurring world wide. This here is just
> an example of changing things for the sake of changing.

Very well said. Thank you.
-- 
Stas Malyshev
smalyshev@gmail.com

---

## #110523 — Michael Cordover — 2020-06-15T16:48:20+00:00

URL: https://externals.io/message/110515#110523 · In reply to: #110521

> > […]
> 
> I wonder what will astronomers do with 'black hole' .. 
> 
> p.s. or physicists with 'white noise'. Also what happens when someone 
> decides 'whitespace' to be racist ..  Crazy times.

The black in black hole and the white in whitespace are descriptions of the actual colors of these things. There's no value judgement there. Blacklist, on the other hand, is explicitly making a judgement that things on that list are bad. The association of "black" with "bad" (and "white" with "good" in whitelist) is the problem, not merely the use of a color at all.

Similarly, while there are plenty of meanings of master, the use of master as a branch name comes from BitKeeper[0], where it was specifically in the context of a master and a slave. This is specifically an analogy rooted in violent practices. While it may not be jarring for you to hear it, it can be deeply upsetting to people even to hear mention of slavery.

It's totally ok for a project to have and preserve established practices. But you can't get away from these facts: maintaining this terminology excludes people. It hurts people. The question is does PHP want to be a project that defends that, or do we want to try as hard as possible not to hurt folks. I know which side I'm on.

- mjec

[0]: https://github.com/bitkeeper-scm/bitkeeper/blob/master/doc/HOWTO.ask

---

## #110524 — Nikita Popov — 2020-06-15T16:51:09+00:00

URL: https://externals.io/message/110515#110524 · In reply to: #110515

On Mon, Jun 15, 2020 at 5:43 PM Daniel Rodrigues Lima <
danielrodrigues-ti@hotmail.com> wrote:

> Hi internals,
>
> I think the time has come for the PHP internals to discuss the use of
> master/slave and blacklist terminologies.
> As everyone can see, we are going through times of change in the world,
> see #blackLivesMatter for example.
> Therefore, I propose that we discuss the non-use of terms master/slave,
> because the use of this can allude to the slavery and negative feelings
> about black people.
>

If you would like to rename user-visible symbols, please create an RFC,
which details what exactly will be renamed, analyzes what the backward
compatibility impact will be and provides a sensible migration path and
timeline.

If I may be honest, I find it somewhat disrespectful that you started this
thread without investing any effort from your side. A simple "grep
backlist" and "grep master" on the PHP codebase would have gone a long way
towards identifying what can/should be changed.

Regards,
Nikita

---

## #110525 — Stephen Reay — 2020-06-15T16:54:17+00:00

URL: https://externals.io/message/110515#110525 · In reply to: #110515

> 
> 
> Hi internals,
> 
> I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
> As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.
> Therefore, I propose that we discuss the non-use of terms master/slave, because the use of this can allude to the slavery and negative feelings about black people.
> 
> Some projects that changed the terminology:
> 
> * https://github.com/sebastianbergmann/phpunit/commit/8e9c76d33dab4095c9066072076f368193e4166d
> * https://go-review.googlesource.com/c/go/+/236857/
> * https://issues.apache.org/jira/browse/COUCHDB-2248
> * https://bugs.python.org/issue34605
> 
> Greets,
> 
> Daniel Rodrigues.
> 
> geekcom@php.net
> https://twitter.com/geekcom2
> https://www.linkedin.com/in/danielrodrigueslima/
> 

Hi Daniel,

I’m sympathetic to your goals. I’ve had a client ask me in the last hour, while discussing a Redis issue “can we replace those terms ‘slave’ and ‘master’ with “primary” and “replica”.


In technology circles, the terms master and slave are almost always referred to in terms of replicated data stores, and the ‘normal’ replacements are “primary” and “replica”. The terms “whitelist” and “blacklist”  generally refer to allowing or disallowing things explicitly.


I’m not going to say it’s not practical to do this or that it’s a BC break, because without some context of what you believe needs to change in PHP itself, this whole conversation seems very abstract.

Can you identify actual references to the terms “master”, “slave”, “blacklist”, “whitelist” somewhere in php that you feel should be changed?



Cheers


Stephen

---

## #110526 — Stanislav Malyshev — 2020-06-15T17:00:22+00:00

URL: https://externals.io/message/110515#110526 · In reply to: #110515

Hi!

> I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
> As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.

While your quest for more just and fair world is noble and laudable, I
think your energies are misplaced in this case. Terms like "blacklist"
are established industry terms (and are used also outside the industry -
there's a TV show which is called literally "The Blacklist") and have
absolutely nothing to do with race or any other human traits. Objecting
to "blacklist" makes as much sense as objecting to terms such as
"whitespace", "blackout", "white paper", "red-black tree", "rainbow
tables", or declaring the keyword "final" to be anti-Semitic because
there was "final solution". I think there is many other ways to more
productively spend your time than inventing reasons why innocent words
suddenly have nefarious meanings. However, you are, as literally anybody
is, with no regard to any political labels, free to submit a pull
request against PHP source and we will take a look at it then.

-- 
Stas Malyshev
smalyshev@gmail.com

---

## #110527 — Daniel Rodrigues Lima — 2020-06-15T17:10:32+00:00

URL: https://externals.io/message/110515#110527 · In reply to: #110524

Hi Nikita,

Thanks for suggestions, I didn't mean to be disrespectful.
Create an RFC is exactly the next step, but first I needed to understand if there was support for that.

How is it in the process of creating an RFC...

"1. Email internals@lists.php.net to measure reaction to your intended proposal. "

--
Cheers,

Daniel Rodrigues

geekcom@php.net
https://twitter.com/geekcom2
________________________________
De: Nikita Popov <nikita.ppv@gmail.com>
Enviado: segunda-feira, 15 de junho de 2020 13:51
Para: Daniel Rodrigues Lima <danielrodrigues-ti@hotmail.com>
Cc: PHP Internals <internals@lists.php.net>
Assunto: Re: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.


Hi internals,

I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.
Therefore, I propose that we discuss the non-use of terms master/slave, because the use of this can allude to the slavery and negative feelings about black people.

If you would like to rename user-visible symbols, please create an RFC, which details what exactly will be renamed, analyzes what the backward compatibility impact will be and provides a sensible migration path and timeline.

If I may be honest, I find it somewhat disrespectful that you started this thread without investing any effort from your side. A simple "grep backlist" and "grep master" on the PHP codebase would have gone a long way towards identifying what can/should be changed.

Regards,
Nikita

---

## #110528 — Ben Ramsey — 2020-06-15T17:22:21+00:00

URL: https://externals.io/message/110515#110528 · In reply to: #110527

> 
> 
> Hi Nikita,
> 
> Thanks for suggestions, I didn't mean to be disrespectful.
> Create an RFC is exactly the next step, but first I needed to understand if there was support for that.
> 
> How is it in the process of creating an RFC...
> 
> "1. Email internals@lists.php.net to measure reaction to your intended proposal. “

You will be able to measure reaction better if you put together a more detailed plan. It doesn’t have to be a full RFC right now, but if you can point to specific places in the PHP code and specific words (and what you plan to replace them with), it will help everyone here discuss things in more concrete terms, rather than thinking abstractly about it.

I also would like to briefly touch on one other thing:

> Kalle Sommer Nielsen wrote:
> 
> We are an open source project and should be politically neutral

Open source itself is not politically neutral. To state that it is is disingenuous. You might think that your involvement in open source is politically neutral, but it most certainly is not. You are participating because of certain political views you hold. :-)

Cheers,
Ben

---

## #110529 — Lester Caine — 2020-06-15T17:23:12+00:00

URL: https://externals.io/message/110515#110529 · In reply to: #110526

> While your quest for more just and fair world is noble and laudable, I
> think your energies are misplaced in this case. Terms like "blacklist"
> are established industry terms (and are used also outside the industry -

It is now highly likely that M$ will force changes to these in github 
which is probably part of what has prompted the thread. Once 'new 
established industry terms' have been dictated, then it's simply a 
matter of does the PHP process where it is mirrored on github follows 
the new standard?

https://www.theregister.com/2020/06/15/github_replaces_master_with_main/ 
if people are not following the press coverage.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - https://lsces.uk/wiki/Contact
L.S.Caine Electronic Services - https://lsces.uk
Model Engineers Digital Workshop - https://medw.uk
Rainbow Digital Media - https://rainbowdigitalmedia.uk

---

## #110530 — Stanislav Malyshev — 2020-06-15T17:35:56+00:00

URL: https://externals.io/message/110515#110530 · In reply to: #110529

Hi!

> It is now highly likely that M$ will force changes to these in github
> which is probably part of what has prompted the thread. Once 'new

If and when this will happen, we'll see the official message from
Microsoft/Github and decide how to act. There's no point in discussing
such hypotheticals now, since right now Microsoft/Github does not
require anything like that from anybody.

-- 
Stas Malyshev
smalyshev@gmail.com

---

## #110531 — Alain D D Williams — 2020-06-15T17:46:45+00:00

URL: https://externals.io/message/110515#110531 · In reply to: #110526

> Hi!
> 
> > […]
> 
> While your quest for more just and fair world is noble and laudable, I
> think your energies are misplaced in this case. Terms like "blacklist"
> are established industry terms (and are used also outside the industry -
> there's a TV show which is called literally "The Blacklist") and have
> absolutely nothing to do with race or any other human traits. Objecting
> to "blacklist" makes as much sense as objecting to terms such as
> "whitespace", "blackout", "white paper", "red-black tree", "rainbow
> tables", or declaring the keyword "final" to be anti-Semitic because
> there was "final solution". I think there is many other ways to more
> productively spend your time than inventing reasons why innocent words
> suddenly have nefarious meanings. However, you are, as literally anybody
> is, with no regard to any political labels, free to submit a pull
> request against PHP source and we will take a look at it then.

+1

The word/term 'blacklist' seems to go back to 1639:

https://en.wikipedia.org/wiki/Blacklisting


Master/slave is used in many places in engineering where something makes
something else do something. There is nothing that suggests of one human
controlling another. Eg: in car brakes:

https://www.carthrottle.com/post/how-master-cylinders-and-slave-cylinders-work-and-their-importance/



Let us say that we do eliminate terms that some people somehow think refers to
them, where does it stop ? Today it is race (or 'black' skin colour). Tomorrow
it could be:

* 'black hole' (as in collapsed star)

* 'brown out' (as in what happens when the electricity is not good enough) - is
that offensive to people with brown skin ?

* 'yellow pages' (as in NIS) as it might offend some oriental people ?

* 'fat client' (as in client software that does a lot) as it offends people
with a weight problem ?

* 'male/female connectors' ?

* 'zombie processes' ?

There are many, many. Quite hard to write a list because we use the terms every
day with without any intention of offending anyone.

Then other people who identify as groups, eg: sexual, disability, hair colour,
age, jobs, ...

Once you have a list: then come up with lists of words in other (non English) languages.

Once we have done all that then it will need to be revised in a couple of
decades time when different words will, by some people, regarded as offensive.

In other words: you can never win.


It is very easy to take offence when none is meant at all. One needs to look at intent.

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h

---

## #110532 — Lynn — 2020-06-15T18:05:14+00:00

URL: https://externals.io/message/110515#110532 · In reply to: #110531

On Mon, Jun 15, 2020 at 7:46 PM Alain D D Williams <addw@phcomp.co.uk>
wrote:

> It is very easy to take offence when none is meant at all. One needs to
> look at intent.
>

Hi,

I'm going to disagree here. It's not about intent, it's about impact. You
can have the best intentions with the worst results.

When I read the replies here, it makes me sad. The comments come from a
place of white privilege and I'm sad to see that's how people think about
it.

Regards,
Lynn

---

## #110533 — Chuck Adams — 2020-06-15T18:18:26+00:00

URL: https://externals.io/message/110515#110533 · In reply to: #110515

Oh man, not this again, not here.  Nothing intelligent ever comes out of this.

Looks like most instances in the PHP source refer to mysql constants,
which means the ball would be in mysql's court.  Reality is you'd
still need the aliases that contain the offending word.

The other is in ext/standard/proc_open.c, referring to a "slave pty".
Seems pretty trivial to change.

But "trivial" is the operative word here.  Go join a protest and/or
call your congressperson if you want to actually do something
constructive.

Heck, it's not a big list.  How about nobody EVEN starts on the name
of the branch...

✔ ~/proj/php/php-src [master|✔]$ ag slave
ext/standard/tests/file/userstreams.phpt
17:to the game you stay a slave

ext/standard/proc_open.c
613:static int set_proc_descriptor_to_pty(descriptorspec_item *desc,
int *master_fd, int *slave_fd)
616: /* All FDs set to PTY in the child process will go to the slave
end of the same PTY.
620: * slave FDs. */
622: if (openpty(master_fd, slave_fd, NULL, NULL, NULL)) {
629: desc->childend   = dup(*slave_fd);
761: int ndesc, int nindex, int *pty_master_fd, int *pty_slave_fd) {
803: /* Set descriptor to slave end of PTY */
804: retval = set_proc_descriptor_to_pty(&descriptors[ndesc],
pty_master_fd, pty_slave_fd);
925: int pty_master_fd = -1, pty_slave_fd = -1;
998: &pty_master_fd, &pty_slave_fd) == FAILURE) {
1220: if (pty_slave_fd != -1) {
1221: close(pty_slave_fd);

ext/mysqlnd/mysqlnd_enum_n_def.h
599: STAT_COM_REGISTER_SLAVE,
664: COM_REGISTER_SLAVE,
692:#define MYSQLND_REFRESH_SLAVE 64 /* Reset master info and restart slave */

ext/mysqlnd/mysqlnd_libmysql_compat.h
127:#define REFRESH_SLAVE MYSQLND_REFRESH_SLAVE

ext/mysqlnd/mysqlnd_wireprotocol.c
52:  "TABLE_DUMP", "CONNECT_OUT", "REGISTER_SLAVE",

ext/mysqlnd/mysqlnd_statistics.c
181: { MYSQLND_STR_W_LEN("com_register_slave") },

ext/gd/libgd/gd_png.c
365: /* 2.0.12: Slaven Rezic: palette images are not the only images

ext/mysqli/tests/mysqli_constants.phpt
97:        "MYSQLI_REFRESH_SLAVE" => true,
200:            $expected_constants["MYSQLI_RPL_SLAVE"] = true;

ext/mysqli/tests/mysqli_get_client_stats.phpt
1250:  ["com_register_slave"]=>

ext/mysqli/mysqli.c
818: REGISTER_LONG_CONSTANT("MYSQLI_REFRESH_SLAVE",
REFRESH_SLAVE, CONST_CS | CONST_PERSISTENT);
✔ ~/proj/php/php-src [master|✔]$


--c

On Mon, Jun 15, 2020 at 9:43 AM Daniel Rodrigues Lima
<danielrodrigues-ti@hotmail.com> wrote:
>
> Hi internals,
>
> I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
> As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.
> Therefore, I propose that we discuss the non-use of terms master/slave, because the use of this can allude to the slavery and negative feelings about black people.
>
> Some projects that changed the terminology:
>
> * https://github.com/sebastianbergmann/phpunit/commit/8e9c76d33dab4095c9066072076f368193e4166d
> * https://go-review.googlesource.com/c/go/+/236857/
> * https://issues.apache.org/jira/browse/COUCHDB-2248
> * https://bugs.python.org/issue34605
>
> Greets,
>
> Daniel Rodrigues.
>
> geekcom@php.net
> https://twitter.com/geekcom2
> https://www.linkedin.com/in/danielrodrigueslima/

---

## #110534 — Daniel Rodrigues Lima — 2020-06-15T18:50:02+00:00

URL: https://externals.io/message/110515#110534 · In reply to: #110533

Hi Chuck,

About the blacklist , I searched the branch master and found 170 occurrences.

✔ grep -rni "blacklist" php-src/ > blacklist_occurrences.txt

--
Cheers,

Daniel Rodrigues

geekcom@php.net
https://twitter.com/geekcom2

________________________________
De: Chuck Adams <cja987@gmail.com>
Enviado: segunda-feira, 15 de junho de 2020 15:18
Para: Daniel Rodrigues Lima <danielrodrigues-ti@hotmail.com>
Cc: PHP Internals <internals@lists.php.net>
Assunto: Re: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

Oh man, not this again, not here.  Nothing intelligent ever comes out of this.

Looks like most instances in the PHP source refer to mysql constants,
which means the ball would be in mysql's court.  Reality is you'd
still need the aliases that contain the offending word.

The other is in ext/standard/proc_open.c, referring to a "slave pty".
Seems pretty trivial to change.

But "trivial" is the operative word here.  Go join a protest and/or
call your congressperson if you want to actually do something
constructive.

Heck, it's not a big list.  How about nobody EVEN starts on the name
of the branch...

✔ ~/proj/php/php-src [master|✔]$ ag slave
ext/standard/tests/file/userstreams.phpt
17:to the game you stay a slave

ext/standard/proc_open.c
613:static int set_proc_descriptor_to_pty(descriptorspec_item *desc,
int *master_fd, int *slave_fd)
616: /* All FDs set to PTY in the child process will go to the slave
end of the same PTY.
620: * slave FDs. */
622: if (openpty(master_fd, slave_fd, NULL, NULL, NULL)) {
629: desc->childend   = dup(*slave_fd);
761: int ndesc, int nindex, int *pty_master_fd, int *pty_slave_fd) {
803: /* Set descriptor to slave end of PTY */
804: retval = set_proc_descriptor_to_pty(&descriptors[ndesc],
pty_master_fd, pty_slave_fd);
925: int pty_master_fd = -1, pty_slave_fd = -1;
998: &pty_master_fd, &pty_slave_fd) == FAILURE) {
1220: if (pty_slave_fd != -1) {
1221: close(pty_slave_fd);

ext/mysqlnd/mysqlnd_enum_n_def.h
599: STAT_COM_REGISTER_SLAVE,
664: COM_REGISTER_SLAVE,
692:#define MYSQLND_REFRESH_SLAVE 64 /* Reset master info and restart slave */

ext/mysqlnd/mysqlnd_libmysql_compat.h
127:#define REFRESH_SLAVE MYSQLND_REFRESH_SLAVE

ext/mysqlnd/mysqlnd_wireprotocol.c
52:  "TABLE_DUMP", "CONNECT_OUT", "REGISTER_SLAVE",

ext/mysqlnd/mysqlnd_statistics.c
181: { MYSQLND_STR_W_LEN("com_register_slave") },

ext/gd/libgd/gd_png.c
365: /* 2.0.12: Slaven Rezic: palette images are not the only images

ext/mysqli/tests/mysqli_constants.phpt
97:        "MYSQLI_REFRESH_SLAVE" => true,
200:            $expected_constants["MYSQLI_RPL_SLAVE"] = true;

ext/mysqli/tests/mysqli_get_client_stats.phpt
1250:  ["com_register_slave"]=>

ext/mysqli/mysqli.c
818: REGISTER_LONG_CONSTANT("MYSQLI_REFRESH_SLAVE",
REFRESH_SLAVE, CONST_CS | CONST_PERSISTENT);
✔ ~/proj/php/php-src [master|✔]$


--c

On Mon, Jun 15, 2020 at 9:43 AM Daniel Rodrigues Lima
<danielrodrigues-ti@hotmail.com> wrote:
>
> Hi internals,
>
> I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
> As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.
> Therefore, I propose that we discuss the non-use of terms master/slave, because the use of this can allude to the slavery and negative feelings about black people.
>
> Some projects that changed the terminology:
>
> * https://github.com/sebastianbergmann/phpunit/commit/8e9c76d33dab4095c9066072076f368193e4166d
> * https://go-review.googlesource.com/c/go/+/236857/
> * https://issues.apache.org/jira/browse/COUCHDB-2248
> * https://bugs.python.org/issue34605
>
> Greets,
>
> Daniel Rodrigues.
>
> geekcom@php.net
> https://twitter.com/geekcom2
> https://www.linkedin.com/in/danielrodrigueslima/

---

## #110535 — Thomas Nunninger — 2020-06-15T19:06:35+00:00

URL: https://externals.io/message/110515#110535 · In reply to: #110515

Hi,

I was surprised by the many negative responses: Partly just discussing 
the term "blacklist" that is perhaps not the main issue. Or telling 
people how they should feel and understand words.

Personally, I don't have any issues with "blacklist" - as I do not see 
any historical reason for that term and I don't know about current abuse 
of that term to discriminate against special groups. (I'm not a native 
English speaker - so perhaps I'm missing anything.) But if "master" is 
used in the context of "master / slave", I clearly understand that 
people feel offended (while I am completely fine if "master" is used in 
some other context).


Before discussing technical aspects about what changes would be required 
and what are the consequences, I'd like to point out some other aspect:

I'm a white guy. I can't tell women how they should feel about male 
wordings, statements, behavior, whatever; I just need to listen and try 
to behave in a way that they feel safe. (And of course there are aspects 
I can't change.)

I think the same applies to this topic, and it's important to get a 
common understanding of the problem space. (Let's talk about the 
solution space afterwards.)


Because of that, here are my questions:

* Are there any colored people on this list?

* What are your feelings about this topic regarding the PHP project and 
community?

* By what did you feel offended in the context of the PHP project 
currently or in the past?

* What would you need to feel safe and welcome? (Not restricted to 
technical changes.)

If you do not want to respond to the list directly, you can send the 
mail to me and I'll copy/paste the text of your response to the list 
anonymously.

(I'm not sure if we need to raise this questions in a broader context 
regarding other groups of people. I don't want to open a can of worms. 
But I don't want to forget about other groups.)

Regards
Thomas

Am 15.06.20 um 17:43 schrieb Daniel Rodrigues Lima:
> Hi internals,
> 
> I think the time has come for the PHP internals to discuss the use of master/slave and blacklist terminologies.
> As everyone can see, we are going through times of change in the world, see #blackLivesMatter for example.
> Therefore, I propose that we discuss the non-use of terms master/slave, because the use of this can allude to the slavery and negative feelings about black people.
> 
> Some projects that changed the terminology:
> 
> * https://github.com/sebastianbergmann/phpunit/commit/8e9c76d33dab4095c9066072076f368193e4166d
> * https://go-review.googlesource.com/c/go/+/236857/
> * https://issues.apache.org/jira/browse/COUCHDB-2248
> * https://bugs.python.org/issue34605
> 
> Greets,
> 
> Daniel Rodrigues.
> 
> geekcom@php.net
> https://twitter.com/geekcom2
> https://www.linkedin.com/in/danielrodrigueslima/

---

## #110536 — G. P. B. — 2020-06-15T19:11:50+00:00

URL: https://externals.io/message/110515#110536 · In reply to: #110532

> On Mon, Jun 15, 2020 at 7:46 PM Alain D D Williams <addw@phcomp.co.uk>
> wrote:
>
> > […]
>
> Hi,
>
> I'm going to disagree here. It's not about intent, it's about impact. You
> can have the best intentions with the worst results.
>
> When I read the replies here, it makes me sad. The comments come from a
> place of white privilege and I'm sad to see that's how people think about
> it.
>
> Regards,
> Lynn
>

What saddens me is that these terms are non issues, and think they do
something for "good" when it's just a pat on the back without doing any
tangible change to the world.

Case in point, from what I've seen mostly going around in the French
community [1] is that the people who are actually concerned think it's
woke and completely nonsensical. And I could argue the white-privelege
here is to discuss these matters and imagine they would improve something.

For blacklist/whitelist the benefit of changing it is that we can use more
descriptive terminology such as deny/block/disallow and their opposite
depending on context, which probably is more accessible to non-native
English speakers. And if one wants to change it this should be the angle.

However, I would argue that *if* when someone hears the word black the
first thing which comes to their mind is race, then that makes them more
of a racist and not the other people who use this with the well defined
meaning. As such I would argue this is undermining the meaning of the
word and pushing us towards an orwellian [2] state of the world.

Moreover, black does not always mean something is "bad", see martial
arts where a black belt is synonymous with experience and a white belt
means that you are a novice.

So instead of taking offence on behalf of a whole group and proposing
changes which don't affect said group in any meaningful way while
causing BC. Because if we decided to accept doing this, I shall start
being offended about the usage of the word string as in French string
means a thong and I imagine French women to be outraged that we
(predominantly white males) casually talk about splitting or comparing
strings.

Best

George P. Banyard

[1] https://twitter.com/jesuisundev/status/1269260740894117890
[2] https://www.youtube.com/watch?v=oe64p-QzhNE

---

## #110537 — Stanislav Malyshev — 2020-06-15T19:14:15+00:00

URL: https://externals.io/message/110515#110537 · In reply to: #110535

Hi!

> I was surprised by the many negative responses: Partly just discussing
> the term "blacklist" that is perhaps not the main issue. Or telling
> people how they should feel and understand words.

Nobody tells you how to feel. But when you claim your supposed feelings
are the reason to censor other's speech then others have the right to
object. I am not sure why this surprises you.

> I think the same applies to this topic

OK, so far for the 25 years of PHP existence I have never heard of a
person who was personally hurt by the use of term "blacklist". I've
heard lots of things said about PHP, good or bad, but today is the first
time I hear about this. So I am not sure we understand the term
"listening" in the same way.

-- 
Stas Malyshev
smalyshev@gmail.com

---

## #110538 — Thomas Nunninger — 2020-06-15T20:16:03+00:00

URL: https://externals.io/message/110515#110538 · In reply to: #110537

Hi,

Am 15.06.20 um 21:14 schrieb Stanislav Malyshev:
> Hi!
> 
> > […]
> 
> Nobody tells you how to feel. But when you claim your supposed feelings
> are the reason to censor other's speech then others have the right to
> object. I am not sure why this surprises you.
> 
> > […]
> 
> OK, so far for the 25 years of PHP existence I have never heard of a
> person who was personally hurt by the use of term "blacklist". I've
> heard lots of things said about PHP, good or bad, but today is the first
> time I hear about this. So I am not sure we understand the term
> "listening" in the same way.

It might be that discussions in the US are much more heated and 
fundamental than in Germany. And of course there is a political/social 
context to those discussions that I do not know - and that probably is 
not relevant for this list. And it might be that I misunderstood some 
nuances in some mails of this topic as I'm not an English native speaker.

But I'm not sure if I made my points clear:

* Personally, I have no issue with the term blacklist. (And it sounds 
really strange to me if someone wants to forbid the term black 
unconditionally. So: I do *not* propose to blindly follow the newest 
trend of political correctness without any reason.)

* I want to listen to others *who are affected*. (I assume most 
responses where written by white guys.)

* From my point of view it's not about censorship but about 
understanding - and about learning. Then I can make an informed decision 
how I want to behave in the future, how I want to balance my side with 
the side of someone else. (Just talking about censorship feels like 
trying to stop discussion. - I assume you did not intend that.)

* I didn't ask for opinions from people who are not offended. (Please, I 
do not want to censor you. But we heard a lot from that side.) I asked 
for concrete examples where people where offended in the context of the 
PHP project to get an understanding of the issue. If there is no 
response perhaps we can assume there is no issue? (At least for people 
on the list? Perhaps for people working in the IT context?)

Regards

Thomas

---

## #110539 — Larry Garfield — 2020-06-15T20:21:19+00:00

URL: https://externals.io/message/110515#110539 · In reply to: #110536

> 
> 
> > […]
> 
> What saddens me is that these terms are non issues, and think they do
> something for "good" when it's just a pat on the back without doing any
> tangible change to the world.
> 
> Case in point, from what I've seen mostly going around in the French
> community [1] is that the people who are actually concerned think it's
> woke and completely nonsensical. And I could argue the white-privelege
> here is to discuss these matters and imagine they would improve something.
> 
> For blacklist/whitelist the benefit of changing it is that we can use more
> descriptive terminology such as deny/block/disallow and their opposite
> depending on context, which probably is more accessible to non-native
> English speakers. And if one wants to change it this should be the angle.
> 
> However, I would argue that *if* when someone hears the word black the
> first thing which comes to their mind is race, then that makes them more
> of a racist and not the other people who use this with the well defined
> meaning. As such I would argue this is undermining the meaning of the
> word and pushing us towards an orwellian [2] state of the world.
> 
> Moreover, black does not always mean something is "bad", see martial
> arts where a black belt is synonymous with experience and a white belt
> means that you are a novice.
> 
> So instead of taking offence on behalf of a whole group and proposing
> changes which don't affect said group in any meaningful way while
> causing BC. Because if we decided to accept doing this, I shall start
> being offended about the usage of the word string as in French string
> means a thong and I imagine French women to be outraged that we
> (predominantly white males) casually talk about splitting or comparing
> strings.
> 
> Best
> 
> George P. Banyard
> 
> [1] https://twitter.com/jesuisundev/status/1269260740894117890
> [2] https://www.youtube.com/watch?v=oe64p-QzhNE

I am so going to regret being in this thread, but...


Data point: My boss at work noted earlier that he'd reached out to some black women he knows to get their take; their response to him was that blacklist/whitelist did bother them, but "master branch" did not.

Of course, with GitHub now deciding to change its standards that is going to percolate to the rest of the industry sooner or later, regardless of whether it's a good idea or a stupid waste of time.  It's going to happen now.

It should be noted that a person saying "I am offended" does not, in fact, make something automatically offensive, or that you should always assume that their position is right, or justified, or that you should take action as a result.  As evidence, I cite that I find "Native American" offensive because it implies one group of people is truly "from" a place rightly, and no one else is no matter how long they've been here; that's despite the fact that every group of people everywhere in history has moved around, a lot, and no one is "native" to anywhere if you go back far enough, and genetic groups and cultural groups migrate independently of each other (much as we like to to pretend otherwise).  In fact the term isn't even preferred by the people it refers to[1].  But no one listens to me, because I'm not in a group that's allowed to be offended.  There's way more politics around "offense" than anyone is willing to admit.  (And that's not a left or right specific issue.)

Also, point of order to Ben: Free Software is political[2].  Open Source was very specifically created to be the de-politicized, amoral version that companies could leverage without having to bother with that ethics stuff.  That's literally the history.  It's also why I support Free Software.  (Note: That attempt is largely unsuccessful because *all* software is inherently political, but credit where it's due, please.)

Having been through these conversations multiple times before, I would urge everyone to keep in mind the following:

1) As Nikita said, without an actionable todo item to discuss, there's nothing productive to discuss.

2) If you are able to find a reason for a change other than "because it's offensive not to," do it, and push that angle.  Make the political angle secondary.  It makes it more palatable.

3) For the love of God, do not go into this or similar discussions assuming that anyone who disagrees with you is a bad person.  I know it's hard, especially on touchy topics, but that is how communication dies.  Wanting to change whitelist/blacklist does *not* make someone a troublemaker just trying to cause trouble for little value.  Opposing that same change does *not* make someone racist, or uncaring, or "OMG privilege so we don't have to listen to you," or whatever.  I've seen that pattern appear way the hell too many times, and it's toxic, and does nothing but poison communities.

4) Let's all understand that language changes like this are at best broken window policing, and I use that term very deliberately.  If you really care about addressing persistent inequality in the world. get your butt out to a Black Lives Matter march, write your legislator, join a reform group, work on hiring practices in your own company, or do something else that requires actual work.  That goes for everyone.

5) Acknowledge that there are very likely a lot of people on this list who are doing the things in point 4 already, but still oppose the language changes.  Whether you agree with them or not, that's an acceptable and valid position for them to take.  Please respect that.

[1] https://youtu.be/kh88fVP2FWQ
[2] https://peakd.com/programming/@crell/free-software-is-political

--Larry Garfield

---

Next page: https://externals.io/message/110515.md?page=2
