Matthew Bubb

Systems engineer building offline OpenXML compilers, Cloudflare edge tools, and PowerShell automation that fixes the things I got sick of doing by hand.

ECMA-376 OpenXML
Native WinUI 3 compiler generating vector DrawingML & OMML math
Cloudflare Workers & D1
Serverless edge databases for live fuel telemetry & RF relays
Windows Autopilot & Intune
Session 0 watchdogs, OOBE hash harvesters, Graph automation
PowerShell & C# SIMD
Vectorized pipeline filtering & multi-pass fleet updates
Live Compiler • Looking Glass Engine Explore →

FuelAhead: Edge Fuel Intelligence

Built for Australian motorists and motorcycle riders who want real pocket maths instead of servo marketing.

FuelAhead app icon

Solving the Detour Maths

Every fuel app shows you the cheapest sign in five kilometres without telling you how much petrol you burn getting there. Driving six kilometres out of your way to chase two cents off a litre on a small fill leaves you behind before you even pull up to the bowser, and E10's lower energy density quietly cancels out the discount on the signboard anyway.

FuelAhead pulls live NSW, ACT, Tasmania, QLD, SA, and WA FuelWatch feeds (7,100+ stations and 23,000+ live prices) onto Cloudflare Workers + D1. It tracks stations strictly ahead in a 90° cone or locked onto the main road you are actually riding on, runs a 30-day Fill-or-Wait price cycle forecast, and speaks the next cheap servo into your AirPods or Cardo helmet intercom once you pass 15 km/h.

Launch fuelahead.com.au Android APK Download Detour Maths
FuelAhead NSW, ACT, and Tasmania fuel intelligence showcase graphic
Live Multi-State Ingestion • Apple CarPlay & Android Auto fuelahead.com.au →
Live Fuel Detour Calculator

Compare a cheaper servo further away against the petrol burned getting there. Try live Australian prices at fuelahead.com.au.

55 Litres
10 L120 L
209.9 c/L
150.9 c/L260.9 c/L
189.9 c/L
150.9 c/L260.9 c/L
4.0 km
0.5 km25 km
8.5 L/100km
4.0 L/100km18.0 L/100km
Worth the detour
Discount Servo Signboard 20.0 c/L cheaper
189 9 c/L
After detour burn 191.1 c/L eff.
Savings kept vs drive cost 6% eaten by drive
Gross savings on fill $11.00
Fuel burned (0.34 L) -$0.65
Break-even max detour 67.9 km
E10 false-economy cap 183.3 c/L
Net cash in pocket
for a 55 L fill
+$10.35

MarkSmith: Zero-Corruption Compiler

A native WinUI 3 offline compiler in C# and .NET 8 that compiles Markdown and AI chats directly into Word vector shapes and OMML equations.

Fighting Word's XML Parser

Every commercial converter cuts corners. Pandoc converts Mermaid flowcharts into blurry 96 DPI PNGs you cannot edit, and naive HTML-to-Word tools drop namespaces or hardcode rId1/rId2 until Word throws "The file is corrupted and cannot be opened."

I built MarkSmith to speak strict ECMA-376 OpenXML. ShapeForge translates Mermaid diagrams directly into native DrawingML vector groups (<wpg:wgp>) you can click and drag inside Word, while LaTeX compiles to native Office Math (<m:oMath>) with literal xml:space="preserve" whitespace intact.

Open MarkSmith Deep Dive Download Sample DOCX GitHub Repository
Side-by-side comparison: Pandoc rasterized diagram versus MarkSmith native DrawingML shapes
Visual Diff • Pandoc Rasterized vs MarkSmith Native Vector Audit Table →

Engineering Field Notes

Working notes, wrong turns, and architectural fixes written down straight after shipping.

OpenXML & WinUI 3 • 6 min read

OpenXML Compiler Over Pandoc

Pasting AI research out of chat windows into Word is miserable: broken tables, raster PNG flowcharts that turn to mush in print, and HTML dumps that trip Word's recovery dialog. Here is what went into streaming real DrawingML shapes, custom SAX writers, and dynamic relationships without touching COM automation.

Read Full Post-Mortem →
// Dynamic rId registration + native DrawingML group
var rel = mainPart.AddExternalRelationship(HyperlinkType, uri);
using var w = OpenXmlWriter.Create(mainPart);
w.WriteStartElement(new Wpg.WordprocessingGroup());
// Preserves <m:t xml:space="preserve"> inside OMML math runs
FuelAhead Android Auto night-mode car dashboard map showing live fuel price pins
Open Data Policy & In-Car Engineering • 8 min read
Australia's Broken Servo Data (Especially Victoria) & Why Fuel Apps Skip Android Auto and CarPlay

Auditing all eight Australian fuel feeds (WA's open 2:30 PM price lock vs Victoria's 24-hour-delayed public API), plus why ad-funded fuel apps ignore CarPlay and Android Auto while FuelAhead ships native car screens.

Read Note →
Live FuelAhead multi-state desktop view showing Parramatta NSW fuel prices and Fill-or-Wait forecast
SQLite Internals & Edge Scaling • 7 min read
Cutting Cloudflare D1 Reads 100x with EXPLAIN QUERY PLAN and CROSS JOIN

