Ubuntu 9.10

This has been a wonderful year for operating systems. Instead of adding garbage featured, more bloat, et… we’re seeing considerable effort put into improving performance. Snow Leopard is a marked improvement, so much so that I am finally getting around to putting it on my work machine. And, everyone already knows about the improvements to Windows 7. What I didn’t expect were the improvements to Ubuntu.

Granted, it it still hideous, and it is still linux, but damn, its fast. Traditionally my experience has been that Ubuntu has performed at around 70-80% of the speed of Windows XP. So, I was surprised how zippy and responsive 9.10 is. I dare say it is actually faster than XP now.

Good work “guys,” keep it up.

Installing Adobe Air on 64bit Linux

So, I recently installed Ubuntu 9.10 64bit on my pc. And, when I went to install Adobe Air so that I could test DarkRoomX it didn’t work. Or, rather the installer completed but it didn’t actually work. So, I had to dig up some instructions for getting it to work (you need to manually install some 32bit libs). Here’s the link if anyone else is trying to do the same thing:


A Nook Book


I just received a newsletter from Barnes & Noble trying to drum up pre-orders for their new eBook reader, the Nook. As you can guess by the graphic above, the first thing I noticed was the fucked up line spacing in their promo shot.

The shot on the left was from the newsletter I received. It’s a pretty good shot, and makes the device look attractive, but it sadly falls flat on its face if you actually look at the most important part: the screen. The featured book is Pride and Prejudice (which seems to be a defacto advertising standard for ebook readers…go public domain), and you can clearly see that the line spacing is messed up as the first five paragraphs are all bunched up.

Now, if you look at the screen on the right, you will notice that the line spacing has been corrected. So, I find myself wondering, how will these books actually perform on the device? Is Pride and Prejudice really screwed up, or did somebody notice and fixed it in photoshop? Or, was it just an early prototype that was not rendering correctly?

Based on my experiences trying convert some books to mobi reader format for my kindle, getting the paragraph spacing correct is a bit of a nightmare. I think that ebooks are basically just a compressed markup format, and the styles that get applied are related to the markup used. For example, the equivalent of the <br/> tag always seems to equate to a single line break, rather than a paragraph break regardless of how many you have.

I first came across this when I was converting some essays that were in PDF format. Occasionally my importer would split some paragraphs with two <br/> tags instead of using <p> tags. When this happened, the paragraphs ended up jumbled like the left promo shot. I assume this blunder has put the developers on their toes, and I would expect this to be right before launch.

Generally speaking, I am pretty excited about launch. I love book stores, and haven’t really been in one since I picked up my kindle. And, I really like the idea of having the in store perks for Nook owners. The Nook also has a couple of other interesting features, it looks sexier than the kindle, it supports wifi, has over one million books available, and it supports a replaceable battery. But, it isn’t all rosy.

I am concerned about the lack of qwerty keyboard. Granted, I don’t use it often on my kindle, but when I do, I cannot imagine functioning without. I am wondering if they have some kind of input system using the color touch screen in the bottom. Speaking of which, am I the only one thinking that would be pretty distracting while you’re reading? Hopefully it turns itself off when not active.

The Nook is expected to launch in late November, and should be available in a B&N near you for a test drive. I plan on giving it a once over in person, and with low price of $259 (same as the kindle), it deserves some level of consideration.

Absolute Pricing in Magento

For some reason, Magento will only allow you to show the difference an option will have on the price of a configurable product. For example, if you are selling a shirt for $15, but the extra larges cost $17, the extra large option would show (+$2). And, while this makes sense to me, it does not make sense to everyone. So, some clients prefer to have absolutely pricing in the options. In this case, the example above would show $17 for the extra large option.

People have been working on solutions for this on the boards for a while. However, they all involved editing core files, and a lot of them. I try never to edit core files, just because of the nightmares it creates in upgrading. And, I did not want to put the time investment into writing a whole module for it. So, I just whipped up a script to change the presentation to absolute.

You can view my solution, as well as many others on the relevant thread over on the magneto forums: