As for your exasperation at the lack of women in tech, most men I know would like it if this wasn't the case. I've personally given the nod to women candidates during hiring a couple of times when they were competitively qualified. Unfortunately there's a bit of a chicken and egg problem here - a lot of women are turned off by the masculine culture of tech, and changing a culture to accommodate a very small minority is a hard sell (a fair number of guys in tech wouldn't know how to act at any rate). I suspect women need to establish a bigger beachhead before they're going to be able to make any significant inroads in tech culture, and unfortunately that involves sucking it up in the meantime. Complaining from the sidelines isn't going to accomplish much.
Even if stereotypes acted as a survival mechanism in the past by providing a quick and dirty filter to judge threats through naive correlation and pattern matching, I don't believe they remain useful in the modern world. Modern stereotypes tend to be politically and culturally derived, rather than being the result of natural selection pressure, and so don't actually affect human survival so much as effect the survival of regressive human ideologies.