It is an apocalyptic view of the world, but the pop historian says his aim is to get more people to understand technology and use it wisely