Archive for the ‘Geekery’ Category

Ubuntu sources.list Generatror

Friday, July 13th, 2007
No Gravatar

I had a problem with some slow Ubuntu sources today, instead of changing the whole sources.list manually, I stumbled over Ubuntu Nederland’s Source-O-Matic.

Slam in the country you want and it generates you a nice new file. Saves at least 30 seconds!

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Redirect a www prefixed site to a non-www prefix

Tuesday, July 10th, 2007
No Gravatar

I like clean URLs.

(more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Card Reader Annoyances

Tuesday, July 3rd, 2007
No Gravatar

My new Dell computer came with one of those 1,600 in 1 internal memory card readers. The 1,600 drives in ‘My Computer’ really irritated me.

OK, so I exaggerated slightly. But the extra 3 drives did irritate me. My cameras use SD cards so I can safely disable the ones I don’t use. (more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Apache, JungleDisk and Port 80

Tuesday, July 3rd, 2007
No Gravatar

I was tearing what little hair I have trying to solve a very strange bug on Windows with Apache 2 & JungleDisk.
(Yes I use Amazon’s Simple Storage Service for all my backups).

I was getting the following errors in Event Log, for what appeared to be no reason.

The Apache service named reported the following error:
>>> (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 .

The Apache service named reported the following error:
>>> Unable to open logs
(more…)

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo


Why does perl consume my entire CPU?

Wednesday, June 20th, 2007
No Gravatar

I use a perl script to convert an Excel file to CSV on an Ubuntu mail server. It’s a reasonably  high specification machine. But then again the Excel spreadsheet is quite large too. It takes about 5 minutes to convert. During that time, CPU use hits 100% but it only takes 16.5% of memory.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5559 root 25 0 87520 83m 1688 R 100 16.5 0:06.35 xls2csv

Annoying.
I wish I could use the catdoc alternative written in C, but it freaks out with Japanese character sets.

Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo