Fun with lock elision

 code

How… interesting. An open source program (ogg123) has been crashing repeatedly on my new laptop. The source code hasn’t changed in years. The stacktrace always points to __lll_unlock_

How to corrupt data with close()

 code

In a busy multithreaded program that opens and closes files a lot, it's surprisingly easy for a minor C mistake to cause data corruption. For example: // returns 0 on success

The Brigadier

 cocktails

The Brigadier is a very simple way to make hot chocolate interesting: Large mug of hot chocolate 1/2 oz Cherry Heering 1/2 oz green Chartreuse It's pretty much

Quick and dirty versus disciplined

 code

I used to follow the Linux kernel mailing list more closely, and one of the things you notice on that list is that people are not shy about being a