mardi 12 avril 2016

Lettre ouverte au Sénateur Hervé Maurey (sur le port obligatoire du casque)

Le sénateur Hervé Maurey a introduit une proposition de loi pour rendre le port du casque obligatoire pour tout le monde.
Le texte de la proposition de loi :

Bonjour Monsieur le Sénateur,

Pour me présenter : Je suis cycliste.  Je fais environ 70km par semaine pour me rendre au travail, et j'ai fait plusieurs milliers de kilomètres de voyages de cyclotourisme en France et ailleurs: Dunkerque-Hendaye, Paris-Bordeaux, Brest-Mont Saint Michel, Paris-Londres, Angers-Nantes...

Des études [1] ont montré qu'augmenter le nombre de cyclistes est la meilleure façon de réduire les accidents.  Vous pouvez prendre Amsterdam comme exemple. 

Lors de mes trajets et voyages en vélo, parfois je porte un casque, mais souvent je n'en porte pas, car c'est une contrainte. Mais la décision, bonne ou mauvaise, m'appartient.  Je m'identifie comme "pro-choix" : je crois au "droit de la femme de disposer de son propre corps", mais pas seulement pour les femmes, et pas seulement pour l'avortement : le droit des femmes et hommes de prendre les décisions concernant leur santé, leur nutrition, et leur corps.  Pour que chacun soit le maître de son propre corps.

Je serai très déçue et frustrée si l'état décide de prendre une approche "autoritaire" pour tenter (très probablement sans succès selon les informations et études qu'on a) de réduire le nombre d'accidents des cyclistes.  Ne punissions pas les cyclistes.  Laissons nos policiers se concentrer sur des problèmes et infractions plus urgents plutôt que de passer leur temps à donner des amendes aux cyclistes. 

Encourageons le cyclisme, ainsi augmentant le nombre de cyclistes et donc améliorant leur sécurité !

Merci de votre temps,

[1] Une étude en particulier mentionnée dans des articles traitant de la proposition de loi du Sénateur :

vendredi 7 août 2015

Republican presidential candidate debate speaking times - August 6, 2015

A couple of years ago, when meetings at work were dragging on, I created an Android app to track the time each team member was speaking: Scrum Chatter.  In a nutshell, "Scrum" is a buzzword name of an approach to manage software projects, and part of this approach involves having a status meeting every day with all the team members.  I'm not an agile buzzword expert ("agile" itself is a buzzword), but I declare that if this definition is technically incorrect in any way, it doesn't matter squat for the purpose of this post.  I'm just giving some context here for the non-technical audience.

These daily status meetings should last around fifteen minutes, but at that period, sometimes they would last 20 or 30 minutes, with team members treating the simple status meeting as a forum to describe in great detail the technical or other challenges they were facing.  I developed this app to objectively determine, in a fun way, who were the worst offenders of verbosity.

Note that the Scrum Chatter app does not do automatic speech detection, and requires manually tapping on play/stop buttons when team members speak.

Today, I applied the app to a slightly different use case: tracking the time spoken by each of the candidates on the Fox News Republican presidential candidate debate on August 6.

The results, in minutes per candidate, are:
Donald Trump: 10:20
Jeb Bush: 08:34
John Kasich: 06:40
Ben Carson: 06:39
Mike Huckabee: 06:36
Ted Cruz: 06:34
Marco Rubio: 06:17
Chris Christie: 06:00
Scott Walker: 05:46
Rand Paul: 05:04

I like charts, so here's the same information in a pretty visual format:
The caricatures in this image come from user DonkeyHotey on Flickr: , licensed under Creative Commons BY-SA.

Unfortunately the Scrum Chatter app does not generate these pretty graphs.  It does export the data to Excel format, which allows manually creating pretty graphs in your spreadsheet application of choice.  Implementing graph generation directly from the app has been on my "TODO" list for over two years.  Yeah, I don't think I'm ever really going "TODO" it.  However, since this enhancement request was the first enhancement request I ever received on any of my personal projects on GitHub, I keep it open for nostalgia.

