Cities around the world are getting smarter. Already, street lights in places like San Diego are turning off, and conserving energy, when vehicles and pedestrians aren't around. Soon, connected garbage cans will tell waste haulers when they need to be emptied, optimizing collection routes. Smart buildings will notify maintenance staff of impending repair needs. And parking spots will find you, instead of the other way around.