Welcome, web wanderer!
My name is Linus Åkesson, though some of you may know me as lft.
I live in
Read more about me.
This combined homepage, blog and file archive is bilingual.
If you don't understand Swedish, you may wish to trim the site down a bit by un-checking the corresponding box near the top of the page.
This is my contribution to the 6th
Underhanded C Contest. The results were announced yesterday, and I
was pleased to find that my solution was among the few mentioned explicitly on
the result page. Before you check out the official results, you might
want to study my code below, and see if you can spot the covert
behaviour. Read more.
Posted Wednesday 1-Oct-2014 11:11, 1 comment.
Coders who use vim a
lot may be familiar with an irritating race condition that appears on some
systems: You save the source code, suspend vim using ^Z, and then immediately
start typing a command (such as "make"), and sometimes the first few
characters of the command are lost. The obvious workaround is to always wait
for the shell prompt after typing ^Z, but this gets annoying after a while. I
decided to dig deeper and see if I could find a quick fix. Read more.
Posted Wednesday 18-Dec-2013 15:29, 7 comments.
Zeugma is a modern, highly optimised, open-source Z-machine implementation for
processor family. It is designed around a virtual memory model, where pages are
retrieved on demand from an external storage resource, 512 KB in size,
which must be preloaded with the game file. Read more.
Posted Thursday 22-Aug-2013 23:14, 18 comments.
Spindle is an integrated linking, loading and crunching
solution for C64 trackmos.
By hiding the details of the storage model, it allows the demo coder to focus
on effects, transitions and flow. Read more.
Posted Tuesday 7-May-2013 20:57, 3 comments.