This is how the debate looks like a meeting, inside the app:

When I look at this screen shot, I wonder what it would be like to work on a scrum software project with developers like Jeb Bush.  How harsh would Chris Christie be in his code reviews? What kind of crazy comments would Donald Trump slip in the code?  I'll bet Ben Carson could implement some excellent optimizations.

This is what happens when I write a blog post at 3:30 in the morning.

Returning back to the purpose of this post: As in the 2012 Republican primary debates, which I followed on my blog here, we see a speaking disparity here, with Donald Trump getting over twice as much time as Rand Paul to talk.

If I'm motivated, perhaps I'll watch the subsequent debates and track the progression of the speaking duration per candidate, over time.

vendredi 15 mai 2015

La Loire à vélo : Day 5 : Clisson to Nantes

Today we recruited a couple of friends from Clisson to join us in the last leg of our bike tour, a 30km ride from Clisson to Nantes. It was nice to be cycling in a small group for a change.

We saw a flying saucer on the road, at La Haie-Fouassière. Technically, though, it was a parked saucer, not a flying saucer. The driver of this saucer looks like an Earthling astronaut though, and he is holding a cookie typical of the region. Several interpretations are possible, one of which is "this is your tax euros at work".

Nantes is in the Loire-Atlantique department, in the Pays de la Loire region, but there are references to Bretagne (the neighboring region) everywhere: souvenirs, restaurants, building and tramway stop names, signs in Breton... After the ten minutes I've just spent trying to inform myself on this matter, I can say that the separation (or possible future reunification rather) of Loire-Atlantique from Bretagne has been a subject of debate for decades. In 1956, Loire-Atlantique was separated administratively from Bretagne, even though historically they were associated for hundreds of years. In recent months, the French government has been "redesigning" the organization of the regions in France. Apparently the people in Bretagne and Loire-Atlantique were mostly in favor of reunification, but it looks like it won't happen after all. To understand why is left as an exercise for the reader. 

For dinner, we wandered about the streets of Nantes, hesitating between all the choices of restaurants. Finally we saw a sign that said "No bullshit, just burgers." If this restaurant is targeting American tourists  they are doing a good job, because that is where we ate. 

Below is a photo I forgot to include from the castle in Yseron: an extremely friendly and adorable dog greeted us and couldn't get enough of our affection.

Tomorrow we'll bid farewell to the Loire and say hello again to the Seine. 

jeudi 14 mai 2015

La Loire à vélo: Day 4: Yseron to Clisson

Today we only cycled 14 km from Yseron to Clisson. This is the path:

Before heading out on the road, we had a little chat with the owner of the castle we stayed at. He detected a "slight accent" and asked where we were from. I'm used to hearing this, but this time he said that Benoit also had an accent. I guess he's been hanging around me too long :-) The castle owner mentioned that he used to work in California, on the high speed train project. Maybe one day it will become a reality :-)

We expected heavy rains, but fortunately only had a few drops. We spent the day visiting with some friends: playing board games and geocaching.  We found 10 geocaches today, which is the most we've ever found in one day. Geocaching is definitely easier with a  four person team than with just two people.

mercredi 13 mai 2015

La Loire à vélo : Day 3: Ancenis to Yseron

Today we probably cycled the least out of all the days on this tour so far, but it was the most tiring day. We said goodbye to the Loire river (for now) and headed south. We stopped to visit a zoo at La Boissière du Doré, where we spent the whole afternoon. Then we cycled over to Yseron, near Vallet, where we are spending the night in a castle. The roads were hilly, and there was a bit of traffic, but the weather was perfect. The path we took is here:

For dinner, we walked about 4 or 5 km to a pizzeria in Vallet, the closest city with restaurants. We found two geocaches on the route to the restaurant.

