Version 2 of my own library of useful bits