Code samples prepared for a talk at the ENS de Lyon