How a city jail became homes with hopeful views