You are here

therning.org/magnus

therning.org/magnus
Checked: 1 hour 42 min ago
Updated: 7 years 2 days ago
Update every: 2 hours

Incoherent mumblings
Subscribe to therning.org/magnus

Moving to Hakyll

therning.org/magnus - Tue, 23/09/2014 - 8:58pm
I’ve not written much here lately. Partly it’s because I’ve been busy, but mostly I just find the whole experience of logging in and writing in a crappy editor (i.e. it’s not Vim) is starting to be so irritating that I don’t want to write. So in an attempt to rekindle my will to write, ...Continue reading ‘Moving to Hakyll’ »

More Visitor (in Python)

therning.org/magnus - Wed, 11/06/2014 - 9:07pm
Right after writing the previous post on the Visitor pattern in Python I picked up another paper on the same topic, Visitor Combination and Traversal Control. Of course this one also used Java for its examples, so once again I decided to use Python to explore the ideas presented. The first part of the paper ...Continue reading ‘More Visitor (in Python)’ »

Dealing with Microsoft Products, or Battling Loss of Gumption

therning.org/magnus - Tue, 03/06/2014 - 8:37pm
I was slightly frustrated and irritated with a situation at work today, which caused me to think about the word “gumption” as it’s used in Pirsig’s Zen and the Art of Motorcycle Maintenance. That led me to Wikipedia’s article on gumption trap which in turn led me to learn about the concept of learned helplessness. ...Continue reading ‘Dealing with Microsoft Products, or Battling Loss of Gumption’ »

Visitor and Walkabout (in Python)

therning.org/magnus - Sat, 24/05/2014 - 10:19pm
A couple of weeks ago I found a link to a stackoverflow question I’d saved away a long time ago. I’d saved it due to having asked myself the exact same question and being curious about the papers when I found that answer. Over the last few weeks I’ve made my way through those papers ...Continue reading ‘Visitor and Walkabout (in Python)’ »

Localised configuration in Vim: localcfg

therning.org/magnus - Fri, 07/02/2014 - 8:00pm
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’ »

Phabricator on ArchLinux

therning.org/magnus - Tue, 24/12/2013 - 11:57pm
At work we’ve been using Trac for quite a while now, but it’s always interesting to look at other options. When listening to a recent episode of git Minutes on Blender’s move to using git I heard of Phabricator for the first time. There are good instructions for how to install it on Ubuntu, but ...Continue reading ‘Phabricator on ArchLinux’ »

How do professional Windows programmers stand Visual Studio?

therning.org/magnus - Mon, 18/11/2013 - 4:00pm
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?’ »

TCLAP for command line argument parsing in C++

therning.org/magnus - Sun, 13/10/2013 - 9:02am
A long while ago I was looking for a way to handle command line arguments in a C++ program I was writing for Windows. At the time I only found Boost.Program_options. After a bit of experimenting I found that the pre-built Boost libs I found back then had some issues and after a bit of ...Continue reading ‘TCLAP for command line argument parsing in C++’ »

Eclipse and greyed out #ifdef sections

therning.org/magnus - Thu, 09/08/2012 - 9:30am
A note to the future me: Are your #ifdef sections greyed out despite switching to a profile where the macro is set? Read this bug comment!

Strachey, referential transparency, Haskell

therning.org/magnus - Sun, 05/08/2012 - 4:22am
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 [...]

Compiling boost for Windows, with MinGW on Linux

therning.org/magnus - Wed, 25/07/2012 - 7:37pm
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 : [...]

Qt state machines and automatic timed transitions

therning.org/magnus - Wed, 27/06/2012 - 9:49pm
In the interest of full disclosure: this post is related to what I do for a living, development of and for embedded systems. I work for Semcon, but they don’t make me wear a suit and tie so these are my words, and mine alone. A bit of background info In a recent project we [...]

Manual setup of Qt+Eclipse on Windows

