In iguana2000's defense, the code is highly self-documenting.
It arguably reads cleaner than Karpathy's in some respects, as he occasionally gets a little ahead of his students with his '1337 Python skillz.