Based on what I've seen over the last 10 years working at a variety of software companies: both men and women get mistreated, roughly equally, at least at the places I've worked. People often assume the reason they are being mistreated is due to some factor of themselves (race, gender, etc), but this is the fundamental attribution fallacy (see social pyschology) that colors our perceptions.
But, i haven't worked at every company. Perhaps, there are some where egregious conditions do exist, as mentioned in the article.
As long as the talent oversupply exists, it will be hard for men & women affected by these adverse conditions to move to companies with better cultures.