Summer of Code 2012 Outcomes

Every year since it began, Mozilla has been invited to take part in the Google Summer of Code. For the first few years, I wrote a summary of outcomes a few months after the close of the program. Recently, I’ve not had time to do so, but this year I’m back on the wagon.

I’m pleased to say that this year’s Summer of Code was extremely successful. Of the 18 projects (50% more than last year – many thanks, Google!), 17 were successful, and in the case of the other one, an unsuccessful applicant stepped in to complete the work for the love of the code. Now that’s dedication.

I’ve produced a table which lists the 17 successful projects, their original goals, what actually happened, and where you can find the code they wrote. So if there was a project you were following, you can find out what happened to it. The projects ranged widely across Mozilla-related activities, from Firefox to MDN, Instantbird to OpenBadges. Without wanting to upset anyone I don’t mention, particular highlights for me include native support for webapps on Linux in desktop Firefox, an addon to allow users to specify a Content Security Policy for particular sites, and some other improvements to Firefox and Thunderbird which (thanks to our rapid release process) are already shipping and making people’s lives better.

Thanks must go to all the students who took part, to the mentors who took time out to look after them, and to Google for funding and administering the program.

Bugzilla API 1.2 Released

I am proud to announce the release of version 1.2 of the Bugzilla REST API. This maintenance release has a bug fix or two, and some features useful to the admins of Bugzillas which BzAPI is pointed at.

The installation of BzAPI 1.0 on api-dev.bugzilla.mozilla.org will go away in 4 weeks, on 19th December. There is a limit to the number of old versions we can support on the server, particularly as the older ones can put a larger load on Bugzilla. Please use either the /1.2 or the /latest endpoints. Now that BzAPI has been stable for some time, tools which earlier rejected using the /latest endpoint may want to reconsider.

File bugs | Feedback and discussion

Open Discussion?

The Mozilla Manifesto says:

8. Transparent community-based processes promote participation, accountability, and trust.

People occasionally assert that a particular major decision made at Mozilla was, or was not, made in a sufficiently transparent, community-based and participatory manner. Defining “transparent, community-based and participatory” is complicated, but here’s a good rule of thumb I would like to assert:

If there’s a Mozilla public discussion forum covering the particular area of the project in question, and nothing was said in it, then that major decision has not been made in an transparent, community-based and participatory manner.

For all their flaws (and our efforts to fix them) the discussion forums (a.k.a. “mailing lists”, “newsgroups”) are the primary public, asynchronous, multiple participant, archived communications mechanism for the Mozilla project, and they are where communities gather around areas of interest. Those are the people who need to hear about what’s going on.

If there is no forum for your area of the project, and there is a part of our community which needs a home, ask for one to be created (pick “Standard Discussion Forum”).

Website Evangelism: Mobilizing Mozilla

Mozilla has recently (re)launched Firefox for Android, and is soon to launch Firefox OS. The success of these two products is key to our mission of keeping the web open.

However, both products are mobile products, and the mobile web is currently a WebKit-focussed semi-proprietary ecosystem.

It is vital to our success that the mobile web works well on Gecko. Much research has been done into how to do this. We control only half the experience. We can alter how we render the content we are sent, but not what content we are sent. So, we can make things a bit better by unprefixing CSS and DOM properties, fixing Gecko and User Agent string spoofing, but none of them is a silver bullet. Sometimes, the problem cannot be fixed on our side. The code uses too many WebKit-isms, or assumes it’s running on an iPhone. Just like we had to in 2000, we have to make the web better by helping developers to fix it.

We have some advantages over last time round. Not everyone has a mobile-specific website. Changing User Agent sniffing code is much easier than “rewrite your site to use neither document.layers nor document.all”. We have large desktop market share, a significant brand presence, and an enormous amount of goodwill from web developers who agree with our mission. And our community is much, much bigger.

However, we need to mobilize a significant tech evangelism effort. Currently, there are a few employees working part time on this problem. They have had some significant successes already – Google, Facebook, Twitter, Youtube, Instagram – indicating that we can make a difference this way. We have tools and metrics so we can be encouraged by progress. But the web is big, the problem is very large and we need an army. My assertion is this: unless you are directly involved in the development of Firefox OS or Firefox for Android, or have managed to get a device to test it on,

Website evangelism is the most effective way you can contribute to the Mozilla mission between now and March 2013.

(Yes, tweet that.) If you have control over your own time, and you believe in the Mozilla mission, ask yourself whether what you are doing now will have as much long-term impact as time spent doing this. Then, get involved. Geeks and non-geeks alike can make a difference here. Any questions? Lawrence Mandel is your man.

How To Be A Mozillian: How To Work In Community (Again)

At the Mozilla All Hands in 2011, I did a talk: “How To Be A Mozillian: How To Work In Community“. The first part of the talk was about how to deal with the cognitive dissonance of being hired into an open source project and so having an appointed role but yet no community reputation. It was aimed at new MoCo employees. The talk was recorded at my request, and the recording is available at the above link.

