New York City has become almost uninhabitable when continuous sunlight causes unbearable heat, rationing of water and electricity, and swarms of people leaving, looking for cooler weather further north.