Hello! 馃憢

From Flask to C and Kore via a Rust OOM

I wanted the Bunzee Labs website to use less RAM. The Flask application worked, but its Gunicorn processes felt expensive for what the site did. I wanted one application executable, a maintainable codebase, and one deployment command. Builds had to work on 4 GB machines. This sounded like a small migration. LOL. The Rust detour Rust with Axum looked attractive: native performance, memory safety, and an executable to deploy. We ported the site. ...

November 16, 2026 路 5 min 路 980 words 路 Dhiru Kholia

Omnesta: A Smart Home App Under 256 KiB

The eWeLink app would log my wife out when I logged in from my phone. Let that sink in. Two people living in the same house, wanting to operate the same switches. My logging in would make her app stop working. For our use, this was 100% unusable. The apps were slow to use too. Opening an app, waiting for it to become useful, finding the device, and finally operating a switch felt like far too much ceremony. Walking over to the physical switch was becoming a competitive option. ...

November 16, 2026 路 8 min 路 1610 words 路 Dhiru Kholia

Streaming My Own Music, Like an Animal

Amazon Music, Apple Music, Spotify, YouTube Music. Across the services I tried, there was always something: missing content, music unavailable in my country, or playback trouble. Amazon Music's interface was absolutely horrid; I found it unusable. Apple Music would stutter on my Android phones often enough to become deeply annoying. Eventually, I quit streaming services for my primary listening. Paying for convenience had become an oddly demanding hobby. I installed gonic on my Mac Mini M4, specifically for its folder view. Apparently, wanting to browse music in the folders I put it in is now a specialised requirement. ...

November 11, 2026 路 2 min 路 224 words 路 Dhiru Kholia

ADS-B decoding under 1W and US$25

My new ADS-B decoding system consumes less than 1W and costs under US$25. It runs standalone, handling everything from reception to feeding adsb.lol. The hardware: RP2350 (Pico 2) + W5500 for Ethernet + Core2021-HF 'LoRa' module + NEO-7M. The Core2021-HF is a LoRa module that also handles ADS-B demodulation entirely in hardware. The NEO-7M is a u-blox GPS module. Power and data travel over a single Cat 6 cable, using an Adafruit passive PoE injector and extractor. ...

November 9, 2026 路 1 min 路 172 words 路 Dhiru Kholia

Using pi-sbx microVM sandboxes without nested virtualization

pi-sbx keeps Pi on the host and runs its built-in shell and filesystem tools inside a Docker SBX microVM. Workspace changes remain visible on the host. PVM (Pagetable-based Virtual Machine) lets us run these microVMs inside an x86_64 Linux VM without exposed VMX/SVM or nested virtualization. It still provides the /dev/kvm interface used by SBX. First, install and boot the PVM host kernel from Porting PVM to Linux 7.2, including its pti=off boot setting. You also need an SBX-compatible PVM guest kernel, saved as vmlinux below. ...

October 28, 2026 路 2 min 路 283 words 路 Dhiru Kholia

Mains Power Detection, Minus the Mains

I wanted an ESP8266 to answer a simple question: Is mains power available? The ESP8266 was willing to help, provided nobody introduced it to 230 V. An ordinary isolated 5 V wall adapter already gives us a useful signal: its DC output disappears when its mains supply disappears. We can watch that output and leave the mains side inside the adapter, where it belongs. Two resistors make the voltage suitable for the development board's ADC. The slightly less obvious requirement is keeping the observer alive when the thing being observed switches off. ...

October 24, 2026 路 5 min 路 955 words 路 Dhiru Kholia

A reasonable '5G hotspot' option for remote work

At the same physical location, these were my results: Setup Speed TP-Link TL-MR100 4G router 8 Mbps Phone with an Airtel SIM, in 4G mode 10 Mbps Same phone and Airtel SIM, in 5G mode 100 Mbps That makes a 5G phone a reasonable hotspot for remote work where I am. For prolonged plugged-in use, my key requirement was bypass charging: powering the phone directly from the charger to reduce battery cycling and heat, helping battery and device longevity. ...

October 15, 2026 路 1 min 路 178 words 路 Dhiru Kholia

A repeatable and sensible Dual-WAN Failover setup

In my previous Dual-WAN failover article, I moved from a TP-Link ER605 (slowest device ever) to a MikroTik hEX S. That setup worked, but it also sent me down the usual rabbit hole of buying increasingly specialised router hardware for a problem which does not actually need it. Repeatable infrastructure should depend on open networking standards and replaceable commodity hardware, not a particular router model, vendor GUI, or temporarily available development board. ...

September 12, 2026 路 19 min 路 3823 words 路 Dhiru Kholia

The easiest and best WSPR + FT8 decoder?

Could a serious WSPR station need only one small program and one memorable command? I built this especially for my friend Brad, K1TE. We both believe in practical P2P, point-to-point radio contacts, and we are working toward making them reliable across the breadth of planet Earth. airspyhf-wsprd is a dedicated receiver for the Airspy HF+ Discovery. It tunes, aligns to the WSPR boundary, decodes, reports to WSPRnet, and repeats: ./airspyhf-wsprd -b 20m -c VU3CER -g MK68xm No dial-frequency memorization, GUI, virtual audio cable, or Fortran runtime. ...

August 22, 2026 路 4 min 路 647 words 路 Dhiru Kholia

Scalable Class-D RF PA architecture for HF

Related work Baby QRO Switching RF amplifier for HF Digitally Adjustable RF PA Supply A new generation of the Baby-QRO switching amplifier targets 10 W to 500W+ of RF output for FT8 and other FSK modes. Design This design comes from AI7SG - thank you! Previous Next 聽 聽 / [pdf] View the PDF file here. Note: We can shift to the much faster TI LMG1210 driver and EPC GaN FETs once their availability improves! ...

August 18, 2026 路 1 min 路 186 words 路 Dhiru Kholia