That said, the city does not have visible homeless or crime problems of most large US cities, partly because you can legally get a coffin for $300/month.
Hong Kong has an imperfect but subsistence-level dole system (CSSA), coffin house style bad but cheap housing (notably absent in SF), less of a drug problem, and a more functional system for taking care of the mentally ill.
That said, the city does not have visible homeless or crime problems of most large US cities, partly because you can legally get a coffin for $300/month.