Yves Junqueira’s blog

Fixed my first bug in C++. PROFIT!


I’m still trying to learn C++ by fixing bugs. Well, the bug I wanted to fix in Ekiga had already being solved upstream (should I be happy or sad?), but I had fun trying to debug it anyway. Luckily I found another one to fix today. After 1h30m playing around with gdb and adding debug messages everywhere, I fixed a bug in Gnote where preferences were not being set unless you restarted the program.…
Read more ⟶

Having fun while trying to learn C++


I’ve been trying to learn C++ lately. I read a few chapters of a few books, but I got tired of just reading so now I am trying to fix bugs in free software out there. The first step was to install Ubuntu on the Macbook Pro that I use. Second step was to find useful software written in C++ that needs small bugs fixing. First I tried to fix a bug in gnote, but I wasn’t persistent enough and the lead developer fixed the bug himself after many days without any update from me.…
Read more ⟶

Being naïve about Python object identities, references and sizes.


I’m ashamed of how naïve and ignorant I stand regarding Python stuff. At least this time, I’ve learned a great lesson about object identities, references and sizes. Hopefully you won’t make the same mistake as I did. Here’s what I wanted to do: write an in-memory simplistic log keeper for my application, that would be used as a poor man’s brute force protection. The details don’t matter much. All this meant is I’d have to keep, say, all the last 10 authentication attempts for all users, for as long as needed, in memory.…
Read more ⟶