therning.org/magnus - Mon, 09/04/2012 - 8:24pm
Before the weekend I started looking at using Qt on Windows. More specifically I wanted to know whether this combination could be an option for a sub-project at work. We need to develop a program for the Windows desktop, and due to the overall context it would make sense to write it in C++ (that’s [...]

LXDE and multiple screens: replacing lxrandr with a script

therning.org/magnus - Sun, 11/03/2012 - 9:01am
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   [...]

0MQ and Haskell

therning.org/magnus - Tue, 06/03/2012 - 3:26pm
Ever since I heard the FLOSS weekly episode on 0MQ I’ve been looking for a reason to take a look at it. Well, to hell with reason, I’ll have a first look without any specific goal in mind. I found a simple introduction to it in Nicholas Piël’s post ZeroMQ an introduction. The only issue [...]

Shelltestrunner to the rescue

therning.org/magnus - Tue, 28/02/2012 - 3:03pm
A little while ago shelltestrunner was announced on haskell-cafe. At the time I was slowly losing hope on ever getting decent test coverage in cblrepo using HUnit. Using something like shelltestrunner could be an easier and more workable solution, especially since what cblrepo needed most in the short term is a bit of integration testing. [...]

Compiling U-Boot for use in QEMU (VersatilePB)

therning.org/magnus - Thu, 12/01/2012 - 1:40pm
Since I’m now working a bit with embedded systems I thought I’d take a look at compiling for one of the ARM-based machines that QEMU supports. I settled for VersatilePB after finding this old-ish article. Rather optimistically I thought that maybe, just maybe things had change in a year and that the limitation of flash [...]

Adjusting to Sweden with XKB

therning.org/magnus - Mon, 26/12/2011 - 8:12am
Having lived outside of Sweden for about a decade I’ve grown accustomed to non-Swedish keyboard layouts, first the US (as it’s widely used in The Netherlands) and later on the UK layout. Moving back to Sweden had me swearing over the layout used here within only a few days. The placement of “{[]}” is especially [...]

LXDE and xmonad

therning.org/magnus - Thu, 08/12/2011 - 9:48am
A few days ago I create the page on LXDE and Xmonad on the Xmonad area of the Haskell Wiki. It’s very short, mainly due to it being very simple to set it up. My config is a bit bare-bones at the moment though and I’m sure others have more to contribute. And yes! This [...]

Twitter Weekly Updates for 2011-07-17

therning.org/magnus - Sun, 17/07/2011 - 10:59pm
Has just been calmed down by OnOff's support. #onoff #bankruptcy #

Twitter Weekly Updates for 2011-07-17

therning.org/magnus - Sun, 17/07/2011 - 10:59pm
Has just been calmed down by OnOff's support. #onoff #bankruptcy #

Twitter Weekly Updates for 2011-07-17

therning.org/magnus - Sun, 17/07/2011 - 10:59pm
Has just been calmed down by OnOff's support. #onoff #bankruptcy #

Twitter Weekly Updates for 2011-07-17

therning.org/magnus - Sun, 17/07/2011 - 10:59pm
Has just been calmed down by OnOff's support. #onoff #bankruptcy #

Twitter Weekly Updates for 2011-07-11

therning.org/magnus - Sun, 10/07/2011 - 10:59pm
Underbart i #gp idag: Filmer och böcker skall ha ordentliga slut. Annars har någon inte gjort sitt jobb. # När "alternativ medicin" har bevisats fungera, så kan vi helt enkelt kallat den "medicin". #svtdebatt # När en typ av "alternativ medicin" har bevisats fungera, så kan vi helt enkelt kalla den "medicin". #debatt # Google+ [...]

Twitter Weekly Updates for 2011-07-11

therning.org/magnus - Sun, 10/07/2011 - 10:59pm
Underbart i #gp idag: Filmer och böcker skall ha ordentliga slut. Annars har någon inte gjort sitt jobb. # När "alternativ medicin" har bevisats fungera, så kan vi helt enkelt kallat den "medicin". #svtdebatt # När en typ av "alternativ medicin" har bevisats fungera, så kan vi helt enkelt kalla den "medicin". #debatt # Google+ [...]

Pages

Subscribe to therning.org/magnus