This is my home in the virtual world, where I write about things that I want to share. The freely available software that I've written as well as some of the photographs I've taken over the years can also be found here. Please use the navigation links on the right if you are looking for something.
At work I needed a suitable way to check the calibration of gelcoat spray equipment. Gelcoat requires an initiator (often called “catalyst”) in the form of a peroxide to cure. The peroxide/gelcoat ratio is important, so it is checked regularly by spraying the separate components into suitable containers and …
Today I updated my TeXLive install to 2018. Although the install went fine, there was a problem with the binaries.
Both asymptote and xetex were linked to different versions of some libraries than those that are supplied by ports. So I had to rebuild them.
Some might wonder why …
In this article I will try to document how to with with the FT232H using Python on FreeBSD. I will be using the Adafruit FT232H breakout board.
Note that since I’m using FreeBSD, the library provided by FTDI doesn’t work. However, the library provided by Adafruit was written …
This article details how I used the Plantower PMS5003 particulate matter (“PM”) sensor on a PC or laptop, using an FT232H breakout board to make the connection.
My reasons for buying this device are so that I can measure airborne particulate matter at home and at work. So I …
In this article we will look into the best way to store time-based data and use it with gnuplot.
The first thing to realize is that we should specify a timezone when specifying dates and times (“datetimes”). To prevent calculations, I tend to use datetimes in UTC.
Cut facebook out of your life altogether.
Step 1: delete your facebook account
For me, the first step is easy: I don’t use facebook, and never have. :-)
Here is a guide to delete your facebook account properly.
Step 2: make facebook and its subsidiaries unreachable from your network
Serveral useful recipes for manipulation video with ffmpeg.
Note that a name within angle brancket (like <this>) represents a generic input or output file.
Extracting raw audio
The following recipe extracts the audio from a video file and converts it to WAV format.
ffmpeg -y -hide_banner -i <input> -vn -c …