In every one of these that gets to a couple hundred comments, we end up with two big groups that appear: "bros" that are "just having fun" and y'all need to "lighten up", or some stereotype of a misogynistic engineer that hates women because women consistently slighted the character throughout his life. In the first case, you have to fight a subculture that commoditizes women; in the second, you have to fight years of maladaptive behavior, and negative feedback from a cycle of sexual and social ostracization, where their defense became vilification.
Both of those cases are going to be really tough to change in the short-term. In the best case scenario we'll get a few to see the light, but when there are emotional ties to this type of behavior there is a lot of cognitive dissonance that has to be cut through before any change is truly realized. In the tougher cases all we will actually do for the present generation is bury sexist sentiment into a back channel somewhere, which doesn't help the end cause.
Yes, let's lead by example, but let's also try to start at the origin and get things sorted out before such discriminatory practices can get deeply rooted. Go talk to some college engineering teams. Let's get more women involved in the things that these guys are doing, and give them equal opportunity to show their abilities; the culture is often more meritocratic than not. Take it one step further if you have kids, and teach them that gender roles are just as bad as racism. The bros will realize that their actions are slowly being obsolesced, and the shunned will be proportionally less so. It takes work from both ends and we are really only ever pushing one angle hard.
EDIT: Drastically rewritten in hopes of being clearer.
EDIT 2: Minor bits and pieces, again.