The Python programming language, tutorials, and more

269 337,346 33,408
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.