No it's not ok, but you're publishing to a worldwide audience and I'm sorry if this is a tired argument that pro women (myself included) people are tired of hearing, but there are ALWAYS going to be a certain subset of creeps you have to deal with. Believe me it's a privilege to be male that the vast majority of males don't fully appreciate, myself included until very recently, that we don't generally have to deal with this kind of garbage, but I genuinely can't envision a future where this isn't the case.
That does suck too because I'd love to see more women getting into STEM, especially coding.
That does suck too because I'd love to see more women getting into STEM, especially coding.