This weekend, my roommate asked me to make a website for him. I wrote it in PHP so I could just make some templates and he could import them, but it bothered me that I was rendering a static website with PHP. The easiest solution seemed to be running every …

Read more

I’ve been working on GStreamer a lot recently, and I’m slowly becoming comfortable with debugging problems with gdb. I assume this could be useful for other people, so this is part of a series on debugging GStreamer.

Using gdb to debug crashes

I recently had a problem with …

Read more

I recently finished (in terms of features) a major code project, but I’m not happy with the quality of the code yet. Besides the usual ways code can be buggy, it’s especially easy to crash a program written in C (which can be exploited if the program is available online, as this one probably should be).

Read more

Doing linear algebra homework reminds me why I love NumPy so much. Instead of doing a 2-page homework assignment and then finding out at the end that something is wrong, I can check at every step. For example, to reduce a matrix A to the identity, using only elementary …

Read more