Category Archives: Data

Fixing the time

Ed Bott on how to fix the time sync in Windows (and the godawful error: “The time sample was rejected because: The peer’s stratum is less than the host’s stratum.”)

He notes this list of alternate time servers in the US. It makes sense for reliability purposes to choose a server close to you; indeed some big corporates run their own time servers.

As it turns out, Microsoft has a KB article documenting a number of servers around the world: 262680: A list of the Simple Network Time Protocol (SNTP) time servers that are available on the Internet.

Choose one near you today!

Statistics shows Rudd has created more jobs than Work Choices

In a demonstration of how difficult it is to single out a root cause the changes in a figure derived from complex behaviour, an economist (using the exact methodology that John Howard cites for determining the contribution of Work Choices to labour market growth) has shown that:

… [Kevin] Rudd has added many jobs – in fact 10% more jobs per month than Work Choices did.

So: politician lies; footage at eleven. If the government wanted to actually measure if Work Choices made things better, they should have said something like “everywhere except WA”, or “only applies to people born after the 6th of the month” or whatever. Then they’re would be two systems, and you could actually measure it.

Myself, I’m looking forward to the decrease in employment because Rudd is no longer leader of the opposition (read the article, you’ll understand that comment eventually).

Risking your irreplaceable images

Oh no, George is at it again:

Q. I want to archive family photos and slides from our hard drive onto a DVD. However, I have read that home-burnt DVDs and CDs can have a short shelf life of about five years. What is the best technology to store 1-5 GB of irreplaceable images?
B. McGregor

A Manufacturers claim life spans of 30 to 100 years for DVD-R and DVD+R discs and up to 30 years for DVD-RW, DVD+RW. Your advice about a five-year life may apply to a CD that has not been burnt, as in that state the storage life is much shorter. For archiving you should use a premium-quality product, which in my opinion is Verbatim as they come out on top in almost all independent reviews that I have read.

No no no no no. You don’t tell someone who wants to store irreplaceable images that it’s fine to chuck it on a DVD, and blindly believe the manufacturer’s claim of the 30 years plus lifespan. The technology is not yet nearly that old, so while theoretical lab tests might claim that, in my book it’s not conclusively proven, and plenty of people have had problems.

If the files involved are genuinely irreplaceable, the message here is to make sure you don’t rely on one copy, or even on one medium. You make multiple copies, in a format that is futureproof (JPEG probably being the best for photos), distribute them widely (for instance with different family members) and check and copy them regularly onto new media.

You sure as hell don’t burn a single copy and chuck the DVD in the cupboard and hope nothing renders it unreadable.

Home Improvements – Here endeth the lesson

For the story so far see Part 1 and Part 2. If you’re totally bored, then please don’t read on… this is the longest post yet!

So I got my Linksys NSLU2 home. I thought I’d fire it up and make sure it worked. There’d be nothing more frustrating than flashing it with the Linux OS, find it doesn’t work and then wonder whether the issue is with the new Firmware or the actual hardware.

Plugged it in, fired it up, plugged in and formatted a blank external drive I dug out of the cupboard. All good so far! I can’t plug in a disk with anything on it because the LinkSys requires disks to be formatted with EXT3.

Hmmm… what’s this… a firmware upgrade to the NSLU2 that allows it to read NTFS! That’d make the device usable until I get my head around the Linux options!

Loaded up the upgrade, all went smoothly. Plugged in my external hard drive to see if it works. Get “Drive not formatted” message in the NSLU2 admin screen, so it must not support NTFS after all. Oh well. Plugged the external drive back into my desktop PC.

“This disk is not formatted. Do you want to format it now? Yes/No”

My

heart

stopped.

An entire disk’s worth of data… gone. Video from when the kids were little, lots of photos… gone. I know what you’re all thinking… why wasn’t this data backed up? I have two responses to this. 1) It’s not that easy to back up a 14GB video file. 2) Part of the reason I was setting up this solution is to make automated backups more accessible!

Some have said that I shouldn’t have trusted the device with my data, but in my defence, it’s a shrink wrapped consumer device that’s designed to have drives plugged in to it. If I can’t trust this device with my data, I don’t have much use for it!

I kicked off a File Recovery scan and went to bed very sad.

In the morning, the file recovery had found a bunch of deleted files, but none of the files that were not deleted at the time of the corruption! I tried loading the drive up in a couple of EXT3 file viewers, but they couldn’t read the drive either.

I’d pretty much given up hope of getting my data back.

Then my neighbour nonchalantly suggests I try a partition table repair tool. I load one up and run it. It tells me “The partition table on the disk is incorrect. Would you like to fix it?” I click “Yes”. Bang. All my data is back!!!

Yay! Waves of relief! Not to mention proof that the Linksys had screwed up the disk. The partition table was written for an EXT3 disk, even though it was still formatted in NTFS.

