Archive for the ‘Internet’ Category

Where are you, Dr Ron?

Thursday, August 28th, 2008

Here at Tech Talk Radio, we only get 13 weeks paid Annual Leave each year.  That’s why we need to make the most of it when it comes along.

I’m currently holidaying in England, Ireland, Scotland and Denmark.

I am negotiating Pounds, Euros and Kroner, drinking Guinness, eating pickled herring and fast becoming used to high-speed broadband and digital cable television.

I’ve been calling in to Tech Talk as well, despite the 9 hour time difference.

Normal programming will be resumed in the next few weeks.  In the meantime, I’m posting regular updates on Twitter if you’re interested.

R.I.P. “Derek”, 19/01/2002 - 21/07/2008

Tuesday, July 22nd, 2008

Derek was built in an old Z-Tek chassis

Alas, poor Derek, I knew him well.

My first-ever, now ailing Linux server was retired today. The low-end Pentium with 40MB of RAM had past its Use-By date some time ago, and with the bedding-down of Derek’s replacement, the imaginatively titled “Derek2″, it was time to say goodbye.

The power supply from whence the server's name was derived

Derek was built in January 2002 (according to my “anally retentive notebook” as it’s fondly known by myself and Graeme) and served as an ADSL gateway, DHCP server, time server and NAT machine for many years. It even used to run Apache to test web pages, and for the last 12 months struggled under the weight of THIS VERY BLOG running WordPress and MySQL.

Derek, as he'll always be remembered

When it was switched off today, Derek was running the latest patched-up version of Red Hat Linux version 7.2 (codenamed, appropriately, “Enigma”) which had been unsupported for some years. Red Hat eventually merged with the Fedora project back in 2003.

I snapped some last-minute photos before issuing Derek’s final shutdown -h now.

Farewell old friend!

Time to power-down.

Don’t panic. Error 304 is your friend.

Wednesday, July 9th, 2008

If you’re running (or using) an Apache web server, there are two log files which are extremely useful for monitoring the health of your website. These are the Access Log and the Error Log.

When a page is served correctly, you’ll normally see a log line like this one:

66.249.66.175 - - [08/Jul/2008:23:40:23 +1000]
“GET /images/buttons/home.jpg HTTP/1.1″ 200 15371

The group of numbers at the start of the line is the IP address of the remote computer, requesting a web page, file or image from your server. The next two hyphens are sometimes filled by a username, if the requested file or directory is protected (for example, by a .htaccess file). The date, time and timezone information come next, followed by the actual request sent by the remote computer’s browser. In this case, the remote browser is requesting (GET) an image, “home.jpg” which Apache tells us is 15,371 bytes-worth of information. This was sent successfully (code 200).

If a requested file doesn’t exist, that code 200 will be replaced by the well-known Error 404 - File Not Found. In this case a corresponding line would be written in the Error Log.

Keeping a close eye on my web server logs, I noticed a large number of requests which were answered with an Error 304, like this:

66.249.66.175 - - [09/Jul/2008:00:32:38 +1000]
“GET /sitemap.xml HTTP/1.1″ 304 -

I’d never seen an Error 304 in a web browser, and I couldn’t understand why this was being issued. Time to do some research.

Error 304 is an error level rather than an actual error, much like the code 200. This code means “Page Not Modified”. Apache is returning this code to a web browser, and to save on bandwidth, tells the web browser that the page (or sitemap file in this instance) hasn’t been modified and to use cached data instead.

When the web browser sends its GET request, it also sends the date and time that it (the web browser) last loaded or cached the file. If Apache knows that it hasn’t been modified since this date and time, it returns a code 304, instead of the same page all over again. So the browser ends-up displaying just what it’s got cached. Cool huh?

Of course if the file had been modified, Apache would return a code 200 to the browser along with the new file.

Here’s some more reading for those interested:

Search Engine Optimization (it’s American for Search Engine Optimisation)

Tuesday, July 8th, 2008

I’ve started jotting down some notes about SEO’ing The Surgery.

Have a look at the bottom of the “Great WordPress Installation” page. I’ll let you know how it pans out. My aim is to be the Number 1 result when someone Googles the word “technology”. (Who said I wasn’t an optimist?)

BTW Lidija Davis has got some great SEO tips and tricks on BlogWell.

What is Search Engine Optimisation? SEO is the manipulation of a webpage or blog, to increase its favourable exposure to search engines such as Google. The aim is to drive traffic to your site through organic search results, i.e., to have a good search result ranking when someone searches for keywords contained in your site.

