Memory upgrade question

Here’s a question for all you memory techie nerd people out there:

Given the choice, would you go for Crucial memory, or Corsair Value Select memory?

The reason why I am asking is that I’m finally getting around to upgrading Hari’s computer, now that memory prices have fallen far enough for it be a little over £100 for a full 2 GB of RAM. Crucial have the memory she needs at £108, but they’re currently out of stock and there’s no indication as to when they’ll get stock back in. Scan, on the other hand, has Corsair Value Select memory available now for £107 including delivery.

Obviously the two cost the same so price isn’t an issue, but should I wait and buy Crucial memory, or get Corsair memory now? The fact that it is ‘value select’ seems to imply that it might not be as good as Crucial’s memory but I have no idea whether this is actually the case; all I know is that Crucial and Corsair are good brands.

Obviously it would be nice if she could afford high quality gaming memory but this is about the best we can do for now. Any thoughts are welcome.

Memory upgrade

Today I finally got around to upgrading the memory in my Mac Mini. Since buying it last year it’s had 512 MB of RAM, which is fine for general computer-ry stuff (reading email, browsing the web, maybe running iTunes in the background) but lately it’s been used more and more for playing World of Warcraft, which is a very memory-intensive program. With it running, doing anything else on the system is, at best, difficult – switching between World of Warcraft and, say, Firefox takes a long time.

I ended up buying the memory from Crucial – I’ve bought from before and had no problems, and this time was no exception. I ordered the memory yesterday morning, and despite going for the free delivery and not the more expensive guaranteed next day delivery it still came today, which is excellent. Crucial also happened to be cheaper than buying Corsair memory from either Scan or Dabs, and I’d rather not have generic memory if I can avoid it.

The reason why I have been putting the upgrade off isn’t so much the cost aspect (which ended up at £85 for 1 GB of PC2700 DDR RAM), but the actual upgrade itself, and in particular taking the unit apart. It’s a very small unit and the case isn’t screwed on – you actually have to pry it open with a knife – I used a standard putty knife from Wickes. Because my unit also has Airport and Bluetooth, you have to then detach one of the antennae before then lifting the RAM out and inserting the new module. Thankfully, there are videos which explain this process – I really would not have bothered if I hadn’t seen it being done first. One thing I did do, however, was boot the computer before putting the lid back on and making it sure it worked – after going through all the effort of taking the machine apart I didn’t want to have to do it all over again just because the module wasn’t seated correctly, for example.

Thankfully, the upgrade worked, and now the Mac has double the memory to play with. It’s not a seismic difference in speed but it does feel snappier; still, my MacBook, with its Intel Core Duo processor, beats it when playing WoW. But not by quite so much.

Screenshots on a PocketPC

Since it took me a while to find out how to do this myself, I’m going to use this opportunity to tell you how to take screenshots on a PocketPC or Windows Mobile device – in my case, Windows Mobile 2003.

First of all, you need to know that, as far as I can tell, your device does not have a screenshot capability built in. It’s not like a Windows machine where you can hit Print Screen or a Mac where you can hit Cmd+Shift+3 – you will have to install some software first. I’m sure there’s some fancy-pants shareware jobby that will do the job painlessly but in this instance we’re going to use Pocket SnapIt (link no longer available), which is available for both normal Windows Mobile/PocketPC devices and Windows Smartphone handsets. There’s also a Windows version for your PC. It’s free and open source.

Choose the relevant package – for my Dell Axim x50v, I chose the PocketPC package – and download it to your device. This may mean downloading it to the Mobile Device folder in My Computer and then using ActiveSync to send it across. Then, click on the cabinet file on your device to have it install. If you’re using Windows Mobile 2003 (and probably 5.0 also) you’ll probably get a warning saying that the application was designed for an older operating system – you can ignore this. Now, go to Programs and run the newly-added Pocket SnapIt icon.

You’ll now need to define a hotkey to trigger the taking of screenshots. I chose the ‘/’ character – to set this, click on Menu and select Options. Then click Menu again, expand Options and choose Capture Options. Now click Menu a third time and click Select Capture Button. Click OK and then select a key on the keyboard. Click OK to go back to the main screen, and then click Start.

Now, open up the program you want to take a screenshot of and press the trigger key – you should hear a noise when you do. You should then find a bitmap file in your My Documents folder call Snap001.bmp – this is your screenshot.

You can see my effort further up the page – this was a shot from Skype for PocketPC. As you can see, the capturing mostly works but it chokes on the font smoothing, so you may want to consider turning this off first. You’ll also need to change the image format to something other than bitmap if you want to post your screenshot on the internet (since bitmaps are not compressed) – PNG is probably the best format to go for. The image I posted is less than 13KB.

Quickly compress PNG images

Before posting any PNG images on here, I use the open source Pngcrush tool to compress the images as much as possible first. Even when I set the compression to its highest value in programs like IrfanView, Pngcrush is still able to make most images even smaller.

Unfortunately, Pngcrush is a command-line tool, so it’s not the easiest tool to use in Windows. So here’s how to add a ‘Crush’ option to the context (right-click) menu in Windows Explorer for quicker crushing.

Firstly, you’ll need to download Pngcrush, which is availble at Sourceforge. You’ll want the win32 version. Download it and unpack it somewhere.

The instructions that follow are for Windows XP; for older versions they’ll be a little different.
Open Control Panel and choose Folder Options. Select the File Types tab, and scroll down to the ‘PNG’ entry. Click on ‘Advanced’, then click on ‘New…’.

In ‘Action’, type Crush, and in ‘Application used to perform action’, type the following:

C:\Downloads\pngcrush\pngcrush.exe -e 2.png "%1"

