From online abuse to hostility on Irish streets, Gareth O’Callaghan examines the conditions allowing racism and prejudice to flourish