Mozilla Firebird

I’ve been using the Opera web browser since version 5.11. Until now, it has been simply the best web browser available for Windows. It is lightweight, fast, and highly functional. When I wrote a review of it back in 2001, these were the five reasons I preferred it over Internet Explorer:

  • Tabbed browsing
  • Mouse gestures (in particular, the right click/left click “rocker” combination that equates to pressing the browser’s “back” button)
  • Open all bookmarks in a folder
  • Toggle images on/off
  • Open a new page in the background

Since then, I’ve found two more favourite features:

  • Fast searching in the address bar. Instead of going to Google and typing a search in the text field there, in Opera I can just type the letter “g” in the address bar, followed by my search query, and when I press <enter>, and go straight to the results page of this query. Likewise, I can use “a” to use the AllTheWeb search engine, or “z” to search Amazon.com. These searches and their shortcut letters are also very easily customizable.
  • HTML validation. The right-click context menu in Opera includes an option to submit the page you’re viewing to the W3C HTML validator for checking. This is great for doing web development: validation checking is just a mouse-click away.

When the Mozilla project started releasing final versions (1.0 and above) of its browser (May/June 2002-ish?) I started playing about with it, but I found it slow and unresponsive. It had some great technology behind it, primarily XUL, but as an actual web browser it was in no position to threaten Internet Explorer’s dominant market position. Actually, it sucked.

A lot has changed since then. Realizing that the Mozilla application suite (which included the browser, and email app, a HTML editor, and various kitchen sinks) was a dog with too many masters and no legs, the project team issued a new roadmap for development. The browser would be split off into a stand-alone component: Firebird. The email program would also be isolated: Thunderbird. These products would still use all the cool underlying Mozilla technology, but no longer would they try to be all things to all people, all at once. Now they were cooking!

I had a look at Firebird when it was still called Phoenix (versions 0.4 and 0.5, I think). It was okay, but still a bit flaky. The current version is 0.6.1, and it has become my default browser.

That’s right, it’s better than Opera.

First of all, it had to be as good as Opera, and that involves the list of favourite features I noted above:

  • Tabbed browsing: check!
  • Open all bookmarks in a folder: check!
  • Open a new page in the background: check!

But wait… that’s not everything I wanted.

Well, it turns out that two of the other features are available as extensions:

And unlike many other programs that allow plugins, Firebird extensions are very simple to install (just go to Tools -> Options -> Extensions). There are lots of them already, and many are being added all the time.

That still leaves two things: toggling images on/off, and quick one-letter search shortcuts in the address bar. Well, now that we have broadband, the ability to load pages without images has become a lot less important. You can still set the whole application not to load images at all, and doing this in Firebird is still easier than in Internet Explorer, but there doesn’t seem to be the one-button option to switch them back on for a single page that you get in Opera.

And as for the one-letter search shortcuts in the address bar, this feature is actually there by default–and has been there since the early days of Mozilla–but it’s not very well advertised. Eric Meyer has whole article explaining how to use it, but here’s the short version:

  1. If you have a default installation of Firebird, you should have a bookmarks folder called “Quick searches” with a bookmark called “Google Quicksearch” inside it. If you don’t have this bookmark, go to Google, and create a new bookmark for it.
  2. Right-click on this bookmark, and select “Properties” from the context menu.
  3. On the “Info” tab of the properties page, set the location to “http://www.google.com/search?&q=%s”, and set the keyword to be “g”
  4. Click OK.

You can now type “g” followed by a search term in your address bar, and you will jump straight to the Google results page.

You can use this technique to create any number of your own custom one-letter address bar searches. They key to doing it is knowing how the search engine formulates its search query. For example, Google’s home page is http://www.google.com/. But to actually display a list of search results, Google needs to know what it’s searching for. If you type some search terms into Google’s search box (say, “cow tipping”) and press the “Google Search” button, you’ll notice that the URL displayed in the address bar changes to something like http://www.google.com/search?q=cow+tipping.

Depending on the search engine you use, the URL won’t look exactly like that, but it will most likely have your search query sitting in it somewhere. Sometimes the spaces between your search terms will have been replaced with “%20”, and sometimes they will have been replaced with a “+” sign. Don’t worry about that.

Copy and paste this whole URL, including your search phrase, into the “Location” field in the properties of your newly created bookmark. Then, select the search phrase, and replace it with “%s”. When you do your one-letter search, this “%s” in the location will be replaced with whatever text you’ve typed after the search letter.

If you can’t be bothered building these search queries for yourself, here are a few I prepared earlier. All you have to do is create a new bookmark for each of them, and then change their properties. Give them a one-letter keyword, and copy-and-paste the URL below:

