How to Thrive in the Technological Singularity