Tomorrow should be a nice and easy day: less than 15 km of riding planned,though the weather calls for rain!

mardi 12 mai 2015

La Loire à vélo : Day 2 : Saint Germain des Prés to Ancenis

Today we cycled from Saint Germain des Prés to Ancenis, stopping at Saint-Florent-le-Vieil. We had a delicious roasted chicken for lunch. I keep forgetting to take pictures of the food...

At Saint Florent, we tried to find a few Geocaches. If you don't know about Geocaching, it's a game in which people hide small boxes in miscellaneous public places, and publish the coordinates of the hidden boxes on a website. Geocachers try to find these boxes, and sign their names in tiny logbooks which are inside the boxes.

We only found one of the three we attempted. Yesterday, at Montjean, we also attempted to find a couple of Geocaches. We found both, but one of them was too high to reach to open to sign the logbook. We nevertheless marked it as "found" on the website, only to immediately receive a message from the owner of that cache saying we needed to mark it as "not found" since we didn't sign the logbook. Some people take this hobby way too seriously. On a previous trip to Amboise, we ran into a group of Geocachers who were in "speed"  mode, trying to find as many caches as possible, as quickly as possible, comparing their records (how many total caches found) with us.

There's not much else to say about today's trip: the weather was a bit cooler, but still pretty sunny. Tomorrow, we'll leave the Loire river and head south to Vallet. There is a zoo along the way: maybe we will visit it.

lundi 11 mai 2015

La Loire à vélo : Day 1: Angers to Saint Germain des Prés

Once again faced with an obligation to take some days off (vive la France), I decided to take a small tour of part of the Loire river. This time, I'm not alone! Benoit decided to join me.  The tour is from Angers to Nantes, mostly following the Loire river, but with a deviation to Clisson, where we will visit some friends.
Sunday morning we took our bikes and ourselves to Angers, by train. It wasn't a cycling day though: we spent the day visiting the city of Angers, mostly the castle. The weather was beautiful - even on the hot side.

Today, we cycled from Angers to Saint Germain des Prés, just over 30km. This is a popular route for cyclists, and there are signs indicating the cycle route, the whole way.

Part of the road was a bit rough, the road covered by small rocks. A mountain bike wouldn't have any problem. However, our bikes are hybrids (vtc in French) - with tire thickness between mountain bike and racing bike tire widths. We made it through those parts of the route without getting any flats, but I'm not sure a road bike would handle the terrain well.

My bike has, for each brake, a tiny screw near the brake barrel adjuster and the brake lever. As you screw it in, the brake lever closes. I guess the purpose is to have the brake levers closer to the handlebars to minimize the reach required by your fingers, to brake.  At some point, I'm guessing due to the vibrations on the rough road, this screw, on the rear brake side, managed to screw itself all the way in, thus leaving my brake lever practically completely closed and my rear brakes always on. The fix is of course simple : simply take the Allen key of the correct size and unscrew (or remove completely) this (useless) screw. Unfortunately, I didn't have the right size Allen key. I had two other keys, but not that one (thanks, Murphy). One of the two keys I had allowed me to find a workaround, though: I loosened the cable clamp bolt (near the brake pads), then loosened the cable which allowed me to separate the pads from the rim a tiny bit, and tightened the bolt again. It was good enough.

Just after this quick adjustment, we went to a park to have lunch. A couple of cyclists there had all the imaginable tools you might need, and they were kind enough to lend me the right Allen key so I could do the proper fix. They were on a Nantes - Angers - Nantes tour. I guess if you're ever going to need some help from fellow cyclists in France, the Loire route is one of the best places to be. We also met a Danish couple at the Angers hotel who were on tour. I don't know where they had been already, but they were heading to Paris.

This tour has gotten off to a good start: beautiful weather, nice roads (except for the little bumpy part), mostly flat route, no wind, almost no traffic at all, and beautiful scenery.