Blog Posts

Github Actions Runner Docker Container with Android SDK

A couple weeks ago, I was setting up a CI system with instrumented tests to run on Android devices. I have a spare computer at home that I use for these types of things, and wanted to run the github r ...

Android JVM unit tests showing stdout and stderr via gradle

Was debugging some test failures today, and was finding it hard to debug because upon failure only a couple lines of stdout and stderr were included in the test report. Instead wanted to trace throug ...

Wi-Fi Direct on Android has become Annoying

### UI/UX popups Several years ago when I was working on RightMesh, it used to be possbile to startup a Wi-Fi direct hotspot on Android, use the advertising service or bluetooth to share the credentia ...

Livepeer Orchestrator / Transcoder: Infrastructure as Code with Ansible / Terraform

I've recently been experimenting with running a Livepeer orchestrator / transcoder on my newly acquired rtx 3080. I also do ethereum mining on it along with some old spare AMD rx 580 GPUs when I'm not ...

nginx-proxy: file upload limitation

Recently, I've found myself unable to upload images to this blog, and for a while I thought it was some bug in my code as a result of updating some dependencies or something. However, after some debu ...

Android Emulator with Github Actions on Linux

Occasionally, I work on some Android apps and in order to test them, I have a computer connected to a few phones running a self-hosted github runner hooked into the CI on the repositories for these ap ...

Clean shutdown of c++ sockets

At work I was doing some stuff with the libmodbus library: [https://github.com/stephane/libmodbus/](https://github.com/stephane/libmodbus/). This particular part of our codebase is c++. We needed the ...

Automatically Deployable Self-Hosted Github Actions Runner via Docker & Ansible

I often work on Android projects, and find myself wanting to run through tests on real devices. I have a spare computer running Ubuntu 20.04 server and have a bunch of phones attached to it via USB. I ...

Partitioning for RAID in a dual boot environment

Previously, for my developer/gaming rig, I had a setup with one barely functioning 1TB HDD and a small SSD (128GB) or something. I also had a server with another 1TB HDD, a DNS321 with 2x1TB HDD in a ...