I agree that the problem starts early. My wife and I once worked with an organization in Kansas City that mentored middle school girls, encouraging them to continue an interest in math and science. Most recently, I have coached a First Lego team and made sure the few female members we had felt engaged and valued. The mix of male and female coaches.+Gina Trapani
mentioned an effort yesterday's This Week in Google episode to create a different approach on teaching programming. The intent is to create a tact that will attract more females. Personally,I feel that how we teach programming needs to be revamped to attract better talent and open up the skill to more people.
We focus too much in the initial exposure on language constructs and compilers rather than on algorithmic thinking and problem solving. In a first semester programming, you are learning a jumble of language constructs, tool sets and and breaking down a problem. It would be better to teach how to solve problems first and break them down into instructions as a first skill set.
Bill Cosby has an old routine I have on DVD called "Fatherhood". In it, he describes the challenge of having his children get ready for bed. Rather than say go to bed, he has to describe in detail brushing teeth, putting on pajamas, etc. What a great opening to the world of programming, where the computer is the small child!