Most of it has been solved already. It's just a matter of having the will to do it. That will is absent.
Most developers in SF laugh at the amount of money their European counterparts get paid after taxes. The don't consider not having to step over homeless people a "benefit". That attitude is your problem right there.