Examples from book Toby Segaran "Programming Collective Intelligence"