How to avoid spectacularly boneheaded career decisions