I would expect that the two aren't independent -- the proportion of black women to black men could well be very much higher than the proportion of white women to white men. The same qualities and situation that help a black man become a programmer despite the various forms of systemic bias would also be useful to a woman.