Every woman who has worked in tech long enough has gotten the same three pieces of advice. Confront the behavior in the moment. Build an allyship network. Escalate to HR if it crosses a line.

I have tried all three. The first one cost me a working relationship I needed. The second one created a...