USB NAS/Printer Adapter

Dear Lazyweb,

I just went and bought a 1.5TB USB hard disk for backups, but now I realise it would have been smarter to buy a NAS device, so that all the computers on my home network could access it. Come to think of it, I’d also rather like to share my printer across the network even when my main PC isn’t there.

Can anyone recommend a USB to NAS/Printer adapter widget? Criteria:

  • Must be connectable-to by multiple computers at once (you’d think this was a given, but apparently not)
  • Must be configurable and fully usable using only Linux
  • Must support both NAS and printer-sharing
  • Must either have 2 USB ports, or support use of a hub. 3 or 4 ports would be a bonus.

There seems to be a lot of dodgy or Windows-only stuff out there, so recommendations would be much appreciated. I’m in the US soon, so if something is only available there, that’s not a deal-breaker.

Bugzilla API 0.8 Released

Version 0.8 of the Bugzilla REST API has been released.

People deploying installations of 0.8 against their own Bugzillas should take note of the “Upgrading” section below.

New In 0.8

  • Use quicksearch syntax on the /bug search call with the parameter “quicksearch=“.
  • Non-ASCII bug data now works in more places (hopefully everywhere)
  • /configuration data is now cached and you can asked for the cached version if performance is more important to you than freshness; see
    https://wiki.mozilla.org/Bugzilla:REST_API:Methods#Configuration_.28.2Fconfiguration_GET.29

  • Bugzilla 4.0rc1 now fully supported

Compatibility Notes

  • “is_url” support for attachments has been removed from Bugzilla, and so from BzAPI (including against older versions of Bugzilla). BzAPI will emulate the backwards-compatibility behaviour of new Bugzillas when it encounters attachments which are URLs.
  • On the Comment object, “author” is now “creator”, to match a change made in the Bugzilla XML-RPC API for version 4.0.
  • Versions 0.6.1 is now no longer available on the api-dev server.

Upgrading Your BzAPI

BzAPI now comes with the patches necessary to install it, in the /patches subdirectory.

Those upgrading from pre-0.8 to 0.8 will need to:

  • Update their Bugzilla to the latest point release of their stable
    branch

  • Update their copy of $BUGZILLA_HOME/template/en/default/config.json.tmpl from that in the /patches directory
  • Apply a patch (xmlrpc-fix.diff) to their copy of BZ::Client’s Client.pm if they want bug submission with non-ASCII values for e.g. summary to work.

(File bugs | Feedback and discussion)

Disabling Private Browsing

Another very common feedback request in Hendrix is the ability to disable Private Browsing:

How can i put a password on private browsing so my kids can’t access it. I usually control what they do on the internet, but with private browsing none of the ‘parental guidance’ passwords work. In summary, private browing is a stupid idea and should be scrapped. I’m sure many parents will agree.

I do NOT like that the private browsing option cannot be disabled. I want to view my children’s history. Please let me know how to disable it or turn it off. Other wise, I need a new browser.

Firefox needs to include the ability to temporarily disable the Private Browsing feature. I (like many other parents) want the ability to browse in private, but don’t want the same privilege for my children. A simple password to turn the feature on and off would solve the problem.

This is a no-brainer, guys. I’ve seen people discussing this elsewhere on the net, so I know there’s significant demand for this ability. Not including it implies a disregard for the welfare of our kids and for your users’ desire for flexibility in our favorite browser.

I and many parents do NOT want private browsing as an option for our children using the computers. Nor should we have to navigate complicated instructions or know programming in order to circumvent problems. I have parental controls. Why can’t private browsing just be an add-in feature???

I have read other complaints online for almost a year and am about to remove Firefox from all family computers ONLY due to this problem. If you care what your consumers think, you should fix this.

Private browsing capability should not be available by default. At the least, it should be manageable down to the user level with the capability of disabling it for all users.

I have been a huge Firefox fan since 2004, but will gladly change browsers and stop recommending Firefox to my family, friends, and colleagues.

for purposes of accountability for myself and family members, I would like if the private browsing option could be removed, or at the least, be made an administrative option rather than being available for any user.

Parents are concerned that their children will not obey their house rules for use of the Internet, and they will have no method of detecting this. And, as that last quote shows, some adults want the function disabled for personal accountability to others.

Now, I agree there is no substitute for a good relationship between parent and child – in an ideal world, children would obey their parents and parents would not exasperate their children. But I firmly believe that parents are responsible for their children, and that includes controlling what they see and hear if the parents judge that it’s in their best interests. Is there any parent who has a child for whom they have never done this?

