Firefox Tablet Testing Idea

Do you have an Android tablet for testing Firefox Mobile, but never seem to get around to using it? If so, here’s a suggestion. Switch your feed reading to Google Reader or some other online aggregator (it imports OPML), and read your feeds on it each morning. As you follow interesting links, this will expose you to a variety of websites and you can file bugs as necessary. For bonus points, bookmark the bug filing page on the tablet and use it for bug filing too.

I’ve been doing that for the last week and have already filed six or seven bugs – including at least one encountered during the bug submission process!

Choosing Strong Passwords?

“Mozilla Firefox” on Facebook just did a post suggesting that people use this method to choose strong passwords. That’s a video Mozilla produced a little while ago, which suggests starting with the “take the first letter of a phrase you know” technique and adding a few more tweaks to it.

Now, no disrespect to Richard Milewski, who did that video, but I think that XKCD’s analysis of this kind of technique is very compelling. The passwords produced by the method we are promoting are not very memorable, because the algorithm has too many variables. Perhaps we should switch to suggesting the XKCD method? My ISP, Andrews & Arnold, apparently switched for all new accounts on the day that cartoon was published.

Firefox Mobile Map Experience

A Firefox Mobile video I saw a little while back has someone taking a trip in San Francisco, at one point passing a brightly-coloured wall of graffiti, and using Firefox Mobile for various things. Anyone know the one I mean and have a link? Anyway, that video gives a use-case for Firefox Mobile and Sync – if you’ve opened a Google map on your desktop, you can see a copy on the road. I was recently in that exact situation, and want to relate what the experience is like in practice. I’m not doing this to bash anyone, but to highlight a few places where perhaps we (or others!) need to improve before reality will be like the video. This is how it went in the video:

  • Start Firefox
  • Tap “Tabs from your other computers”
  • Find the tab’s entry and tap it
  • Instantly view map

This is how it went for me:

  • Start Firefox (on my Nexus One)
  • Wait 10 seconds for Firefox to load
  • Tap “Tabs from your other computers”
  • See nothing
  • Go to the preferences
  • Find that Sync is still connecting
  • Wait 30 seconds for Sync to connect and load the list
  • Find the tab’s entry and tap it
  • Wait for the page to load over slow 1.5G network which the phone has unaccountably decided to use instead of 3G
  • Find that it’s loaded Google Map’s mobile interface, not the desktop one, and that it has UI issues (perhaps it expects WebKit?)
  • Find that the location is wrong because the map I want was the second search I did on Google Maps, and when you do a new search from the in-page box Google Maps doesn’t update the URL, and Sync syncs URLs, not entire page state
  • Battle with UX problems to do a new search for the postcode I actually wanted (fortunately preserved in the page title, which Google Maps does update and which Sync does sync)
  • Wait for the map to load again
  • View map

In all, the process took about 3 minutes, by which time my wife was telling me to “put away the gadget and enjoy the sunshine”!

I’m not sure of the best way of solving some of these. Obviously, people are working on startup time, particularly with the new Java UI. Can we make Sync a background service on Android? Could we even preload tabs which were in the foreground on the desktop? Some of the other problems are down to Google Maps. I personally prefer OpenStreetMap but, despite UK postcode data being released quite a long time ago, its postcode search is still terribly imprecise. Still, hopefully this account will inspire someone :-)

Restricted Boot

If you think it should remain possible to install operating systems on general-purpose computers other than the one they came with, you might want to read about the FSF’s campaign to make sure manufacturers preserve this freedom when implementing the new “Secure Boot” feature, and then sign the statement about it.

We, the undersigned, urge all computer makers implementing UEFI’s so-called “Secure Boot” to do it in a way that allows free software operating systems to be installed. To respect user freedom and truly protect user security, manufacturers must either allow computer owners to disable the boot restrictions, or provide a sure-fire way for them to install and run a free software operating system of their choice. We commit that we will neither purchase nor recommend computers that strip users of this critical freedom, and we will actively urge people in our communities to avoid such jailed systems.

Bugzilla API 1.0 Released

I am proud to announce the release of version 1.0 of the Bugzilla REST API. BzAPI has been stable now for about six months, and so it seems like a good time to make a 1.0 release :-)

