random thoughts to oil the mind

Category: Technology

[:en]On matters relating to computer hardware, software, and other technical goodies.[:de]Beiträge über Hardware, Software und Ähnliches[:]

WordPress 2.2 Database Character Sets

For those upgrading their WordPress powered blogs to 2.2, just a word of warning regarding the new character encoding options available in the wp-config.php file.

The standard file should have a section which reads:

// ** MySQL settings ** //
define('DB_NAME', dbname// The name of the database
define('DB_USER', 'dbuser'); // Your MySQL username
define('DB_PASSWORD', 'dbpassword'); // ...and password
define('DB_HOST', 'localhost');
define('WP_HOME', 'http://www.yourblog.com/');
define('WP_SITEURL', 'http://www.yourblog.com/');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', 'utf8');

Note the new options added at the bottom regarding the codepage used in the blog’s database. If these are set incorrectly they may make your blog unreadable, else prevent special characters from appearing correctly. I personally found that commenting these two lines out left the blog functioning as before, but for people wishing to change the codepage of their database, WordPress has a rough guide available, originally written for the beta testers.

Problem Installing Altiris SVS

After reading a review over at freewaregenius.com, I thought I’d check out this neat little program, free for personal use. It offers a way to install programs as a ‘layer’ on your system, transparently noting all changes and additions made in the installation, and enabling you to turn this layer on or off, or seamlessly delete it without worry. Although not limited to creating layers for installations, this would seem the perfect solution for people who wish to try out different versions of a software package without them interfering with one another, or simply test out some software without the hastle of worrying if its installer left anything behind.

However, I came across a problem during the installation that seems, ironically, to be caused by things being left behind. The installer would fail and blurt:

There are file operations pending on this machine. The machine should be restarted, and setup can be run again.

Whilst a reboot should fix the problem, this was not the case for me. Your natural recourse to a problem like this might be to delete everything in your C:\Documents and Settings\your username\Local Settings\Temp folder, as detailed here (in Chinese), however this brought no joy. Instead, some erroneous registry entry was to blame. ((Note that these entries are probably only erroneous if they are still present after restarting Windows. Ensure this is the case.)) The solution is to delete the entries and restart, thus:

  1. Click Start > Run… and then type regedit.
  2. Find the following branch in the registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
  3. Double-click the PendingFileRenameOperations entry.
  4. Delete any entries and click OK.
  5. Close the registry editor and restart the computer.
  6. Run the installer again.

If this does not work, another solution would be to export the above registry branch, delete the PendingFileRenameOperations registry entry altogether, run the installer, and then reimport the saved file.

A Few Funky Firefox Plugins

Firefox LogoHappily, one of the best things about the Mozilla Foundation’s flagship browser Firefox, is the sheer breadth of additional functionality provided by an active development community in the form of addons or plugins. There’s a great range in terms of ease-of-use, function and stability, some which are so useful as to almost warrant standard inclusion, others merely worth playing with from time to time. It should be noted of course that adding plugins can cause problems with Firefox’s stability and security, though many of those listed are fairly mature projects and should not pose much of a risk. Here are a few I’ve dabbled with from time to time:

Adblock or Adblock Plus – There’s fair advertising, and then there’s frankly unreasonable advertising. I can see the merits of allowing sites to earn funding through the placement of adverts related to their products, whether they come from Google or elsewhere, but some web adverts go too far. The popup plague of yesteryear might have been largely beaten back, but that doesn’t prevent wiley coders from placing wholly obtrusive flash adverts in every nook they can find. Unfortunately their actions can only serve to give web advertising a bad reputation, and drive people to finding ways of blocking adverts wholesale, obtrusive or otherwise. Of course there will always be a small minority of web users who cannot stand to see web adverts in any form, but for their purposes, and the folks seeking refuge from the advertising bombardment, Adblock/Adblock Plus will fulfil their every need.

To tell the truth, the history of these two projects confuses me, save to say that at one time or another one or both of these plugins has been under development. As I understand the current situation, Adblock Plus is the more highly recommended, as it’s more heavily featured, comes with some default filters to subscribe to which can get rid of most adverts with the minimum of fuss for the end user, and has a much reduced resource footprint to boot (pardon the pun).

Talk about learning the hard way! Accidentally deleting files on an ext3 partition is not quite so the reversible process it was on ext2, as explained here.

LCD Monitor Lifespan Saved by Customer Services

iiyama ProLite E435S-B

Searching the Internet for a comparison of CRT and LCD monitors will soon find numerous assertions that the lifespan of an LCD monitor exceeds that of a CRT. Just take one such example from Matrox Graphics’ website:

Longer monitor lifespan: Generally, LCD monitors last longer than CRTs. A typical LCD lifespan is 50,000 hours of use compared to 15,000 to 25,000 for a CRT. A longer monitor lifespan can provide a better return on investment.

There we have it, a rationalising argument for purchasing the more expensive LCD model. Indeed that 50,000 hours works out to be almost 20 years at 8 hours a day, quite an impressive statement. In my experience, aside from those which fail unnecessarily early (and usually, therefore, still under warranty), a CRT monitor usually lasts a long time indeed, and to claim that LCDs are expected to outlive these by anything up to 3 times as much on average would certainly make them worth the extra cost.

Sadly, however, this has not been the case. The first LCD I purchased failed 12 months out of warranty, whilst my mother’s failed with 12 months coverage to run. Of course it appears that when an LCD monitor fails, there is no working around it. CRTs gradually lose their sharpness or fade in luminance, which obviously becomes a problem at some point depending on what the monitor is used for, but does not make the monitor unusable for certain functions and short periods of time (indeed, one might even see the benefits of a bit of free anti-aliasing). The LCD monitors on the other hand had no such gradual decline; the first, an Eizo FlexScan L365, suddenly failed outright refusing to power on; the other, an iiyama ProLite E435S-B eventually stopped producing any blue colours, resulting in an increasingly irritating pink-tinged display.

But this is where credit must be given to the customer support services of both of these companies. iiyama’s monitor was covered by 3 years’ warranty, and true to the agreement a replacement was sent, the old monitor taken away for repair or disassembling. Simple, no hastle, and a fresh display within a week of the problem being reported. The case of the Eizo monitor is a little more complicated as it was out of warranty when the fault developed. Of course without being able to even turn it on, the problem went undiagnosed until it could be returned to base. An estimate of £75 + VAT was offered to fix the monitor and return it, with us being given the option of cancelling it should the repair turn out to require a more expensive part. Given the monitor’s quality, and the fact that the price was very reasonable to at least save on waste, it was sent back. In the end, however, Eizo deemed the faulty part to be so small as to not be worth charging for, and the monitor was repaired and sent back without charge. And all this out of warranty!

Ultimately the lifespan of LCD monitors has yet to be properly tested, and it will only be in coming years whether we find the initial estimates to be accurate or not, as many of the original buyers of LCD monitors may already upgraded to take advantage of improvements in refresh rates and contrast ratios, not to mention falling prices and larger screens. Nevertheless, we can rest assured that if companies are willing to offer the kind of customer support seen here, our investments may go the distance, even if the monitors don’t.

Page 9 of 9

Powered by WordPress & Theme by Anders Norén