How to outsmart the future