Rhythmbox Plugin: Stop after current track

code 7 April 2009 | 12 Comments

I have wanted this for a while, and my brother linking me to this post was the last straw. So here is a very quick and simple plugin; it simply puts a button on the toolbar that you can click when you want to stop playback after the current song. I based the toolbar button [...]

Tagged in , , , , ,

Annoyances with Intrepid

commentary 27 February 2009 | 0 Comments

After having just installed Intrepid on a friend’s PC last night: I ran into this bug (here’s the fix) ATi’s dual monitor setup is still too hard (here’s how to do it) ATi’s drivers can’t do compiz and video at the same time (Install the latest drivers to fix it)

Tagged in , , , , , , , ,

Cleaning up a set of tags with Awk

code,commentary,replies,utility 28 January 2009 | 3 Comments

Introduction David R. MacIver has recently written this blog post about cleaning up a set of tags. This blog post, on the other hand, is about a nice old Unix tool called ‘awk’. Awk is one of those programs that is often overlooked. It is really a small domain-specific language for processing text. In some [...]

Tagged in , , , , , , ,

Generating x86 assembly with Haskell

code 4 November 2008 | 3 Comments

A quick and dirty example: data Exp = Lit Int — literal value | Call String Exp — calling a function | Bin BinOp Exp Exp — binary operations | Param — the parameter deriving (Show,Eq)   data Function = Func String Exp — a function has a name and expression data BinOp = Add [...]

Tagged in , , ,