Search Engine Search URL
Google Groups (Usenet) http://groups.google.com/groups?q=%s
AllTheWeb http://www.alltheweb.com/search?q=%s
Amazon.com http://www.amazon.com/exec/obidos/external-search?keyword=%s
Amazon.co.uk http://www.amazon.co.uk/exec/obidos/external-search?keyword=%s
IMDb http://us.imdb.com/Find?for=%s

So far I’ve covered why Firebird is as good as Opera (for me, at least). Why is it better? Two reasons:

  • Opera is still very lightweight and fast. But it has been gathering more and more features recently. It hasn’t been slowing down under their combined weight, though, which is a great testament for them. But Firebird feels smaller and more nimble.
  • It’s those darned extensions. Firebird seems to have a very flexible extensability architecture, and it’s all completely open. It has kept the core features to a minimum, while allowing developers to produce their own widgets. Ordinary users reap the benefits: you pick and choose the ones you want, and ignore the rest. That’s just so nice.

So it’s not a huge advantage that Firebird has over Opera…but it’s enough of an edge to make me switch.

Related Links:

Sneakernet 2003

Don’t underestimate the bandwidth of a UPS truck filled with 200GB hard disks:

“I’ve been working with a bunch of astronomers lately and we need to send around huge databases. I started writing my databases to disk and mailing the disks. At first, I was extremely cautious because everybody said I couldn’t do that?that the disks are too fragile. I started out by putting the disks in foam. After mailing about 20 of them, I tried just putting them in bubble wrap in a FedEx envelope. Well, so far so good. I have not had any disk failures of mailed disks.

“… lately I’m sending complete computers. We’re now into the 2-terabyte realm, so we can’t actually send a single disk; we need to send a bunch of disks. It’s convenient to send them packaged inside a metal box that just happens to have a processor in it. I know this sounds crazy?but you get an NFS or CIFS server and most people can just plug the thing into the wall and into the network and then copy the data.”

(From an ACM Queue interview with Jim Gray, head of Microsoft’s Bay Area Research Center.)

I’ve just tried out this technique myself. I’ve got about 15GB of MP3s kicking around at home and at work. Rather than use CD-Rs or network transfers to keep them synchronised, I’ve now got an 80 Gig external hard disk that I shuttle back and forth.

I suppose you could look at it as a primitive iPod…that doesn’t actually play music on its own…and that’s about twenty times as heavy and ten times as big… Come to think of it, it’s a bit crap.

Oh, iPod. Some day you’ll be mine. Oh yes, you will be….

Not a legend

A week or two ago, a couple of my colleagues came back from the Microsoft Tech-Ed conference in Barcelona. They were loaded down with all kinds of freebies, including CDs and cardboard cut-outs of “Software Legends”. The Software Legends are a gang of some of the most respected programmers and authors doing work on Microsoft technologies right now–people like Chris Sells, Don Box, David Platt… the usual suspects.

They even have their own web site: softwarelegends.com.

Eric Sink, himself no slouch in the “respected programmer” league tables, has now done a brilliant parody: notalegend.com.

I should now also take the time to point out an excellent series of articles Eric has written recently on the subject of marketing. They’re from the perspective of an independent software vendor, but most of the principles should apply to other industries, too.

Bad tech week

It looks like our CD burner has given up the ghost. I’d made a CD for Scott and Ange with some Alex photos and pictures from Ange’s 30th birthday party, but Scott told me last week that they couldn’t read it. I tried it in my computer, and it’s unreadable there, too. I tried burning some more discs today, and they’ve all come out as coasters. The shiny undersides of the discs are being discoloured, so the burner is writing something to them, but clearly not in a language that other CD-ROM drives can understand.

Sigh. I suppose this means I get to petition Abi for a new CD burner, or a DVD-writer. Under normal circumstances I’d be going “yay!” but right now it’s just annoying. I don’t want to buy anything new. I just want to the stuff I already have to work properly.

Belkin 54g wireless gateway/routerI’m having a bad tech week, you see. I spent a large chunk of Sunday evening (and night) getting our new broadband gateway/router to work, when it should have been a fairly simple plug and play operation. Until now, our network contained two client computers connected to a file/gateway server, using wireless network cards and WinProxy for sharing and filtering our internet connection. We have now decommissioned the server, and have put the Belkin router in its place. The plan had been to use the wireless connections to link us all together, but unfortunately our wireless cards are way old (we bought them in 1999, before 802.11b got fashionable), and thoroughly incompatible with everything except themselves. So for the moment my computer is hooked up to the router with ethernet, and Abi’s laptop is daisy-chained to mine with the wireless cards. I’ve got my machine set up for internet connection sharing, so I’m acting as a pass-through between Abi and the router. Bizarre, but it works.

