During preparation and presentation of a Lightning Talk about my BOOST_WITH Macro at the C++Now 2015 Conference, three important issues showed need for being addressed:

  1. The if statement solution with an unused (and useless) condition variable leads to compiler warnings. This is a noteworthy fail, since compiler warnings were part of my motivation for developing the macro in the first place!
  2. You could write code like
    BOOST_WITH(whatever) {} // if(true) {}
    else foo();

    – which is clearly not desirable.

  3. An alternative implementation, using a single-pass for loop suffers a similar problem – you could break and continue in a BOOST_WITH block.

The Macro clearly had to be revisited…

Continue reading

Python style ‘with’ in C++

I have developed a simple macro that enables Python style ‘with’ in C++.

This being said, I feel the urgent need for a short foreword…

  • Yes. ITS_A_MACRO. If you’re already tempted to email me about how bad an idea macros are, go ahead. I can take it. Naturally, I would prefer this to be part of the language.
  • This is not about enabling Python style programming in C++, but about bringing in a nice concept from another language. Think about it: Python is very similar to C++ with respect to resource ownership and management (RAII).

The motivation are familiar bugs like these:

Continue reading

fische 4 user guide

There’s a notorious lack of documentation when it comes to running fische. I know that, and this is an attempt to improve.

This is going to be very Linux-specific, as I have close to no knowledge of Windows, and only some of OS-X. I would very much appreciate contributions of people who know.

Continue reading

fishBMC merged into XBMC

fishBMC has been merged into XBMC and will be part of the next major release for Linux and OS-X. Any download links you may still find on this page are probably outdated. If you would like to see fishBMC in action, you can use a prerelease version of XBMC 13 “Gotham”.

Who got the balls?

I just have to publicly state my complete disappointment with international politicians.

Please, could one – just one – country in this world have enough balls and grant asylum to a whistle-blower who is faced with unjust prosecution in his home country – by the way, a country where murder is a routine form of punishment?

Maybe if I told you this man made an invaluable contribution to maintaining freedom and privacy word-wide?



I recently purchased a NETGEAR ReadyNAS Duo for my small home network. Having made the experience that NETGEAR make very good hardware with not-so-good firmware and virtually nonexistent and useless documentation, I had done some prior research and had found out the ReadyNAS is essentially a debian Linux box. Since I also wanted to use the box as a print server, I had also looked for and found a hardware compatibility list that included my printer.

My expectations were met. Continue reading