While it’s not an exact science, there are many things which can be done to increase exposure to search engines, and just as many “bad” things which will cause search engines to switch off and look elsewhere.

Here’s a wiki on SEO. Notice I put the link under some meaningful words, not the word “here”. There’s a free tip for you!

Warning: SEO is highly addictive and will chew-up hours of web browsing, coding and time spent fiddling around in Google Webmaster Tools. Enjoy!

Red Hat 7.2 is dead! Long live Fedora 9!

Tuesday, June 24th, 2008

At last, at last, my WordPress blog is running on a real computer; not something held together by pieces of twine, electrical tape and garden stakes.

I have updated the page on My WordPress Installation, for those interested.

Do you notice the speed improvements with pages loading in your browser? It was definitely worth the hard work… and not too much hard work involved actually.

Many thanks to Graeme Callaghan for all his assistance.

Dr Ron twits

Saturday, June 14th, 2008

Okay okay … I’m revisiting Twitter, under some duress.

Follow me, if you’re into that sort of thing:

  • Go here;
  • Search for rk5075 ; and
  • Click the Follow button.

Interesting, intellectual and entertaining “twits” are not guaranteed.

How do you know when it’s time to buy a new hard disk?

Sunday, June 8th, 2008

Disk space warning, courtesy of Adobe Audition

I hate it when that happens.

How safe are your backups?

Wednesday, June 4th, 2008

Most people think their data is safe if it’s backed-up. Even better if a copy is stored off-site in a secure location.

This is a good short-term solution, but what about medium-to-long term? When you burned all your family photos to CD-ROM a few years ago, did you really expect that CD to still be readable today? What if you used a file format that’s not recognised by your computer in ten years?

The problem we have with backup longevity is two-fold: it all comes back to hardware and software.

Recently I was asked by Tech Talk Radio panelist Graeme Callaghan to dig-out some old audio files, from a radio project we both worked on many years ago. YJ Radio was a community radio station that we set up every Easter for the St John Ambulance cadet group, in Yarra Junction. We did this from about 1993 to 2002. The project slowly developed from a small mixing desk with two CD players, and a 10-watt transmitter loaned to us by NEC Broadcast, until its final year which involved mini-disc players, DAT-machine recorders, computers, a computer network, a TTL microphone switch, PABX and radio tower with side-mounted dipole.

All this was a great deal of fun and we used to backup all our data to CD-ROM, and all our audio to CD-DA, DAT cartridges, VHS tape, mini-discs and reel-to-reel tape. Remember this was before the age of writeable DVDs, memory sticks and on-line storage.

When Graeme asked me to find some files last week, I went straight to the Wardrobe of Organised Chaos in my home office. I knew exactly where the YJ Radio discs were stored. But imagine my dismay when I pulled-out a handful of these little suckers:

A real-live 'Imation' LS-120 disc

LS-120 disks seemed like a great idea at the time. Just when we started realising that a single MP3 file was never going to fit on a 1.44 MB disc, Imation came up with a great idea. This was to make 3½” floppy drives, which could read/write conventional 1.44MB floppies, but could also read/write super-high-capacity 120MB floppies. I seem to remember at the time they were competing directly with those external Iomega “ZIP” drives.

I also found some audio and data CDs in the YJ Radio collection: Kodak media with a 1997 production date. Could I still read these, I wondered? What if the physical surface of the discs had deteriorated over time, and ten years of project work had simply been lost?

Fortunately, my Media Centre PC could read each and every one of the CDs without any problem. It was like peeking inside a musical time capsule, and we found at least one of the files that Graeme had been looking for. Also very fortunately, we had been using file formats which were still in use today: wave and MP3 (even if the bit rates were at a blisteringly-high 128 kb/s). So our hardware passed the test of time (the ten-year-old CDs), as did our software (the audio file formats and the file-system on the CD).

10-year-old Kodak media, still readable

Next for the LS-120s. Believe it or not, I actually found a working LS-120 drive in the junk box. It was looking pretty sad and lonely, and it buzzed to life when I plugged it in.

A new lease on life for this LS-120 drive

It could actually read some of the discs I fed into it, and I copied everything possible to hard disk straight away. Unfortunately there were some discs that wouldn’t read at all, and some which appeared to have a valid directory structure, but did this when I tried to copy the contents:

*SPLAT*

