Motorcycle Adventures and Free Software

Weblog: Archive

2007-04-01 - 2007-04-30

The old offline vs. online debate

Posted on 2007-04-02 18:37:34 UTC to . 0 comments.

The rise of web applications like Gmail and Basecamp is bringing the good old offline vs. online debate again into picture.

Quite a few developers are now working on various offline-enabled Ajax toolkits, but 37signals, a prominent developer in the scene is saying offline doesn't matter:

The idea of offline web applications is getting an undue amount of attention. Which is bizarre when you look at how availability of connectivity is ever increasing. EVDO cards, city-wide wifis, iPhones, Blackberry’s. There are so many ways to get online these days that the excitement for offline is truly puzzling. Until you consider the one place that is still largely an island of missing connectivity: The plane!

But planes are not a very common hang-out spot for most people. The two major groups of people who are on a plane often enough to care and have an interest in web applications are traveling salesmen and techies who go to too many conferences.

As some commenter already noted in that blog post, this is all good and well until you try to work abroad and get charged exorbitant roaming charges, or do work anywhere outside the western world. It is also sometimes nice to purposefully go to some remote location where one can work without any of the interruptions and procrastination excuses a working internet connection automatically brings.

These situations are why I still think the idea of offline applications is a good one, as long as making them doesn't unnecessarily complicate application development. Doing it on the Ajax layer is one option.

Another option is synchronization, like popularized in the Lotus Notes replication feature. With synchronization, the application always uses a local data repository, and a separate tool keeps moving data back and forth with a central server whenever user has a connection available (or specifically requests it).

There is a standardized synchronization protocol available: Open Mobile Alliance's Data Synchronization (OMA DS), which was formerly known as SyncML. However, implementing it is fairly difficult without a SyncML toolkit like Funambol. Because of this, other protocols like IMAP or WebDAV are also sometimes used.

Midgard's approach to synchronized setups is to provide strong data import and export capabilities on the framework level and then allow the actual replication tools to be written on application level. The current implementation includes data synchronization via HTTP and email implemented in PHP. Something like OpenSync, Conduit or Funambol would probably make sense later, especially if Midgard starts to become more of a replicated persistent storage system for desktop applications as I predicted in my presentation in Kristiansand.

Offline data access is especially important for mobile devices, which is why I find it very inconvenient that most applications for Nokia's N800 tablet assume an always-connected model. For example, Canola doesn't cache podcasts locally, Rhapsody music is only available when online. Similarly, there still isn't a proper offline RSS reading capability. I was using Maemo Mapper for navigation when driving to the Utsjoki hunting trip, and quite often map downloads failed because GPRS/3G connection broke somewhere in the countryside.

So, in my view offline capability is still very important for any application that is useful when traveling. Internet access may be quite well available inside cities, but still in countryside or in tunnels connection can be really bad. If development tools like Midgard make building offline functionality into apps easier this will hopefully become more common.

Sponsored links

Microsoft Certification Exams โนเกีย Nokia มือถือ Online Project Management save money using, phone card
Reviews มือถือ Mobile All Apps

Midgard Weekly Summary #71: April 5th 2007

Posted on 2007-04-05 16:08:09 UTC to . 0 comments.

  • Midgard developer meeting on June 1st - 3rd. The next Midgard developer meeting will be held in Helsinki University of Technology campus. Both developers and users are most welcome to join the event! There have been some thoughts of combining it with a Midgard seminar during friday the 1st.

  • MidCOM style editor preview. Arttu Manninen has posted information on the new MidCOM style editor. The style editor helps MidCOM site builders to customize output templates of the system to their needs. The editor is available in the MidCOM 2.7 branch

  • Midgard 1.8.3 preview out. Piotr Pokora has published a preview of the upcoming 1.8.3 release into the developer downloads section. The new release fixes some command-line PHP usage issues and adds features to the replication interface

  • Lots of other things are also happening. Recent commits have included things like user-provided rating support for any Midgard object, new replication services and initial Mono bindings. Some of these will be featured in the next MWS issue. Keep the suggestions coming!

About Midgard

Midgard CMS is an Open Source Content Management System built on top of the Linux, Apache, MySQL and PHP (LAMP) platform. It provides a reliable, powerful and internationalized set of tools for building web sites and networked applications.

