Random (and not so random) codes, my little testing ground for what works and doesn't