Summer of Code 2010 Projects

Summer of Code 2010 kicked off this week, with Mozilla having 13 slots. Here are the projects, students and update locations if you want to keep an eye on what they are doing:

Title Student Mentor Updates
Quick Look support for attachments in Thunderbird Khoi Nguyen Le Duc Blake Winton and Gary Kwong Blog
New automated tests for the Fennec front end Aditya Rao Joel Maher Blog
Mail Store interface and implementation for Mbox and Maildir in Thunderbird Andrey Terentyev David Bienvenu Wiki page
Support for TLS 1.1 (RFC 4346) and TLS 1.2 (RFC 5246) in NSS Kuat Eshengazin Robert Relyea Wiki page
RSA-PSS signatures in NSS Johannes Boeck Wan-Teh Chang Blog
Weave Sync engines for tabs and Mail/News status for SeaMonkey Harini Sirisena Robert Kaiser Blog
Multitouch Simulation Framework Diego Hernan Rodriguez Colmeiro Felipe Gomes Blog
Multitouch Simulation and User Interface integration into Firefox Anirudh Sharma Felipe Gomes Blog
Hook / Stub mechanisms for Lightning; improve alarm support Anirvana Mishra Ludovic Marcotte Blog
New add-on package system for Firefox Hebert Duarte Jorge Villalobos Blog
Social Bugzilla Extension Wenjin Wu Guy Pyrzak Blog
Improved automated UI testing for Lightning Meharuban Mahadeva Merike Sell Blog
Naive Bayes algorithm to automatically classify emails in Thunderbird Ian Lienert Blake Winton Blog

Third Party Code

Thanks to the sterling efforts of Michael Kohler, we now have a page listing the third party code in the Mozilla tree. This is important for licence compliance and so that downstream users of our code know what they are using.

We have attempted to make sure the information is correct, but we would greatly appreciate it if some core hackers could skim down the list with the following questions in mind:

  • Have we correctly identified in which product/products each library is being used?
  • Are you able to shed light on any of the remaining queries (marked XXX)?
  • Is the list complete, to your knowledge?

Thanks!

Privacy Irony

ReclaimPrivacy.org “provides an independent and open tool for scanning your Facebook privacy settings”…

… by making you run untrusted JavaScript in a Facebook browser context, just like lots of shady “automatically spam all your friends” copy-and-paste-this-code-to-get-a-cookie Facebook pages.

Of course, it’s easier to snipe from the sidelines than to do something myself…

Private Google Searches in Firefox

[Update 2010-05-27 09:16: Don’t do the below editing, because it’ll break your updates. Install Cheng Wang’s Google (HTTPS) search provider instead.]

Google just announced that you can now search Google with your query and results protected by SSL. If you want to change Firefox so that searches in the URL bar use a secure connection and so cannot be eavesdropped, change “http” to “https” in the keyword.URL preference in about:config.

Unfortunately, the Google Suggest service at http://suggestqueries.google.com/ does not currently support SSL, which means that it’s not possible to have both suggestions and non-eavesdroppable searching in the Firefox search box. If you want private searching rather than suggestions, then edit the file $FIREFOX_HOME/searchplugins/google.xml, delete the line beginning:

<Url type=”application/x-suggestions+json” …

and then change the URL in the following line from “http” to “https“.

Note that not all Google search types are available over SSL and, quite wisely, Google does not provide links to “repeat this search with another type” for non-secure types from the secure UI. So making the switch will make it harder to do e.g. Image searches.

Still, it’s a great start!

DNA Hackers Wanted

We can now design a DNA strand in a lab, inject it into an existing bacterial cell with its original DNA removed, and get the resulting organism to reproduce. In the experiment announced today, the DNA they injected was just a synthetic bit-for-bit reconstruction of an existing genome from another bacterium – but there’s no reason why, in the future, one couldn’t hack on it first.

Of course, like a geek becoming familiar with a new and strange codebase, we’ll start by making little changes – insertions to add additional capabilities, scratching a few small itches. But hopefully, in a while, we will understand the internals enough to do performance optimization, better error handling or major functional enhancements.

God had great fun creating and designing life, and he’s the universe’s greatest hacker; it’ll be awesome to be able to think some more of his thoughts after him.

