Always Take The Weather With You

I recently went round for dinner with some friends I haven’t seen for about five years. Conversation turned to my job and I mentioned that I worked for the Mozilla Foundation. “Firefox? We’ve got that, but we never really use it. Why’s it better?”

I went to their laptop PC, balanced on the sofa in the corner of the lounge, and showed them about tabs, and how it makes browsing so much more pleasant. (I couldn’t show them middle-click, as the laptop didn’t have a middle mouse button.) They seemed only mildly impressed.

Next, I moved on to the addons system. Trying to find something that would appeal, I went to addons.mozilla.org and started looking through the “Most Popular” list. However, everything on offer suddenly seemed incredibly geeky and irrelevant to their lives. Web Developer Toolbar? Nope. FlashGot? Get real.

Then we scrolled past ForecastFox. Now, my view of weather is that it’s something you dress for, not something you obsess about, and so this extension has never been of interest. But when I explained it, their eyes lit up. Somewhat bemused, I installed it (incidentally, ForecastFox’s UI for telling it your location is far too complicated). They thought that having three little weather symbols in the status bar was was the coolest thing since sliced bread, and said they’d be using Firefox from then on!

It just goes to show, you can hook people on Firefox with the strangest things …

Carbon Offsetting

That humans are raising Earth’s temperature is about as certain as any scientific consensus can be. And while the western world may be able to mitigate the impact somewhat, a low-lying Pacific island state can hardly build a sea wall around their entire country. Therefore, I feel it’s very important that people consider the amount of carbon dioxide their activities are generating and do something about it.

So I’m pleased to say that the Mozilla Foundation (that is, Frank, Zak and I) hope to use a small part of our giving budget to offset all the emissions caused by all flights taken by us or Foundation-sponsored volunteers (e.g. localisers attending FOSDEM last February) in 2006.

The current plan is to do this by making a donation to a carbon offsetting charity. The charity concerned needs to be a formal charity, and ideally would be US-based for convenience. So far I have only found carbonfund.org which meets those criteria; if anyone knows of others, I’d be interested to hear about them.

In doing the research to try and work out how much we need to donate, I have been looking at the different carbon offsetting sites to see how they calculate their figures.

The first thing is that the flight distance between two points on the earth seems to be fairly standard – everyone uses Great Circle distances (handy calculator). A great circle is the shortest distance across the surface between two points on a sphere.

However, what does vary is the figure used for emissions per mile, and then the cost per metric tonne of CO2 emitted. This can lead to wildly different offsetting figures for the same flight. I’ve tried to reverse-engineer what these sites do using inputs for flights of different lengths.

Site $ per Kg Kg per mile $ per mile
climatecare.org 0.0145 0.23 0.0036
carbonfund.org 0.0055 0.27 0.0015
carbonneutral.com 0.0163 0.18 0.0029
atmosfair.de 0.026 0.6 [0] 0.0156

[0]: Or, seemingly, 0.4 for flights under 3-4000 miles)

So it seems that if you offset with atmosfair.de, you pay almost ten times as much as with carbonfund.org! Of course, you would expect the amounts to be somewhat different, if they were tied to the real cost of whatever initiatives were being taken, and because working out the actual impact of 1Kg of carbon is an inexact science. But still, a tenfold difference seems excessive.

Again, if you know of other sites which provide carbon emission calculators for flights, and enough information to be able to work out the above figures for comparison, let me know and I’ll add them to the table.

Unified Licensing Plan

There are a few unsatisfactory things about the way licensing and credit information is presented in Firefox and Thunderbird (for Thunderbird, the first being that you can’t actually view the licensing information!). The UnifiedLicensingPlan attempts to fix this. Comments welcome, here or in the wiki’s Discussion page.

Carefully Tuned User Irritation

Yngve has an interesting post about how to deal with the problem of banks etc. doing login by submitting from an insecure to a secure page.

The aim is not to protect each user’s form submission when using the broken page; the aim must be to get the bank to fix the site. So we need to change the browser to inconvenience the bank’s customers enough that they complain to the bank, but not enough that they try and change browsers to one which does not have this “feature”. In other words, we need to carefully tune the level of user irritation ;-)

So how can you inconvenience the users? One option is Yngve’s popup on submission; make the users press a big button marked “Submit Insecure Data”. That should cause a few panicky calls to the bank’s tech support line. Another option would be to delay the rendering of the next page by five seconds or so, while displaying some sort of warning in the blank space; banks like their sites to be snappy, and they don’t like worried customers.

If we are going to make browser changes, we’d need to do it in a synced up fashion, so people didn’t simply reduce their security by switching browser provider.

One last option would be to sponsor a 3rd party “major banks security assessment”, which took in details like this, the format of emails they sent out, whether they used third parties for email delivery, and so on. Publicise the results, and try and shame the lagging banks into compliance.