Yesterday I took the Linksys back to Harris Technology and threw it at them as hard as I could. Actually I didn’t and they were incredibly helpful, giving me a full refund without any hassle.

So back to the drawing board. Now that I realise how precious that data is to me, I’m going to have to get a proper, RAID based network drive solution. More money 🙁 I’ll probably go for a Thecus N2100.

Lesson the First
Imagine losing all your data that is not backed up. How do you feel about that?

Lesson the Second
No, really. Losing it. Right now. Seriously, how do you feel about that?

Weigh your reaction to the above questions against the cost of getting dedicated backup.

Here endeth the lesson.

Update: I was talking to Josh last night and he said it wasn’t clear that I hadn’t installed the funky open source firmware on the LinkSys box yet. It was running the latest official firmware release. I probably also didn’t emphasize enough that I wouldn’t recommend anyone buying one of these pieces of junk

Firefox Spellcheck dictionary

A couple of times now I’ve had to hunt down the location of the dictionary for Firefox because in the popup for a misspelled word has ‘Add to dictionary’ too close to the word I want to change to (and now I’ve inserted a misspelling into my personal dictionary).

The location of the dictionary for Firefox (under Windows) is: somewhere under Documents and Settings is the file persdict.dat.

Maybe this time I’ll remember it. I suggest this behaviour shows a usability problem.

Easy ways to save bandwidth

After reading Jeff Atwood’s terrific post about saving bandwidth on web sites I’ve moved the Geekrant RSS feeds over to Feedburner, using Steve Smith’s mavellous WordPress Feedburner plugin, which works in WP 2.0x and 1.5x.

I also turned on HTTP compression, which in WordPress is as easy as clicking a checkbox. It not only saves you bandwidth, but users get your pages served quicker, since the bottleneck is bound to be their bandwidth, not their browser’s ability to decompress.

We’ll see how it goes. Bandwidth has been growing recently: January 2.8Gb; February 2.7Gb; March 3.4Gb. It’s not at ludicrous levels, but if it keeps climbing, I’ll end up paying more for the hosting. Hopefully this will help bring it back down.

Update 8:40pm. First thing I notice is that when reading the feed from within the Feedburner site, it doesn’t treat relative paths to images properly. I guess I’ll have to put absolute paths, ‘cos at the moment in the previous post it’s trying to load http://feeds.feedburner.com/files/2007/mediagate-mg35.jpg instead of http://www.geekrant.org/files/2007/mediagate-mg35.jpg. I wonder how it treats relative links?

Cool XML stuff

A bunch of XML Tools from the good people at Got Dot Net. The particular one I needed was XSD Inference, which creates an XSD from an XML document. I needed it to use with some code to validate XML against XSDs in VB6. It seems XSDs created from XML with some tools (I’m looking at you, XMLSpy — though maybe it’s fixed in later versions) won’t work properly using VB6/XML Parser 4 (which is what I’m using, at least for some of my stuff).

Office XML compatibility

Office 2007 has also been completed, and the compatibility pack is now available to allow earlier versions (back to 2000) to read the new file formats.

Though as Office Watch points out, while the Word one works well in both directions, it appears that the Excel and Powerpoint don’t have full conversion, just viewers.

What a copout. If they can do it for Word, they can do it for the others. Mind you given the plethora of information about the new formats I wouldn’t be surprised if a third party writes a proper conversion tool to fill the gap.

Misc stuff

Cool links I’ve found recently:

Super (MOV to AVI conversion).

VB to Java converter. That is, it compiles VB6 code into a Java class. Latest update here. Q+A. (No, you can’t download it yet, they’re still working on it.)

Oh, guess who’s on about giving away Digital set top boxes again? Yup. I do like this argument, actually: It is not the Government’s job to champion new technology. It is the Government’s job to provide universal infrastructure and manage the task in a financially responsible way.

XML Notepad, which after a looooong time not being available, is back, and upgraded. (Requires the .Net Framework 2).

Headlines via PHP/RSS

This utterly rocks, and I can’t believe I didn’t go looking for something like it before: MagpieRSS lets you show RSS headlines on a PHP page. I’m using it on my old toxiccustard.com page to show the latest headlines from my diary and the site’s News and Guide to Australia pages (which all run WordPress). It includes caching so you won’t burn up your (or anybody else’s) bandwidth by grabbing the feed continually.

Emulation saves the day

This is cool: Emulating a BBC Micro, Amstrad, Spectrum or Dick Smith VZ300 in a Java applet. Maybe I’ve been wrong in dissing Java.

Speaking of Beebs, apparently a version of cross-platform emulator BeebEm has been used to try to ressurect the 1980s BBC Domesday project. It makes interesting reading, particular with regards to the problems of digital preservation… not to mention the value of the resource in being a record of life in Britain from the time it was compiled.