There is no nice or polite way to tell somebody "this is sexist, cut it out", because when sexism (or racism, ableism, other bigotry) is pointed out people tend to react in a really defensive manner. They deny, deflect, lash out, or just change the subject. When the core message is a personal criticism then softer language doesn't make it go down easier. When it comes to these subjects, when no feelings are hurt no minds are changed. Nobody should be unnecessarily rude, of course, but "unnecessarily" is the pivotal word here.
victorhooi turns the discussion towards his own experiences about alcohol, fun culture, ping pong, and extrapolates from there. The problem is that his experiences are not representative of what women in tech experience at all, and it's particularly clueless for a guy to respond in a thread asking for advice from women in tech about what _his_ experiences are and how everything is totally fine (for him). Every woman in tech has personally experienced or personally knows somebody who has faced sexual harassment or other gender based discrimination. Every woman in tech who changes jobs has to ensure that the new work environment is not a dumpster fire. And if you're unlucky your boss may still decide on hit on you 4 months after you've bought a house in the new city. This practically never happens to men, so when victorhoi repeatedly claims that "gender or alcohol [...] flows both ways" or that "it's just a matter of self-control" he seems totally unware of the gendered problems that are so prevalent. He dismisses it outright "you get the occasional stupid comment" (when you don't drink), as if that is the extent of the problem! He doesn't get that it's not about him. He doesn't get that his experiences are not representative for women in tech.