(To be fair to the Belkin, the gateway/router is a lovely piece of kit. If it hadn’t been for the compatibility problems it would have been a breeze to set up. Belkin have paid a lot of attention to the user interface of the setup and configuration program, and it’s very tidy and easy to understand.)

And finally there’s this piece of lab equipment that my parents use, which isn’t working properly, and I’ve been trying to figure out. I’ve been learning all kinds of things about COM ports and serial connections. But am I any closer to actually making the apparatus run smoothly? Er, no.

(And don’t even talk to me about the day job.)

Like I said, bad tech week. Fortunately I have Thursday and Friday off, and I’m going to visit soon-to-be-daddy Dave and my Grandma in Aberdeen. The thought of not seeing a computer for a couple of days is very relaxing. 🙂

The Quiet PC, taken to extremes

I’ve taken yet another step on my continuing quest for a quiet PC. After bundling the guts of the PC into a specially muffled AcoustiCase, installing a Zalman Flower Cooler on the CPU, and another massive sink on the video card, what else could there be left to do?

Well, if you work on the assumption that all electrical equipment makes some noise, then the only way to get a completely silent PC is never to switch it on. Unfortunately that doesn’t actually make for a very useful piece of computing apparatus. The next best thing, though, is not to switch it on in the same room.

With the aid of a keyboard extension cable, a new USB hub (which acts as a USB extension cable, with added ports), and a very long monitor cable, my computer now sits on the other side of a nice, thick wall. It still makes the same amount of noise that it did before (which is very little, thanks to all of the earlier modifications), but it makes it somewhere else.

Which means that for the first time, it’s now really feasible to use my PC as a consumer music device: a stereo. Stereos don’t make any noise, except a very slight electrical hum. This is why “Media Center” PCs are doomed to fail–at least for the next few years. If your “Media Center” isn’t playing music, it has to be silent. Just “quiet” isn’t good enough. That means no fans at all. It’s got to be passive cooling all the way, unless you have the space and cash for a dedicated cabinet, or, like me, a convenient storage room on the other side of your living room wall.

Philips A3.300 stereo speakers + subwooferSo at the same time as getting the equipment to move the PC, I bought a set of Philips A3.300 speakers (2 flat stereo satellites + a chunky subwoofer). They don’t have the same depth and warmth of our old Mission 750 LEs, but for a set of mid-range computer speakers, they’re pretty good. They fill the living room with a crisp, clear sound that is great for radio and perfectly adequate for everyday MP3 listening. The big advantage they have over a full stereo set-up is that they don’t sit around on speaker stands waiting for a small toddler to knock them over.

I’m liking it a lot. We haven’t had music in our living room for about two years now, apart from the times we play music DVDs or cable radio through our TV, and the occasional cacophonic blast from the built-in speakers of my Iiyama monitor. But music is as central to my happiness as bread and pasta, and these new speakers are making me a very happy bunny.

Dave Matthews Band - Live in Chicago at the United Center 12.19.98Currently listening to: Dave Matthews Band – Live in Chicago at the United Center 12.19.98. Lovely.

(Next comes the whole question of what music/MP3 player to use on the computer…but that’s a topic for some other time.)

Chroma sub-sampling and JPG image quality in Paint Shop Pro 8

If you’re using the new Paint Shop Pro version 8, watch out for some new settings when you’re saving JPG images. In Paint Shop Pro 7 you could only select the compression value for JPG images:

Paint Shop Pro 7 JPG image quality settings

In PSP 8, you can now also select what level of “Chroma subsampling” you want:

Paint Shop Pro 8 JPG image quality settings

The default setting is for some Chroma subsampling (2×2 1×1 1×1) to be used. Be careful with this, though. In particular after using the “One Step Photo Fix” script, the default setting can result in noticeably poorer images at the same compression setting than the “none” value (1×1 1×1 1×1).

For an explanation of why this is the case, see the page Chroma Subsampling in JPG Compression. Basically, although all programs read and display JPG images in the same way, there are multiple algorithms for generating them. Some algorithms work better then others, and they also tend to work differently on different types of image.

Generally I’m finding that saving photos with a higher compression setting but no chroma subsampling makes them look better than a lower compression with the default subsampling. But if you’re picky about image quality, it’s worth tuning the settings to find the finest settings for each picture you save.