The amazing Chromium

Being a web worker, I spend a lot of time in my browser. Over the years, I’ve used pretty much everything – from early versions of Netscape and Microsoft Internet Explorer, to text-mode browsers like lynx, links, and w3m, through a whole bunch of Linux desktop browser like Konqueror and Galeon, through mobile browsers, through the latest versions of Opera and Mozilla Firefox. And out of all that variety, Mozilla Firefox was pretty much my only true love browser. It was reasonably fast, free, open source, and with a billion of extensions.

In fact, I accumulated so many extensions that I had to group them into four different Firefox profiles. With all those extensions, I tweaked and tuned my browsing experience to exactly match my needs. And I was happy for a long time. And I couldn’t even think of leaving Firefox for another browser.

Lots of people complained (and still do) about Firefox stability. But I never had any major issues with it. My sessions were stored and backed up automatically, and in those rare cases when the browser crash, I’d just start a new instance and it would automatically open all windows and tabs and bring me back up to speed all by itself.

Most people complained about Firefox performance. Well, I can understand them. It does feel slow and sluggish sometimes, but I was thinking of it as a rather cheap price to pay for all the extensions that I had. Opera, for example, is a much faster browser, but doesn’t have even 1% of the extensions that I use. And that makes it pretty much useless to me. No matter how fast it is.

So I was mostly happy with my browser. I loved it and it loved me back. And then Google released their vision for a modern browser – Chromium. At first, it didn’t even run on Linux, which is my preferred desktop operating system. So I didn’t bother. Then it ran, but people were saying that there were no extensions what so ever. So I didn’t bothered again either.

But the hype was growing, and people were shouting all over the web about how fast and how convenient Google Chrome is. So I just had to try. I thought, I’d download and install it, and use it for a couple of days, just to get my own opinion of it. That was the very beginning of December 2009 and I wasn’t even remote thinking of switching to another browser.

Now that it’s almost middle of February 2010, two and a half month later, I have to confess. I switched to Google Chromium. But that’s not the most surprising thing ever. What’s extremely surprising, at least to myself, is that I switched to Chromium the first day I tried it. Without even knowing.

It was indeed blazing fast. Super-fast. Super-sonic even. Convenient – yes, but it was way faster than I though was even possible for a browser. Extensions were missing, but I was saving so much time with the fastest browser experience ever, that I could do anything my extensions did manually, and would still have plenty of time left. I was shocked and hooked.

And about two weeks later, when I just started to get used to how fast a browser can be, Google opened up their Chromium extensions site. So now I also had some extensions to install. And which I did. And there was no going back.

To this day, Chromium is my default, primary, and mostly preferred browser. It does still have a few shortcomings and things that I’d want different, but all of them are nothing compared to the performance boost that this browser brought into my web life.

What is a browser?

We, the technical people, most often have a very distorted perspective of the real world.  We often expect people to know much more than they should, and when they don’t, we often make fun of them.  On one hand, there is a logical seed to such behaviour, because if someone is using a tool, it can be expected that he knows something about a tool.  For example, when you drive a car, people usually expect you to know that the car has engine and a gearbox, that it needs petrol and oil, that wheels must be inflated,  that you push accelerator pedal to go faster and break pedal to go slower, and so on and so forth.  On the other hand, there is so much one needs to know these days that it’s hard to say what is an acceptable level.  After all, that’s what we have professionals for.  And I doubt that, say, lawyers or medical doctors make fun of people not knowing much about law or medicine.

Back to the technical people and our distorted perception.  It’s good to “synchronize” with the world once in a while.  It’s good to see what is it actually “normal” people know and what they don’t.  This helps in understanding those “normal” people better.

For example, there are hot discussions all over the Web about which browser is the best and how to promote them and how to make more people switch to the best browser.  But rarely we think about “normal” people and ask ourselves – “do they even know what a browser is?”.  Gladly, though, some people do.  Here is a street survey video.

