Archive for September 2007

Extension Development Changes in Firefox 3

Published on September 27, 2007

Firefox 3 will include several heavy-hitting changes to extension development, some of which will cause existing extensions to break. Let’s take a look at what’s changing, to get an idea of what to expect from a development point of view:

New APIs
One big change that will likely break some existing extensions are the new Firefox APIs being introduced in 3.0. All of the bookmark and history APIs are changing radically, with the introduction of the new Places architecture. As such, any extensions that make use of these will need substantial work to run properly in Firefox 3. Similarly, any extensions that use the Password storage functionality in Firefox will need changes (a new login manager will be used to handle stored passwords). It remains to be seen how one will develop an extension that will be compatible across all versions of Firefox. I haven’t seen any mention of simply deprecating the existing API calls, though I would hope that’s what the developers would do.

Secure Updates
Firefox 3 will require that all extension updates be provided over a secure channel, to avoid man-in-the-middle attacks. This means that if you are not using the official website to host your extensions, you must provide your own secure method of distributing updates. One has several options for doing this:

1. The updateURL must either use https or not be provided at all.
This method assumes that you either host with the official site (thereby not using an updateURL value at all), or you are willing to host your extensions from a secure location using https. The latter option will likely cost you money, while the former forces you to use a website beyond your personal control.
2. The updateURL uses http and the updateKey entry is specified.
This second option seems a little easier to swallow, though it will involve a little extra effort on the behalf of extension developers. First, an updateKey value must be provided in your extension’s install.rdf file. Second, a digital signature must also be included in the update manifest; otherwise, the update will be rejected. Your updateLink value can either use https, or it can use http while providing an updateHash value. The updateHash value can be generated using either a sha1, sha256, sha384, or sha512 hash algorithm. But take note: you should not use sha384 or sha512 as of this writing. This forum thread mentions bug 383390, in which both sha384 and sha512 values are incorrectly truncated by Firefox 2.x (making backwards compatibility a problem).

Some further information about this new signing process can be found here.

Other Changes
The two items above aren’t the only changes coming down the pipeline for extension development, but they are the largest changes that I can see. A document detailing the new items is available, and should (hopefully) be updated as 3.0 nears an actual release date. It looks like extension developers will have a fair amount of work coming up, but I think these changes will be beneficial in the long run. How well the community accepts these changes remains to be seen.

Thoughts on iTunes 7

Published on September 25, 2007

As I mentioned briefly yesterday, I recently bought my first iPod (the 80 GB, generation 6 model). I haven’t gotten much time to play with it due to constant interruptions at work (which really sucks), so I’ll be coming back to it later this week. For now, I’d like to share some thoughts on iTunes 7.

Read the rest of this entry »

Firefox Memory Improvements

Published on September 24, 2007

A recent article at Indistinguishable from Jesse gives some updates on the current state of memory management in Firefox. There are some exciting improvements coming in Firefox 3, which should be a boon to many users. One of these days, when I get a free chance, I’d like to examine my extensions with the script. I’m not 100% sure that there isn’t a leak or two in Googlebar Lite, though I’ve done my best to be careful.

In entirely unrelated news:

  • WordPress 2.3 has been released. I’ll probably upgrade sometime this week.
  • I just got a new 80 GB iPod. Pictures, reviews, and thoughts will appear throughout the week, so stay tuned.

My Favorite xkcd Comics

Published on September 14, 2007

Earlier today I mentioned the xkcd web comic. If you aren’t familiar with the comic, I highly recommend it. It’s well worth subscribing to or bookmarking. I’ve gone through all of the comics, and have compiled a list of my favorites. Make sure you read the hidden jokes in each strip, by hovering over them with your mouse for the title attribute. Enjoy:

Firefox Title Tooltip Bug

Published on September 14, 2007

One nice thing about the xkcd web comic, is that each comic’s image has an additional joke or tidbit of information hidden away in an HTML title attribute. Hover your mouse over it for a second or two, and you’ll see the joke. Sometimes, the text is fairly lengthy, as in this example. Unfortunately, Firefox only shows one line of text in a title tooltip, so any lengthy amounts of text get cut off with an ellipsis.

Thankfully, bug 218223 was filed way back in 2003 (as a Firebird equivalent of a bug posted in 2000). Now, 7 years later, a fix has been implemented. Firefox 3.0 will include this fix, much to my delight. This just might be enough to make me switch to the alpha builds of 3.0 for my daily browsing habits.

Update: I’ve found an extension that fixes this problem. Woo-hoo!

A Gaming Milestone

Published on September 13, 2007

Among all of the computer games I have ever played, one game has stumped me for as long as I have played it: the “Expert” difficulty level of Minesweeper. I have never, to my knowledge, beaten the game at that level, though I’ve tried a number of times. Granted, Minesweeper is a game that I rarely play, but you would think that I could have beaten the Expert level by now.

I’m happy to say that I’ve finally conquered this foe. Here’s my result:

Expert Minesweeper Cleared in 376 seconds

The Reading Rainbow

Published on September 10, 2007

Last week I took some much needed vacation. During that time I happened to pick up a book to read, something I haven’t done in a long time (as sad as that is to say). My book of choice was Sherlock Holmes: The Complete Novels and Stories Vol. 1, which I received years and years ago from a family friend. I have never successfully read through all of the stories, though I have finished the odd one or two. My goal this time around is to complete the entire book. So far I have read through the two novel-length stories in the book: A Study in Scarlet and The Sign of Four. Both are gripping reads, and I found that I could hardly put the book down once I started reading. I’m very excited about the rest of the short stories. And then it’s on to volume two!

What is everyone else here reading? Or are you even reading at all? It’s certainly such a 20th century thing to do… 😉

iPhone Rebate

Published on September 6, 2007

Gizmodo has an interesting article on why they think Apple is offering the $100 coupon for early adopters of the iPhone. I happen to agree with the article 100%. Pretty clever marketing on Apple’s behalf.

BioShock Review

Published on September 6, 2007

I’ve played through BioShock a couple of times, so I thought I’d post my thoughts on the game. There are incredibly in-depth reviews all over the web, so I’ll try to keep this as short as possible (fat chance though, right?). All of these thoughts pertain to the PC release, my gaming platform of choice.

Read the rest of this entry »

Farmer’s Day Photo Album

Published on September 3, 2007

I have posted a new photo album from this year’s Old Fashioned Farmer’s Day event in Silk Hope, NC. This year’s album includes two short movies, showing a hit-and-miss engine in action, as well as the giant steam engine. Had I known more about the video feature of my camera, the results would probably have been better.

Copyright © 2004-2019 Jonah Bishop. Hosted by DreamHost.