Hackers, trolls and other tech nightmares of 2017