There’s a surprising amount in common between ancient ways of thinking about the future and the techniques we use now