Now all we need is for someone to write a cell emulator for testing out new designs…

Privacy Overreaction

From the latest EDRI-gram:

Google admitted that the previous information on the data they have gathered
with their Street View service was wrong and this included “samples of
payload data from open (i.e. non-password-protected) WiFi networks.”

…

Google claims that this was done by mistake and the data was never used in
any Google products. They have also indicated that only fragments of payload
data were gathered because: the cars are on the move, someone would need to
be using the network as a car passed by and the in-car WiFi equipment
automatically changes channels roughly five times a second.

…

The decision was challenged also by an open letter of the Privacy
International (PI). … PI has also announced that it will seek a prosecution for
unlawful interception under the UK’s Regulation of Investigatory Powers Act,
noting that “in those circumstances there would be no question of destroying
the data.”

…

As PI has recently replied to the public blog post: “This latest incident
was not caused by a mistake; it was caused by a failure of process that cuts
across the entire company. In the absence of a systemic change in product
development and deployment procedures the latest incident will be just one
in a continuing litany of transgressions on personal privacy.”

Really? Really really? Fragments of data no more than 1/5 of a second long, collected by accident (or, at least, without purpose) and never used in a product? A “systemic failure”? A prosecution for unlawful interception?

As Eric Schmidt rightly said, “who was harmed?” The cause of promoting the privacy of web users is not advanced by this sort of over-reaction. Resources, and the attention of the public, are limited. Fight the battles which matter.

IE 6 User Wanted

Believe it or not, I am looking for someone who uses (or perhaps, has access to for testing purposes :-) a copy of Windows XP running the standard IE 6 it shipped with – before XP SP2, which made a number of changes. If you are that person, and would be willing to help me with a little research (5 minutes) then please get in touch. Thanks!

Uploading Screenshots

Futher to my previous post… it struck me that a lot of people’s problems would suddenly become much clearer if they could upload a screenshot. However, taking and uploading screenshots is currently a reasonably complex process, especially on XP (where it involves Microsoft Paint).

Here’s today’s usability challenge: can we enhance Firefox in some way to make this easier? For example, it would be great if we could give users instructions like:

  • Right click on the “Browse” button of this file upload control and select “Upload Screenshot”
  • See the timer start to count down from 10 in the top right of your screen
  • Bring the relevant window or tab you want to take a screenshot of to the front
  • Wait for the timer to expire
  • Hit “submit” on the form

Poor Nick Clegg

(Those of my readers with no interest in the UK General Election may want to move on.)

Poor Nick Clegg. He’s got two options, both of which suck.

Option 1: an arrangement of some sort with the Conservatives. They aren’t offering the voting reform he wants and has said is a prerequisite; if he picks this, his entire party will claim that he’s sold out. Given that it’s such a core LD policy, it would be a disaster for him. Is there any chance the Conservatives can offer him enough for him to save face, but not enough for there to be a chance of PR actually happening?

Option 2: a coalition with Labour. This gets him the voting reform, but they don’t have enough seats to make the magic 326 (or 324, if you note that Sinn Fein MPs don’t turn up). Together, that have 315. If you add in the 3 SDLP MPs, who take the Labour whip, you get 318. You need to add in the SNP, or perhaps Plaid Cymru and the Greens, or even all of them, to get a workable majority.

This might well mean Gordon Brown as PM – could Clegg really prop him up after campaigning on a vote for change? Or, if Brown resigned and another Labour person was appointed, the government would then be led by a politician who had not campaigned as PM for the election we’ve just had!

And after that, a fragile alliance will be forced to make severe spending cuts that none of the parties have warned are coming. They probably won’t; and the bond markets from whom we have borrowed a lot of money will get worried, and we will spiral into a fiscal black hole. When things have gone badly enough (perhaps with the IMF called in) that there’s another election, the Conservatives will sweep to power and no-one will trust either Labour or the Lib Dems for years. The Conservatives may well win even if voting reform has been rushed through in the brief period that the coalition held together (although they’d find it much harder in the future).

Neither option looks appealing for Clegg.

All this goes to show that the Conservatives would be mad to concede voting reform to the Lib Dems, but they have to make a very convincing job of looking like they want a deal.