The first portion should be the location of the pngcrush.exe file that you extracted from the archive. The ‘-e 2.png’ bit specifies what the outputted PNG image will be called, which in the case it’ll be the filename with ’2′ appended to it (so the crushed version of ‘catpicture.png’ would be called ‘catpicture2.png’). You could also use the following:

C:\Downloads\pngcrush\pngcrush.exe -brute -e 2.png "%1"

This does the same as the above but does a ‘brute force’ crush – rather than use one of a few common methods to crush the file, it will use all of them. It’ll take longer, especially on older hardware, but may result in a smaller PNG file.

And you’re done. Now, when you right-click on a PNG file, you can select ‘Crush’ and have Pngcrush your image for you. Remember that the compression is lossless – you won’t lose any quality by using the tool.

New computer

My parents are now the proud owners of a new Packard Bell desktop machine. It’s pretty good – AMD Athlon XP 3000+, 512MB RAM, 80GB HD, DVD rewriter, 64MB onboard graphics (since I doubt my parents will be playing Doom 3 any time soon), TV tuner card and multi-function card reader, plus the usual Ethernet, 56k modem, keyboard, mouse and related gubbins. There’s also a 17″ TFT monitor with built-in speakers that looks very nice and occupies much less space on the desktop. The whole setup is a rather fetching black and silver colour – much better than the beige boxes we used to have.

It comes with Norton Internet Security Suite 2004, but it’s only got 90 days of free updates, after which it’ll presumably demand payment of us, so I’m replacing that with the standard firewall in XP SP2 (which we had to install) and McAfee VirusScan Enterprise which is decidedly less annoying.

In fact about the only thing it doesn’t have is a floppy drive, which I suppose is a sign of the times.

Bollocks bollocks bollocks

My hard drive has failed. I was using it normally, and then most apps froze and then I got a BSOD. I rebooted, but the computer wouldn’t boot, citing an IDE error 🙁

The most annoying thing is that the machine is only 10 months old, and that I went for a Toshiba machine because I expected it to be better than my previous laptop, a Samsung, which at least made it to nearly 18 months before dying one me. Toshiba supposedly make good laptops.

Thankfully, it’s still be under the 12-month manufacturer’s warranty, so the reseller that sold me the machine are going to get an earful once I dig out their number. Still, I’m downloading Knoppix in the hope that I can salvage the more important data as I imagine that the ‘repair’ will merely consist of a new hard drive. In the meantime, I’ve requested a quote from OnTrack data recovery should damage to the drive be severe.

Update: Knoppix can see that there’s an HD in the system but it can’t read anything off it. This isn’t looking good. On the plus side, I do have internet and an office program and I can FTP stuff if I need to save anything.

Apple Lossless Encoder

One new iTunes feature that slipped by me was the new ‘Apple Lossless Encoder’. Unlike music formats like MP3, AAC and Ogg Vorbis, lossless encoding results in no loss of quality – the music file sounds exactly like the original. The downside to this is that files compressed using lossless compression are typically quite a bit larger than their lossy counterparts.

With the largest iPod topping 40GB it’s hardly surprising that Apple have adopted this – I’m sure the majority of people will never fill that much (even I have only 6-7GB) so the extra space can be set aside for higher quality files. What is surprising is that Apple chose to adopt their own format, and not one of the (many) other lossless encoding formats.

If you thought there was a format war amongst lossy encoders then you’ll be knocked back by how many lossless ones are out there. There’s at least 14, although not all of them are as good as each other. Thankfully, lossless formats are easier to compare since output quality isn’t a factor, but a good format will have quick encoding, a small output file size, many features, and would preferably be open source too.

The most popular is FLAC (Free Lossless Audio Codec), which is now being steered by the Xiphophorus Foundation who are also steering the Ogg Vorbis format. It’s arguably not the best format out there but it’s good enough and it’s entirely open source. It’s well represented on almost all platforms and is even in some hardware players. Monkey’s Audio is a little faster but isn’t so well supported, being restricted to Windows and a command line encoder in Linux. Although it is open source, development has been a little slow of late, and it lacks some features compared to FLAC. Shorten is another popular format.

Apple Lossless Encoder (or ALE for short – nice acronym), is, sadly, based on none of these. It’s a new format which is closed source and currently only works in iTunes (Mac and Windows) and through QuickTime, although a dBpowerAMP codec is apparently in the works. It is quite well featured, offering streaming and seeking support (which a surprising number of other formats lack), and is obviously supported on the iPod with the addition of the latest firmware update, so on paper it has a similar number of features to FLAC. It is, however, slower at encoding and decoding, and files are typically a megabyte or so larger, according to this comparison provided by the FLAC project, however this HydrogenAudio topic suggests it is faster. I’m guessing Apple may have optimised it for the PowerPC processor, in which case compile times on Mac OS X would be better than in Windows.

It’s just a pity that Apple took the decision to re-invent the wheel when good alternatives already exist, although this Macworld column reckons this is because Apple may want to add DRM to it in future so that punters can buy higher quality files from the iTunes Music Store. AAC was an open(-ish) format and look how quickly that was cracked. On the other hand, I doubt the record labels would be interested in giving away their songs on the internet at full quality, based on their previous boneheaded decisions.

There may also be reasons, such as patents or problems with embedding FLAC in the iPod firmware, but seeing as other hardware manufacturers have managed it this seems strange.

In any case, it’s an interesting development. Any support for lossless audio in iTunes is a good thing, I just wish that Apple had gone with the herd rather than go on a tangent and then confuse people. What I would like to know is whether the WMA import function of iTunes allows you to convert them to ALE, since then you wouldn’t lose any quality – I couldn’t find anything that suggested this in my research for this article.