Recent blog posts
14 June, 2013
Unnamed Namespaces in C++
One less use of the “static” keyword
One less use of the “static” keyword
3 May, 2013
Translating a Fibonacci Sequence Generator to Python
A non-Python Programmer writes Python
A non-Python Programmer writes Python
18 February, 2013
A nice, little known C feature: Static array indices in parameter declarations
Explanation of a little known C feature – and yet another use of the “static” keyword!
Explanation of a little known C feature – and yet another use of the “static” keyword!
11 February, 2013
git tip: avoid committing your password
Avoid committing your password by accident
Avoid committing your password by accident
26 January, 2013
Portland
Wow. I'm suddenly in Portland!
Wow. I'm suddenly in Portland!
18 January, 2013
mkcd
Don't make and enter
Don't make and enter
29 November, 2012
git bisect squared
Using git to bisect the bad commit found with “git bisect”
Using git to bisect the bad commit found with “git bisect”
23 September, 2012
Bio-Plausible vs Bio-Inspired
Essay on bio-plausibility vs bio-inspiration in science
Essay on bio-plausibility vs bio-inspiration in science
29 August, 2012
Purely Functional Data Structures: Random-access List
Implementation of a random-access list with O(1) list primitives and O(lg n) lookup time.
Implementation of a random-access list with O(1) list primitives and O(lg n) lookup time.
24 August, 2012
Programming Praxis: Hash Table With Open Addressing
Hask table with open addressing and deletion
Hask table with open addressing and deletion
23 August, 2012
handlerToIO: use forkIO in Yesod handlers
The newly added handlerToIO function makes it easy to use forkIO and still be able to run GHandler actions
The newly added handlerToIO function makes it easy to use forkIO and still be able to run GHandler actions
31 July, 2012
git 1.7.12 Will Make it Easy to Update First Commit
“git rebase -i --root” allows changing the repo's first commit
“git rebase -i --root” allows changing the repo's first commit
27 July, 2012
Programming Praxis: Min Stack
Stack with O(1) push, pop and min
Stack with O(1) push, pop and min
21 June, 2012
Linux' Git History is Beautiful
The coloured git history of Linux is a thing of beauty
The coloured git history of Linux is a thing of beauty
5 June, 2012
Github Needs a Better Way to “Bookmark” Projects
Suggestions on how to improve Github's notifications
Suggestions on how to improve Github's notifications
21 February, 2012
C/C++ Pointer Declaration Syntax – It makes sense!
C pointer declaration syntax makes sense – kind of
C pointer declaration syntax makes sense – kind of
17 January, 2012
BK-Trees
A cool algorithm for similarity search
A cool algorithm for similarity search
11 October, 2011
Google Summer of Code 2011: A summary
Experiences from being a GSoC mentor
Experiences from being a GSoC mentor
24 September, 2011
Simple Inline Code Highlighting with Vim
Syntax highlighting for inline code in Markdown
Syntax highlighting for inline code in Markdown
25 August, 2011
Vim tip: Highlight Function Names in C Code
Neat Vim trick
Neat Vim trick
24 August, 2011
C Trigraph Trap
How “??/” can lead to disaster
How “??/” can lead to disaster
3 August, 2011
Indonesian pronouns: Saya, Anda, Dia, Kita, Kami, Kalian and Mereka
Image explaining Indonesian pronouns
Image explaining Indonesian pronouns
21 April, 2011
Photo-blogging before “smartphones”
How photo blogging was done in ye olden days
How photo blogging was done in ye olden days
19 January, 2011
Visual block mode for Kate's Vi Mode
Finally, Kate's Vi mode has visual block mode support
Finally, Kate's Vi mode has visual block mode support
19 January, 2011
Solitaire Cipher
Implementation of the Solitaire cipher from "Cryptonomicon"
Implementation of the Solitaire cipher from "Cryptonomicon"
6 January, 2011
Read current X background image to a JPEG file
Ever wanted to dump your current background to a file? No?
Ever wanted to dump your current background to a file? No?
6 November, 2010
Prüfer Sequence – Compact Tree Representation
A clever, compact way of representing trees
A clever, compact way of representing trees
17 October, 2010
Show current vi mode in your zsh prompt
Don't lose track of which vi mode zsh is in
Don't lose track of which vi mode zsh is in
1 October, 2010
Showing grub menu after hibernating in openSUSE
How to show grub menu after when restarting after hibernating openSUSE
How to show grub menu after when restarting after hibernating openSUSE
22 March, 2010
How Neurons do Differentiation
How temporal inhibition can be used to create "neuro calculators"
How temporal inhibition can be used to create "neuro calculators"
20 March, 2010
Game of Life
Where I fix the embarrassing fact of never having written GoL
Where I fix the embarrassing fact of never having written GoL
20 March, 2010
Code Reading as a Team Activity
Could code reading help keep programmers honest?
Could code reading help keep programmers honest?
17 January, 2010
HsUnixCompat.hs on Debian
Solution to the “Missing header file: HsUnixCompat.h” problem
Solution to the “Missing header file: HsUnixCompat.h” problem
9 January, 2010
Winter Sun
The sun over the Trondheim fjord a really cold day.
The sun over the Trondheim fjord a really cold day.
9 January, 2010
Cold Ocean
Photo taken from Råkvåg
Photo taken from Råkvåg
20 December, 2009
December in Trondheim
A dark night in Trondheim
A dark night in Trondheim
17 December, 2009
Sjakk på «Nabon»
Photo of a chess game at the pub Den gode nabo in Trondheim
Photo of a chess game at the pub Den gode nabo in Trondheim
2 November, 2009
Wish: Options for Kate's Indenting Scripts
A wish for easier manipulation of indentation options in Kate
A wish for easier manipulation of indentation options in Kate
26 October, 2009
Kate's Vi Input Mode – What will KDE 4.4 bring?
What is new in the Vi input mode for Kate in KDE 4.4?
What is new in the Vi input mode for Kate in KDE 4.4?
26 July, 2009
Nidelva
A photo of the Nidelva river taken from the old town bridge
A photo of the Nidelva river taken from the old town bridge
8 July, 2009
How Kate got X-rated
Why the name "Kant" didn't stick around...
Why the name "Kant" didn't stick around...
7 May, 2009
Google Calendar Plasmoid, Take Two
An improved version of my Google Calendar plasmoid
An improved version of my Google Calendar plasmoid
5 May, 2009
Google Calendar Plasmoid
A quick python hack
A quick python hack
1 May, 2009
Sjekkliste for hvordan skrive brev/epost på engelsk
Sjekkliste i PDF-format
Sjekkliste i PDF-format
9 March, 2009
Herman Düne
Photo taken at a Herman Düne concert at Samfundet in Trondheim
Photo taken at a Herman Düne concert at Samfundet in Trondheim
29 December, 2008
Tira
I met this dog while hiking during the christmas holiday
I met this dog while hiking during the christmas holiday
23 December, 2008
Breiavatnet
Breivatnet in Stavanger
Breivatnet in Stavanger
24 November, 2008
The Vi input mode for Kate is “done”
The original goals set for Kate's Vi input mode are now completed
The original goals set for Kate's Vi input mode are now completed
21 August, 2008
GSoC is over: The state of Kate's Vi input mode
State of Kate's Vi input mode now that GSoC is over
State of Kate's Vi input mode now that GSoC is over
27 June, 2008
GSoC 2008: Vi input mode for the Kate kpart
I will create a vi input mode for Kate for Google Summer of Code
I will create a vi input mode for Kate for Google Summer of Code