If we want to create online spaces to encourage serendipity, we might start by learning from cities.