24 Jack Bauer Facts

I’ve just added a list of 24 Jack Bauer Facts to the jokes section of my web site (the first update in a while). Highlights include:

  • When Kim Bauer lost her virginity, Jack found it and put it back.
  • Once, someone tried to tell Jack Bauer a knock-knock joke.  Jack Bauer found out who was there, who they worked for, and where the god damned bomb was.
  • The city of Los Angeles once named a street after Jack Bauer in gratitude for his saving the city several times, but they had to rename it after people kept dying when they tried to cross the street.  No one crosses Jack Bauer and lives.

If you like them check out the full list. If not, I don’t know what to tell you. Go watch 24.

1996 Ford Escort, 73k miles, £595 ono

Yes, shameless promotion I know, but I recently purchased a 3 year old Astra so my beloved Escort is up for grabs. It’s in good working order and has only 73k miles on the clock (fuck all for a 1996 car). I think £595 is a very good price for this motor.

13042007144

Feel free to make any enquiries through this blog or give me a call (numbers on the LoadzaCars page).

Ubuntu Boot Error: “differences between boot sector and its backup”

I have my Acer Aspire laptop dual booting Ubuntu Linux with Windows XP but, despite being sympathetic to Linux and interested in learning more about it, I don’t use Ubuntu very often.  One major reason for this was the amount of time it takes to boot up.  Over time I noticed an error message and looking at it began to suspect that this error was partially responsible for the long load times.

There are differences between boot sector and its backup
… [sequences of numbers]…
Not automatically fixing this

According to this forum thread, it seems like this error may have been let loose when I changed the grub configuration to make the OS names a bit more user-friendly and have the system stop booting into Ubuntu by default (the girlfriend isn’t converted yet and even I preferred Windows for regular use). This seems to affect the MBR, which doesn’t overwrite the backup and therefore causes the above problem.

SimonU at UbuntuForums had the same problem on his Ubuntu laptop and posted a solution which I decided to borrow.

sudo cp /etc/init.d/checkfs.sh /etc/init.d/checkfsbackup.sh
sudo rm /etc/init.d/checkfs.sh

I had already hit the button to restart my PC when I thought to myself “I really should have looked at what it was doing  and made sure it was doing it to the right hard drive for my system” and started worrying that I may have just made my machine unbootable. Luckily all was ok and my laptop now boots into Ubuntu in a fraction of the time it had taken before. If I could only figure out how to stop Ubuntu overheating the laptop so much and causing the fan to run at full pelt, I’d maybe use it on a regular basis.

If that doesn’t work for you another thread talks about skipping the file system check (fsck) on FAT32 drives as an alternative solution.

NAS or Home Server

I need a NAS or a Home Server, I just can’t decide which.

I currently have a desktop PC in a bedroom, a laptop which spends most of its time in the living room, and a Buffalo LinkTheater which sits under the TV (also in the living room). I have a lot of files on the desktop PC that I watch, through the LinkTheater, on my TV. One of the problems with this is that it requires the PC to be switched on when I want to watch something, but a bigger problem is that the hard drives are filling up. For extra storage, the natural option seemed to be a LinkStation Live NAS which would store the files and allow the LinkTheater to stream them, but then I read about the efforts made by other nerds to turn the LinkStation into a web server. How great would it be if I could turn it into a testing server for the web sites I design?

After a little more reading it seems that this is not an easy thing to do with the LinkStation Live. The OpenLink hacked LinkStation firmware allows installation of extra software, but from what I can tell doesn’t seem to be compatible with ARM-based boxes like the LinkStation Live, only with older LinkStations (at least the lack of installation instructions suggest this). I’m now investigating the possibility of getting a cheap Home Server instead, though I have some constraints: it must be small, so I can stick it in a corner out of the way, and it must be silent. Basically I want to be able to completely forget about it when I’m not using it.

Obviously since a 500GB NAS (the LinkStation) can be obtained for under £150, I don’t want to spend too much more than that on the server – which all but rules out a Windows Home Server based system. That’s not a problem, I want to work on my Linux knowledge anyway. I’ve spent part of today searching on Google and ebay for terms like “xpc x100“, “shuttle pc“, “sff pc” (small form factor) and “mini pc“. Finally I came to “ITX PC“; Mini-ITX (along with Nano-ITX and Pico-ITX) being a standard form factor for motherboards that use low amounts of power and are therefore suitable for use as the basis of fanless (and therefore quiet) systems. I should have remembered this from a project I did last year in university involving in-car PCs.

