Localised configuration in Vim: localcfg

For quite a while I’ve been using a small Vim plugin that lets me write configuration that is specific to a system, it loaded a config file based on the system’s host name. Unfortunately I can’t seem to find that plugin anywhere now, so I’ve put it in a snippet. This allowed me to easily …

Continue reading ‘Localised configuration in Vim: localcfg’ »


How do professional Windows programmers stand Visual Studio?

I have a new assignment at work and now find myself at yet another Windows shop. They are making embedded systems, but have for some strange reason decided that Windows is the only development platform to use. After only a few weeks here I’m noting a growing irritation with the tools offered for my use. …

Continue reading ‘How do professional Windows programmers stand Visual Studio?’ »


Strachey, referential transparency, Haskell

This is my input into the recent discussion on referential transparency (RT). I’m nowhere near as well versed in the subject as others, but how am I ever to learn anything unless I put my thoughts out there for them to be laughed at and ridiculed? It all started with a post on stackoverflow.com, which …

Continue reading ‘Strachey, referential transparency, Haskell’ »


Compiling boost for Windows, with MinGW on Linux

Just in case you see the utter logic in developing for Windows on Linux In the root of the unpacked Boost: Run ./bootstrap.sh –with-python=$(which python2) –prefix=${HOME}/opt/boost-win –without-icu Modify project-config.jam like this: # file. if ! gcc in [ feature.values ] { – using gcc ; + using gcc : : i486-mingw32-g++ ; } project : …

Continue reading ‘Compiling boost for Windows, with MinGW on Linux’ »


LXDE and multiple screens: replacing lxrandr with a script

When using Gnome3 I was really impressed with the support for multiple screens. Then I switched to LXDE and was very disappointed in that desktop’s support for multiple screens. In fact so disappointed that I sat down and read the man-page for ‘randr’ and hacked up the following script: #! /bin/bash   cmd=$1; shift   …

Continue reading ‘LXDE and multiple screens: replacing lxrandr with a script’ »