I don’t understand how you Californians put up with so much government. It’s not even good government. It’s not like you can point to great public services and whatnot to make up for it.
NYC seems a bit more permissive towards not-so-legal landlords, and every few months the NY Post reports a building fire with really avoidable casualties. From circumstances you suspect out-of-code rentals.
It's only so painful in California because there aren't many convenient places left for greenfield development.