I wanted to use Ansible to manage my main development environment at home, with a home directory set up in git.
I couldn't think of a command-line program to increment a counter in a file without race conditions, at least not without some sort of database.
While working on a library for property-based testing in C, I found a trick to making nicer library interfaces in C99: “designated initializers.”
theft is a a C library for property-based testing: It generates input to stress-test code, and can reduce failures detected to minimal failing input.
Finding good test input can be tricky. Even with loads of unit tests, bugs still get through. Why not just generate input and let that find the edge cases?
Publishing status data, over a network, with MQTT and HTTP.