Summer of Code Applications Now Open

Applications have just opened for the Google Summer of Code 2010. If you are a student, please consider applying to Mozilla – either to do one of our ideas or an idea of your own. If you are not a student, please contact students you know and encourage them to apply.

If you aren’t sure whether your idea has any chance of acceptance, please feel free to email me. One hint: if you are proposing an add-on for Firefox or Thunderbird, you will have to work very hard to demonstrate unusual value with respect to the core goals of the Mozilla project. The fact that you think it’s cool and useful is not in itself a sufficient reason for us to pay you to build it. :-)

Bugzilla API 0.5 Released

I noticed I forgot to blog this…

Version 0.5 of the Bugzilla REST API has been released.

Note: versions 0.4.1 and below have a security issue[0] which could, under some circumstances, allow one user to impersonate another. If you are specifically using these versions (rather than the “latest” version) please update your client software to use version 0.5.

New In 0.5:

  • Performance instrumentation. I have added code which records how long requests take, so I can see whether the bottlenecks are, if any. If you are having performance issues with the API, please file bugs and tell me what is slow!
  • JSONP support. Use Accept: application/javascript and pass a callback=myfunction parameter, and you will get JSONP served as application/javascript.

Compatibility Notes:

  • The range of content types that the API can return is now restricted
    to:

    • YAML-HTML (for browsing) – text/html
    • JSON – application/json
    • JSONP – application/javascript
    • XML (utterly unfrozen!) – application/xml
  • The deprecated “count=1” parameter to bug searches to get a count has been removed.

File bugs | Feedback and discussion

[0] This bug will be opened in a few days.

Liferea Usability Rant

Another blogpost I wanted to read has disappeared into the ether, and it’s time for another usability rant – this time about Liferea. This is Ubuntu’s recommended feed reader – at least, it’s the only result of a search in the Ubuntu Software Centre for “feed reader” which is in the repository it provides support for. Although when I asked mpt, who works for Canonical in usability, what the official feed reader was, he said:

https://help.ubuntu.com/9.10/internet/C/internet-otherapps.html recommends Liferea. I think that’s as official as you’d get on that subject.

Which is hardly a ringing endorsement. Anyway, I moved to it for half my RSS feeds (the personal ones) to see if anything was better than Thunderbird’s frankly patchy feed reading support.

OK, it doesn’t have Thunderbird’s “thought you’d read this item? Let me give you another, unread copy of it in the feed” bug, but boy – did the developers actually sit down and try and read feeds with it? The usability is a nightmare.

The main way of reading feeds is an Unread virtual folder, which contains all of the unread items. As you read things and move to the next one, they disappear from here, although you can still find them in the folder for the individual feed.

There’s a “Next Unread Item” button, but no “Previous Unread Item” and no history. So if you accidentally move off the item you are reading, it immediately disappears from the Unread view (because you read it, duh) and there’s no way of finding it again! If you can’t remember which blog it’s in, you have to trawl through 50 feeds, looking at the topmost few entries, and see if you recognise it. And, as you start this process, you realise that the next unread item, which the cursor went to when it went off the one you wanted to read and are now chasing, is also now lost, because it got marked as read when it got highlighted and now you’ve moved the focus off that one too. And you can’t remember anything about that one at all.

Basically, they’ve implemented a browsing application without a Back button. Genius.

That’s OK, you think: I can create a Search folder for “all items newer than a week” and sort it by date, and find my lost items that way. Except that “date” is not one of the options in the search builder. You can search by whether it’s a podcast or not, but not when the wretched thing was written. Great. You have to create a folder of everything, which wedges your machine for 20 seconds every time you open it as it loads 5000 items into a data structure using some sort of naive n2 algorithm.

There’s a Mark Items Read on the toolbar. Accidentally click it, and you’ve lost your “to read” queue entirely, with no way of getting it back. And it’s right next to the “Update All” button which is used regularly. “Mark Items Read” might as well be labelled “Cause Me To Scream in Frustration”.

  • You can’t select multiple items. If you try, the first one gets deselected and, because it was now marked as read, disappears from the view!
  • You can never find a feed you want, because the list is in the order they were added, and there’s no sort, only drag-and-drop. Hey, I can practise my manual quicksort!
  • If you decide you want to keep an item in your “to read” queue, and so, having scanned it, press Ctrl-U to mark it back as unread, then Ctrl-N refuses to work. Presumably because it thinks “you’re on the next unread message already, dummy”.

Grr.

Finding Fulfilment

Last week I received an email from a relative, bearing the sad news that he and his wife of nearly 20 years were separating. He said that when they got married, he had “hoped to make her happy”, but admitted that “over the years I have failed.”

And then, Ex-Mozilla user experience intern Wei Zhou blogged about how to find fulfilment and satisfaction. She gives five possible primary motivations, based on which of the following you find more important: power, status, pleasure, creation, or quality.

  • The Autocrat seeks power and control
  • The Narcissist seeks attention, status and fame
  • The Hedonist seeks pleasure and enjoyment of material goods
  • The Architect seeks to create and shape the world
  • The Craftsman seeks to enjoy their work by producing quality

This made me think about where true happiness and fulfilment is found. My relative took upon himself the burden of making someone happy – and that is a crushing burden. His wife looked to him to make her happy – and this will inevitably lead to disappointment.

Wei concludes that “not all of these [five] primary motivations lead to a lasting sense of personal satisfaction and fulfillment”, but argues that being a Craftsman – being concerned with quality – gives one the best shot at finding “personal satisfaction and fulfillment”. She wisely notes that “it frees us from the perception that our self-worth depends on [power, status, pleasure, or world-changing achievement]”.

