Page 3 of 6
My mail client of choice is Thunderbird. It’s always served me well, but recently I’ve noticed that my laptop’s battery life is abysmal when it’s running. A bit of poking reveals that it’s a real CPU hog if you have large mail folders (and I never delete anything!). Finally I found this bug report which has a working solution. It makes Thunderbird 17.0.2 much more gentle on the CPU, and according to the report, should work from version 15 onwards. Perhaps they’ll fix this by default eventually, but for now here’s a quick step-by-step on how to fix the problem yourself.
This is a picture of Geoffrey Clifton-Brown, my MP. There are several reasons why I don’t like him. Firstâ€”and most obviousâ€”is that he’s a Tory, and just about the only thing I have in common with Conservatives is that we both like the colour blue. Secondly, he’s an archetypical Tory: he’s related to the 1st Viscount Ruffside, went to Eton, receives an income from properties in London and Norfolk, ‘flipped’ his second home to Gloucestershire, and of course he likes firing guns at things. Finally—and most annoyingly—I’m stuck with him. He’s been an MP continuously since 1992, and in 2010 he polled a majority of over 12,000, making him pretty much untouchable.
There are two common problems when creating partitions in Linux on big storage arrays. The first is easy, and the warning message from fdisk is a bit of a giveaway:
WARNING: The size of this disk is 8.0 TB (7970004230144 bytes). DOS partition table format can not be used on drives for volumes larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID partition table format (GPT).
The answer: use parted. Don’t have it? Install it!
Unfortunately, this misguided decision affects us all.
A couple of weeks ago (when I was supposed to be revising), I added some code to Armchair Auditor, a great bit of free software by Adrian Short. He wrote it to ingest spending data from Windsor and Maidenhead and present it to the public in a form that’s easily used for analysis and general poking around.
Recently, Cotswold District Council announced that it would start including all payments to suppliers without a lower limit (previously this limit was Â£500). My addition to Armchair Auditor allows for the processing of CDC’s spending data (with all its formatting idiosyncrasies) so that it can be presented in as useful a way.
I’m no data analyst, but perhaps there are interesting things to be found in the data. Have a look at the Cotswold District Council Armchair Auditor, and see what you can find—and please do leave a comment if anything interesting turns up!
If you delete an automount from a map and restart the daemon, the mountpoint should go away… but sometimes it doesn’t, and you end up with this:
drwxr-xr-x 2 root root 0 Oct 22 11:24 /wibble
The size of zero indicates that the system still sees a mountpoint here, and in /proc/mounts you’ll see something like
/etc/auto.mymap /wibble autofs rw,relatime,fd=5,pgrp=31311,timeout=86400,minproto=5,maxproto=5,direct 0 0
So the mountpoint is both there and not there, and any attempt to access it will hang. Trying to unmount it manually doesn’t work either. This can cause merry hell: on a default system, the updatedb process that locate uses will hang forever when it reaches the mountpoint (even though it’s configured to ignore nfs and autofs), and the rest of cron.daily will never be reached, so no log rotation for you. After a few days you’ll see lots of find processes cluttering up the place.
A reboot will fix it of course, but there is a much simpler and less destructive way:
umount -l /wibble
The ‘-l’ option is described in the manpage as
Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)
That suggests a reboot might be warranted at some point to make sure it’s completely gone away, but it certainly does the trick. The entry in /proc/mounts disappears, and the directory now looks like
drwxr-xr-x 7 root root 4096 Oct 22 11:40 /wibble
A much healthier-looking directory, which you can now safely delete. Don’t forget to kill all those backlogged jobs too.
The story of Jewish migration in the last 150 years is amply documented. It is a seemingly endless trail of persecution, destitution, and desperate flight from home. Its legacy is written across the world, and is etched into the modern Jewish character: many older Jews will wear expensive jewellery as an instinctive hedge against the possibility that one day they might have to flee. Ultimately—at least from a popular modern perspective—it was a story with a happy ending: those that escaped worked hard and eventually built successful lives elsewhere, securing a bright future for their children. Of course this is saccharine. Like the refugees of today, many migrants remained desperate and obscure, leaving little for history to record. From the fragments that remain, I have reconstructed the life of one unremarkable man.
This grainy image is the only picture I have ever seen of my maternal grandfather David Samuel Richards, known to his friends as Don. He worked for a family in Theydon Bois in the 1930s, as an engineer at Martin-Baker during and after the war, and was also an amateur wrestler. My grandmother divorced him in 1960, shortly before destroying every piece of evidence that he ever existed. All contact was subsequently lost. This may be the only surviving image.
The Royal Mail‘s Print Postage Online service can save a huge amount of time if you’re sending something that falls foul of their arcane pricing structure. You can print out a personalised label, bung it on the envelope, and—if it’ll fit in a postbox—send it on its merry way all by yourself.
I’m not actually suggesting that you avoid this service altogether: it’s just too useful, and is to stamps what the debit card has become to pocketfuls of change. Clearly its use for ordinary post is a loss to Post Office branches, but there’s a way in which it actually costs them money. If you print a label for a service that requires the item to be handed in (like special delivery, so it can be barcoded and scanned on submission), your local post office gets absolutely nothing. As they have to spend time processing the item, which can take a few minutes, and then storing it on their premises, sending items in this way is directly detrimental to that branch.
Many smaller branches’ postmasters are not salaried, and only make a living through transaction commission. Sadly and bizarrely, handing in a pre-printed item for processing is not seen as a transaction: even though the branch does most of the work, they don’t actually make the sale.
Most people, especially in rural areas, are keen to support their local post office for themselves and their community. So do them a favour: if you need their help to send stuff, let them take your money. You’ll make a postmaster very happy.