Midgard utilizes PHP as the web scripting language and provides integration interfaces on Java and C layers. Midgard's unique architecture enables it to provide services like single sign-on and replication. With these capabilities and the integrated full-text search system, Midgard is an excellent match for information-rich web sites and intranets.

Places to see Midgard in Action:

About MWS

Midgard Weekly Summaries is a newsletter for keeping up with the happenings in the Midgard community.

The new MWS editions are edited collaboratively to make the editing burden easier. To suggest stories here bookmark them with del.icio.us tag "midgardweeklysummary". Screenshots may also be suggested by tagging them with "midgardweeklysummary" on Flickr.

Royal Enfield: Built Like a Gun

Posted on 2007-04-05 16:28:13 UTC to . 0 comments.

My Triumph Legend TT, which has been a trusty companion on various adventures, had an engine failure last summer. As a result, I've been without a working motorcycle for almost a year.

This week finally things changed, and I bought a brand new Indian-built Royal Enfield Bullet. I've been drooling after this simple and beautiful bike for years, but have been hesitant. Finally last summer's Death Monkey rally with the 50cc mopeds convinced me that motorcycle adventures can be enjoyable also on a less powerful bike.

220 kilometers later, I can say I'm already very happy about the purchase. While the Enfield isn't really a bike for quick dashes through Germany on the Autobahn, it compensates by happily thumping along on an enjoyable pace on the country road. And it is gorgeous too:

Enfield-On-Kaivopuisto-Shore

The durability of the bike remains to be seen. Based on various trip reports, it seems the bike breaks often but is easy to fix, which should suit my traveling style and locations quite well.

Update: For those wondering about the fate of my trusty Triumph, it is now being fixed and will be ridden by Juha.

Technorati Tags: , ,

Jaiku: personal presence aggregator

Posted on 2007-04-10 07:58:55 UTC to . 0 comments.

This morning I've been exploring the Jaiku service. Jaiku is a combination of a social web service and a mobile phone application that takes the personal status and presence ideas of Twitter quite a bit further. The idea is to combine data from various services to provide a presence feed that can be shared with friends and colleagues.

Personal-Presence-Aggregation-JaikuPersonal-Presence-Aggregation-Midgard

Marko Ahtisaari writes:

For me Jaiku is about:
  1. Silent sociality - checking up on what my friends are up to when convenient, and posting my own state knowing that I won't be disturbing others (unless they have explicitly asked to be alerted).
  2. Small-group sociality - Jaiku is not about celebrity. I'm interested in sharing state with a small group I'm nearly always in contact with, what Mimi Ito has called full-time intimate community.
  3. Mobile sociality - Jaiku was designed with the mobile "living phonebook" interface in mind. SMS alerts crowding the inbox of one of the few working personal and functional communication channels is not my idea of improving communication. I use the SMS-in posting to Jaiku when I'm using my Nokia 8800 and with my N70 I use the Jaiku phonebook.
  4. Background sociality - Jaiku allows me to integrate other online identities and feeds (including delicious, flickr and any RSS) into my single jaiku presence feed. This is done in a way that doesn't confuse these background posts with my explicit state messages.

My website is already doing much of that, combining my blog posts, Twitter status messages, Plazes locations and Flickr pictures to a central place. However, not everybody can set up a Midgard site for personal information management, and so a web service is definitely useful.

In addition to regular presence and feed aggregation, Jaiku does a lot of innovative things. The mobile phone application uses Bluetooth personal area network to display information about nearby users, and apparently can also use the phone's calendar to set status automatically. This is very smart use of context, and something I hope mobile applications would start doing more.

Jaiku can utilize geographical location of users, but I'd love to see integration with the Plazes network and/or pulling of the location information from my GeoRSS feed. Jaiku already is smart enough to pull my social network from Google Talk contacts, so there is hope that they will be smart enough to also reuse existing position information.

Twitter is a bit ahead in the 3rd party tools game, but now that Jaiku finally has an API I expect more tools to appear. I think I'm switching.

Technorati Tags: , ,

European Haidong Gumdo championships in Zürich mid-June

Posted on 2007-04-10 14:36:55 UTC to . 0 comments.

European Haidong Gumdo association is arranging the first European championships of Haidong Gumdo in Zürich, Switzerland on June 15th - 17th.

