Code examples for my talk at rorosyd on May 13, 2014