To give you some idea of how much it’s being used, in the week from 2nd to 9th October, there were 161,000 hits on the server – that’s an average of 23,000 requests for (or submissions of) bugzilla.mozilla.org data every day.

New In 1.0

  • Performance improvements for requests involving history
  • Bugzilla 4.2 branch and current trunk supported (as of the date of release)
  • You can now set values for custom fields when creating bugs
  • Increased length limits for URLs, up to 16k chars or your webserver’s limit, whichever is smaller

Compatibility Notes

  • In Bugzilla trunk and 4.2, the XML-RPC “comments” API has acquired an additional “count” field, which gives the number of the comment in order on the bug. The REST API’s “/comments” call does not include this field, because we can’t simulate it for older clients. However, this field may appear in other implementations of the REST API in the future, e.g. one which is built into Bugzilla itself.
  • Version 0.8 is now no longer available on the api-dev server.

File bugs | Feedback and discussion

Single Words In The URL Bar

What do we, and what should we do when people type single words in the URL bar?

ICANN is opening up the registration of new gTLDs (generic TLDs, like .com, .info, .museum etc.). Applications open in 2012, and they expect to create thousands of them over the next few years. In general, I think this is a good thing. It will make many more naming possibilities available, and drive down domain prices. However, there is one policy question we need to consider.

Let’s say I’m the large corporation FooBar Corp, and I apply for and receive the top-level domain .foobar, which I plan to use for websites connected to my company. The New gTLD Applicant Guidebook is 352 pages, so I haven’t read it all, but section 2.2.3.3 gives the permitted DNS record types for that entry in the root zone. It specifically allows SOA, NS, DS and DNSSEC-related records, and then says:

An applicant wishing to place any other record types into its TLD zone should describe in detail its proposal in the registry services section of the application. This will be evaluated and could result in an extended evaluation to determine whether the service would create a risk of a meaningful adverse impact on security or stability of the DNS.

So here’s the big question: could FooBar Corp set up an A record for “foobar”? And, if so, should web browsers take users to that site when “foobar” is typed in the URL bar?

I can see how companies would love it if users who typed e.g. “nike” into their URL bar automatically got taken to an official Nike website, instead of doing a search for “nike” using the user’s default search engine. But I’m not certain that this is what we actually want to happen, particularly for non-trademarks. Do we let someone spend $185,000 (the application fee) and buy all URL bar searches for the word “car”? Or “mortgage”? I think it’s at least questionable whether that is in the best interests of users.

Someone who knows: what exactly do we do now? I think we do a DNS lookup and, if it fails, do a search. So perhaps we would go to the A record for “foobar”. Is that what we want?

If we decide we should change Firefox’s behaviour, we would ideally do it before applications start, so applicants can’t claim they weren’t warned. So it’s important we discuss this now.

The Gospel According To Steve

Boriss helpfully quotes, from Steve Jobs’ commencement address at Stanford in 2005:

“No one wants to die. Even people who want to go to heaven don’t want to die to get there. And yet death is the destination we all share. No one has ever escaped it.

Except one man. Who taught that, in a world created by God, “following your own heart and intuition” – the secular gospel of self-fulfillment and turning your back on your Creator – is a path to slavery, and eventually eternal misery, disappointment, loneliness and regret.

Contrary to what Steve says, I want to go to heaven, and my death will probably be sooner rather than later and for the same reason, but I have no problem with dying. Death has no sting and the grave has no victory for those whose trust is in Jesus.

Don’t be trapped by dogma – which is living with the results of other people’s thinking.

This was said by the man whose company made some of the most unhackable, locked-down, choices-made-for-you-by-other-people pieces of phone hardware the world has ever seen. If I bought an iPhone, I would have to “live with the results of other people’s thinking” in a myriad of different ways. Some or even most of their decisions might be good ones – but they would be their decisions, not mine.

When someone says “don’t be trapped by dogma”, they usually mean “don’t believe anyone’s dogma – except mine”. You also see this with the New Atheists such as Dawkins, who argue that “Christianity (or any other religion) shouldn’t be taught as truth in schools”, which is another way of saying that “I, and not the parents of a child, should decide what they are taught, and what they are taught will be atheism and/or pluralism”. In other words, don’t believe or teach anyone’s dogma – except mine. It is claimed that this position is ‘neutral’, but there is no such thing as neutrality.

