| Subcribe via RSS

EOG Champlain plugin is now merged

October 12th, 2008 | No Comments | Posted in Gnome, Technologie, libchamplain

The code to display maps in EOG for you geotagged photos is now merged into EOG Plugins.

You can grabe the code there:

svn co http://svn.gnome.org/svn/eog-plugins/trunk eog-plugin

To build it, you will need libchamplain and libchamplain 0.2.2 or later.

You can find 2 sample geotagged images on the bugzilla.

Libchamplain 0.2.2

October 7th, 2008 | No Comments | Posted in Gnome, Technologie, libchamplain

In this release of your favorite Gtk+ Map Widget you get:

  • Bug fixes:
    • zoom-level property changes are notified if changed when setting a new map-source;
    • Markers are now ordered from top to bottom instead of first added, first drawn using ChamplainLayer.  This is more natural to the eye.
  • Less exported symbols;
  • A less error prone library (data passed as parameter is now validated); — thanks to Marco for pointing out my Engrish lol

Grab the 0.2.2 release here!

Since I forgot to blog abour libchamplain 0.2.1, here is what was improved:

  • Bug fixes:
    • Markers’ position wasn’t updated when the map was recentered;
    • Build fixes for packagers;
  • A more standard API: (lat, lon) is now used instead of (lon, lat);
  • There is now libchamplain and libchamplain-gtk.  libchamplain can be used alone in a pure Clutter applications, where libchamplain-gtk is obviously a Gtk+ widget that wraps libchamplain.

EOG Map Plugin is now public

With this release, I am also happy to announce that I have published the code for the EOG Map plugin. You can grab it here in the Gnome Buzilla.  Download it, try it and test it, there has to be some bugs left over hehe (although I did my best to polish it!).

Mini hackfest pour OpenImpro

October 6th, 2008 | No Comments | Posted in OpenImpro, Technologie

Samedi passé avait lieu le premier mini hackfest pour OpenImpro. En fait, c’est que Yannick Bélanger s’est joint à moi pour poursuivre le développement du projet. Puisqu’il est un utilisateur professionnel de PHP, ses connaissances sont les bienvenues pour améliorer le projet et sa sécurité.

Ce hackfest a également été rendu possible grâce à la participation financière de la Gailaxie, la principale ligue d’improvisation qui utilise OpenImpro.  La ligue a consentie un montant forfaitaire pour réaliser les quelques fonctionnalités qu’elle désirait obtenir.

C’est ainsi que nous pouvons annoncer la sortie d’OpenImpro 1.2.  Voici les améliorations apportées dans cette version:

  • Section nouvelles: vous pouvez publier des nouvelles sous forme de texte.
  • Statistiques par saison dans les profils: un sélecteur de saison permet au visiteur de choisir la saison dont il désire voir les statistique lorsqu’il visite le profil d’un joueur.
  • Un membre de la ligue peut maintenant cumuler plusieurs rôles.
  • Vous pouvez maintenant définir vos propres rôles.
  • Vous pouvez également modifier l’ordre d’affichage des rôles.
  • Les réponses inchangés lorsqu’un joueur modifie son profil ne sont plus soumises systématiquement aux modérateurs.
  • Vous pouvez désactiver l’accès à la section privée à des anciens joueurs.
  • Vous pouvez filtrer la liste des joueurs et le calendrier dans la section privée.
  • Le nom de la personne s’étant branchée la dernière fois est présélectionné dans la page d’accueil.

Comme vous le constatez, nous n’avons pas chômé ce week-end.  Il reste encore beaucoup à faire, mais d’ici là: installez OpenImpro et amusez-vous avec.

Welcome to pierlux.com

October 6th, 2008 | No Comments | Posted in Technologie

As of now, squidy.info will cease to be used for pierlux.com! All links to squidy.info will be redirected toward pierlux.com with HTTP code 301, meaning that your browsers and applications should update the URL on their own.  Sorry if this made my posts bump on some planets.

I decided to change my domain name to better reflect my on-line personality and because quite frankly, squidy.info was hard to spell.  More over, some of the letters in squidy sound the same over the phone.  While I will have to spell pierlux when giving my email, it should be less difficult.

By the way, here is my new email address: pierre-luc@pierlux.com.

squidy.info should remain in back-up for the next 5 years.

Spending some time in Cambridge

September 25th, 2008 | No Comments | Posted in Gnome, Voyages

Cambridge

I am currently having a nice week working remotely from the Collabora’s Cambridge office.  They are enjoying a vast and cozy work place (compared to Montréal’s office), which makes me jealous.  Never the less, things should improve in the next months. :)  Cambridge is really nice, I am a big fans of pedestrian only cities.

Marco's cooking

Last night, we had dinner at Guillaume, Géraldine, Will and Sjoerd’s.  Marco was the actual cook.  We had wine, camembert, salame sotto grasso, salame d’asino, bread and Risotto flans (pictured above).  Quite a nice evening.

So far, life in Cambridge seems really nice but I’ll have to devote a post to English oddities.

Frequent flyer

September 24th, 2008 | No Comments | Posted in Voyages

