Categories

Imagining something and then coding it up

I found this fascinating quote today:

That’s the thing that gets me so excited to get up and get going every day. Technology has reached a point where anyone can get involved with innovation. Patents and degrees matter a lot less. Imagining something and then coding it up is what its all about these days.A VC, Jun 2009

You should read the whole article.

Firefox Mobile Add-ons - One Small Step for Mankind

By small in the title, I mean small devices. One large step was taken in the Fennec add-ons ecosystem over the weekend at the Mozilla/Maemo get together in Copenhagen [pictures, tweets]. Present were a large chunk of the Fennec developement team, add-on developers, localisers, and community members. We shared the space with Maemo developers and community members, and while there was not much overlap during sessions and hacking, there were some useful discussions on how we can work better together. The weekend was a mix of sessions and hacking, with the focus more on the latter. We ported add-ons, made new ones, found bugs, and had discussions on best practices and ways to improve the user experience. Here is a mini-report of what went down, from an add-ons perspective.

Target

It might be obvious to say this, but Fennec add-ons are much different beasts than their desktop counterparts. All the goodness of the Mozilla Platform is there and available to use, but the UI is completely different. Less hooks are available simply because there is less space, but the design and UI flow provide different challenges. Sure, there are toolstrips, aka vertical bars to stick icons on to, but what would happen if every extension did that. Pretty soon yours would be lost in the mix.

