I think of San Francisco as a microcosm of the American Experiment.
Can people of different cultures, languages, religions and sexuality live together in co-operation and peace?
In San Francisco the answer is (mostly) yes.
I have no opinion on whether the latest generation of transplants is good or bad but gold digging has a long and respected history in California.
San Francisco will survive the tech industry as it has survived every other social and geographic upheaval.