21 Dec 2011
link

Holding a Program in One's Head

19 Dec 2011
link

CSS border-radius generator

11 Dec 2011
link

TomatoUSB

Tomato USB is an alternative Linux-based firmware for powering Broadcom-based ethernet routers.

I’m running this on an ASUS RT-N12 Wireless-N access point and it’s superb.

09 Dec 2011
link

TRNSPRTNATION: Beautiful transit maps

Stunning.

08 Dec 2011
link

shocco.sh

There is also a Python port called pocco.

Neat stuff.

01 Dec 2011
link

Windows 7 Phone demo for Android/iOS on the web

A pretty impressive technology demo.

29 Nov 2011
link

Hide morning and night hours in Calendar

29 Nov 2011

SVG goodness

Have you tried zooming in to this page? Assuming you are using a sensible browser, the images at the top are rendered as SVG (falling back to PNG if you run a browser not compatible - IE?). This means zooming in and autoresizing on mobile devices is seamless and beautiful.

14 Nov 2011
link

Reeder for Chrome Transforms Google Reader into a Clean Feed Reading Experience

17 Jan 2010

Create filesystem quotas on Gentoo

The Gentoo documentation for adding user quotas actually tells the user to create invalid quota files, leaving quotacheck to fix them up on next reboot. This is pretty stupid, so here’s the proper way to create user quotas:

16 Jan 2010

Dovecot 1.2 upgrade changes deliver path

After upgrading Dovecot from 1.0 to 1.2, I just spent the last hour trying to get the sieve plugin working again (after the rewrite from cmusieve). When deliver invoked sieve, the latter would die with the following error:

02 Jan 2010

SpamAssassin 2010 rule problems

It appears SpamAssassin has a nasty rule that checks if a mail is “grossly in the future” - by comparing the Date header to a hardcoded regex pattern:

01 Jan 2010

Service menu on Samsung LCD monitors

A little-known feature in all Samsung LCD monitors (that is, the PC monitors) is the service menu. It displays lots of good information about the panel, such as its uptime, firmware revision, etc.

22 Nov 2009

Enabling connection pool logging in SQLAlchemy

Update: I should have tested before posting: you don’t need to set up the logging, you simply need to pass echo_pool=True to create_engine(). /Update

29 Oct 2009

Efficient abs() in C

There are multiple ways to compute an absolute value in C, including linking with the math library (bloat!). Although using an if statement and multiplying by -1 might seem easy…

17 Oct 2009

GStreamer on Windows

GStreamer is a multimedia framework used extensively in GNOME applications (such as QuodLibet, a media player). Due to its relationship with GNOME, it primarily runs on Linux. However getting it to run under Windows is quite easy.

17 Oct 2009

Streaming audio from line in

After playing around with a product-that-shall-remain-eye-queue-nameless today, I found a nice way to stream the audio coming out of an audio source online through Linux:

12 Oct 2009

The day the music died - A brief history of jazz

This is the first article in my The day the music died series on jazz and its influence on music culture over the last 100 years.

16 Aug 2009

Connecting to MSSQL on Linux

I have recently been trying to get ODBC working nicely (ha) on Linux so I can talk to a Microsoft SQL Server (MSSQL) that is not under my direct control (otherwise I would just rip it out and replace it with a PostgreSQL one instead). Unfortunately, it seems most of the documentation for the various free ODBC tools (unixODBC and FreeTDS) are out of date and in some cases, just plain incorrect (namely DSN-less configuration: don’t waste your time, it’s completely broken).

04 Aug 2009

Checking MIME type of stored data in Python

The mimetypes module provides a great interface for guessing the MIME types of files. Which is great, except mimetypes.guess_type() requires you pass it the filename to inspect. This makes sense on first thought, but what if you already have the data stored somewhere (say, as a blob)?

19 Jun 2009

Towards a POSIX userland for Ulysses

Last week I submitted my thesis for Special Topics in Computer Science 3B: Towards a POSIX userland for Ulysses.

19 May 2009

Omni completion in Vim 7

I just found out about a nifty new feature introduced in Vim 7: omni completion (or, omnifunc). This feature mimics the auto-complete functionality of most IDEs.

13 Mar 2009

XFCE terminal slowness

Ever since switching to xfce4 (and xfce-terminal), terminal has been incredibly slow at redrawing itself. This happens when starting a new process, or shuffling the window in xmonad.

31 Oct 2008

The Classic Unix Horror Story

We’ve all heard this story before, but here it is again anyway:

30 Oct 2008

Portage blockage in sys-fs/e2fsprogs

Came across an interesting blockage in Portage this morning.

04 Jul 2008
link

:colorscheme zenburn

I quite like this colour scheme, especially with the following options set (as nabbed from the comment on /.):

colorscheme zenburn
hi search ctermbg=223 ctermfg=238
hi incsearch ctermbg=216 ctermfg=242
let g:zenburn_high_Contrast = 1
17 Jun 2008
link

code_swarm

09 Jun 2008

Dijkstra's modesty

I mean, if 10 years from now, when you are doing something quick and dirty, you suddenly visualize that I am looking over your shoulders and say to yourself, “Dijkstra would not have liked this”, well that would be enough immortality for me.

09 Jun 2008

Issues with mass virtual-hosting in Apache

Okay, so here is my issue.