Something ticked her off. She snapped a picture of it, as she had done dozens of times per day probably. She probably had no idea of the consequences. Even if you have 10,000 followers, most tweets are like that - you like something, snap a pic and share, you hate something, snap a pic and share.
I don't get the sense that she expected there to be such serious consequences. For her, tweeting might have been a reflex action. It wasn't a good decision, but let's be clear about how easy it is to lapse like that.
That doesn't make it OK, we all should be aware of the potential consequences and permanency of publicly posting something.
That's the thing, depending on your background and experience with sexism will depend on how confused you are about what may be construed as sexist or inappropriate for the workplace. If anything, the whole pycon incident shows the need for more information, education, and formal sensitivity training in the workplace, not firing people every time HR thinks its time for some CYA-style action.
Suffice it to say though that dick jokes contribute to a sexist atmosphere and can contribute to impostor syndrome and are often outright transphobic.
It's very easy actually. Sexuality jokes. That's it.