The San Francisco Weekly
rakes the muck about San Francisco city government in "The Worst-Run Big City in the U.S."
I especially liked the picture
of San Francisco's male model mayor with the caption, "Mayor Gavin Newsom ponders the differences among the Accountability Matrix, Accountability Index, and Accountability Report."
In short, the better your location, the more you can get away with. (I bet Istanbul is a poorly run city, too.) Due to geography, San Francisco doesn't have much in the way of nearby suburbs to compete with, giving it lots of leeway to be incompetent.