There is even more to it: people can be just randomly shitty to you and use your gender to carry out the shittiness simply because you react to it. Female programmer: you'll never be a real programmer, male programmer: you'll never be a real man. The thing that matters is your personal insecurity, not the attacker's bias against any gender.
Add the fact that some people are really allergic to others complaining about being oppressed for no discernible reason and you are on a straight way to some very unpleasant life experience.
I mean, that's not really newsworthy. "I experience a lot of racism, but today someone was a dick to me for a racially neutral reason." It's hard to imagine someone being motivated to write this story, since it's such an obvious fact of life. I hope you don't think that people who talk about racism believe that every negative event in their life was solely caused by racism.
Have you discussed this stuff with any women or non-white people? I find it's a lot easier to understand when you're having a friendly conversation rather than reading an angry blog post.