Funstacktic!

Thu, Feb 23, 2023 | tags: stack dc forth uxn varvara programming

There are some interesting stack-based computing experiences out there. In this post we look at the “uxn” virtual CPU, the “Varvara” computer based on it, the “dc” calculator, SwissMicros and a tiny bit of Forth code.

Read more »

Blinking LEDs with RISC-V assembly

Sat, Aug 31, 2019 | tags: RISC-V programming assembly

Fascinated by RISC-V I ended up buying a Hifive1 Rev B microcontroller board and writing some RISC-V assembly for it.

Read more »

Alternative email handling with mmh and mblaze

Sun, Jun 23, 2019 | tags: email unix mmh mblaze

After having used mutt for several years, I finally decided to play around with alternative MUAs. The ones that are most interesting to me are “mmh” and “mblaze,” two suites of command line tools used for email handling. In this post I describe how my alternative MUA setups look like.

Read more »

Current status of the Wayland text input protocols

Sun, Jul 15, 2018 | tags: Wayland

The Wayland display protocols also include two unstable protocols related to text input called “text-input” and “input-method.” I am interested in how text input is being handled in Wayland so we have a look at the current status of these protocols.

Read more »

Presenting “stasher” at the Zurich Gophers Meetup group

Sun, Feb 26, 2017 | tags: Go programming

I gave a talk about “stasher,” a prototype of a logstash alternative written in Go, at the local Zurich Gophers meetup group.

Read more »

“XML damage control” talk at the third suckless conference

Mon, Sep 26, 2016 | tags: suckless C benchmark

I gave a talk about XML parsing libraries at this year's suckless conference.

Read more »

Starting from Go 1.7, SSA has been introduced into the Go toolchain

Sat, Aug 20, 2016 | tags: Go compiler Japanese

SSA (Static Single Assignment) is now used in the Go toolchain. We look at what this means (this post is a translation of a Japanese blog post).

Read more »

Patching the Linux kernel to get the MadCatz Arcade FightStick TE2 working

Mon, Apr 11, 2016 | tags: C kernel USB drivers

After hearing that Street Fighter V should be released for Linux soon I suddenly was tempted to buy the game. For some reason I also wanted a FightStick to play it with so I bought the MadCatz TE2 FightStick for Xbox One, hoping that the Linux drivers for the Xbox One gamepad would work with it ...

Read more »

gwic, a simple KWIC program written in Go

Thu, Dec 24, 2015 | tags: Go programming

A short description of how I used Go channels to implement a simple KWIC (“KeyWord In Context”) program in Go.

Read more »

Using smatch to statically analyze the Kernel source code

Thu, Apr 9, 2015 | tags: C programming Kernel Linux

The smatch static code analyzer can be used to provide static code analysis for the Linux kernel and other code. Here is how to use it on the Kernel source specifically.

Read more »

Unicode and C

Tue, Jul 15, 2014 | tags: C programming unicode

Have you ever wondered how Unicode and its encodings are handled when programming in C? If you investigated this question before, you will probably have encountered the wchar.h-header which according to the man pages contains functions and types for wide-character handling.

Read more »