> Of course, that won't stop all of it
This is the crux of my point. The egregious things are already outliers - I don't think hitting on someone has ever been within the HN community standards, and your anecdata implies the ratio is better than 1:10,000. At that rarity, it's going to be awfully hard to even analyze how to shrink that number further.
Rereading the original post, it seems like the specific unwanted behavior in this case is having random (male) readers try to friend a young woman on Facebook with hopes of hitting on her. If that ratio were actually under say 1:1000, I don't know that we'd even be here as a species.
If either situation were limited to a small town, there would be a manageable number of occurrences over a longer time with a wider social sphere to police them. But at Internet scale, a small chance times a stateless flash mob causes an immediate intense issue.
I don't believe the overall pattern of behavior where women get male attention that is motivated primarily by sexual interest is remotely as rare as you are suggesting. We would not be having this conversation at all if that were the case.
Women do get treated differently than men online. I am hardly the only one that sees that.
My ratios were meant as lower bounds. As in, I would expect at least 1 in 1000 readers to attempt to friend the author [0], especially as such an action can be plausibly denied as just friendly professional networking. In reality that number is much higher [1], but I'm using a conservative estimate to make the point that even if it is this rare, multiplied by a huge audience still creates an issue.
[0] I certainly wouldn't do so myself and I'm not condoning the behavior either. I'm just saying that there are going to be at least this many asshats.
[1] In fact I now see that the original post only had 3k views, so I should revise that to 1:100 - without contradiction.
I have studied social phenomenon both formally and informally for a lot of years. In a nutshell, you do not need to announce that egregiously bad things are not okay when you establish a standard of real respect. Of course, that won't stop all of it. But the overall character of the experience can be modified.