Steve’s gospel doesn’t save and, like his products, it won’t set you free. Think different, and choose the alternative (and no, I don’t mean Android).

How I Got Involved With Mozilla (And Why That Might Not Work Today)

[Another response to David Boswell’s post.]

I got involved with Mozilla in January 2000. The previous October, I had switched courses at university from Chemistry to Computation (now called Computer Science), straight into the second year of a 3-year course. (This is practically unheard-of; it was a real work of God that it was possible.) After taking a term to get up to speed, I decided I wanted to get involved in a real software project. As I was thinking this, I read this comment from Mozilla UX contributor ‘mpt’ on Slashdot, which said in part:

Join the Mozilla effort. Do it now. It doesn’t matter if you don’t know C++. It doesn’t matter if you’re stuck on Windows. It doesn’t matter if you only have two hours a week to spare. Just join in. Download binaries. Report bugs. Suggest enhancements.

I’d like to think that the Slashdot readership were actually interested in the future of both Linux and the Internet. I don’t want Linux to be a second-class end-user operating system, simply because it doesn’t have the world standard Web browser on it. And I don’t want Microsoft, or any company for that matter, to control the Internet.

Do you?

I decided I didn’t want Microsoft, or any other company, to control the Internet – so I followed the links and signed up to help. (And at the time, I was still ‘stuck on Windows’ – Windows 95 OSR 2, because I thought Windows 98 was too unstable. Not long after, I switched to Linux.)

My first point of contact was the BugAThon – which still lives on today, I believe. Why was it appealing? It was a simple idea – make reduced testcases for layout bugs – with clear instructions on what to do, and a reward at the end :-) I still have one of the two stuffed green Mozilla lizards (some lizards were green, way back then) that I earned. At a later point, I ended up running the BugAThon for a while.

After a month or two’s involvement, I felt part of a community – with Asa and Eli and others – and before long, I was recruiting people and running the daily smoketesting of the previous night’s build. This was way before automated testing – we ran through a list of 60 tests to check things like “pages load correctly”, “email downloads correctly” and so on. I felt part of something bigger than myself, something important, and I was hooked.

Asa got hired, and then arranged a post-university internship for me in the mozilla.org group at Netscape in the autumn of 2001. That’s when I became part of the mozilla.org ‘staff’, and the rest is history. Although apart from that internship, I didn’t start getting paid to be involved in Mozilla until 2004/2005 or so. As the Corporation and Foundation split, Mitchell asked me to be part of the Foundation side and be the watch-over-the-whole-community guy, while most other people focussed on Firefox.

Why wouldn’t this work today? Well, it might – but it seems unlikely in today’s setup that a new community member, after only a few weeks, could acquire such significant responsibility. And it’s trusting people and giving them responsibility which gives them a stake and binds them into a community. Also, I don’t think we are as good at loudly articulating publicly the threats to the Internet which might inspire people to participate. Mozilla itself as an organization has never been awesome at that, although various Mozillians have been.

On the other hand, until recently, we were short on ways to get involved as simple and as well-defined as the BugAThon – but the great work of Contributor Engagement seems to be changing that, which is awesome. I look forward to seeing what the Mozilla Stewards program achieves in this area.

Kudos to Lenovo

The screen on my new Lenovo X220 laptop stopped showing a picture just before our holiday (my external screen still worked fine) and so I sent it off under warranty to Lenovo. They did such a good job on it that I’m moved to write a blog post in praise of them.

  • Everyone I talked to on the phone (after minimal holding time) was both helpful and well-informed about the situation
  • The workshop called me to get the model number to make sure they had the right replacement screen, even before the unit arrived with them
  • They fixed the screen (possible unseated cable)
  • They fixed the cracked screen bezel, even though it may not have been covered under warranty
  • When I rang up to ask how it was going, the lady went away, found out and called me back a few hours later to let me know
  • I told them I had a deadline due to a foreign trip, and despite it being faster than their guaranteed turn-around time, they got it back to me a day before the deadline, next-day delivery
  • They didn’t charge me a penny

I’ve been a Thinkpad user for about a decade now but this is the first one I’ve ever bought new. Based on this experience, I’ll be using their kit for some time yet. (And they run Linux very well.)