BIT-aligned storage

I have been working on a set of efficient C++ classes for storing N-bit (N<=64) values at arbitrary bit offsets into a buffer. Essentially a way to address memory bit-wise, rather than the usual byte-wise or word-wise. The classes support either fixed-sized bitfield storage (eg. say 27-bit values), or compressed values where small numbers are… Continue reading BIT-aligned storage

Installing GCC-4.3.1

I sometimes see even seasoned developers be reluctant to use a different gcc version (ie. to reproduce a potentially compiler-specific issue or just to experiment with new optimisations or features). The reason is a fear of breaking their system by installing multiple compilers, or even by replacing their system compiler with a new one. But… Continue reading Installing GCC-4.3.1

Zepto Znote 6024W laptop

So I got a new laptop, a Zepto Znote 6024W. I got it with 2GB of RAM, a 7200RPM 120GB harddisk, 1440×900 screen, 2.4GHz Intel Core Duo CPU, and Intel Pro/Wireless 4965AGN. First overall impressions are quite good. The good stuff: Everything seems to work out-of-the-box with Ubuntu Hardy. You can customize the configuration when… Continue reading Zepto Znote 6024W laptop

dr.dk tv i Ubuntu Hardy

Her er en hurtig vej til at se dr.dk tv i Ubuntu Hardy (32-bit x86): sudo apt-get remove totem-mozilla sudo apt-get install mozilla-plugin-vlc Så virker de “direkte links” på http://dr.dk/tv/ (det er hvor man kan se Danmarks Radios egne produktioner fra de sidste 30 dage). Tip: dobbelt-klik på billedet giver fuldskærmsvisning. DRs streaming (hvor de… Continue reading dr.dk tv i Ubuntu Hardy