Home Atom Json RSS

Reference

A collection of articles on various topics that interest me. Written mostly in order to document my own solutions to problems, and published in the hope that they may help others save some time.

2015

Hooking into the Windows Message Queue in UE4

I recently came across several community projects that try to process Windows messages by hacking the Engine’s message loop, but there is a better way. Earlier this year I added the IWindowsMessageHandler API, which does not require any Engine code changes and keeps your plug-in self-contained.

~ Read

Install ArchLinux on BeagleBone Black

The installation of ArchLinux on ARM based embedded devices is well documented online, but I always forget the extra and optional steps that are assumed to be known.

~ Read

ArchLinux iSCSI on BeagleBone Black

I recently hooked up a BeagleBone Black to an iSCSI target on a Synology NAS. The iscsi_tcp module is not being built in the legacy kernel by default. Newer versions of the kernel include it as a loadable module.

~ Read

ArchLinux Internet Connection Sharing on BeagleBone Black

I have a BeagleBone Black connected directly to my desktop PC for development and testing. Occasionally, I need the BBB to connect to the internet, for example to download updated packages. This post describes how I am sharing the internet connection between the two computers.

~ Read

ArchLinux AX88179 on BeagleBone Black

Last time I checked there was no built-in support for AX88179 chipsets in the ArchLinux kernel for BeagleBone Black yet. As these chips are now being used more widely in USB 3.0 adapters for gigabit ethernet, this post describes how to install the kernel driver manually.

~ Read

ArchLinux Kernel Compilation on BeagleBone Black

I recently had to modify and recompile the kernels on my BBB’s. Cross-compilation is well documented on the internet, but what if you want to compile directly on the device? Here are the steps.

~ Read

Restoring KDE Multiple Monitor Display Settings

When running multiple monitors on KDE, the current display settings may not be restored after reboot. Replacing xrandrmonitor with kscreen is one easy way to work around this.

~ Read

25 Absolutely Stunning ArchVis Projects in UE4

A selection of architectural visualization projects released by UE4 users in the recent months.

~ Read

2011

SonicWall TZ 210: Access Public Server from within LAN and DMZ

This article describes how to setup a loop-back NAT policy that allows firewalled computers to access a server using the server’s public IP address or FQDN.

~ Read

Implementing the abs() Function in Plain C/C++

This article describes how to calculate the absolute value of an integer without using any built-in functions in C or C++. The problem is based on an interview question that I used to ask candidates every once in a while, and it was not so much about coming up with an algorithm, but rather about understanding why the proposed algorithm works.

~ Read