Why SQLite skipped my spatial index across 7,133 stations, chunking 1 MiB blobs past SQLITE_TOOBIG, and migrating live onto fuelahead.com.au.

Read Note →
MarkSmith compiled Markdown pipe table rendering inline math, nested lists, Warning and Tip alert blocks inside cells
AST Compilers & Visual Regression • 6 min read
Breaking CommonMark's Inline-Only Table Ceiling in Native Word OOXML

Recovering alerts and nested lists inside Word table cells without promoting raw syntax examples, plus unbraced LaTeX atoms, \top symbols, and shrinking vector PDFs from 4.1 MB to 145 KB.

Read Note →
AutopilotCommandHub 7-stage enterprise preflight diagnostic ladder running asynchronously
Windows Internals & WPF Concurrency • 7 min read
Zero-Freeze WPF in PowerShell OOBE: Lock-Free RunspacePools & Hybrid Telemetry

Running WMI hash harvesters, Windows Update COM searches, and 7-stage OOBE preflight checks over ConcurrentQueue + 30ms DispatcherTimer ticks with tracked NIC recovery.

Read Note →
FuelAhead mobile compass radar highlighting stations in driving path
Cloudflare D1 & Fuel Maths • 6 min read
FuelAhead: Why "Cheapest Servo Nearby" Is Usually a Maths Trap

Variable polling across six Australian state feeds, ditching compass cones for main-road matching, catching E10 false economy, and piping cheap stops into a motorbike intercom.

Read Note →
Smart Garage Controller Cloudflare D1 analytics drawer with hourly distribution and Siri breakdown
Edge IoT & RF Hardware • 6 min read
Running My Garage Door on Cloudflare D1 (And Catching My Own Auth Bug)

Wiring the missing 4th hardware fingerprint factor, keyset pagination + 4s live delta feeds for 92% Siri opens, non-blocking webhooks, and triple-burst 433MHz CarPlay triggers.

Read Note →
WingetIntune Win32 packaging pipeline diagram
Intune & Windows Session 0 • 7 min read
Session 0 Isolation: Where Intune Win32 Packages Go to Die

Chasing the 8-hour 0x87D1041C timeout under SYSTEM, polling the _MSIExecute mutex around error 1618, escaping 32-bit WOW64 registry traps, and chunked Azure Block Blob uploads.

Read Note →
FindObject SIMD benchmark comparison chart
PowerShell & C# SIMD • 5 min read
Stop Using Where-Object on Big Pipelines (344x Faster in C# SIMD)

Replacing scriptblock reflection with hardware-accelerated String.IndexOf() and early cancellation, plus sneaking an ASCII cowboy shootout into OOBE terminals.

Read Note →
Product Cleanup • 4 min read
How My 1,904-Tool OSINT Start Page Got Too Busy for Daily Use

What happens when you cram 101 OSINT modules and cyber radars onto one new-tab page, and how splitting Basic and Advanced modes fixed what I actually use every morning.

Read Note →

Open-Source Tooling & Systems

Public PowerShell modules, WinUI 3 apps, and edge utilities published under thebubbsy on GitHub.

Repository Stack What It Actually Does Quick Command Link
WPF / PowerShell Standalone Windows Autopilot OOBE provisioning & endpoint deployment hub (WinUI 3 Fluent Dark UI). irm https://onyachamp.com/autopilot | iex GitHub →
PowerShell / Spectre Batch winget installs, update monitoring, GitHub release discovery, and 30-day cached package lists. Install-Module WingetBatch GitHub →
Cloudflare Pages Tactical OSINT Command Hub (1,904+ tools, 101 modules, Australian intel & cyber radar, Basic/Advanced modes). git clone thebubbsy/bubbsy-start-page GitHub →
PowerShell Autonomous multi-pass Windows Update & driver cascade engine with reboot state persistence. irm https://onyachamp.com/cascade | iex GitHub →
IntuneShared Kernel
PowerShell 7+ Shared HTTP transport, resilient Microsoft Graph REST client, and token provider kernel across my endpoint tools. Install-Module IntuneShared GitHub →
LocalPilot Offline
PowerShell Zero-cloud workstation provisioning, Machine-as-Code recipes, hardware birth certificates, and local self-healing. git clone thebubbsy/LocalPilot GitHub →
PSGalleryBatch Gallery
PowerShell / Spectre Batch search, install, and update PowerShell Gallery modules with Spectre Console UI or Out-GridView fallback. Install-Module PSGalleryBatch GitHub →
Chrome / Edge JS Browser extension for cloning DOM elements cleanly with auto-scroll and computed style freezing. git clone universal-element-cloner GitHub →
MarkSmith Registry Plugin registry, authoring specification, and starter templates for extending MarkSmith compilation passes. git clone thebubbsy/marksmith-plugins GitHub →

Engineering Consulting

Available for systems architecture, compiler consulting, and high-scale Intune automation projects.

Buy Me a Coffee (@mbubbtechz) FuelAhead.com.au GitHub (@thebubbsy) PowerShell Gallery (bubbsy) Follow @TheBubbsy