Through no fault of the video team, the recording was not very high quality, and yet several people said it was a useful resource. So in June this year, I re-recorded the first part of the talk as a voiceover and set it to the slides using OpenShot.

However, on re-listening, I felt the tone of voice was a bit wrong so I wanted to rerecord it. But, here we are, five months later and I’ve not got around to it. So, in the spirit of not letting the best be the enemy of the good, and recognising that it still has flaws, here it is. It’s only 17 minutes (unlike the original, which is 1 hour). I hope new MoCo and MoFo employees find it useful.

This video is made available under CC-BY-SA 3.0.

Upcoming UA String Change: Gecko/<date> -> Gecko/<version>

Bug 588909 is now in Firefox Beta. This replaces the 20100101 date in the Firefox UA string with a version number. The date has been frozen for a long time and doesn’t give any useful information. Gecko versions and Firefox versions are now aligned, so it makes sense to have the UA string reflect that (and match what we are doing with Firefox on Android and B2G).

However, despite the date not telling people anything, some sites do seem to be detecting it (see my previous blog post). We have already deferred this change a few times as we found and evangelised sites. We can contact broken sites to get them to fix it (it should be an easy fix) and, if contacting them fails, we do have a UA string override mechanism.

If you see any sites starting to reject Firefox Beta (i.e. 17) as an unknown browser, please file evangelism bugs and then follow them up by contacting the site. You can use User Agent Switcher to check whether the problem outlined here is, in fact, what’s wrong. Thanks :-)

Calling Bank Customers

If you are a customer of one of the following banks:

  • bank.barclays.co.uk
  • becu.org
  • becuonlinebanking.org
  • bfsfcu.org
  • cenfedcu.org
  • coastal24.com
  • deutsche-bank.de
  • mtb.com
  • mandtbank.com
  • nab.com.au
  • natweststockbrokers.co.uk
  • natweststockbrokers.com
  • pnc.com
  • raiffeisen.hu

your online banking might break in Firefox 17. Please help us by contacting your bank and asking them to make a simple fix to their site. Look for the appropriate dependent bug of this bug which relates to your bank, find their contact point, send them a copy of this letter, and then comment in the bug that you’ve done so. Thank you :-)

OpenDyslexic in Firefox

Recently, Abelardo Gonzalez produced a font called OpenDyslexic, which is designed to be more readable for people who suffer from dyslexia. It’s free-as-in-freedom, so it’s OK to just download it and use it in any way you want.

It’s possible to set this font (or any font) as your default font for reading web pages in Firefox, and even to override the font choices websites make so that things always display in the font you choose.

If you would like to do that, you need to install the font in your operating system by downloading this ZIP file and double-clicking on each “.otf” file in it. This will, I hope, bring up some sort of font installation program in your operating system. Follow the instructions it gives you.

Once you’ve done that, you can set it as Firefox’s default using the lovely instructions provided on our excellent Support website.

I’m not dyslexic so I can’t give an endorsement or guarantee the results, but it seems that it helps at least some people.

Bugzilla 800,000 Bug Sweepstake Results

Milestone bugzilla.mozilla.org bug 800,000 was filed on 2012-10-10 at 09:11 ZST by Gregory Szorc. The title of the bug was initially “Buy Firefox developers some beer”, but has since been changed to “Buy the Mozilla community some beer.” This may seem a little familiar; that’s because it’s a clone of bug 700,000, which had a very similar title.

The winner of the sweepstake to guess the date and time is Josh Matthews, who guessed 2012-10-10 18:51:17 – only 9 hours and 40 minutes out. This is an improvement even on last year’s margin, which was over 20 hours. As it happens, Josh’s entry was precisely in the middle of the list of submissions, ordered by date. However, that’s including two entries which guessed dates which were already in the past at the time of the competition…

Josh writes:

I’m a Canadian, a recent university graduate, and I’ve been involved in the project for more than three years. Half my time is taken up writing code for Firefox and Servo (the prototype browser in Rust), while the rest is spent leading our efforts to make more effective use of our coding community and being more deliberate about getting new contributors involved. You might know me as the author of tools such as whatcanidoformozilla.org and Bugs Ahoy!. Outside of Mozilla, I sing in a barbershop quartet, tap dance, and take harp lessons.

The two runners-up are Scott Johnson (2d 13h 34m out) and Gordon P. Helmsley (3d 17h 16m out). Scott writes:

My name is Scott Johnson. I’m a developer for the layout team at mozilla. I haven’t been developing for mozilla for that long – only a little over a year. In that time, though, I’ve learned so much from the brilliant developers working on Firefox. My hope is that I can contribute as much as I’ve learned, since I have a real passion for free software (and mozilla software specifically, of course). The free web is important to me, because I believe that creativity is limited by the tools one has on hand. If we can take away the limitations of expensive and proprietary tools, and make it so that everyone can mold their tools to the way they create, our world will become brighter and better for everyone.

Gordon writes:

Greetings, Mozillians!

