San Francisco is a mash-up of hipsters and hippies, where Silicon Valley elite share the sidewalks with the rampant homeless, artists hone their craft, tourists jostle, activists chant, and tireless outdoor adventurers explore the nearby ocean, mountains, and forests. If you’re relocating to this magical city (or planning…