Madhava Enros did a good job of explain the design behind the Fennec UI. Dialogs and context menus are just 2 things among others that are out in Fennec, and their usage is strongly discouraged. With regard to dialogs, one concern I was hearing from devs is how to show preferences. Recent builds of Fennec (get desktop builds here, or ask on irc.mozilla.org#mobile) have already taken steps to address this.

Fennec Add-ons Manager

Fennec Add-ons Manager

So as you can see, when Options is selected, the UI appears inline and not in a dialog. While there are still bugs, it is clever, but is it scalable for larger pref sets? Or should extension authors scale down?

Stepping Back

I started off my talk about porting existing extensions [Slides: PDF | PPT] by challenging authors to really think whether they should do it. Ask yourself, does it make sense in this context? Does it fit into the browsing habits of users of smaller devices, which is different than desktop usage? For example, users on the go want more information suggested to them as opposed to go hunting for it which can be cumbersome. Now I don’t want to discourage you from porting your add-on. We certainly need more. Keep in mind that it will be more work than just adding Fennec as a target application in install.rdf, and while doing it, get inspiration for new ideas. I think some of the best add-ons will be ones built from the ground up that take advantage of device capabilities such as GPS and voice.

The document story needs to get better. Mark Finkle posted last week about his documentation efforts so far, and thanks to Mark for that. It gives us a solid foundation to add more. I urge everyone working in this area to post your finding on the Mozilla wiki / Devmo / your blog / anywhere to make life easier for those who follow and help promote adoption. I’ll be personally following up with all participants to make sure they do so.

The Winners

Before the event, we offered a challenge at short notice on Mozdev to developers to propose ports of their existing work or new add-ons for Fennec. 4 entrants got to go to Copenhagen. The winners were (in no particular order):

  1. Fabrice Desre - Develop a “local guide” application leveraging the geolocation support in recent Fennec builds. The geoguide will show informations relevant for the user, like touristic information, photos, retaurants and hotel etc. using various data sources such as flickr and dbpedia. The focus here is not to rely on a cluttered map display, but to provide a clean UI : in the same spirit of the experiments going on for the “new tab” in Firefox, but for a “new place”.
  2. Chris Neale - Port Link Widgets to Fennec.
  3. Marien Zwart - Port RadialContext-mz to Fennec.
  4. Benoit Bailleux - autoOpenID looks for OpenID sign-in forms and (depending on its configuration) can log-in automaticaly (or propose to) with no more than one click.

Of the four, Fabrice completed GeoGuide, Chris is almost complete, and Marien and Benoit are still working on it.

GeoGuide

GeoGuide

GeoGuide determines your location using the Geolocation API, and with that data present you with a map view, weather, local events, images, and wikipedia articles.

And The Rest

Some other good work came out the weekend.

  • Nicolas Belloni and Mattias Rost are working on Detector which is their own words, “is an add-on to bring more fingerfriendliness to the content of webpages on Fennec. We strongly support Mozilla’s effort to make a browser adapted for mobile users. So we are aiming at adding more interaction to phone numbers, addresses and contacts’ names. The type of interaction style that we add to the content needs to be thought in order not to be destructive and to take into account the lack of contextual menu. To begin with, we want to detect phones numbers and give the possibility to users to call, save or sms this number”.
  • Jesper Hansen is working on a few things — The first is Save Image. Since Fennec has no possibility to save images, then this addon will provide a list of all images on the loaded page with name, ext, size and a single button to save it. Save Image will also provide a simple canvas dialog (or alternative) that slides up from the bottom of the screen when a onmousedown is being detected for longer than a specific time on an image. Second up, Toastercat: an add-on to monitor and display content of icanhascheezburger.com (and friends, see https://addons.mozilla.org/en-US/firefox/addon/11945) RSS feeds in a simple way without having to load the entire page but only rely on the content provided in the feed. A third add-on is related to about:config since Fennec is missing some features there.
  • Fabrice followed up the excellent GeoGuide with the equally excellent GrafiTwit. This brings a new twist to tweeting, allow you to doodle on a canvas, send the picture off to Twitpic, and post the link to your stream.
  • I ported Zemanta, a few hours of effort, and it now works as the desktop version bar a couple of bugs related to the icon in the location bar. Let me know if you want to try it out, it is not public yet.
Zemanta on Fennec

Zemanta on Fennec

There are a few more add-ons for Fennec available on Mozilla Add-ons. UPDATE: More than a few.

Lessons Learned and Bugs

One of the lessons learned is best summed up by the mantra ‘performance, performance, performance’. Things you take for granted on the desktop may bite you on the mobile device. Here are some performance related guidelines. Another important point is to try if at all possible to test on one of the mobile devices that Fennec runs on. When testing existing add-ons on Nokia developer devices, it was apparent quickly that this was not done for some existing ones. The desktop versions just don’t highlight some issues, e.g. related to touch. Another alternative is to run Maemo virtually.

Mozilla/Maemo Danish Weekend 2009

Mozilla/Maemo Danish Weekend 2009

At this point, bugs are good. If you come across any, please report them and make them block bug 492546 [Develop an extension showing a xul page in BrowserCanvas].

Reblog this post [with Zemanta]

Facebook Picture Uploads from Firefox

If you are a Facebooker like myself, and put your photos there, now it is even easier to get the pictures online. In collaboration with Briks, the Facebook Toolbar for Firefox has a new upload feature in the recent 1.4 release. To activate, click on the picture icon on the right-most side of the toolbar.

Facebook Uploader Click here if you can’t see the image

The design is subject to change, but it does what it says on the box, getting your pictures online in batches, simply and fast. Sub-features include choosing albums, creating new albums, tagging, and adding metadata like title and description.

Facebook is now the #1 user-generated picture content hosting site online. So you are in good company. Let us know what you think.

Technical note: In Firefox 3.0 builds, upload progress is per photo. There is finer granularity in Firefox 3.5 due to the use of XHR progress events.

Reblog this post [with Zemanta]

Fennec Add-ons Challenge Reminder

I first posted about it on the Mozdev blog. Mark Finkle followed up with some of the things he’d like to see. We have not had many applications yet, so get yours in before the deluge tomorrow just before the deadline!

City of Copenhagen
Image via Wikipedia

Remember, all we need now is a commitment, we don’t need to see the code until the end of the month. It will be a great weekend in Copenhagen.

Over and out.

Reblog this post [with Zemanta]

links for 2009-05-06

Seedcamp Ljubljana

Mini-Seedcamp Ljubljana is coming up on 14 May.

Image representing Seedcamp as depicted in Cru...
Image via CrunchBase

Mini Seedcamp Ljubljana will be bringing together 20 of the best seed stage web tech startups with experienced entrepreneurs, investors, and developers from all over Europe to participate in a day of intense mentoring, panel discussions and presentations at the superb Tehnoloski park Ljubljana.

We are looking for strong, quality startups that have the talent, drive and capacity to fully embrace the opportunities that participating in a Mini Seedcamp brings. Which is receiving quality advice from top industry leaders and start building those key relationships to help drive your business. Relationships that normally take years to build, you’ll have access to in one day. Mini Seedcamps are not a conference, but an entrepreneurial ecosystem of support to strengthen and catapult your ideas into a viable business.

You still have until 27 April (next Monday) to make your applications, so get to work! I’ll be mentoring, and am excited to be working with some of the best Web talent in the region. Hope to see you there.

Reblog this post [with Zemanta]

Viennese Delight

Here are the slides from my talk at Linuxwochen 2009 in Vienna this past weekend (pictures). Kairo’s talk on the Open Web proceeded mine, so I focused more on high level content on Add-ons, Labs, and Mobile. Counting all 4 of those topics together, you get a pretty good feel for where Mozilla is now and in the near future.

(Don’t see the embedded presentation? Other formats: PDF | PPT)

Robert talks more about the conference here, breaking the news that there will likely be a MozCamp in Vienna in October. My talk and Firefox in general got some coverage in the local press - Read (in German) ‘How does Firefox Become the Number One‘.

Reblog this post [with Zemanta]

Mozilla at Linuxwochen in Vienna

Belvedere palace in Vienna. Constructed in the...

Image via Wikipedia

Tomorrow I will be in Vienna and speaking at Linuxwochen.at, a premier Austrian Open Source event.

The schedule is packed, and up just before me in the evening will be Robert Kaiser talking about the Open Web. If you missed Paul Rouget’s demos this week, I urge to to check them out.  I’ll be focusing more on Add-ons and other areas and the discussion in both talks is sure to get interesting.

I’m looking for ward to hanging out with my neighbours. If you are around, drop in to check out some of the talks and say hi.

Reblog this post [with Zemanta]

It Started With A Tweet

I never thought that it would come to this.

It was a tweet from Christoper Blizzard that I can’t find right now, or perhaps it was this blog post. So I put out a call. Lo and Behold, Marko Mrdjenovi?  (aka Fry, aka Slovene web dev extraordinaire) was listening. He didn’t know of an existing tool, so he went about the task of making one.

The result: tweecious

tweecious

Features:

  • auto-discovery of  your twitter and delicious accounts
  • no login
  • runs in the background, unobtrusive
  • uses longurl API to find the real links from all those nasty short urls
  • use Zemanta’s suggestion engine to pull in tags

So if you don’t want all those great links you are tweeting to get lost, go get tweecious! Thanks Fry.

JavaScript in Extensions - Slides from MAOW

Here are my slides from the Add-ons Workshop in Berlin.

I covered a wide range of topics so you won’t find much detail on any one. I’ve tried to compensate with links. The goal was to introduce the audience to some things they may not have come across.