So the LS-120 hardware didn’t pass the test of time. Not 100%, anyway, like the Kodak CDs. And if I hadn’t found a drive, I would have had 600MB of unreadable media. The data would have been wholly lost forever.

Now in terms of software and file formats, I was lucky that everything was written in formats we still use today. But what if the discs contained WordPerfect 4.2 files, or photographs in an early version of Kodak’s “KDC” format… then what? Again, data which can’t be accessed or converted to a usable format is as good as lost forever.

Many people today are in the same situation, when they find that they can’t get a replacement globe for their 30-year-old Super-8 projector. They have hours and hours of childhood memories on a storage medium (in this case, film) which can no longer be viewed, accessed, converted or used in any way. The same goes for beta video tapes, audio cassettes, and the same will happen to millions with VHS tapes over the next few years.

Graeme made a similar comment re. his Ampex mastering tapes, which we used in the early years of YJ Radio before the sound cards in our computers could do anything other than play MIDI files. How do we get audio off these old tapes? The answer is, we don’t, if we can’t find a functional tape deck.

But the problem is not just limited to old-fashioned or “retro” technologies. Consider the high-definition format war which has just been won by BluRay. Since the announcement by Toshiba in February this year that it would stop manufacturing HD-DVD media, anyone with even a small investment in HD-DVD must decide the best way forward.

So what’s the moral of the story? Maintain an active interest in your backup and storage regime. If the worst ever happens and you need to restore data from backups, make sure you can actually read the backups. Make sure the storage media is still in common use. Make sure the file formats you’re using are in common use.

Otherwise, when it comes to crunch time, you might be left stranded.

Domain Hosting at WordPress.com

Saturday, April 26th, 2008

I recently created a website, for a customer who wanted a shiny new blog on a WordPress server.  I took the opportunity to use WordPress.com to do the hosting.

I set up the blog, registered the domain name, and then used a new feature (new for me, anyway) which lets WordPress.com use your domain name.

What this means, is that instead of “my_wordpress_account_name.wordpress.com” as your web address, you can have WordPress.com host “my_domain_name.com.au” which appears in the title bar of people’s web browsers when they’re viewing the blog.  This costs US$10/year per domain, which I think is pretty good value.

How to do this

  • If you have an existing domain, log on to the domain’s registrar.  Change the delegation to WordPress.com DNS servers: “ns1.wordpress.com” through “ns3.wordpress.com”;
  • From your blog’s dashboard in WordPress.com, go to “Upgrades / Domains”;
  • Enter the domain you would like to appear as the address for your blog. This can be pre-existing or WordPress.com will register it for you (if the domain is available) for $5/year;
  • Click “Add domain to blog”;
  • If you don’t have any “WordPress.com credits”, you will be prompted to login to PayPal and purchase 10 credits (this will cost about AU$11.00);
  • Return to the “Dashboard / Upgrades / Domains” screen.  In the domain table you will still see the original “wordpress.com” address for your blog, with the function set as “your blog URL”. You will also see a new entry, which is the domain name you just paid WordPress.com to host. Click on the link that says “Put blog here”. Otherwise if you type the new domain name, it will just redirect to the WordPress.com address.

That’s it! Now if you type your new domain name, or your old “wordpress.com” address, you will see your shiny new blog. Most importantly, the address in the title bar will be your new domain name.

Happy blogging!

More reading; WordPress.com Support Forum on Domain Hosting.

Kapow! American web-host POWWEB lets down the team

Wednesday, April 23rd, 2008