It is quite easy to find out if you are a frequent flyer.

  1. You wonder if the movie selection will have been updated because you already have seen all the movies from your previous flights;
    • Just to find out that you also saw the new selection at home…
  2. You know exactly what to remove and how to speed up security checks*
  3. You have flown with 4 different carrier, some more than once.
    • And you obviously know which one have the best (Air France) and the worst (Air Transat) food.
  4. Flying 5,5 hours to Heatrow seems short.
  5. You arrive just on time at the airport.
  6. And finally, you can recite the security procedures video by heart.

* Speaking of which, they should really make a newbies lane

Update: apparently the past of fly is flown.

Ma première contribution à OpenStreetMap

September 16th, 2008 | 2 Comments | Posted in OpenStreetMap, Technologie

À part rajouter une boîte postale et quelques arrêts de bus à Montréal, je n’avais pas encore contribué en masse à OpenStreetMap.  C’est maintenant résolu: j’ai profité de mon voyage au chalet la fin de semaine dernière pour tracer les rues manquantes sur mon trajet.  J’ai donc ajouté pas loin de 15 rues sur la Côte-de-Beaupré.

J’ai utilisé JOSM car bien que Potlach est bien, c’est une solution en ligne qui selon moi devrait être un dernier recours. JOSM est très rapide et on s’habitue aux raccourcis claviers.  Par contre, j’ai pas encore trouvé comment avoir les images satellites dans JOSM et ça serait apprécié si quelqu’un me disait comment.

J’ai fait les traces avec Maemo Mapper et j’ai simplifié le fichier gpx avec la commande suivante:
gpsbabel -r -i gpx -f ../beaupre.gpx -x simplify,error=0.001k -o gpx -F beaupre.gpx

Il ne reste plus qu’à attendre que les tiles soient regénérées (j’ajouterai un screenshot avant/après)!

Note: ce liens est très utile pour connaître l’orthographe officiel des noms de rues: Commission de toponymie du Québec.

10 days before Maemo Summit 2008

September 9th, 2008 | No Comments | Posted in Technologie, Travel, WebKit

As it has already been pointed out, there are only 10 days left before the opening of Maemo Summit 2008. I’ll be attending this first summit with Marco Barisione, one of my colleagues from Collabora. We’ll both be presenting.

On Saturday September 20th at 15:30 for half an hour, Marco will introduce you to Telepathy, the framework used in the maemo platform for instant messaging and audio/video conferencing.

On Saturday September 20th at 16:30 for half an hour, I will introduce you to WebKit, the open source web engine. I’ll be explaining part of the internals and demonstrate how to use it in your Gtk or Qt application today (therefore this talk is oriented towards Gtk+ and Qt, which are toolkits  you can use to build applications for the maemo platform).

The summit is right after OSiM World, at headquarter of c-base in Berlin, Germany.  I hope to see you in great numbers at both our talks!

Schedule subject to changes, see the official wiki page for times and details.

I see progress

September 8th, 2008 | 2 Comments | Posted in Gnome, Technologie, libchamplain

I’ve been very busy in the last 2 weeks (with my brother’s emergency surgery and the work), but I did manage to work on libchamplain and code new features.

I finally fixed the limited zoom bug I had (it did take me more than one try!). There were some glitches with small zoom levels (where the map was smaller than the window), but these are history.  I also had to patch clutter-gtk (see bug #1114) to generate [the missing] scroll events to have mouse wheel zooming.

Different map sources are now available. You currently have 3 sources built-in: OpenStreetMap Mapnik, OpenArialMap and Maps For Free Relief.  You can change the map source at run time!  I’ve attempted to write support for other non free sources but their usage terms prevents their use, so I stopped.

Markers (pins on the map) were planned for 0.3, but I figured they were so important that I wrote them earlier. ChamplainMarkers are nothing more than ClutterActors placed at the right position on the map. You are free to draw anything (or load an image) as a marker. I also created a default marker for simple text markers. In the first screenshot, all markers are different because I wanted to demonstrate the parameters you can change (text, font, marker color and font color).  Markers can even be translucient!

Little fixes to the installed files, small animations and complete doc are also in. I think it is now usable in a real-life application. That is why I wrote EOG Map plugin (a very good idea of vuntz).

It is is a plugin for Eye of Gnome that adds a sidebar that displays the geolocation of the image on a map. I even toyed with the champlain API and created an annoying but yet cool throbbing marker.

I’d like to thank the people who helped me put this together. Their early reviews, comments and their help were key to keep me progressing when I was actually growing out gray hair on problems (like getting gtk-doc working).

Now, could your app benefit from a map? Think about it :)  In the mean time, someone wants to package it?

Introducing libchamplain

August 22nd, 2008 | 2 Comments | Posted in , Gnome, libchamplain

I was planning to announce this on Monday, after a week-end to clean things up, but since another widget with similar features have been announced today, I think I should announce mine as well!

So libchamplain is a Gtk+ widget that aims to display rasterized maps (OpenStreetMap, Google Maps and others) using Clutter to have nice animations.  It is in a workable state (only zooming is limited for now, and that’s what I was planning to iron out this week-end).  See the web site for detailed feature and planned features.

You can grab the LGPLed code on gitorious.  Comments, reviews and patches/branches are welcome :)

Update: I created a screencast to demo it, but we can’t really see the nice animations here.  How do we do a nice screencast of a Clutter based app?

Update: I pushed the missing marshal file, thanks bpeel.