The deadline for entering the Bugzilla One Million Bug Sweepstake is midday ‘Zilla Standard Time next Thursday, 5th September. There’s some great Mozilla/Firefox swag up for grabs, so do take 5 minutes to have a guess at the date and time when you think bug 1,000,000 is going to be filed. The more, the merrier!
Monthly Archives: August 2013
Reflections On Trusting…
I’ve just been watching Laura Thomson’s excellent talk “Minimum Viable Bureaucracy” on air.mozilla.org. She talks about “chaordic” management. “Chaords” are a combination of chaos and order, and a chaordic, bottom-up management style is enabled (in part, and to summarize) by trusting people who work for you, and letting them get on with it.
Trust needs to be earned, but Laura said that we need to assume that people have earned trust by passing through the hiring process, and therefore once they are a colleague of yours, you should simply trust them.
I can see the wisdom in that advice in the context of an ordinary company, but it made me think: what sort of trust have they earned in this scenario? It seems rather like they could earn “MoCo trust” that way, but not “whole community trust”. MoCo employees have more visibility into, and are more likely to trust the MoCo hiring process than non-employees. Unless the MoCo hiring process were very open and participatory, which it is not. (Doubtless for good legal reasons.) And if new employees are treated as if they’ve already earned the trust of the peers who surround them in the office, would they be less inclined to see a need to earn “whole community trust” as well? Does it subtly reinforce the employee/non-employee divide, and make it harder to be a core contributor as a non-employee, because inter-employee relationships are assumed-trust, and other relationships are not?
Are We Meeting Yet?
Tracking Mozilla meetings across time is a thorny problem. People send out meeting reminder emails, but often they forget to update a URL or a date or a time, or they update it wrong due to a DST change, or they update the local time but not the UTC time, or vice versa. Wouldn’t it be awesome if there was one URL which pointed you at the next occurrence of a weekly meeting?
Enter Dirkjan Ochtman’s “Are We Meeting Yet?“.
Construct a URL like this:
http://arewemeetingyet.com/Los%20Angeles/2013-08-20/10:00/w/Firefox%20Development%20Meeting
Pretty obviously, the first bit is the timezone (not sure why it’s half-a-timezone), the second is the date of the first instance, the third is the time of day, the fourth says “repeat weekly”, and the fifth is the title. Visit the URL and see what sort of display you get. Note that it gives you the time of the upcoming weekly meeting even though the time directly encoded in the URL is from two weeks ago. That’s the “weekly repeat” part.
The upshot of this is that you can construct one URL for your meeting (defined in the timezone in which the meeting is fixed, which is Pacific Time for most but not all Mozilla meetings) and put it in your reminder email, and you’ll not have to change it unless the meeting time actually changes :-)
People who click the link can see the time in the timezone of definition, the time in UTC, and the time in their local timezone, all in one link. No more arguments about which form of the time is more important!
It would be nice to have a form to construct such URLs with a timezone picker, a datepicker and a timepicker. Anyone feel like coding one up? (HTML5 input controls would make such a thing easy to write, but sadly we haven’t implemented them yet :-( )
Invading Ireland
There are only a limited number of ways governments can deal with a large debt (such as that run up in the UK): taking via war, raising taxes, currency devaluation, or default. The first of those possibilities inspired me when, a while back, I was asked to try and come up with a good way of explaining just how large the UK’s national debt is, in a way that a normal person can understand.
Private islands around Ireland seem to be going at the moment for between US$3M and US$300,000 for 25 acres (0.1 sq km). If the UK invaded the country of Eire, threw in Northern Ireland and sold the result as a private island, it would raise:
84,421 square km x £5m per square km = £421 billion.
Selling an entire country would raise only about 1/3 of the total needed to pay back the UK national debt.
Persuade And Be Persuaded
It is crucial, of course, to never present any individual decision as written in stone. In the comments associated with each assignment of an issue to a specific future release, invite discussion, dissent, and be genuinely willing to be persuaded whenever possible. Never exercise control merely for the sake of exercising control: the more deeply others participate in the release planning process (see the section called “Share Management Tasks as Well as Technical Tasks” in Chapter 8, Managing Volunteers), the easier it will be to persuade them to share your priorities on the issues that really count for you.
— Karl Fogel, Producing Open Source Software
MPL 2 Upgrade Process Complete
With the closure of the bug for Hackasaurus, we have now finished the 19-month MPL 2 upgrade project :-) All Mozilla software which used to use the tri-licence now uses the MPL 2.
Particular thanks go to Francesco “flod” Lodolo, who was the driving force behind the last big push to get the outstanding l10n repos relicensed.
(A post like this one is, of course, begging for someone to point out some files I may have missed. There are still a few tri-licensed files in the tree because they come from upstream projects that still use that licence. If you still think I’ve missed something, please file a licensing bug.)
Firefox OS Phones Available Worldwide from Friday
Firefox OS has launched in Spain, Poland, Venezuela and Colombia – but not yet here in the UK. However, from Friday ZTE (one of the manufacturers Mozilla is working with) will be selling their “ZTE Open” Firefox OS phone unlocked from their UK and US eBay stores, and it can be purchased worldwide.
They will sell a US-frequencies model from their US store for $79.99, and a UK/EU-frequencies model from their UK store for £59.99. The phone is network unlocked, so you can use it anywhere. It ships with Firefox OS 1.0.1 and can be updated over-the-air.
So if you’ve been waiting to get your hands on one, wait no longer :-)
Copying Permissively-Licensed Code Into MPL 2 Files
Mozilla has always used some permissively-licensed (MIT/BSD) code, and more recently started using and now creating (most prominently in Gaia) Apache 2-licensed code. This has made some questions about what to do when copying code between files of different licenses more pressing.
To help, the licensing team have produced a document on what to do when you want to copy permissively-licensed code into files which are under the MPL 2.
A BREACH Mitigation Idea
The BREACH attack on SSL was recently disclosed at Black Hat. It depends on an attacker being able to notice a small difference in response size between two very similar requests.
Therefore, various mitigation methods which have been proposed involve attempting to disguise the length of a response. Some have said that this is mathematically infeasible, in that there is no way of disguising it enough without destroying the compression performance to such a degree that you might as well just switch compression off. I am not qualified to assess that claim, but I did have an idea as to how to add arbitrary length to the response in a transparent way.
My suggestion to vary the length is to add some non-determinism to gzip on the server side. This has the significant advantage of being transparent both to the application being served and to the client – it requires no changes to either. This makes it much easier to deploy than mechanisms which pad the content itself, or add data which needs to be explicitly ignored on the client. A quick review of the algorithm suggests that there are several places where you could introduce non-determinism.
The gzip algorithm either reproduces a string of bytes literally or, if that string has occurred before, replaces it with a pointer-length pair to a previously-occurring string of bytes. I suggest that the way that adds most variability to the output length would be to have gzip either not shorten a string, or shorten it to less than the maximum possible shortening, on some small percentage of occasions when it would otherwise do a full compression. The question is whether one can add enough length non-determinism to make the leaky length difference hard to detect without many repetitions and statistical analysis (which would drastically slow down the attack), without destroying the compression performance.
This scheme can be used to add arbitrary amounts of additional length (up to the original size of the file) in arbitrary places and patterns, dependent on static or variable factors.
As determinism may be an expected feature of gzip in some contexts, it would probably need to be made an option (which mod_gzip and similar libraries would invoke).
As an opening (and probably terrible) proposal for a static random length increase, I suggest that for each replaced sequence in the file, gzip decides either to replace it fully with a pointer+length, or to do so for all the chars bar the last one (emitting that char as a literal). It should do this with a probability of 1/N+1 for the Nth replacement in the file. This front-loads the non-determinism, producing an exponential decay in the likelihood of the sub-optimal choice being chosen, and meaning that the deleterious effect on large files is not overly large but small files still get a significant length variation.
This method might also work as a mitigation for CRIME.
Jefferson was a Do-ocrat
In his multi-volume biography of Thomas Jefferson, Jefferson and His Time, Dumas Malone tells the story of how Jefferson handled the first meeting held to decide the organization of the future University of Virginia. The University had been Jefferson’s idea in the first place, but (as is the case everywhere, not just in open source projects) many other parties had climbed on board quickly, each with their own interests and agendas. When they gathered at that first meeting to hash things out, Jefferson made sure to show up with meticulously prepared architectural drawings, detailed budgets for construction and operation, a proposed curriculum, and the names of specific faculty he wanted to import from Europe. No one else in the room was even remotely as prepared; the group essentially had to capitulate to Jefferson’s vision, and the University was eventually founded more or less in accordance with his plans. The facts that construction went far over budget, and that many of his ideas did not, for various reasons, work out in the end, were all things Jefferson probably knew perfectly well would happen. His purpose was strategic: to show up at the meeting with something so substantive that everyone else would have to fall into the role of simply proposing modifications to it, so that the overall shape, and therefore schedule, of the project would be roughly as he wanted.
— Karl Fogel, Producing Open Source Software
Bugzilla 1,000,000 Bug Sweepstake
[Note: The closing date for entries was midday ZST on Thursday 5th September 2013, i.e. a long time ago :-).]
Some of you may have noticed that, after a long history of contests, there was no competition to predict the time of arrival of the 900,000th bug on bugzilla.mozilla.org. This was because we were preparing for the big 1M.
Now we are over 9000,00 (can that really be right?), I can reveal that the prize for the Millionth Bug Sweepstake will be the top-of-the-range Most Splendid Package from the Mozilla Gear Store, which includes a black hoodie, a drawstring tote bag, a Moleskine notebook, and a Rickshaw laptop bag, all Firefox or Mozilla-branded.

The aim of the contest is simple – you need your guess to be the closest to the actual filing date of the one millionth bug in our Bugzilla installation.
To enter, email me a plain text email at gerv@mozilla.org, ideally using this link, filling in the date and time you think the one millionth bug will be filed, along with your Bugzilla ID or email address. 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). If you prefer to be contacted on a different address, add that as well, in brackets on the end of the same line. 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, entrants must have either a Bugzilla account on bugzilla.mozilla.org created before the end of July 2013, and which has done something useful in the past six months, or a Mozillians account vouched for before the same date. Anyone who meets those criteria can (and is encouraged to) enter, including Mozilla employees. Once the bug is filed, I’ll check those entries who are closest, and keep discarding them 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!
Badly-formatted entries may be discarded. The judge’s decision is final, and any funny business regarding the filing of bugs on or around the one million mark will be frowned upon. The closing date for entries is midday ZST on Thursday 5th September 2013.