But I don’t think being a Craftsman is the answer either – if you are a craftsman, there will always be levels of skill you cannot attain – and most skills, after a certain point, decline with age. As one of her commenters points out, “your execution will always be flawed”. If your self-worth depends on the quality of your work, you are also going to be disappointed.

So how can one find true fulfilment? I think she has missed a primary motivation:

#6: The Christian

The Christian’s primary motivation is love of God and a desire to obey His commands. Common behaviors include “love your neighbour as yourself“, “take up your cross daily” and “go and make disciples of all nations“. They are those who have learned to “be content whatever the situation.“[0] Examples: missionaries like David Brainerd (missionary to the Native Americans; died at 29), William Wilberforce (anti-slavery campaigner), and millions upon millions of ordinary people.

Christians do not obsess about controlling others like the Autocrat, because they know God is in control, and works all things for their good. They do not seek attention, status and fame like the Narcissist, because they know their value is in being a child of God, not in the approval of others. They do not make an idol of pleasure, like the Hedonist, because at God’s right hand are pleasures forevermore, and it is through him that true and lasting happiness is found. They do not create their own vision of what the world should look like as the Architect does, because they know that God’s vision is the best one, and they should pursue that. They do enjoy their work, like the Craftsman, but it is a subsidiary goal to that of pleasing God in all things.

People do make a choice “about what they’re ultimately working for”. But it depends what you mean by “ultimate”. In the long run, as the saying goes, we’re all dead – and the ultimate question is “what happens next?”

[0] “I know what it is to be in need, and I know what it is to have plenty. I have learned the secret of being content in any and every situation, whether well fed or hungry, whether living in plenty or in want. I can do everything through him who gives me strength.” (Philippians 4:12-13)

Updating the MPL

Today, we are launching a project to update the MPL. (Read Mitchell’s blog post). As the first point of contact within Mozilla for licensing issues, I’m often on the receiving end of criticism about the MPL’s rougher edges (such as the amount and inflexibility of the boilerplate required). So I’m looking forward to this process. But I want to focus on the positive changes we can make as much as or more than the things we have to ‘fix’. On that front, I’m particularly hoping that we can help integrate the MPL better with the remainder of the popular Free Software licences – e.g. by achieving Apache compatibility.

While I have hopes and goals for the process, as do the other Mozilla people involved, this is not a validation exercise for pre-existing decisions. There’s a lot still undecided about how MPL.next will look. And we’d love to get your input.

SQL Injection Attempts

This is from the analog report on the Apache access logs for the drumbeat.org staging server. It leaves me wondering whether there were actually any genuine searches done at all…

Listing the top 30 query words by the number of requests, sorted by the number of requests.

reqs search term
2459 ‘
2094 0
1745 delay’0:0:20′
1396 waitfor
714 and
703 or
698 1=1
698 1=2
349 ‘waitfor
349 %27
349 %00′
51 drumbeat.stage.mozilla.com/
34 drumbeat.stage.mozilla.com/events
16 2=2
5 1=3
3 drumbeat
3 73541692′
3 73919112′
3 27417321′
3 38822036′
3 19286078′
2 72884114′
2 20580310′
2 73307134′
2 17959598′
2 17674419′
2 14638227′
2 16063538′
2 miro
2 83234186′
1045 [not listed: 704 search terms]

New ‘Feedback’ Flag in Bugzilla

bugzilla.mozilla.org now has a new “feedback” flag for attachments (bug). Use this like “review”, but for where you want to get someone’s input on a patch, and that input does not amount to a formal review. This is useful if the patch is a work in progress, or if the person you are asking for feedback is learning to do reviews in your component.

This new flag was Marco Bonardo’s idea and was endorsed by mconnor.

You can request feedback from specific people (obviously) and from multiple people at once. It’s available in all products and components.

The Economics Of Privacy

Tristan recently blogged about privacy as a currency. His point:

Privacy is a currency for which we don’t know the [ex]change rate. It’s something we’re giving to online services without knowing what it’s worth.

I started to apply basic economics to that idea. It seems to me that a key point is that the exchange rate of the currency is not only unknown, but it is also different for different people. You may value your privacy much more highly than I do. By contrast, for people in the same socio-economic group, the value of the information to the company is (approximately) the same. For most of the readers of this blog, it’s worth about the same to (e.g.) Google to know X amount about you as it is to know X amount about me.

A mutually beneficial exchange is one in which both parties receive something of greater value than what they lost. Is our loss of privacy mutually beneficial? It depends. I may decide to put a $50 value on the privacy of my list of friends. If that list is worth $100 to Google or Facebook, and they will provide me with $70 worth of services in return for it, then clearly the exchange is a beneficial one. However, if you value your list of friends at $500, then it would not be a good exchange for you, if all else was the same.

Another important economic attribute of exchanges is that they should be ‘fair’. A fair exchange is one which is uncoerced, and in which both parties understand what they are giving away and receiving. Do people understand what they are giving away when they give away their privacy? Perhaps not. Or it could be just that they put a low value on it. In which case, it’s entirely reasonable for them to make the trade.

Conclusion: privacy advocacy is not about persuading people not to use particular privacy-reducing services, it’s about persuading people to understand the value they personally put on their privacy and perhaps, secondarily, to increase that number. But if people, once they understand, choose not to increase that number and to make privacy-reducing deals, we should respect their free choice.