We will attend with 5-7 persons. I'm participating in the geombup (basic forms) and paper cutting competitions in the color belt series.

Hdgd-Eu-Championships-Poster-Small

The current plan is to ride to Zürich with my new Enfield, and then enjoy the alps for a week or two afterwards.

In related news, there are some nice new videos from our Haidong Gumdo club: paper cutting, swordfighting display and full HDGD demonstration.

Technorati Tags: , ,

More work on Midgard's replication service

Posted on 2007-04-11 12:29:22 UTC to . 0 comments.

Midgard's new replication service has been under work since January. Now the work is finally starting to bear fruit, as we're doing the first tests with real production data.

This week lots of functionality has been added to the system, including scheduled replication runs (for scheduled publication) and a nice debug view for seeing the replication status of an object:

Midcom-Replicator-Debug-Log

This view should make it easier to figure out what replication actions have been undertaken with the object. In the example above, the object was imported twice from an external source (probably two edits), and then also exported twice for a replication queue. The queue however has not yet been processed and so the object is still not fully replicated to the external service.

The replication queues are managed in a user interface on the MidCOM site itself. Site administrator can set up multiple replication pipelines including archival or emailing of backups and HTTP-based replication to remote hosts:

Midcom-Replicator-Manage-List

Updated 2007-04-12: Replication seems to work quite fine, but we're still running tests with it. Those who want to play with it will benefit from the setup instructions draft.

Technorati Tags: , ,

Midgard Weekly Summary #72: April 13th 2007

Posted on 2007-04-13 12:14:54 UTC to . 0 comments.

Today is the Accident Prevention Day in Finland.

About Midgard

Midgard CMS is an Open Source Content Management System built on top of the Linux, Apache, MySQL and PHP (LAMP) platform. It provides a reliable, powerful and internationalized set of tools for building web sites and networked applications.

Midgard utilizes PHP as the web scripting language and provides integration interfaces on Java and C layers. Midgard's unique architecture enables it to provide services like single sign-on and replication. With these capabilities and the integrated full-text search system, Midgard is an excellent match for information-rich web sites and intranets.

Places to see Midgard in Action:

About MWS

Midgard Weekly Summaries is a newsletter for keeping up with the happenings in the Midgard community.

The new MWS editions are edited collaboratively to make the editing burden easier. To suggest stories here bookmark them with del.icio.us tag "midgardweeklysummary". Screenshots may also be suggested by tagging them with "midgardweeklysummary" on Flickr.

Maemo Downloads is again open for business

Posted on 2007-04-16 11:25:56 UTC to . 0 comments.

Maemo Downloads, the application catalog for Nokia internet tablets is again open for business.

Maemo-Application-Catalog-Front-Page

For some time users have not been able to authenticate to the service with their Garage accounts to add or update applications, but this has been fixed now. The problem was incorrectly configured access controls in the Garage postgres database. So, please go ahead and update any apps that have been changed in the meanwhile!

In addition to fixing the authentication we have also added support for rating and commenting applications. For example, see the Maemo Mapper entry:

Maemo-App-Catalog-Ratings-Detail2

The ratings differ from some other rating systems in the sense that every rating is accompanied by a comment and the name of the person who rated the app. To rate applications, log in to the catalog.

In near future we will start using rating as a sorting (and possibly filtering) criteria on the site.

Technorati Tags: , ,

Why Jaiku beats Twitter

Posted on 2007-04-17 07:36:27 UTC to . 0 comments.

Since Midgard is now able to import my Jaiku presence information, I've finally switched to it completely from Twitter. Since the discussion about the merits of these two different services are being discussed actively, I though I should give some of my reasons:

  • Jaiku cleanly separates comments from presence, keeping it clear what is your current status, and what a discussion is about

  • Jaiku is able to import external presence-related data like my blog entries, Flickr photos, Youtube videos and Plazes tracks as they come online, but also these are separated from the actual presence updates (or tweets, if you prefer the term)

  • Jaiku is based here in Helsinki, Finland. This means it is so much easier for me to meet them if I for example want to discuss some integration ideas in the future

  • Jaiku makes it much easier to invite my contacts to the network. Instead of requiring me to hunt email addresses, I can just log into Google Talk via Jaiku's site and automatically invite all my buddies

  • Jaiku gets more than just the web. I love the idea of adding presence information to my mobile phone's phonebook. This way I can check that I won't be disturbing people before calling them, and opt for sending an unobtrusive SMS instead

  • The mobile phone app gets contextual information as well, apparently marking me as busy based on my calendar reservations. I wish it updated my location from Plazes as well, though

  • And finally, Jaiku is slightly prettier

