Damore states several things, and some of them are correct. He also states that having less women as engineers in the software industry has its roots in biology.
To be precise, he put forward a hypothesis that biological differences may in part explain gender representation differences.
About having special programs for minorities, I fail to see how this can be considered as discrimination. By that measure, not allowing men to be part of the women basketball national team is discrimination, isn’t it?
Yes. It doesn’t matter what the groups are.