Now of course in many cases it is possible to get around the disabling of Private Browsing – you could have an alternative browser on a USB stick, or clear the entire history, or just delete places.sqlite. But each of those actions leaves some evidence. Whereas Private Browsing mode is quick to start, quick to stop, and is designed specifically to leave no evidence. So I think there is value in people being able to disable it.

At the moment, for those who want to disable it, the solution circulating in the Forums is to delete nsPrivateBrowsingService.js, which is clearly sub-optimal.

Does anyone know of an addon which can significantly raise the bar here, by disabling easy access to Private Browsing and history deletion?

Germans Protecting Germans

You may remember a while back I did a series of posts on how Mozilla was protecting Germans by going after the operators of “subscription trap” websites based in Germany. I’m pleased to say that the German government has now joined the fight.

A few days ago, the German Ministry of Justice passed a legislative proposal (PDF; link in German) for an amendment to the German Civil Code. The title is “Draft Law for the enhanced protection of consumers against online subscription traps”.

Here’s the first paragraph:

Many consumers use the Internet to obtain information in an easy manner or to make use of cost-free services such as downloads of freeware. In doing so, they often fall victim to so called cost- or subscription traps (…) Shady undertakings intentionally conceal the fact that they charge for their services by means of a confusing or misleading presentation of their websites. For example, an offer on such a website will be praised, in a graphically highlighted form, as “free”, while only in the small print, or hidden in the General Terms and Conditions, is information provided about the costs of the provided services. This information is moreover often provided in small or pale print, hidden in a footnote or will only become visible on the computer screen after the consumer has scrolled further down. Consumers can therefore only recognise with difficulty that a service that is at first sight cost-free will result in costs after all.

That’s the problem in a nutshell.

When the law passes, persons or entities making commercial offers to consumers online which require payment will be required to do two things:

  1. Show a clearly visible, highlighted notice about all costs the consumer will incur when making use of the offer; and
  2. Make it so that, before contracting, the consumer actively has to confirm that he has read the cost information.

If a website does not satisfy these requirements, the contract will be void.

This proposal will now be introduced into the German “Bundestag” (the “lower House of Parliament”). Once it has been approved by the lower chamber, it will then need approval from the “Bundesrat” (the Federal Assembly, or “upper House of Parliament”). That may take approx 6 months. Our German contacts say the motion has strong support, so it is rather unlikely that it won’t become law. However, it could be amended along the way.

bugzilla.mozilla.org: Status Field Changes

Update: this is sadly not as easy technically as it should be (e.g. Bugzilla 3.6 has several hard-coded status names lurking in the code). This is definitely not happening on Tuesday, and may have to wait until we upgrade to 4.0. <sigh>.

Next Tuesday, 9th November When we upgrade to Bugzilla 4.0, the values of the Status field in bugzilla.mozilla.org are changing, as discussed in mozilla.dev.planning. This is to match us up with upstream changes, make it more clear what each state means, and to clarify which bugs are the responsibility of QA and which of Dev.

The changes are as follows:

  • NEW will be rename to CONFIRMED, so all existing bugs change
  • ASSIGNED will be renamed to IN_PROGRESS, ditto
  • READY_TO_FIX is a new state (see below)
  • REOPENED will be removed (reopened bugs go straight to CONFIRMED or IN_PROGRESS)

So the Statuses and their meanings will be as follows:

Status Meaning Responsible
UNCONFIRMED not confirmed; filed by inexperienced reporter QA
CONFIRMED can reproduce, not an obvious dupe QA
READY_TO_FIX has appropriate QA/UX work complete, ready for a developer Dev
IN_PROGRESS developer is working on a patch Dev
RESOLVED patch has been committed to trunk QA
VERIFIED fix has been QAed in builds n/a

MPL 2: GPL Compatibility?

The Mozilla Public License 1.1 is not compatible with (any version of) the GPL – that is, you cannot put MPLed code into a GPLed binary. The alpha 3 draft of the MPL 2 has opt-in GPL compatibility which can only be chosen at the time the software is first licensed (section 11.2).

I personally believe that most or all groups who are currently licensing their software under the MPL (only) would not mind, or actively desire, GPL compatibility, and the new MPL should give them the opportunity to choose it. I think most free software developers see licensing as a pain, and license incompatibility as a double pain, and would much rather everything were upwardly compatible with everything else.