Windows 9x and Firefox 2: Update

I asked:

Why shouldn’t we intentionally disable Windows 9x support in that release [Firefox 2] as well, even if it’s not necessary for technical reasons?

And people came up with several good reasons why we shouldn’t :-) Among them:

  • Windows 9x have a much smaller network attack surface due to its limited functionality
  • People can run firewalls to mitigate the problem
  • Windows isn’t free-as-in-beer, and some people won’t pay to upgrade
  • If they can’t use Firefox 2, they’ll use Firefox 1.5 or IE and that’ll be even worse.

So… how about the Firefox start page warns them that they are using an insecure and end-of-lifed OS? Or should we adopt the attitude that it’s not our problem?

Roaming Profiles Are Back

Google has released a new cross-platform Firefox extension – Google Browser Sync. Basically it allows you to use one profile on multiple computers, with changes automatically synced up.

Netscape 4.x had roaming profile support. The relevant Bugzilla bug to reimplement it was bug 124029, which was fixed by Ben Bucksch back in 2004, with bug fixes up to late 2005. There’s even a Bugzilla component to track bugs in the implementation. I don’t know if the capability is built into FIrefox, or if it still works. As far as I can tell, it seems to be Seamonkey only.

The features and function look really cool – the only sad thing is that Google Sync is not free software. :-( So I can’t hack on it, or read the code to see if they are actually sending my “PIN” (the thing with numbers and letters that everyone else in the world calls a password, and which encrypts my stored information) to their servers, or set up my own server if I don’t trust them. So I’m not sure yet as to whether I’ll install it. Perhaps the release will inspire someone in the community to revive a free version.

Drop Windows 9x/ME Support For Firefox 2

There seems to still be ongoing discussion about the fact that the versions of Firefox 3 released by the Mozilla Project in 2007 will not support the Windows 9x family of operating systems.

To my mind, arguments about the exact market share of Windows 98, and the comparative release dates of the various OSes we support are irrelevant. The key point is that after July 11th, 2006, Microsoft will no longer be providing even critical security updates for any of the Win 9x family. And, because it’s a proprietary operating system, no-one else can do so either.

I argue that continuing to support these operating systems in a browser or other Internet-facing product after vendor security support ceases is actually irresponsible, because it gives users the idea that they can continue to safely use those operating systems for surfing the Internet.

July 11th 2006 will be, if all goes to plan, around the time of the final release of Firefox 2. So if we have a strong commitment to the security of our users, why shouldn’t we intentionally disable Windows 9x support in that release as well, even if it’s not necessary for technical reasons?

How Not To Apply For Summer Of Code

Here are some ways to make sure your Summer of Code application fails. All are inspired by actual applications to the Mozilla project this year.

Don’t:

  1. Fail to state your project idea. This may seem obvious, but if you don’t tell us what you want to do, we aren’t going to choose you to do it.
  2. Cut-and-paste your CV. If you say you have a Class Q driving licence, what it tells me is you haven’t really thought about the content of your application.
  3. Suggest hard work is a substitute for experience. If you are applying to do a complicated technical task, “I’ve got no experience of your codebase or project but I’ll work really hard” doesn’t cut much ice.
  4. Give us a vague timeline. Project plans like: “Week 1-2: Ramp up on code. Week 3-7: Implement project. Week 8-10: Testing and debugging” don’t inspire confidence.
  5. Use enthusiasm as a substitute for competence. “This feature would be really cool!” isn’t a good reason to choose you to implement it if you’ve never written a line of C++ in your life.
  6. Assume using the software means you can hack on it. “I use Firefox every day” is not going to make it more likely for us to choose you to improve its networking layer.
  7. Leave template residue in your application. We had a number of applications which ended “(Thanks to Fyodor from Nmap for his help in creating this template.)” This shouts “zero-effort application spam”.
  8. Put all your info in an external web page. Mentors are lazy. Anyway, if you need more than 7500 characters, you should probably trim your text.
  9. When asked about experience with a technology, put “Good”. ‘Nuff said.
  10. Tell us you are applying because you need the money. However true it is.

Having said all that, there were many good applications which we were unable to fund. Please don’t think that if you weren’t chosen, your application was therefore rubbish.

I’ll write a more constructive Summer-of-Code-related post soon.

Zap Bounties

You can now collect a bounty for implementing various features in Zap, the Mozilla codebase’s SIP stack.

This may be a good way to go for someone who has missed out on the Summer Of Code. And unfortunately, with around 100 serious applications and (it seems) only 12 places, there are going to be a fair number of people in that category. The deadline for us to finish the choosing process is 8am PST today; I presume the selected projects and people will be announced fairly shortly after that.