I do not want to date you

A friend of mine is going through a divorce, and for some reason this has caused a lot of her male friends to start hitting on her. After the fifth facebook-post about this, and how she most definitely do not want people to hit on her or suggest they should date, I wrote this song for her. I doubt it will help in any way, but still: Continue Reading »

Nicklas Disputationssång

Hade den äran att vara toastmaster tillsammans med Skyman på vår vän Nicklas disputationsfest, och skrev då den här sången, som på ett korrekt och ärofyllt sätt beskriver hur det kan vara att vara doktorand i kemi. Nicklas hade återkommande problem med en ugn under hela sin doktorandtid, och det tog jag fasta på:

Melodi: Kungssången


Ur ugnens djup tar Nicklas ut
En liten olikformig strut
Helt fylld med något bös
Han väger den på alla sätt
Och märker att den är för lätt
”Här måste någonting gått snett;
Jag måste köra om!”


Han dyker bakom ugnen ner
Då plötsligt Nicklas felet ser:
En slang har sprungit läck!
Han svär och river i sitt hår
Sen rådigt ner till vaktis går
Och hämtar tejp ifrån en lår
Och lagar slangen snabbt.


Vid ugnens lucka vankar han
Som bara Nicklas vanka kan
Båd’ sömn och mat glöms bort.
Och varje modelejon ser
Att tålamod och skor slits ner
Snart orkar Nicklas inte mer
Han somnar där han står.


Han vaknar, ser att nå’nting hänt
För ugnens lucka står på glänt.
Med fasa ser han in.
”Vid alla djävlars vassa spjut!”
Han skriker fly förbannad ut
För labtomten har vält hans strut,
Och allt har blivit gas.


Den ugn som länge var hans vän
Den vilar nu i himmelen
För Nicklas gick bärsärk.
Han köpte sig en stor harpun
La’ an, och räkna’ till tju’sju,
Sen sköt han ugnen mitt itu
Och skratta som besatt.


När ugnen dra’tt sin sista vals
Då får man inga data alls:
Vad ska man göra då?
Nå, Nicklas skiner som en prins,
Han rådet från KEM01 minns:
Det är ju därför slumptal finns!
Och det går lika bra!

Please Stop Donald

The melody of this song is “Waiting for Margret to Go” by Chumbawamba, which can be found here: Link


The sun rises up o’er a country once great

Where blue, white, and red stands for greed, faith and hate

A second-rate state with designs to be best

And one man has dreams that are worse than the rest


The breadth of his knowledge is mainly a gap

Can’t find his arse on a high-detail map

Armed with his prejudice charging the field

To people like Donald his ignorance’s a shield


Not very different from people you know

Waiting for Donald to go

With God on your side you must give ‘em a show

Waiting for Donald to go

Oh, waiting for Donald to go


Launched a ridiculous birther attack

Can’t stand the fact that the president’s black

Hates the Hispanics because of their race

Thinks people of colour should stay in their place


Look with suspicion on those you should love

Waiting for Donald to go

Gladly obeying dictates from above

Waiting for Donald to go

Oh, waiting for Donald to go


Happily pouring more oil on the fire

His “War on the Other” will never expire

For empathy’s nothing to those who are strong

Showing that even the rich can be wrong


Snitch on the muslims when Islam’s a crime

Waiting for Donald to go

The new Middle Ages – a horrible time

Waiting for Donald to go

Oh, waiting for Donald to go


The sun slowly sets on a country once great

The dream still is dreamt, but the hour is late

Eight years of fascism with Donald on top

“Loving thy neighbor” has come to a stop


If he wins, back to the 40s we go

Please stop Donald from having a go

If he wins, back to the 40s we go

Please stop Donald from having a go

Please stop Donald from having a go



I just checked whether the star system I named for a kickstarter board game ever got in, and yes it did! Continue Reading »

So, I finished the 3d tech-demo nicknamed “Brandmateriel” nearly a year ago now, but for various reasons (mostly work related) neglected to post it. A screencast of the demo is shown below.

Red aircraft flying over landscape with huts and firing indiscriminately before escaping up into a star-field.

Screencapture of my tech-demo. Yay! (CC: BY-NC-SA-2.5-SE)

As always with these tech projects you learn a lot, and as is often the case you land somewhere with enough new ideas that you would rather start over than take it forward. All in all though I’m very happy with it: the controls are smooth, I like the looks and the particle effects, and from a technical perspective I really like how the shadow turned out in the end (‘cos in my primitive renderer that was a major head-ache!). The stuff I would improve are mostly to do with the lighting model. My model is too general for what I use it for, and I could possibly save a few million trigonometric calculations per second if I used that. The demo runs smoothly in up to 800×600 (actually, resolution isn’t much of an issue in this kind of renderer: it is mostly limited by polygon count, but I’ve limited the screencast to the lowest resolution to conserve bandwidth), but if I were to add more (and more complex) models in order to make an actual game out of it, I expect that this would be an issue before long.

To try the demo four yourself, it’s easiest to go to clone the repository. Since Gitorious is closing down (though it’s staying up as a museum of sorts) I’ve migrated it to GitLab. If I decide to work on it, I will probably do it there, or maybe I’ll move development to GitHub. Whichever way, since I consider the project finished enough both of these repositories should be equally up to date for the foreseeable future.



For more on my inspiration for this endeavour (and for a really inspiringh and awesome talk about the technical challenges of early realtime 3d and how it was overcome), see this great Classic Game Post-Mortem from GDC 2011 by none other than Elite’s and Zarch’s own David Braben!

As you may know, I love audio plays as a storytelling format. I have the good fortune of being acquainted with the magnificent Dirk Maggs, who is a real champion of audio plays, and has produced more than you can shake a stick at. Some high-lights include the tertiary through quintessential phases of Douglas Adams’ The Hitchhiker’s Guide to the Galaxy, adaptations of Adams’ Dirk Gently books, several DC superhero stories, a very entertaining UK version of the events in the film Independence Day (appropriate, since ID is a remake of War of the Worlds by H.G. Wells, a story of great importance to audio play-history), and a an adaptation of Stephen Baxter‘s touching story of a mission to Mars; Voyage.

Last year, Maggs cooperated with Neil Gaiman to bring Gaiman’s Neverwhere to BBC Radio 4. Neverwhere actually started at the BBC, as mini-series on television, but in my opinion (and despite good performances by among others Peter Capaldi in the TV-version) the radioplay is much, much better. Apparently the collaboration was a success, and this year the two teamed up with Gaiman’s co-author Terry Pratchett, to work on a radio adaptation of their joint work Good Omens (which, by the way, I have a signed Swedish edition of!). All right, we’re getting there… To commemorate this, artist and cartoonist Ray Frisen drew a portrait of the production team as cartoon characters, which I thought prompted the need for a comic about the production. Two months (?) later I got around to making it. Hope you like it!

Dirk Maggs in Work Gently

A comic about the production of Gaiman’s and Pratchett’s Good Omens for BBC Radio 4. Characters based on designs by Ray Frisen.


A 42-cube, which reads 42 from three directions, a project I have wanted to realise for fifteen years, but until recently I thought it was impossible. Then I realised that given appropriate rotations combined with an appropriate font, it could be done.

This quick mockup was made using NumPy, SciPy and Mayavi. Ultimately, I would like to have it in physical form, but there remains some tweaking for that to be feasible.

Rotating 42 cube.

Rotating 42-cube.

Continue Reading »