Introduction About Site Map

XML
RSS 2 Feed RSS 2 Feed
Navigation

Main Page | Blog Index

Archive for July, 2005

Copy is Power

Servers

Redundancy makes computers much safer, more stable and more reliable than other aspects of our lives. Paper loss, theft — or more personally — physical damage, illness and other disastrous scenarios may be difficult to avoid. They all relate to the physical whereas information itself is metaphysical.

In IT there is rarely any need to step back and cope with losses. Only momentum can be hindered. The famous song by the Beatles suggests that the same does not hold for actual life. The phrase “How I long for yesterday” means that restoration of a past state is often not possible. On the contrary, with information stored electronically, assuming frequent backups are retained, we can fully restore what we had yesterday. We have what businesses have come to know as “damage control”.

On a more technical tone, I back up my Web servers every 2 days and my databases every single day. My entire hard-drive (excluding applications and media such as music and video) gets mirrored twice a week. Rather than overwriting old backups, I keep a stack as large as the hard drives can hold, so they are usually nearly full. More efficient backups would involve CVS-like mechanisms or tools like rsync, but practicality greatly depends on the bandwidth available.

Backup makes the haven when disaster hits. Copy, copy, duplicate and mirror. Excessive backup: no such thing. You never know how this will save you from a broken hard-drive, a mistakenly deleted directory or mysterious critical changes to settings.

Duel Core

The screenshot below practically illustrates why you should not always trust news sources, even if they are as big as Yahoo Inc. Some say that technical Web logs are more knowledgeable sources of information while journalists, correspondents and editors have scarce knowledge of some topics they cover. I was faced with the screen shown below when reading the Technology section in Yahoo.

Yahoo News

Are the two processors going to fight one another by spitting heat? It should of course have been “dual-core”.

MSNBot Fights Linux Servers

Bill Gates
Bill Gates arrested in his younger days (photo in public domain)

Some time the past I composed a little tool from various scripts to correct for the differences between Windows and Linux servers. To quote just the gist:

The Linux filesystem behaves differently from that of Windows. For example, Linux treats index.htm and INDEX.htm as if they are separate files; Windows does not.

In the logs, I repeatedly observe errors like the following (from half an hour ago):

[Tue Jul 12 05:48:11 2005] [error] ...
[client 207.46.98.35] File does not exist: ...
/home/schestow/public_html/guestbook/spam/

The correct URL is in fact /home/schestow/public_html/Guestbook/Spam/ (note case)

Performing a reverse DNS lookup, I discovered that MSNBot was the culprit. Its Windows-egocentric requests invoke errors again and again, making false positives and adding noise to the error logs. Phrased differently, whenever requesting non-existent pages (by manipulating their names), MSNBot flags errors which result in a chaotic mess (I view my error logs several time a day).

Are Microsoft intentionally tempering with Linux servers? Are Microsoft punishing us because we did not buy their expensive server software? That’s what it boils down to.

WordPress and PDF

I recently sought and discovered a plug-in for WordPress (a blogging tool) that generates PDF‘s from WordPress data. This eases the process of printing, viewing and sharing pages as PDF’s preserve their structure across platforms.

The WP2PDF Web site covers much of the detail and contains an on-line demo. As an example, press below (bottom-right corner) to see a PDF version of this post. If you have a hard time installing the plug-in (hand-tweaking is involved), see my notes about a possible bug and the way I got around it. Image embedment works only in the minority of cases, so if you find a solution, please post it here.

There was one particular reason for my interest such a plug-in. That reason was Mambo (picture below), which has PDF/PS support built-in. Mambo is an excellent Open Source CMS that is currently used by ManLUG, of which I am a member.

ManLUG

A screenshot of the Mambo installation for ManLUG

Longhorn Beta Screenshots

Bill Gates
Bill Gates posing for a teen magazine in 1985
with a Mac at the back, from which he nicked the GUI

History certainly repeats itself. Microsoft have once again imitated the user interface of the Mac, particularly the eye candy; their beta version clearly reflects on that. This beta was only announced a day or two ago, so the leakage of screenshots was rather quick.

Also worth noticing is the stunning similarity to Windows XP, not to mention the absence of improved essence underneath, namely the three promised pillars, which were conceded due to self-imposed time constraints.

Firefox Mac

Having gathered statistics, I estimate that my Firefox theme adaptations had over 100 downloads from this domain. The more popular of the two themes is the Mac OS X clone (shown below). It can be downloaded or directly installed. Enjoy!

Note: this theme should be compatible with all platforms

Firefox Mac

Click image to see it full-sized

The Blogging Downside

Martha Irvine of Associated Press writes about the price of telling too much over the Internet (via Yahoo):

…putting one’s life online can have a price. A few bloggers, for instance, have been fired for writing about work on personal online journals. And Maya Marcel-Keyes, daughter of conservative politician Alan Keyes, discovered the trickiness of providing personal details online when her discussions on her blog about being a lesbian became an issue during her father’s recent run for a U.S. Senate seat in Illinois (he made anti-gay statements during the campaign)…

…Some also speculate that more scandalous blog entries — especially those about partying and dating exploits — will have ramifications down the road…

SpiralI have noticed a few bloggers who fear nothing they publish. One has to remember that blogs do not have to lead to personal discussions. This is perhaps one of the advantages of technical blogs where opinions expressed are about products or companies, seldom about individual people. The mentioning of names is still a true danger.
 
 

Retrieval statistics: 18 queries taking a total of 0.138 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|