By being targeted at programmers and startup founders, that is, two predominantly white (ok, and asian) fields?
It's not that HN does anything special, it's the actual world that does.
Most programmers are middle class (so could afford university in the first place), most founders are upper middle class, and most of both groups are white. There are of course exceptions, but not enough to skew the majority.
The most open and diverse "forum" in the world is YouTube -- you can find everybody there under a cat video or some such (which is also why it has the nastier comments, but that's life outside an echo bubble).
It's a vicious cycle based on a kafkatrap. If you don't agree that women are discriminated against in tech, you're discriminating against women. Culture committees, diversity consultants and women-only groups are set up to "address" this problem, yet all they do is create more division and alienation, holding up the most stereotypical fragile princess as representative for every woman on the planet.
They keep throwing all sorts of accusations and aspersions on every single guy in the field, shriek and pearl clutch when they receive blowback, and have the gall to call this empathy, in a field where the average worker is an undersocialized and overworked code janitor. Whose preferred communication styles, hobbies and accomplishments are fair game to ignore or bulldoze over.
Pointing this out gets you labeled as "horrible". Fine, then. Yet another word to add to the pile that has lost all meaning. Misogyny used to mean "hatred of women", now it just means "something a woman hates". Which appears to include the average mid-rung nerd.
I'm legally white - but depending on the amount of sun I have, am not always viewed as such in the common world. I'm female, not exactly rich, and have blue hair. Naturally, my viewpoints can be different.
There are others like me - folks from other countries, not rich, not male.
At the same time, knowing that the crowd has that bias should help you vet out some of the comments.