The areas Twitter wins in, on the other hand, are:

For me, the advantages Jaiku gives are clearly bigger than the ones Twitter has. This means that the status data on my site now comes from there, and people wanting to keep in touch are more than welcome to add me as their Jaiku contact.

Updates to the Midgard roadmap

Posted on 2007-04-23 13:51:56 UTC to . 0 comments.

There has been discussion on some changes to the near future roadmap of Midgard and MidCOM. Here are the proposed changes in nutshell:

Flight visualization with Google Earth

Posted on 2007-04-23 20:09:29 UTC to . 0 comments.

This is probably old news to many, but Google Earth is a very nice tool for visualizing flight track logs. I went yesterday to the Helsinki-Malmi airport, intending to go to the traffic circuit for some landing practice with the club's "moped Cessna". Instead, through the magic of the old airport, my plan was changed into flying another plane for maintenance to Joensuu, 500 kilometers away.

I had bought a BGT-11 GPS data logger mainly for OpenStreetMap surveying usage, and this proved to be a nice trip to really test it. I placed the device on top of the plane's dashboard and just left it logging the whole trip. Later I converted the logs via GPSBabel to a format suitable for Google Earth. Here Google Earth is showing me take off from Malmi runway 36 and turn towards the DEGER reporting point:

Googleearth-Takeoff-Efhf

Approach from Liperi and landing at Joensuu runway 28:

Googleearth-Landing-Efjo

Since Google Earth can also place photos I took on the flight to the map and "play" the flight, the GPS logs become a very nice way to tell trip stories. I will definitely keep taking the logger with me on future trips. There even is a solar charger to keep it running.

The flight was very nice also without the techie aspect. Weather was clear and beautiful and the flight over the lake district with the sun hanging already low, gilding the numerous lakes was memorable. Here is the Joensuu airport at sunset:

Efjo Sunset

Technorati Tags: , ,

In case somebody practices Kendo...

Posted on 2007-04-26 19:22:15 UTC to . 0 comments.

I'm selling my old bogu (kendo armor) on Huuto.net:

Kendo-Bogu-For-Sale

It has been gathering dust for last couple of years, and now it looks like I won't be making a kendo comeback because I'm quite taken with Haidong Gumdo. Besides, it is better to de-clutter since I'm moving soon.

I originally bought the bogu back in 1999 when I was practicing Kendo in Helsinki University Kendo Club.

Technorati Tags: ,

Midgard Weekly Summary #73: April 27th 2007

Posted on 2007-04-27 14:53:40 UTC to . 0 comments.

This week has been busy with Midgard-related releases. The MidCOM 2.8 and Midgard 1.8.3 combo is very enticing, as it enables trying out the new replication system.

About Midgard

Midgard CMS is an Open Source Content Management System built on top of the Linux, Apache, MySQL and PHP (LAMP) platform. It provides a reliable, powerful and internationalized set of tools for building web sites and networked applications.

Midgard utilizes PHP as the web scripting language and provides integration interfaces on Java and C layers. Midgard's unique architecture enables it to provide services like single sign-on and replication. With these capabilities and the integrated full-text search system, Midgard is an excellent match for information-rich web sites and intranets.

Places to see Midgard in Action:

About MWS

Midgard Weekly Summaries is a newsletter for keeping up with the happenings in the Midgard community.

The new MWS editions are edited collaboratively to make the editing burden easier. To suggest stories here bookmark them with del.icio.us tag "midgardweeklysummary". Screenshots may also be suggested by tagging them with "midgardweeklysummary" on Flickr.

Conferences this summer

Posted on 2007-04-27 18:40:14 UTC to . 0 comments.

This summer I will be at these events:

Between these, some GeoRSS aggregation initiatives and the GeoClue for Maemo Google SoC project that I mentor, the summer will be quite geographically oriented. Which sounds like fun :-)

Back