Austin Hanson (23)

The Many Iterations of my Smart Home

Austin Hanson Austin Hanson

tl;dr - OpenHab v3, SLZB-06, Proxmox, Dell PowerEdge R730xd Server, various zigbee devices. I've managed some semblance of a smart home for the past 7 years. This began as most things like these do - a toe in the water, then a foot, and then suddenly you've fallen in and…

Bare Metal Zig

Austin Hanson Austin Hanson

Lately I've had a nagging interest in working on a minimal OS again using Zig. To do that, seemingly I need to compile a freestanding Zig binary and then extend it into a Zig kernel capable of being ran by some bootloader.

…

Migrating from Docker for Mac

Austin Hanson Austin Hanson

So you don't want to use Docker for Mac anymore, huh? First, let's install docker and virtualbox. brew install docker docker-machine brew install --cask virtualbox Now let's create a "docker machine" using docker-machine. This wraps around virtualbox to spin up a vm (and probably does other stuff). docker-machine create --driver…

Making a Wi-Fi Smart Fan (Part 1)

Austin Hanson Austin Hanson

A few years ago I started slowly transforming my house into a "Smart House". It started with some friends of ours showing us their smart bulbs and how they could tell Alexa to turn them on and off. I'll admit, I was skeptical of how smart bulbs could be life…

Properties in C++20

Austin Hanson Austin Hanson C/C++

C++ doesn't support getter/setter style properties. But you can get pretty darn close with templates or macros. #include <iostream> #include "properties.h" using namespace std; class User { private: int mId; int mWeight; int mPurse; int mBank; public: // Non-auto property only supporting get (runtime check) Property<int> Id{{ .get = mId…