Hate and fear spread like wildfire online, but head of TED Chris Anderson says hope and generosity can be just as infectious.