Facebook figures out people that you might already know, LinkedIn tells you how many degrees of separation there are between you and the CEO of Nokia, and LastFM suggests music based on your current listening habits. We’ll take a look at the basic theory behind how some of these features work, and some of the technology behind real-world implementations of these algorithms.