[youtube=http://www.youtube.com/watch?v=o4MwTvtyrUQ]

Just think about it!

Less than 8% of people who interviewed on this day knew what a browser was.

What can we do?  We can stop arguing right there and start with telling those “normal” people what a browser is.  Once they know, we can go further by telling them which ones are available, how they are different, and help them install and get full advantage of the one they like the most.

[youtube=http://www.youtube.com/watch?v=BrXPcaRlBqo]

(via Lifehacker)

Running simultaneous Firefox sessions with different profiles

The more and more I use Firefox, the more add-ons I install, and the heavier it becomes.  Recently I got to the point where I am annoyed by all the heavy weight functionality, but cannot remove it complete because I need it occasionally.

The solution to my problem turned out to be pretty simple, even if it required some Google searching and IRC chatting – multiple profiles.

By default, when you run Firefox for the first time, it created a default profile to store all your stuff – saved passwords, bookmarks, add-ons, etc.  However it is possible to create more profiles and separate things a bit.  For example, I currently have three profiles:

  • Browser.  I use this one for generic browsing stuff, such news reading, email, etc.  Firefox add-ons for Gmail, Google Calendar, YouTube, Flickr, and other major sites I used frequently are installed under this profile.
  • WebDev.  I use this one for my web development needs.  Web Developer, Firebug, Live HTTP Headers, and any other add-ons that help me do my job are installed under this profile.
  • Default.  I keep this one clean and empty.  Sometimes I want to see how  site behaves in the browser with default settings – for this I use the Default profile.

Creating this profiles in very easy.  As per Firefox documentation, all you need to do is close all current Firefox windows, and then run Firefox from command line with -ProfileManager parameter.  A small window will popup that will give you options to create, rename, and delete profiles, as well as select with which profile to start the new session.

The problem that I came across was running several Firefox sessions in parallel, each with its own profile selected.  I could easily select the profile for the first session, but when I was starting up the second session, it would just reuse the same profile from the first session.

The solution to this problem is either setting MOZ_NO_REMOTE environment variable to 1, or specifying -no-remote parameter on the command line.  The -no-remote parameter on the command line seems to be a recent addition to Firefox, so if it doesn’t work yet for your version of the browser, you’ll need to fall back on to the MOZ_NO_REMOTE environment variable.

So, if you have a recent Firefox version, you need to run (updating your desktop and menu shortcuts seems like a good idea):

[user@host dir]$ MOZ_NO_REMOTE=1 firefox -ProfileManager

If you want to start Firefox with specific profile (e.g.: DesiredProfile), you can do so with

[user@host dir]$ MOZ_NO_REMOTE=1 firefox -P DesiredProfile

Alternatively, you can export the variable globally, by adding the following line to your .bashrc file

export MOZ_NO_REMOTE=1

If you have a recent version of Firefox, then the command changes to:

[user@host dir]$ firefox -no-remote -P DesiredProfile

Other things that you might want to keep in mind are:

  • Some add-ons will be common between your different profiles.  For example, I want to have my delicious bookmarks available to me everywhere.  For these cases, you’ll need to install the same Firefox add-on to every profile that you will need it at.
  • Some bits of configuration (such as custom keyboard shortcuts, for example), will need to be configured in each profile separately.
  • You might want to have a different Firefox theme for each of your profiles, so that it’s easier to see where you are visually.

"Browser facts" from Microsoft

Google Blogoscoped brings to our attention Microsoft’s Browser Comparison chart.

MS Browser Comparison Chart
MS Browser Comparison Chart

This is an excellent marketing campaign.  I am a big fan of using humor in the advertising, and this is a good example of it.  Everyone who has every tried to build a web page knows how horrible the state of the modern browsers is, and how even more horribly standing out Microsoft Internet Explorer is.  It’s so horrible that it is even hard to make it funny, but this time Microsoft succeeds.

Just to balance it out a little bit, here are a few random charts that I picked from Google Images search results for “web developer time chart“.

Breakdown of time spent on web development

Frontend web development

Time breakdown of modern web design

Flickr on black

Being a huge fan of Flickr, I am always trying to bring more people to the service.  Because more people = more images and more comments, which, of course, means more fun and inspiration.

One of the most frequent reasons NOT to use Flickr that I’ve heard coming mostly from amateur and professional photographers was that Flickr is only available with white background and only with up to medium-sized images.  That is true.  While Flick is constantly improving their service, some features are still not there.  And maybe they are not coming any time soon.  But.  That doesn’t mean that there is no work around.  After all, the world of technology is blessed with plenty of excellent open source software these days.  So, here is how you can solve the problem of size and color, if you are one of those people who prefers it the other way around.

  1. Get yourself a copy of an real web browser – Firefox.
  2. Install Greasemonkey extension for Firefox.
  3. Install Flickr On Black user script for Greasemonkey.

Once you’ve done the above steps, go to Flickr and find a picture that you want to enjoy on black or in a different color.  On the image page, scroll down to the part where you can see “Additional information” on the right side.  Among them, you’ll see a few new links.  “View on black: Regular, Large” will be among them.

Click, and you are done.  The link will take you to another page, which will look something like this.  You can switch between Regular and Large size, as well as between black and white backgrounds right on that page.

P.S.: While you are getting Flickr on Black user script for Greasemonkey, look around.  There are thousands of other scripts to customize anything and everthing from Google search results and GMail to IMDB movie information and Twitter messeging.

P.P.S.: Alternatively, you can take a look at Flickr “Lights Out” or “Flickr in mostly black and orange” user scripts for Greasemonkey.

P.P.P.S: Many Greasemonkey scripts work perfectly in browsers other than Firefox – Opera, Safari, etc.  But I’d still recommend to use Firefox.