Don't get me wrong, I'm highly critical of sexism but the western political correctness is driving me nuts even more, I could imagine some of the claims in the article being part of a joke, e.g. "Don't be such a woman" the person didn't like or didn't get, seriously this stuff will soon turn into another list of forbidden words one cannot think of without being accused of racism, sexism, homophobia, xenophobia or other more sophisticated phobia I couldn't yet think of. On the other hand if it's true that there was a plan to fire a woman because she was pregnant, it is truly outrageous, but then again, it's just an article on the internet.
I also doubt that all these sexist comments ("don't be such a woman") came out of nowhere, this may sound radical but I can't imagine anyone in the tech field picking on an employee (whatever sex) who is performing well, that said I disagree with the form it allegedly took as the article claims but there are tons of various programs hosted by SV giants and other IT companies across the world that aim to bring more women into the field and let's make it clear, sexism works both ways and I personally haven't seen any complains about these programs, what a surprise. If anything, it's easier for a woman to get into tech nowadays than for a man and this might be one of the reasons why such incidents take place afterwards, when people within the team realize someone is a slacker or his/her abilities are way under the expected average I can imagine such person not being treated equally. What's worse, I can sense this leading to another politically correct absurd like "you can't say I'm not a high performer, because I'm a woman" or the managers not being able to give just criticism to female employees without being accused of sexism.