Waybar Go Suite
LiveWaybar modules written in Go, each a single static binary, running on my own bar.
Overview
Waybar custom modules written in Go, each compiled to a dependency-free static binary: NordVPN status and live TradingView market tickers. They emit Waybar JSON with CSS state classes, cache between polls, and keep showing the last known value when the network drops. Both run on my daily driver bar.
Highlights
- waybar-nordvpn-go: VPN state, country/city, single static binary, no Python/awk
- waybar-tradingview: real-time crypto/stock/forex tickers with Pango color coding
Read about what it's built with
Go 101: A Small Language for Big Systems
Go has very few features, and that's on purpose. Types, slices, interfaces, errors and goroutines: the core of the language in one post, with the reason behind each design choice.
Why Go Rewrites 0644 as 0o644 (and Why chmod Won't Take 'rwx')
I typed 0644, saved, and my editor changed it to 0o644. That lowercase o fixes a kind of bug that is fifty years old, and it also explains why file permissions are numbers and not letters.
From C++ to Go: Demystifying Pointers, Slices, and Errors
Go code looks like C++, but the ideas behind it are different. Three things I had to learn again while building a todo app in Go: errors are values, a slice is a small header that points at the data, and the asterisk does two jobs.
Next project
A Firefox extension that rewrites every price on the web into the currency you actually think in.