Miscellaneous small experiments with programming