I've talked to a few SF natives about this, and the consensus seems to be: people who came from other(/nicer) towns and went to good schools moved here for the software revolution and gave no shits about our city or it's problems. I'm sure everyone remembers the Justin Keller blog post.