Using Dnsmasq for VM testing

Today I was trying a new configuration option for Gitlab and I wanted to make sure I did not make any mistakes before trying the site live. Therefore I decided to deploy the configuration in a virtual machine and then copy it on the live server.

»

Using GCC's Stack Smashing Protector on microcontrollers

Writing your code in C means manual memory management means a lot of bug types: Double free, use after free, stack overflow, etc. Those bugs can be especially hard to debug because they will cause erratic behavior but might not trigger an error condition immediately.

»

10/10, will do again

Last weekend I took part in the global game jam chapter organized in my home town. For those who don’t know the concepts of a game jam, it is a type of events where team gathers to make a game in 48h. The global in the name means that it simultaneously takes place all over the world, both remotely and with physical gatherings.

»

32nd Chaos Communication Congress

I am currently in the airport waiting for my plane to go back from Hamburg, where I attended the 32nd Chaos Communication Congress (32C3 for short). I decided to write a list of all the talks I watched and add a short personal commentary. As I am doing this immediately after please excuse the brievity of some commentaries.

»

Rust bare metal on ARM microcontroller

Recently at the CVRA we decided to rewrite one important external library writen in C++. We wanted to rewrite in C, but since Rust recently hit beta I wanted to see if it was feasible to use it for our application. To do this, I decided to write a little demo application using Rust on a Texas Instruments Tiva Launchpad dev board.

»

Using BusBlaster v3/v4 on OSX

I recently got myself a Macbook Pro as my main laptop. The migration was fine except for one thing: My Dangerous Prototype BusBlaster (3rd generation) was not usable. Since a friend’s 2nd generation one was working flawlessly, I supposed there must be a way to do it.

»

Running Github's Hubot as Upstart job

In this post I just want to explain how to run Github’s Hubot automatically using Ubuntu.

»

Installing Let's chat on Ubuntu 12.04

Recently we started using IRC to communicate between colleagues. IRC was fine, except that the user experience isn’t so good compared to modern chat clients. You lack notifications, inline images and it is not specially user friendly. A nice alternative targeting entreprises was Campfire, but sadly it is a closed source product. I forgot about it for a while, then stumbled upon Let’s chat, which is described by its authors as

»

Interacting with EPFL's Tequila in Python

The Swiss Federal Instituts for Technology (EPFL) uses a centralized login system for all its web application, called Tequila. Since I sometimes write webscrapers for some school services (with the help of @gcmalloc), I created a simple python package to handle authentification.

»

Solving the Monty Hall problem with Python

Recently someone on IRC brought up the Monty Hall paradox, and said the conclusion of this was that the probabilities were not always right. I wanted to show that it was in fact a cognitive bias of our brain, and since the formal proof was not enough, I decided to test it in a little computer experiment.

»