Obvious caveat: the above is for "socially affordable" minority behavior. "Socially affordable" means basically "the kind that doesn't in its essense hurt other people too badly". Gays don't, (many) Muslims don't, weed smokers don't, psychopaths do. There are borderline cases, but the harm principle is pretty easy to use here overall.
From the final chapter of his new book Cowards, titled "Adapt or Die: The Coming Intelligence Explosion."
The citations for the chapter include: