I might be wrong, but to me the best way of dealing with trolls is just go all out on them, attacking their identity or lack of it. Nine times out of ten, they will be using a false ID or obvious pseudonym. We actaully can't attack them personally but they might feel like we did, there can be no such thing as an ad-hominem attack, if there is no person, so we should feel no conscience or mercy for anyone online who we can't be sure of ID.
A lot of them are folk who learned a little informatiin or even misinformation, enough to be dangerous, somehow they convince themselves they are suddenly experts and come into an argument with only one objective, to try to destroy credibility of sometimes real experts, folk who dedicated our lives to technical things, like us.