<meta content="OpenOffice.org 2.0 (Linux)" name="GENERATOR" /><meta content="Ron Killeen" name="AUTHOR" /><meta content="20080423;90900" name="CREATED" /><meta content="Ron Killeen" name="CHANGEDBY" /><meta content="20080423;300800" name="CHANGED" /><br /> <style type="text/css"> <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --> </style> <p style="margin-bottom: 0cm" class="western">Web-hosts are Internet Service Providers which specialise in the provision of large amounts of disk space, and large amounts of bandwidth. This is useful for websites which host large amounts of data, and/or attract a large number of hits or downloads. The providers usually achieve this with <a target="_blank" title="Wiki on RAID disk arrays" href="http://en.wikipedia.org/wiki/RAID" onclick="javascript:urchinTracker('/outbound/en.wikipedia.org/wiki/RAID');">RAID technology</a> for redundancy, big pipes to the internet and <a target="_blank" title="Wiki on Load Balancing" href="http://en.wikipedia.org/wiki/Load_balancing_%28computing%29" onclick="javascript:urchinTracker('/outbound/en.wikipedia.org/wiki/Load_balancing_28computing_29');">load-balanced</a> servers.</p> <p style="margin-bottom: 0cm" class="western"><a href="http://www.techtalkradio.com.au/" onclick="javascript:urchinTracker('/outbound/www.techtalkradio.com.au/');">Tech Talk Radio</a> has been using the American company <a target="_blank" href="http://www.powweb.com/" onclick="javascript:urchinTracker('/outbound/www.powweb.com/');">POWWEB</a> for some time. All of the publicly available podcasts, as well as syndication versions of the show and some production audio used behind-the-scenes, were stored and hosted by POWWEB.</p> <p style="margin-bottom: 0cm" class="western">imagine our surprise when, one day, POWWEB just deleted everything (or moved it, or marked it “hidden”) and disabled the account. Ouch. Was it something we said?</p> <p style="margin-bottom: 0cm" class="western">Apparently the traffic generated by the Tech Talk Radio podcast caused a massive, unprecedented meltdown in the POWWEB server farm. Power supplies tripped out, disk arrays fell over and circuit breakers blew apart. Dramatic stuff.</p> <p style="margin-bottom: 0cm" class="western">Tech Talk Radio hadn’t actually exceeded the terms of its contract, and was still well within its pre-paid bandwidth for the month.  So rather than open a line of communication to Andrew McColm, TTR’s Executive Producer and POWWEB account holder, the powers-that-be thought it would be more <em>customer-focussed</em> just to disable the account.</p> <p style="margin-bottom: 0cm" class="western">Sometimes in this job you can personally recommend products because you use them yourself, they work well and they give you value-for-money service. Unfortunately POWWEB web hosting is not one such product.</p> <p style="margin-bottom: 0cm" class="western">Steer clear.</p> <p style="margin-bottom: 0cm" class="western">To read more, keep clicking:</p> <p style="margin-bottom: 0cm" class="western"><a href="http://www.techtalkradio.com.au/powweb.asp" onclick="javascript:urchinTracker('/outbound/www.techtalkradio.com.au/powweb.asp');">Full email dialogue between Andrew and POWWEB</a>.</p> <p style="margin-bottom: 0cm" class="western"><a href="http://andrewmccolm.wordpress.com/2008/04/22/customer-support-is-alive-and-well-at-powweb/" onclick="javascript:urchinTracker('/outbound/andrewmccolm.wordpress.com/2008/04/22/customer-support-is-alive-and-well-at-powweb/');">Andrew’s thoughts on POWWEB</a>, and Customer Service 101.</p> </div> <p class="postmetadata"> Posted in <a href="http://www.drron.com.au/category/internet/" title="View all posts in Internet" rel="category tag">Internet</a>, <a href="http://www.drron.com.au/category/on-air/" title="View all posts in On-air" rel="category tag">On-air</a>, <a href="http://www.drron.com.au/category/ttr/" title="View all posts in TTR" rel="category tag">TTR</a>, <a href="http://www.drron.com.au/category/technical/" title="View all posts in Technical" rel="category tag">Technical</a> | <a href="http://www.drron.com.au/2008/04/23/kapow-american-web-host-powweb-lets-down-the-team/#respond" title="Comment on Kapow! American web-host POWWEB lets down the team">No Comments »</a></p> </div> <div class="navigation"> <div class="alignleft"><a href="http://www.drron.com.au/category/internet/page/2/">« Older Entries</a></div> <div class="alignright"></div> </div> </div> <div id="sidebar"> <ul> <li> <form method="get" id="searchform" action="http://www.drron.com.au/"> <div><input type="text" value="" name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </div> </form> </li> <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <li><h2>Author</h2> <p>A little something about you, the author. Nothing lengthy, just an overview.</p> </li> --> <li> <p>You are currently browsing the archives for the Internet category.</p> </li> <li class="pagenav"><h2>Pages</h2><ul><li class="page_item page-item-2"><a href="http://www.drron.com.au/about/" title="About Dr Ron">About Dr Ron</a></li> <li class="page_item page-item-4"><a href="http://www.drron.com.au/the-great-wordpress-installation-of-2007/" title="My WordPress Installation">My WordPress Installation</a></li> </ul></li> <li><h2>Archives</h2> <ul> <li><a href='http://www.drron.com.au/2008/09/' title='September 2008'>September 2008</a></li> <li><a href='http://www.drron.com.au/2008/08/' title='August 2008'>August 2008</a></li> <li><a href='http://www.drron.com.au/2008/07/' title='July 2008'>July 2008</a></li> <li><a href='http://www.drron.com.au/2008/06/' title='June 2008'>June 2008</a></li> <li><a href='http://www.drron.com.au/2008/04/' title='April 2008'>April 2008</a></li> <li><a href='http://www.drron.com.au/2008/03/' title='March 2008'>March 2008</a></li> <li><a href='http://www.drron.com.au/2008/01/' title='January 2008'>January 2008</a></li> <li><a href='http://www.drron.com.au/2007/11/' title='November 2007'>November 2007</a></li> <li><a href='http://www.drron.com.au/2007/10/' title='October 2007'>October 2007</a></li> <li><a href='http://www.drron.com.au/2007/09/' title='September 2007'>September 2007</a></li> <li><a href='http://www.drron.com.au/2007/08/' title='August 2007'>August 2007</a></li> <li><a href='http://www.drron.com.au/2007/07/' title='July 2007'>July 2007</a></li> <li><a href='http://www.drron.com.au/2007/06/' title='June 2007'>June 2007</a></li> <li><a href='http://www.drron.com.au/2007/05/' title='May 2007'>May 2007</a></li> </ul> </li> <li class="categories"><h2>Categories</h2><ul> <li class="cat-item cat-item-12"><a href="http://www.drron.com.au/category/3wbc/" title="View all posts filed under 3WBC">3WBC</a> (2) </li> <li class="cat-item cat-item-8"><a href="http://www.drron.com.au/category/blogging/" title="View all posts filed under Blogging">Blogging</a> (12) </li> <li class="cat-item cat-item-14"><a href="http://www.drron.com.au/category/common-sense/" title="View all posts filed under Common Sense">Common Sense</a> (10) </li> <li class="cat-item cat-item-5 current-cat"><a href="http://www.drron.com.au/category/internet/" title="View all posts filed under Internet">Internet</a> (21) </li> <li class="cat-item cat-item-13"><a href="http://www.drron.com.au/category/market-research/" title="View all posts filed under Market Research">Market Research</a> (1) </li> <li class="cat-item cat-item-11"><a href="http://www.drron.com.au/category/microsoft/" title="View all posts filed under Microsoft">Microsoft</a> (1) </li> <li class="cat-item cat-item-9"><a href="http://www.drron.com.au/category/on-air/" title="View all posts filed under On-air">On-air</a> (11) </li> <li class="cat-item cat-item-2"><a href="http://www.drron.com.au/category/personal/" title="View all posts filed under Personal">Personal</a> (9) </li> <li class="cat-item cat-item-10"><a href="http://www.drron.com.au/category/propper-english/" title="View all posts filed under Propper english">Propper english</a> (5) </li> <li class="cat-item cat-item-15"><a href="http://www.drron.com.au/category/social-networking/" title="View all posts filed under Social Networking">Social Networking</a> (6) </li> <li class="cat-item cat-item-6"><a href="http://www.drron.com.au/category/technical/" title="View all posts filed under Technical">Technical</a> (19) </li> <li class="cat-item cat-item-7"><a href="http://www.drron.com.au/category/ttr/" title="View all posts filed under TTR">TTR</a> (12) </li> <li class="cat-item cat-item-18"><a href="http://www.drron.com.au/category/ubuntu/" title="View all posts filed under Ubuntu">Ubuntu</a> (1) </li> <li class="cat-item cat-item-1"><a href="http://www.drron.com.au/category/uncategorized/" title="View all posts filed under Uncategorized">Uncategorized</a> (1) </li> <li class="cat-item cat-item-4"><a href="http://www.drron.com.au/category/web-20/" title="View all posts filed under Web 2.0">Web 2.0</a> (7) </li> </ul></li> </ul> </div> <hr /> <div id="footer"> <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> <p> The Surgery is proudly powered by <a href="http://wordpress.org/" onclick="javascript:urchinTracker('/outbound/wordpress.org/');">WordPress</a> <br /><a href="http://www.drron.com.au/feed/">Entries (RSS)</a> and <a href="http://www.drron.com.au/comments/feed/">Comments (RSS)</a>. <!-- 20 queries. 1.708 seconds. --> </p> </div> </div> <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ --> </body> </html>