Learning in Public: Why Sharing Knowledge Makes You Smarter