To test this belief, and so we can appropriately publicize the new version of the MPL when it comes out, I am creating a list of MPLed projects. If you know of an MPLed project please add it to the list. And I want to hear from those projects as to whether they are opposed to, in favour of, or indifferent to, GPL compatibility for existing projects being put into MPL 2. Have a discussion on your mailing list and let me know the outcome.

Particularly if you or your project chose the MPL specifically because it is GPL-incompatible, please contact me. I will treat your response in confidence if you wish.

I’m also looking to make a list of GPLed projects using MPLed libraries (with a GPL exception of some sort – or even without!). That list is at the bottom of the same wiki page. If you are a GPLed project and wanted to use MPLed libraries but couldn’t, I want to hear from you too.

Please spread the link to this blog post throughout the free software community – I want to make sure I’ve reached as many MPL-using projects as possible.

Note: this canvassing of opinion is not official and is not binding in any way on the MPL 2 drafting team.

Busiest Mozillians

Now we have the data about who owns what in an editable and computer-readable form, I’ve been writing some scripts (in Ruby!) to analyze it.

One question I thought was interesting was: who is the busiest Mozillian? If we count up the number of times a person appears on the Module Owners list, as either an owner or a peer, we get the following top twelve:

21: Benjamin Smedberg
17: Daniel Boelzle
16: Neil Rashbrook
16: Philipp Kewisch
14: Gavin Sharp
13: Boris Zbarsky
11: Clint Talbert
11: Matthew ‘lilmatt’ Willis
11: David Bienvenu
11: Michiel van Leeuwen
10: Brendan Eich
10: Josh ‘timeless’ Soref

(If you weight being an owner at twice the work of being a peer, the top 3 is still the same, but if you weight it at 3x, Daniel, who hacks on Calendar, overtakes Ben.)

The number of caveats attached to this list is as long as your arm: not all areas of the project are covered by the list; the list is not necessarily up-to-date yet; not all modules are the same size; not all modules are equally strongly owned; being an owner is more work than being a peer, and so on.

But still, it’s yet more indication that Ben Smedberg is awesome :-)

Hosted WebM Video

Too often, we see Mozilla people promoting some new cool open web idea with a very uncool closed Flash-based video. Which is rather shooting ourselves in the foot. (Kudos to those who at least offer a “click here for Ogg/WebM version” link.)

There isn’t yet, as far as I know, a major hosting site which will serve HTML5 video to supporting browsers by default. (Anyone know different?) But LibrePlanet has now written a HowTo to explain how to get a video on YouTube while guaranteeing it will have a WebM version, which will be served to anyone who has opted into the YouTube HTML5 beta, regardless of the resolution of the video (previously, only high-res videos got transcoded).

DailyMotion, who have been strong supporters or HTML5, also seem to have an opt-in beta. But I don’t know how to guarantee that an uploaded video will be served as WebM.

I also don’t know if anyone is yet serving HTML5 video markup for embedding. Further information would be great.

Europeans: Attend The Monday Meeting This Week

We are in that time of the year where we get timezone dislocation because the DST rules of the US and Europe don’t match. (For a while they were almost synced up, and then the US passed the Energy Policy Act of 2005, the DST changes of which made little difference to energy consumption but inconvenienced a whole load of people.)

However, that does mean that the Mozilla Monday Meeting is an hour earlier – i.e., at 6pm UK time, instead of the usual 7pm, and 7pm Western European time, instead of the usual 8pm. Hopefully, this week at least, it might be a bit more accessible for people.

I would encourage Europeans who don’t normally take part in the meeting to take advantage and do so this week, via Air Mozilla. If you haven’t joined the meeting live for a year or so, you will be pleasantly surprised at the format, audio and video improvements which have been made.

Session Hijacking in New York

Mozilla people spend a lot of time thinking about security – how to make the browser even more secure, and how to keep our users safe from phishing and data theft. Although our phishing protection (based on people reporting bad sites) is pretty good, you can imagine “perfect” phishing protection – where someone who knew all the signs of phishing were sitting there watching a user surf, and tapped them on the shoulder to say “don’t do that” when they were about to get phished.

With that kind of perfect, no-false-positive warnings about dangerous things, then the problem would be eliminated, right? I mean, no-one would carry on doing something dangerous to their privacy or security after being personally and specifically warned about the danger of their current actions by another human being, right?

Wrong.