The Python programming language, tutorials, and more

260 330,557 32,230
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.