The Python programming language, tutorials, and more

250 319,781 31,271
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.