0 min read

Light Intensity Tool

This tool can create mappings from perceived light intensity to power levels. I use it all the time for electronics projects, to map from potentiometer position to the PWM value for dimming LEDs.

Fish & Gits

My Fish shell and Git configurations

Code in MarkDown

In this blog post I show how to properly put code in MarkDown-based systems, such as Discord, Blender.Chat, and various forums.

Adding support for ATmega328PB to AVR-GCC and AVRDude

GCC misses support for the ATmega328PB, even though it supports the older ATmega328P. This post explains how to modernise it by adding ATmega328PB support.

Build before Debug in VSCode

For debugging Blender I have set up VSCode such that it builds Blender whenever I start the debugger.

Ten reasons I don't like Visual Studio

For my work I’m using Microsoft Visual Studio 2010 (VS) to write our C++ code. There are so many things wrong with this IDE that I just had to write this post.

Extending Selenium from the client driver

Selenium is a web page testing tool that we use a lot at my work. It can be extended by supplying it with a user-extensions.js file. We’re extending our test application to include support for Selenium Grid.

Multiple instances of QApplication in one process

I’m working on a PyQt 4 application for my employer Chess. Of course I’m writing plenty of unit tests for it as well. Those tests have to be cleanly separated from each other, so every test that requires the entire application to be up and running should have its own instance.

Refusing to continue

I’ve seen this so many times, and thought about writing about it. Today I found some code that is too good an example to let it go. I’m talking about the refusal some people have to using the continue statement.

Python Flickr API 1.2 released

Today I released the Python Flickr API version 1.2. Originally the Python interface was made by Beej, and since it’s seen many an improvement. Here’s what’s new in this version: