If you're doing it right, being mayor of San Francisco is hard, even in the best of times. These are not the best of times.