code fun (2)


Shrinking executables

A colleague of mine recently mentioned this article from Brian Raiter. The article demonstrates how to reduce the size of an executable by a factor of 85. Here it is, just for fun: A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux 🙂




Two Python ‘features’ I learned today

Every programming language has its own funny, unusual, and good-to-know language constructs. Today, I came to learn two such language constructs in Python. Finding a needle in a haystack Consider the following way to check if a needle exists in a haystack: When run, this will print False, as one would expect, since “Haystack” doesn’t […]