My name is Gordon P. Hemsley, but you might know me better as GPHemsley. I’ve been a user of the Mozilla codebase since the Netscape 4 days, and I filed my first bug (against ChatZilla) in 2004. I was involved in the Bespin project during its formative years, and I later helped out with Mozilla.org web development. More recently, I’ve been spearheading the effort to improve BCP 47 support in Firefox, which will help level the playing field for endangered and minority languages on the Web. In addition, I like to spend my time being an all-around bug wrangler, closing or otherwise following up on neglected and forgotten bugs.

I believe in the Mozilla mission to promote the Open Web, and I look forward to bug 900000.

All three winners will get some Mozilla swag just as soon as gear.mozilla.org is back up and running.

‘Do Not Track’ and the Role of Government

Following Mitchell’s recent comments on DNT, here’s a riff from me.

There are currently two views of how Do Not Track, the standard for a browser to signal to a website that its user does not want behavioural tracking, should be enabled.

My position (and that, as far as I can tell, of the standardization group, and of many within Mozilla) is that Do Not Track is “no preference” by default (i.e. no header is sent), and must be explicitly enabled or disabled (without specifying an exact user experience). While it may change in the future, Microsoft’s current position is that users will be asked about “Do Not Track” during installation or upgrade, and the checkbox to turn it on (visible only in the non-speedy install) will be checked, and so the feature will be enabled, by default.

This made me think that the two views of “Do Not Track” correspond to some degree to two views of the role of government in innovation and user empowerment.

If you are in favour of market-driven solutions, then the power of Do Not Track comes from the fact that everyone who has it turned on has made a conscious decision to do so. This action speaks with a powerful voice in the market, and is hard to argue against. The idea is that any advertiser which refuses to respect a specific user request will suffer from a poor reputation, and loss of business. Hence, consumer pressure leads to positive change without regulation. But for this to work, it requires that the default be “off” (or “no preference”, which amounts to the same thing).

If you are in favour of regulated solutions, then the power of Do Not Track comes when governments force advertising companies to respect it. So how it gets turned on or not is a secondary question, and your goal is simply to get it enabled on the computers of as many people as possible, and get a law passed that makes website owners pay attention to it. After all, once it’s a government mandate, the advertiser has to respect it, whether the user made a choice to enable it or not. And so having it on by default allows you to make the claim that you are “protecting more users”.

I suggest that history shows us that government regulation of technology is usually written by those who don’t understand it, arrives late, and demonstrates inflexibility in the face of future innovation. The EU cookie law, as implemented in the UK, is a case in point – its net effect is that most UK websites how have to have a click-through dialog before you can continue to use them as before. I doubt that many people’s privacy has been meaningfully enhanced, and website usability has suffered.

Government-mandated DNT would not nearly be as flexible and open to further innovation as market-driven DNT. I hope we get the market-driven sort.

What New Mozillians Need To Know

At MozCampEU 2012 (which was awesome), we had a “Governance Town Hall” to discuss various governance issues. For one of them, the assembled company split into groups of 6 or so to discuss the question (from memory): “What does a new Mozillian need to know to be effective and happy in their first 90 days?”

The collected feedback from the groups is now available on the Mozilla Etherpad, and has been passed to the team working on “Red Carpet”, the ‘onboarding’ (<sigh>… verbing weirds language) tool which is being developed to help all new Mozillians. If someone feels like analysing the feedback from the different groups looking for common threads, that would be super.

If you have additional answers to that question which are not represented in those lists, please send them to Mihca Degele at mlastname@mozilla.com.

Bugzilla 800,000 Bug Sweepstake

It’s that time again! :-) The bugzilla.mozilla.org bug database will soon hit another major milestone and again, as is traditional, I’m running a sweepstake on exactly when that will be. Although you should enter just FTW, we are also giving Mozilla gear as prizes. The swag situation is a bit up in the air right now, but I’ll do my best to sort out something awesome. At least a t-shirt :-)

So please email me using this link, filling in the date and time you think bug 800,000 will be filed. As the link suggests, your entry should be on the first line of your email, and formatted as follows:

2010-09-08 06:54:32 bugzilla-id@example.com

All times are in ZST (‘Zilla Standard Time, a.k.a. Pacific Time, as displayed in Bugzilla timestamps unless you’ve changed a pref), and the email address must be your Bugzilla ID. If you prefer to be contacted on a different address, add that as well, on the end of the same line in brackets. We have ample graphs and charts (requires editbugs) to help you with your assessment. But if you can’t be bothered to do any research and analysis, just guess optimistically and hope!

This is a Mozilla community event. To keep it that way, winners must have a Bugzilla account on bugzilla.mozilla.org created before the end of July 2012, and which has done something useful in the past six months. I’ll check those who are closest, and keep discarding entries until I find one which meets these criteria. Therefore, there’s no point posting this to Slashdot or any other non-Mozilla-focussed news source. But please do post it in Mozilla news sources!

The judge’s decision is final, and any funny business regarding the filing of bugs on or around the 800,000 mark will be frowned upon. The closing date for entries is midday ZST on Wednesday 5th September 2012.