So far I’ve come across a couple of UK shops so far, none of which have managed to give exactly what I wanted. Mini-ITX.com, as well as news and reviews, have bundles that basically amount to DIY kits for the type of system I’m looking for. The Intel Bundle comes close but I’d need to add a new hard drive as 80GB would not last any time at all. Another UK company, LinITX, offer build-your-own systems based on their skeleton systems, but the ones in my price range (like their Home Server bundle) are too big, at normal PC size, and don’t include hard drives. ITX-Warehouse just looked too dear; their only self-build barebones system was over £300.

Sorry if anyone was looking for a conclusion to this post, but I’m still looking for now. I may look further into hacking the LinkStation into a web server or I may just take the (relatively) easy option of getting a home server.

Plus.net Top Broadband Customer Satisfaction Poll

I have kind of a love-hate relationship with my ISP. Their speeds are pretty good (I think, anyway) and their culture (if you like) or their philosophy, is great. I like the wee touches like their community forum and blog and I love their geographic (01) phone numbers for support. I’ve never had to use them so I don’t know how good they are once you’re actually on the phone, but at least you don’t have to worry about the cost. 0p a minute works fine for me.

I know I always mention it, largely because it’s my only real complaint, but I do hate the peak-time usage limit of 8GB per month*. I understand bandwidth costs them money and I know I can get more for a relatively low cost either through additional bandwidth bundles, pay-as-you-go or a £5 package upgrade, but I don’t really fancy any of those options. It would seem I’m just expecting too much, but it does leave me feeling content or happy with the product, rather than delighted. I’ve suggested extending the unmetered/unlimited usage ‘off-peak’ period (currently midnight to 8am) through to 10am or midday, but it doesn’t seem likely (cost reasons, apparently).

I blame the big providers for spreading the myth of unlimited usage (while growing ever tighter in their so-called “fair use” policies). They’ve clearly set my expectations too high because Plus.net have come out top in a customer satisfaction survey of the UK’s top 10 ISPs; it’s always nice to have your choices reaffirmed. Bigger names like AOL, Orange, Tesco and BT didn’t come off quite so well.

I have also sent a strongly worded complaint to Broadband Choices regarding their unforgivable (they’re supposedly a consumer site after all) use of the headline figures provided by these companies (like BT’s infernal £8.95/month bullshit) instead of the actual charges. I find that behaviour scummy, but unsurprising, when the companies trying to sell you their own product do it (caveat emptor and all that) but for a self-proclaimed consumer site to take them at face value (possibly something to do with their affiliate/referral fees?) is a disgrace.

* Since the time of writing the peak time usage limit has increased to 15GB – which is much better. I still do the majority of downloading at night, but don’t need to worry if I decide to lie in at the weekend and let it run til noon or have to download the odd large file during the day.

Solved: Override Default HTML Title in b2Evolution 2.x

I’d set up my 1.x installation of b2Evolution to use a custom HTML title in the format:

<title>[Post/Page name – ] Blog name</title>

On installing 2.4, however, I noticed that the default title is just the post/page name if it exists and the blog name if it doesn’t (i.e. for the posts list). This was based on a function call to a function called request_title. Google didn’t tell me much about this function (not the 2.x version anyway) so I went hunting and found the function in the file: \inc\_core\_template.funcs.php

Continue reading “Solved: Override Default HTML Title in b2Evolution 2.x”

Solved: b2Evolution – Sidebar 2 [NOT INCLUDED IN SELECTED SKIN!]

I’ve just upgraded another blog from b2Evolution 1.10 to 2.4, which means reworking the skin I developed to work with the new “Skins 2.0” framework. It also means that instead of hacking html into my _main.php file, I’m going to use the customisable ‘widgets’ to create my sidebars. This is in the Blog Settings -> Widgets panel.

It seems to work pretty well. I copied a default skin (the asevo one) to a directory called proto, installed the copied skin and began changing it. I decided I wanted to keep the 3-column layout from my old 1.10 skin and luckily there is already a default container called Sidebar and another called Sidebar 2. The problem was my skin didn’t use Sidebar 2.

