| 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.

Bienvenue sur pierlux.com

October 6th, 2008 | No Comments | Posted in Général, Maemo, Technologie, Voyages

À partir d’aujourd’hui, exit squidy.info, bienvenue sur pierlux.com!  Tous les liens pointant vers squidy.info seront redirigés vers pierlux.com avec un code HTTP 301, vos navigateur devraient donc mettre à jour vos signets automatiquement.  Désolé pour les planet où mes billets se sont vu republiés à cause de ce changement.

J’ai décidé de changer de nom de domaine car il doit exister plus d’une dizaine de manière d’écrire squidy en français, je devais donc l’épeler à chaque fois.  Comble de malheur, plusieurs de ces lettres se ressemblent lorsque dites au téléphone.  Bref, je crois que pierlux sera plus agréable et surtout plus près de mon identité virtuelle.

Sachez que mon adresse de courriel a également changée pour pierre-luc@pierlux.com.

squidy.info devrait tout de même fonctionner pour les 5 prochaines années.

Quelques jours à Cambridge

September 25th, 2008 | No Comments | Posted in Langue, Maemo, Voyages

Cambridge

Je travaille présentement au bureau de Cambridge. Ils ont vraiment un beau bureau et une belle ambiance (comparé au bureau de Montréal). Mais bon, les choses devraient changer dans les mois à venir pour nous aussi. :) Cambridge est vraiment une belle petite ville, j’aime beaucoup son aspect piétonier.

Marco's cooking

Hier soir, on est tous allé souper chez Guillaume, Géraldine, Will et Sjoerd. Marco était le chef. On a but du vin, camembert, salame sotto grasso, salame d’asino, une baguette et des Risotto flans (image ci-dessus). Une bien belle soirée. Jusqu’à date, la vie à Cambridge semble très agréable, mais je vais devoir consacrer un billet de ce blog aux étrangetées anglaises à coup sûr!

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, Voyages, 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, Technologie, 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.

Tux Droid

August 22nd, 2008 | No Comments | Posted in Technologie

Un collègue m’a pointé vers ce vidéo qui démontre les capacité du Tux Droid :) Bon, il y a quelques jours, je suis tombé sur le site de Pleo (qui est tout de même plus articulé), mais il faut se rappeler que les objectifs des deux projets sont différents! Est-ce que Pleo lit vos courriels? :)