A small tip for anyone working on some sort of data visualization. If you have values that lie between 0.0 and 1.0 (or 0% and 100%, or $some_value and $some_other_value), you can use a simple interpolation in the HSV (or HSB) color space to get a nice “traffic light” range of colors from red to [...]
So, i have been trying again to turn my Openmoko FreeRunner into a usable device, despite its uncertain future. One that you can really use to make calls, send/receive SMS, surf the web (over WiFi or GPRS) and do other things you should normally be able to expect from a working smartphone. This is a [...]
I’m currently working on creating a python wrapper for XCF using Boost.Python. During that project i stumbled upon the problem that i was wrapping some classes that used a custom smart pointer (i.e. not one from the boost library). Boost.Python is quite good at wrapping classes using smart pointers, but it has to know some [...]