It was easily fixed, I created a new <div> and used the same skin_container function which the skin used to call the Sidebar widget. I just replaced skin_container( NT_(‘Sidebar’) with skin_container( NT_(‘Sidebar 2’) and it fitted in. Despite the fact the skin now used Sidebar 2, the admin interface kept telling me it didn’t. The container in the admin site said Sidebar 2 [NOT INCLUDED IN SELECTED SKIN!] and every time I tried to add a new widget I got a message saying “WARNING: you are adding to a container that does not seem to be part of the current skin” (I Googled the former error message and, to my shock, got zero results. Hopefully this post will fix that).

Solution

It still worked ok, but I don’t like things that are out of place. To solve this, it turns out all you have to do is go to Global Settings -> Skins install panel and there’s an icon beside each skin to “Reload containers”. Do that and it’ll pick up your call to Sidebar 2 and rid you of that irksome error message.

Another 640KB moment?

OK, so Gates denies ever saying the infamous line “640K software is all the memory anybody would ever need on a computer,” but I still think it’s the best illustration of the pitfalls of making predictions about the future-proofness of a technology.

Discussing the impending inclusion of IPv6 records in the internet’s root servers the BBC’s technology news proclaims today:

Under IPv6 an effectively inexhaustible pool of addresses becomes available.

I haven’t studied the matter in any great detail but surely that’ s a very bold claim.

Plus.Net; a 2-month review

Some time ago now I mentioned that I was leaving Tiscali’s awful broadband service behind and joining Plus.Net on a 90-day trial instead and at that time I promised to give my thoughts on my new ISP after a few weeks. Well I’m coming to the end of my second full month with Plus.Net so figured my review was overdue (and I know people are dying to find out what I think of Plus.Net).

Summary
Speed: “Up to” 8Mb/s
Usage: 8GB 15GB (plus unlimited usage from 00:00 to 08:00 every day)

Plus.Net and their Service

Overall I’m quite pleased with the service. The first month went off swimmingly; my broadband speed ended up somewhere around 6,000 kb/s download and 375kb/s upload according to SpeedTest.net. My ADSL modem says it’s synced at about 8,000KB/s so everything’s looking good. I’ve been pleased with the speeds, haven’t noticed any service interruptions and billing seems to have been hassle-free.

Overall I like the company too. I like the reassurance I get from knowing I can contact them without using a rip-off 0870/0871 number like Tiscali’s if I can’t quickly resolve any matter that might arise by using their forums. I also like the fact that they don’t use scummy Tiscali/BT-type marketing of “From £4.99 a month” with tiny small-print hidden away somewhere informing you that that only applies to the first 3 months of an 18-month contract!

Continue reading “Plus.Net; a 2-month review”

Solved: Comments Disappeared / Error after WordPress Upgrade

I’ve just upgraded a WordPress blog to the latest version 2.3.2 and when I went to write a new post I realised all my categories had disappeared. They were still in the database but the list to the right of where you type your posts was empty. As well as this, I noticed that adding new comments was giving a 404 error in the middle of the page. This second issue was reminiscent of another one I had (and solved) upgrading to 2.2 – the errors were actually 403 errors, but redirecting to 404 error pages because there was no 403 error page defined (i.e. the 404 was happening when the server looked for the 403 page).

I noticed a file called error_log (no extension) in the wp-admin directory and had a look. Apparently some database tables (‘wp_term_taxonomy’ and ‘.wp_terms’) were missing. After reading this support thread I investigated the possibility that my database was out of date. I followed MichaelH’s suggestion of navigating to /wp-admin/upgrade.php, which informed me that my database was up to date. I didn’t believe this to be true though; certainly not after learning that tables were missing. At a hunch, I guessed that when I’d been upgrading through Fantastico, I must have run out of space (a semi-regular occurrence) so the database upgrade was probably left half finished. Assuming that WordPress would determine whether or not I needed to upgrade based on a single configuration or database field I soon found the wp_option.db_version field, which was set 6124.

The Solution

As I suspected, 6124 is the db_version value for WordPress 2.3. I changed this field’s value back from 6124 to 5183 (the db_version value in WordPress 2.2) and hit the upgrade.php page again. This time it told me to upgrade, I did, and the categories are back.  Adding new categories still caused 403 and 404 errors, but that was because I’d deleted the .htaccess file created previously when trying to fix the first problem! Recreate that and we’re cooking with gas again.