Nowhere! If you're in SF, move out to the east bay
Besides that, hope residents use legislation to balance out the market... progressive taxes in aesthetically pleasing areas, education/public transportation in economically competitive areas, condos/up-zoning in popular urban areas.