The Python programming language, tutorials, and more

257 326,163 31,928
articles words lines of code

The function random.shuffle relies on the mutability of the argument and mutability is a pain in the arse, so we propose an alternative.

This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.