goto epicfailure;

Reflections on hardware, software and the state of the universe.


I'm a software engineer mostly hacking on open source software written in compiled languages. (Read: C!) I'm one of those people who likes fiddling with bits and bytes instead of coming up with abstractions or patterns in the form of AbstractSingletonProxyFactoryBean You'll most likely find me typing into my full-screen terminal. Either in iTerm2 or terminator, using tmux+vim. My preferred shell is zsh using Oh My Zsh for configuration convenience.

I started programming in the '90s using BASIC/Visual Basic and C/C++ on MS-DOS and Windows. I spent my high school years hacking on childish Visual Basic apps before going to a Scandinavian university college to study C/C++, compilers, algorithms and computer science in general.

These days I'm first and foremost a dad for a wonderful litle boy, secondly I try to get some time to hack on computer science related projects, both at work and in in my spare time. You'll find some of my stuff at github obviously.


ESPtool - the magic sflash stub

The open source ESP8266 esptool that’s part of the esp-open-sdk is used as a tool to create a firmware image from elf image/binary. It is also used to flash/program an ESP8266 with this firmware image. In addition you can do the opposite, download a firmware image.


ESP8266 is a wonderful little piece of hardware I stumbled over some months ago. It has gotten a lot of attention since some time back in 2014. Mainly because it is an incredible cheap WiFi module (less than $2 these days). It’s not until recently I’ve had some time to actually look into it. Personally I like to know how things work from bottom up, so that means digging down into electronics and the firmware/software you can either use out of the box or build/construct yourself for ESP8266.

Contributing to Radare2

You might wonder; What’s Radare or Radare2? Well, head over to and check it out. Basically it is a reverse engineering tool for static software anlysis. You can also use it for debugging I guess, but my main use of it will be reverse engineering binary blobs by disassembling machine code to understand how it works.

Moving over to github pages

It’s weird. A year ago or so I thought using wordpress would be easy and simple enough to actually write something quite often. It turns out I was wrong. First of all I don’t like wordpress for it’s technology. It’s PHP! :P And uses a database (MySQL). Second, it is pain to use. Log in, use a WYSIWYG editor and publish through the browser. Changing wordpress, extending or touching it apart from installing plugins seems tedious and waste of time. Even just hunting for the proper plugins is waste of time if you ask me. So…