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.
> 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.
But I will say, despite my agreement with it, that post of yours does not actually address this current subject of outrage. It is true that one component of harassment is the pervasive social attitudes held by the majority, and thus can be changed through social integration. But concentrated harassment also comes from a small minority that are either deliberately trolling, or so socially mistuned as to use a comments section as if it were a bar. All of the outreach and awareness is not going to change this latter group - think of Pascal's Wager for a date.
It's not that I don't "want" a solution to the latter. It's that I don't see how one, as envisioned, can exist. Education and awareness can shrink the quantity. Centralized sites with heavy moderation can shrink the quantity [1] [2]. Maybe even personal filtering-assistants could shrink the quantity. But at some level of fan-in it is still going to be present and require that people build their own mental defense.
[0] FWIW, I clicked the up arrow on that comment, and this one as well. But my votes don't actually count because it was determined that I upvote "low quality" comments - a year or two ago, anti-circlejerk comments were forced to really snipe.
[1] You have a post about rejecting offers for dates on HN. I don't believe I have ever seen such a proposal on HN (and I'm showdead=yes). I'm not refuting your experience, just contrasting - an event can be objectively extremely rare, yet still quite personal, intense, and resentment-forming.
[2] Furthermore, this ignores alternative avenues of contact - I don't think Medium passed along all this harassment itself. Which is why ambiguous "something" can't not imply some greater control over the wider Internet.