article header image

Spent three days this week at JFokus so I thought I’d share my views a bit. To be honest the conference was a bit on the lighter side and I think in hindsight I did a really botched job selecting sessions. I managed to pick both some very amazing sessions as well as a lot of introductions, sales pitches or things I already knew.

article header image

One of the most common perceptions of windows is that it is a PUI (PARC User interface) oriented operation system. In other words the mouse is required to do everything. This is in many places true but fortunately Microsoft has recently changed this and incorporated the keyboard more and more into what was previously a mouse only domain. With Vista and Windows 7 a whole range of new keyboard shortcuts emerged and slapping on some third-party tools on top of that and we get a full-fledged keyboard experience.

article header image

This is a tutorial for how to embed python correctly inside a multi threaded program. Python is a very neat language which is very easy to embed inside C++ thanks to the boost::python library. But there are some crucial parts which is missing from boost:python in regards to how to manage GIL and thread state which I introduce here. Since this is my first C++ tutorial I will include boost:thread as well as a quick hello world application as well.

article header image

Is it possible to summarizing two years of Apoteket with a handful of music tracks?

Music has always been an important influence to me. I tend to emote strongly by listening to music. Unfortunately emotions are not, for me, really in the public domain so I will probably never share that here.

article header image

Ptja, God jul kanske man borde sagt på julafton egentligen men inte jag då.

Då var det ju tänkt att vi skulle hälsa på min fader men Evelina tycket att vattkoppor lät roligare (det tyckte inte vi). Sen skulle vi ha hälsat på min moder på juldagen men så var det det där med vattkoppor igen…

article header image

Då börjar lego samlingen byggas på igen. ännu är det Duplo som gäller (man måste väl vara minst 3å¨r för att leka med de små bitarna) vilket betyder att det är mer hästar än bitar men man får ta vad man får gissar jag…

Den lilla trösten man har ...

article header image

One of the new features of the up-coming NSClient++ 0.4.0 will be Python scripting support. The main reason for me to include Python script (apart from the coolness factor) is to write unit tests. Writing unit test for a monitoring agent with a C++ unit test kit is pretty difficult but more importantly not very productive. The main feature of an agent is to interact with the system and thus you need to know about the system to be able to test it (or mock the system which is tedious at best).