If you’ve grown fat and complacent using Python, try a little Cython. It’ll put hair on your chest and take some off your scalp. Take the following Cython code I … Continue reading
Getting more out of your Cython code doesn’t have to be a black art. A key step is to peek into the cythonized .c file and note if inner loops … Continue reading
This is a quick tutorial on how to use Python setup tools entry points to elegantly distribute command line scripts as part of your program, and to enable your code … Continue reading
Say you have a multiplayer game where there is no central server. You need to indicate to a pair of players if they are within a certain distance from each … Continue reading
Ok, so it doesn’t have as nice a ring to it as “Cythonize!” but the Python C-Foreign Function Interface blew my mind away. I had previously used Cython to write … Continue reading
I had heard about Haskell – the coolest language on the block – from several friends. After reading the chapter on typeclasses from Learn You A Haskell for Great Good my … Continue reading
Many mistakes in science persist because the creators of wrong knowledge refuse to acknowledge their mistakes and often intimidate others (with correct information) from positions of power. This phenomenon has lead a once well known practitioner of the trade to remark “Science advances one funeral at a time”.