Author: Chris Perivolaropoulos

The way callables work in python can be a bit strange. You have methods that take an argument self but only when called from an object and classmethods and static methods etc. Let's take a more in-depth look at how cpython handles all this

READ MORE

Mac OS X comes with a command line tool for maniplating the clipboard called pbcopy. It's usage is simple: you throw stuff in it's stdin and that stuff is copied to the clipboard. This way we can teach emacs to copy stuff to the clipboard with this function

(defun paste-to-osx …

READ MORE

Download and process large files on the fly with haskell

READ MORE

A simple way to lock the number of parallel threads with MVar.

READ MORE

A case study of fixing an irq deadlock in the linux kernel.

READ MORE

What we are doing here is adding a search engine to firefox like real men ie programmatically. This is nice because you can then write scripts to do interesting stuff with them.

READ MORE

Gdb signals

GDB ?? Comments Tue 06 May 2014

Signaling from and to a process through GDB is much easier than one might expect.

READ MORE

There are times when you want to have everything on RAM. There are times when everything is more than 500M. And then there are times when you want both. That's when everything goes to hell.

READ MORE

Clean kernel source from debugging printks with git

READ MORE