Sticky Bits » Vulnerabilities in C : When integers go bad!

October 25, 2014


Sticky Bits posted a lesson on C integers that explains the common pitfalls (and some uncommon ones) of arithmetic operations. It contains information that any C developer should know but that is often overlooked, and that might be the cause of many bugs that can result in misbehaviour or security issues. I think it’s written in […]

Posted in: Software

Using a buzzer with Arduino in pure C

October 15, 2014


Arduino UNO connected to KEPO buzzer

Since one of my most viewed posts is Programming Arduino Uno in pure C, I wanted to write other posts about common Arduino functionalities implemented in C instead of the default language. This post is part of a series about programming Arduino applications in C, using a Debian computer with avr-gcc compiler. This time I’m using a buzzer […]

Posted in: Hardware

Fake Dawn app updated, and thoughts about Android API backward compatibility

October 12, 2014


Fake Dawn feature image

Some time ago I wrote an Android app called Fake Dawn, mainly to learn about the basics of Java development on Android, and also to implement something that I can use everyday: an alarm that wakes you up gently by gradually increasing the volume and the light in a customizable way. I collected the things […]

Posted in: Software

Eric S. Raymond: Time, Clock, and Calendar Programming In C

October 9, 2014


esr (of The Cathedral & the Bazaar fame) has just written a comprehensive guide on the many functions, structures and styles for dealing with time in C, mostly for UNIX, Linux and POSIX operating systems. It’s especially direct in marking obsolete functionalities, stuff that shouldn’t be used, pitfalls and recommendations. I’m sure he struggled with these APIs […]

Posted in: Software

Google announces Android One

September 15, 2014


The Nexus products are meant to be the flagship of Android smartphones and tablets, implemented at the state of the art, powerful enough to display all the latest features and efficient enough to have a decent battery life. Android One aims to be the smartphone of the masses, much like Nokia GSM phones were at the […]

Posted in: Hardware

Debian jessie XFCE hang on login [solved]

September 7, 2014



Today I had a nasty surprise when turning on my computer: when I tried to login, it hanged while closing the login screen, and my desktop didn’t appear. So I started troubleshooting. Using Ctrl-Alt-F1 I tried to login from text console, and it worked. From there, I was able to run a desktop session with […]

Posted in: Software

A story of Gmail war on spam, and plans for end-to-end encrypted mail

September 6, 2014


Mike Hearn is a security expert that worked on prevention of spam and abuse at Google, and on Bitcoin-related systems. He wrote a rich but clear mail that gives a good perspective on the effort that email providers must pay to be able to fight spam effectively: Modern anti-spam and E2E crypto (via The essay […]

Posted in: Security

Get every new post delivered to your Inbox.

Join 498 other followers