Kaushik Ghose

All your genome are belong to us

Python setuptools entry points

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

November 25, 2014 · Leave a comment

The Felix problem

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

November 8, 2014 · Leave a comment

CFFI-ize!

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

October 25, 2014 · Leave a comment

maximum [1..1e6]

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

September 26, 2014 · Leave a comment

The year humans lost a pair of chromosomes

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”.

August 20, 2014 · Leave a comment

Cythonize!

In this post I take Python code to do a task (draw fractals), write it in the spirit of Python (a pleasure to write, read and maintain), use profiling to … Continue reading

July 28, 2014 · Leave a comment

A note on “The Worst Programming Interview Question”

Rod Hilton has a blog post where he argues against using puzzler type questions during an interview. I agree with him in spirit, but feel that puzzler questions have a … Continue reading

July 13, 2014 · 2 Comments
Follow

Get every new post delivered to your Inbox.

Join 40 other followers