My argument is that the behavior observed on SO by people who are new to the site reminds them of the exact same behavior they see within the white male-dominated world of CS. So yes, everyone on SO might actually be a black woman (and just lie on those surveys) but they are acting like the people who marginalize women and POC within the world of STEM, as perceived, presumably, by women and POC. It's the behavior that we're looking at.
Or could it just maybe be that the only kind of discriminator whether respecting someone or not is whether that person knows what they're talking about or whether they're talking out of their ass?
Because that's what geeks really care about and that's what I base the respect I give to people on. Because that's all a medium like Stack Overflow allows you to use, because that's all you actually see about a person.
Do you not see that people have different styles of writing? And therefore maybe the styles of writing adopted by most of the responders on SO, which in turn is encouraged by the overall culture at SO, mimics the marginalizing actions that women and POC observe in the real world? There is no "pure" writing that is free from all social conditioning and norms. Try as you might, your "natural" form of writing is a product of your culture and experiences.
So ...could it be that a lot of that "sexual/racial/whatever discrimination" is happening just in the user's imagination?
I don't think discrimination is being claimed here. What I gathered is that certain kinds of people do not feel comfortable engaging with the community. Some of these are people who are new. This is definitely something I've picked up on. I used to be fairly active on the TeX/LaTeX site but am not any more for unrelated reasons. And I am a new programmer working on a massive lifetime program. Even though I know how SE works overall and know how to form good questions, etc, I never seek out help from SO because of its clear animosity toward new programmers. It's not worth the headache. I look for help/answers elsewhere.
For women and POC they, apparently, experience something similar that is keeping them away. It could just be newbishness, or it could be that they see in the culture of SO the same toxic aspects they see in STEM fields at school or work.