Using social media to give advice to your colleagues can backfire horribly, as a judge discovered when he took to his blog to tell female lawyers how to dress, in order to help "dirty old men" like himself.