Posts by Tags

aggregation

ai

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot

15 minute read

Published:

How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.

ai-agents

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

ai-engineering

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

ai-tools

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

Tuning the Jump Arc: Platformer Physics, Recovered and Designed

8 minute read

Published:

A jump arc is just a handful of numbers, but they’re the numbers that decide whether a platformer feels right. One game got its numbers from a 20-year-old design decision I never wrote down; the other got them by decompiling a Spine skeleton and an obfuscated state machine.

Level Design at Scale: Atlases, Tile Catalogs, and 356 Decompiled Scenes

7 minute read

Published:

55 hand-authored levels and 356 decompiled scenes are two completely different level-design problems. One needed documentation that could never drift from the shipped JSON; the other needed a map from a marketing-facing level number to a buried binary scene ID.

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

Giving NPCs a Brain: Enemy Design and Reverse-Engineered Actor Rules

8 minute read

Published:

One game’s enemies follow a rule I wrote down myself: jump on top to defeat, touch the side and it hurts. The other game’s 316 actor resources follow rules nobody wrote down for me — they had to be pulled out of an obfuscated rule VM, action by numbered action.

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

alloy

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

android

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

Tuning the Jump Arc: Platformer Physics, Recovered and Designed

8 minute read

Published:

A jump arc is just a handful of numbers, but they’re the numbers that decide whether a platformer feels right. One game got its numbers from a 20-year-old design decision I never wrote down; the other got them by decompiling a Spine skeleton and an obfuscated state machine.

Level Design at Scale: Atlases, Tile Catalogs, and 356 Decompiled Scenes

7 minute read

Published:

55 hand-authored levels and 356 decompiled scenes are two completely different level-design problems. One needed documentation that could never drift from the shipped JSON; the other needed a map from a marketing-facing level number to a buried binary scene ID.

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

Giving NPCs a Brain: Enemy Design and Reverse-Engineered Actor Rules

8 minute read

Published:

One game’s enemies follow a rule I wrote down myself: jump on top to defeat, touch the side and it hurts. The other game’s 316 actor resources follow rules nobody wrote down for me — they had to be pulled out of an obfuscated rule VM, action by numbered action.

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

arbitrage

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Discovery Service: Triangular Arbitrage Support and Production Insights

15 minute read

Published:

Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.

architecture

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing

23 minute read

Published:

Pool Discovery Service undergoes major refactoring after discovering critical liquidity calculation bugs. Architecture simplified to focus solely on discovery, comprehensive test suite validates 716 unique pools across 13 DEXes, and extensive token pair support beyond LST tokens. Production metrics confirm improvements with proper liquidity tracking and accurate pool counting.

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

Pool Discovery Service: Triangular Arbitrage Support and Production Insights

15 minute read

Published:

Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

The Research Behind the Plan: Two Years and Three Prototypes

16 minute read

Published:

Five years of Solana development and three working trading prototypes inform the production system. This post provides context on that research journey, the lessons learned, and why the challenge itself is valuable regardless of outcome.

automation

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

azure

career

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

china

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

christmas

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

claude-code

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

Tuning the Jump Arc: Platformer Physics, Recovered and Designed

8 minute read

Published:

A jump arc is just a handful of numbers, but they’re the numbers that decide whether a platformer feels right. One game got its numbers from a 20-year-old design decision I never wrote down; the other got them by decompiling a Spine skeleton and an obfuscated state machine.

Level Design at Scale: Atlases, Tile Catalogs, and 356 Decompiled Scenes

7 minute read

Published:

55 hand-authored levels and 356 decompiled scenes are two completely different level-design problems. One needed documentation that could never drift from the shipped JSON; the other needed a map from a marketing-facing level number to a buried binary scene ID.

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

Giving NPCs a Brain: Enemy Design and Reverse-Engineered Actor Rules

8 minute read

Published:

One game’s enemies follow a rule I wrote down myself: jump on top to defeat, touch the side and it hurts. The other game’s 316 actor resources follow rules nobody wrote down for me — they had to be pulled out of an obfuscated rule VM, action by numbered action.

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

clean-architecture

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

confidence-scoring

cost-optimization

cpp

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

data

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

design-patterns

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

devops

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot

15 minute read

Published:

How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.

dex

dlmm

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

docker-compose

documentation

event-driven

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

faith

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

family

Old Water Chestnuts

8 minute read

Published:

Remembering my father’s final six months: the small goodbyes, the long journey home, and the water chestnuts he saved for me every year.

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

flatbuffers

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

game-development

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

Tuning the Jump Arc: Platformer Physics, Recovered and Designed

8 minute read

Published:

A jump arc is just a handful of numbers, but they’re the numbers that decide whether a platformer feels right. One game got its numbers from a 20-year-old design decision I never wrote down; the other got them by decompiling a Spine skeleton and an obfuscated state machine.

Level Design at Scale: Atlases, Tile Catalogs, and 356 Decompiled Scenes

7 minute read

Published:

55 hand-authored levels and 356 decompiled scenes are two completely different level-design problems. One needed documentation that could never drift from the shipped JSON; the other needed a map from a marketing-facing level number to a buried binary scene ID.

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

Giving NPCs a Brain: Enemy Design and Reverse-Engineered Actor Rules

8 minute read

Published:

One game’s enemies follow a rule I wrote down myself: jump on top to defeat, touch the side and it hurts. The other game’s 316 actor resources follow rules nobody wrote down for me — they had to be pulled out of an obfuscated rule VM, action by numbered action.

github-copilot

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

go

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

golang

grafana

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

Pool Discovery Service: Triangular Arbitrage Support and Production Insights

15 minute read

Published:

Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

grief

Old Water Chestnuts

8 minute read

Published:

Remembering my father’s final six months: the small goodbyes, the long journey home, and the water chestnuts he saved for me every year.

grpc

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

hft

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

high-frequency

high-frequency-trading

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

infrastructure

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot

15 minute read

Published:

How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.

Day’s Work: System Initializer Rename, LST Oracle Support, and Market Events

10 minute read

Published:

Three major improvements today: renamed event-preparer to system-initializer to reflect expanded capabilities, added production-grade LST token support with oracle price feeds and deviation detection, and implemented market event publishing for real-time trading data distribution.

ipc

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

jaeger

java

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

Tuning the Jump Arc: Platformer Physics, Recovered and Designed

8 minute read

Published:

A jump arc is just a handful of numbers, but they’re the numbers that decide whether a platformer feels right. One game got its numbers from a 20-year-old design decision I never wrote down; the other got them by decompiling a Spine skeleton and an obfuscated state machine.

Level Design at Scale: Atlases, Tile Catalogs, and 356 Decompiled Scenes

7 minute read

Published:

55 hand-authored levels and 356 decompiled scenes are two completely different level-design problems. One needed documentation that could never drift from the shipped JSON; the other needed a map from a marketing-facing level number to a buried binary scene ID.

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

Giving NPCs a Brain: Enemy Design and Reverse-Engineered Actor Rules

8 minute read

Published:

One game’s enemies follow a rule I wrote down myself: jump on top to defeat, touch the side and it hurts. The other game’s 316 actor resources follow rules nobody wrote down for me — they had to be pulled out of an obfuscated rule VM, action by numbered action.

jupiter

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

kubernetes

lessons-learned

The Research Behind the Plan: Two Years and Three Prototypes

16 minute read

Published:

Five years of Solana development and three working trading prototypes inform the production system. This post provides context on that research journey, the lessons learned, and why the challenge itself is valuable regardless of outcome.

lgtm

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

life

Old Water Chestnuts

8 minute read

Published:

Remembering my father’s final six months: the small goodbyes, the long journey home, and the water chestnuts he saved for me every year.

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

llm

loki

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

lua

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

market-data

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

Day’s Work: NATS Event Publishing and TypeScript Scanner Service Foundation

8 minute read

Published:

Published market events to NATS JetStream in the quote-service with comprehensive Grafana monitoring, and created a TypeScript scanner-service stub as the foundation for real-time trading opportunity detection. The TypeScript version will be implemented first, with a high-performance Rust version planned for later.

Day’s Work: System Initializer Rename, LST Oracle Support, and Market Events

10 minute read

Published:

Three major improvements today: renamed event-preparer to system-initializer to reflect expanded capabilities, added production-grade LST token support with oracle price feeds and deviation detection, and implemented market event publishing for real-time trading data distribution.

melbourne

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

memory

Old Water Chestnuts

8 minute read

Published:

Remembering my father’s final six months: the small goodbyes, the long journey home, and the water chestnuts he saved for me every year.

metrics

microservice

microservices

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

migration

milestone

mimir

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

monitoring

OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot

15 minute read

Published:

How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

nats

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

Day’s Work: NATS Event Publishing and TypeScript Scanner Service Foundation

8 minute read

Published:

Published market events to NATS JetStream in the quote-service with comprehensive Grafana monitoring, and created a TypeScript scanner-service stub as the foundation for real-time trading opportunity detection. The TypeScript version will be implemented first, with a high-performance Rust version planned for later.

new-year

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

observability

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing

23 minute read

Published:

Pool Discovery Service undergoes major refactoring after discovering critical liquidity calculation bugs. Architecture simplified to focus solely on discovery, comprehensive test suite validates 716 unique pools across 13 DEXes, and extensive token pair support beyond LST tokens. Production metrics confirm improvements with proper liquidity tracking and accurate pool counting.

Pool Discovery Service: Triangular Arbitrage Support and Production Insights

15 minute read

Published:

Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

Day’s Work: NATS Event Publishing and TypeScript Scanner Service Foundation

8 minute read

Published:

Published market events to NATS JetStream in the quote-service with comprehensive Grafana monitoring, and created a TypeScript scanner-service stub as the foundation for real-time trading opportunity detection. The TypeScript version will be implemented first, with a high-performance Rust version planned for later.

Day’s Work: System Initializer Rename, LST Oracle Support, and Market Events

10 minute read

Published:

Three major improvements today: renamed event-preparer to system-initializer to reflect expanded capabilities, added production-grade LST token support with oracle price feeds and deviation detection, and implemented market event publishing for real-time trading data distribution.

openclaw

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

opentelemetry

optimization

oracle

performance

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

perth

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

pivot

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

pool-discovery

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing

23 minute read

Published:

Pool Discovery Service undergoes major refactoring after discovering critical liquidity calculation bugs. Architecture simplified to focus solely on discovery, comprehensive test suite validates 716 unique pools across 13 DEXes, and extensive token pair support beyond LST tokens. Production metrics confirm improvements with proper liquidity tracking and accurate pool counting.

Pool Discovery Service: Triangular Arbitrage Support and Production Insights

15 minute read

Published:

Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.

project-management

prometheus

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

prototypes

The Research Behind the Plan: Two Years and Three Prototypes

16 minute read

Published:

Five years of Solana development and three working trading prototypes inform the production system. This post provides context on that research journey, the lessons learned, and why the challenge itself is valuable regardless of outcome.

puppeteer

quote-aggregator

quote-service

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

real-time

redis

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

refactoring

Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing

23 minute read

Published:

Pool Discovery Service undergoes major refactoring after discovering critical liquidity calculation bugs. Architecture simplified to focus solely on discovery, comprehensive test suite validates 716 unique pools across 13 DEXes, and extensive token pair support beyond LST tokens. Production metrics confirm improvements with proper liquidity tracking and accurate pool counting.

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

Day’s Work: System Initializer Rename, LST Oracle Support, and Market Events

10 minute read

Published:

Three major improvements today: renamed event-preparer to system-initializer to reflect expanded capabilities, added production-grade LST token support with oracle price feeds and deviation detection, and implemented market event publishing for real-time trading data distribution.

reflection

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

Old Water Chestnuts

8 minute read

Published:

Remembering my father’s final six months: the small goodbyes, the long journey home, and the water chestnuts he saved for me every year.

A New Chapter: First Day in Melbourne — Three Cities, One Family

6 minute read

Published:

First day at a new job in Melbourne. After 20 years calling Perth home, the mix of sadness, excitement, and quiet gratitude that comes with starting over in your 50s — and why a short separation is the foundation for a long reunion.

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

reinforcement-learning

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

reliability

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

research

The Research Behind the Plan: Two Years and Three Prototypes

16 minute read

Published:

Five years of Solana development and three working trading prototypes inform the production system. This post provides context on that research journey, the lessons learned, and why the challenge itself is valuable regardless of outcome.

reverse-engineering

Tuning the Jump Arc: Platformer Physics, Recovered and Designed

8 minute read

Published:

A jump arc is just a handful of numbers, but they’re the numbers that decide whether a platformer feels right. One game got its numbers from a 20-year-old design decision I never wrote down; the other got them by decompiling a Spine skeleton and an obfuscated state machine.

Level Design at Scale: Atlases, Tile Catalogs, and 356 Decompiled Scenes

7 minute read

Published:

55 hand-authored levels and 356 decompiled scenes are two completely different level-design problems. One needed documentation that could never drift from the shipped JSON; the other needed a map from a marketing-facing level number to a buried binary scene ID.

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

Giving NPCs a Brain: Enemy Design and Reverse-Engineered Actor Rules

8 minute read

Published:

One game’s enemies follow a rule I wrote down myself: jump on top to defeat, touch the side and it hurts. The other game’s 316 actor resources follow rules nobody wrote down for me — they had to be pulled out of an obfuscated rule VM, action by numbered action.

rule-engine

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

rust

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

scanner

Day’s Work: NATS Event Publishing and TypeScript Scanner Service Foundation

8 minute read

Published:

Published market events to NATS JetStream in the quote-service with comprehensive Grafana monitoring, and created a TypeScript scanner-service stub as the foundation for real-time trading opportunity detection. The TypeScript version will be implemented first, with a high-performance Rust version planned for later.

scanner-framework

scanner-service

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

security

OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot

15 minute read

Published:

How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.

shared-memory

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

side-project

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

Tuning the Jump Arc: Platformer Physics, Recovered and Designed

8 minute read

Published:

A jump arc is just a handful of numbers, but they’re the numbers that decide whether a platformer feels right. One game got its numbers from a 20-year-old design decision I never wrote down; the other got them by decompiling a Spine skeleton and an obfuscated state machine.

Level Design at Scale: Atlases, Tile Catalogs, and 356 Decompiled Scenes

7 minute read

Published:

55 hand-authored levels and 356 decompiled scenes are two completely different level-design problems. One needed documentation that could never drift from the shipped JSON; the other needed a map from a marketing-facing level number to a buried binary scene ID.

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

Giving NPCs a Brain: Enemy Design and Reverse-Engineered Actor Rules

8 minute read

Published:

One game’s enemies follow a rule I wrote down myself: jump on top to defeat, touch the side and it hurts. The other game’s 316 actor resources follow rules nobody wrote down for me — they had to be pulled out of an obfuscated rule VM, action by numbered action.

Reviving iRobot: An Old Android Project, Six Years Later, With AI Agents as Co-Developers

17 minute read

Published:

Six years ago I started building an AI-agent platform for Android and never finished it. Last week, newly settled in Melbourne and with some time back, I picked it up again — this time with Claude Code and GitHub Copilot doing the heavy lifting while I stayed in charge of direction. It changed how much a side project can actually get done.

software-architecture

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

Engine 2: Designing a Clean-Room Rule VM for a Decompiled Platformer

19 minute read

Published:

A spec-first look at Engine 2: the data-driven rule VM I’m designing to run three decompiled Android platformers’ original scene and actor logic, how it slots into the Guidebee Game Engine, and why the implementation hasn’t started yet — on purpose.

solana

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot

15 minute read

Published:

How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing

23 minute read

Published:

Pool Discovery Service undergoes major refactoring after discovering critical liquidity calculation bugs. Architecture simplified to focus solely on discovery, comprehensive test suite validates 716 unique pools across 13 DEXes, and extensive token pair support beyond LST tokens. Production metrics confirm improvements with proper liquidity tracking and accurate pool counting.

Happy New Year 2026! Quote Service Evolution: From 3 to 5 Microservices

16 minute read

Published:

🎉 Happy New Year 2026! Quote service evolution continues: splitting the quote-service into 3 specialized services (local, external, aggregator) for a total of 5 microservices with dual shared memory for ultra-fast IPC, batch streaming, and 100× faster oracle validation.

Pool Discovery Service: Triangular Arbitrage Support and Production Insights

15 minute read

Published:

Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

Day’s Work: NATS Event Publishing and TypeScript Scanner Service Foundation

8 minute read

Published:

Published market events to NATS JetStream in the quote-service with comprehensive Grafana monitoring, and created a TypeScript scanner-service stub as the foundation for real-time trading opportunity detection. The TypeScript version will be implemented first, with a high-performance Rust version planned for later.

The Research Behind the Plan: Two Years and Three Prototypes

16 minute read

Published:

Five years of Solana development and three working trading prototypes inform the production system. This post provides context on that research journey, the lessons learned, and why the challenge itself is valuable regardless of outcome.

Day’s Work: System Initializer Rename, LST Oracle Support, and Market Events

10 minute read

Published:

Three major improvements today: renamed event-preparer to system-initializer to reflect expanded capabilities, added production-grade LST token support with oracle price feeds and deviation detection, and implemented market event publishing for real-time trading data distribution.

stock-market

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

streaming

system-design

telegram

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot

15 minute read

Published:

How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.

tempo

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

testing

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing

23 minute read

Published:

Pool Discovery Service undergoes major refactoring after discovering critical liquidity calculation bugs. Architecture simplified to focus solely on discovery, comprehensive test suite validates 716 unique pools across 13 DEXes, and extensive token pair support beyond LST tokens. Production metrics confirm improvements with proper liquidity tracking and accurate pool counting.

tracing

trading

Honest Post-Mortem: Why Circular Arbitrage Fails Without Proper Infrastructure Investment

15 minute read

Published:

After extended testing of our circular arb engine and a bot-tracing investigation that revealed a competitor likely running co-located infrastructure, it’s becoming clear: circular arbitrage on Solana seems very difficult to achieve with home settings — and the infrastructure investment required to compete changes the economics entirely.

How I Built a Solana Trading System with AI as My Co-Developer

11 minute read

Published:

A candid look at how I used AI tools — Claude Code, GitHub Copilot, and multiple frontier LLMs — as genuine development partners to build a production-grade Solana HFT trading system. What actually works, what doesn’t, and what it means for how software gets built.

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

OpenClaw: AI-Powered Monitoring for My Solana HFT Trading Bot

15 minute read

Published:

How I set up OpenClaw — an AI agent gateway — to monitor and control my Solana HFT Docker services via Telegram, with strict security isolation so the AI bot can never touch private keys or wallet secrets.

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

Pool Discovery Refactored: Bug Fixes, Architecture Simplification, and Comprehensive Testing

23 minute read

Published:

Pool Discovery Service undergoes major refactoring after discovering critical liquidity calculation bugs. Architecture simplified to focus solely on discovery, comprehensive test suite validates 716 unique pools across 13 DEXes, and extensive token pair support beyond LST tokens. Production metrics confirm improvements with proper liquidity tracking and accurate pool counting.

Pool Discovery Service: Triangular Arbitrage Support and Production Insights

15 minute read

Published:

Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.

Quote Service Rewrite: Clean Architecture for Long-Term Maintainability

27 minute read

Published:

🎄 Merry Christmas! Planning a comprehensive rewrite of quote-service with clean architecture principles: 85% code reduction, 20x faster quotes, 4x better test coverage, and dramatically improved maintainability. Why we’re rebuilding the foundation for long-term success.

Quote Service Architecture: The HFT Engine Core

27 minute read

Published:

Deep dive into quote-service architecture: Go-powered quote engine with sub-10ms responses, gRPC streaming, NATS event publishing, Redis crash recovery, and 99.99% availability. The critical data layer powering our HFT pipeline.

Unified Observability: Migrating to Grafana LGTM Stack with Alloy

13 minute read

Published:

Migrated from deprecated Promtail to Grafana Alloy and upgraded to the complete Grafana LGTM stack (Loki, Grafana, Tempo, Mimir) for unified observability. Updated the Events Dashboard with real-time NATS event monitoring, preparing for a potential future migration to Grafana Cloud.

Day’s Work: NATS Event Publishing and TypeScript Scanner Service Foundation

8 minute read

Published:

Published market events to NATS JetStream in the quote-service with comprehensive Grafana monitoring, and created a TypeScript scanner-service stub as the foundation for real-time trading opportunity detection. The TypeScript version will be implemented first, with a high-performance Rust version planned for later.

The Research Behind the Plan: Two Years and Three Prototypes

16 minute read

Published:

Five years of Solana development and three working trading prototypes inform the production system. This post provides context on that research journey, the lessons learned, and why the challenge itself is valuable regardless of outcome.

Day’s Work: System Initializer Rename, LST Oracle Support, and Market Events

10 minute read

Published:

Three major improvements today: renamed event-preparer to system-initializer to reflect expanded capabilities, added production-grade LST token support with oracle price feeds and deviation detection, and implemented market event publishing for real-time trading data distribution.

triangular-arbitrage

Pool Discovery Service: Triangular Arbitrage Support and Production Insights

15 minute read

Published:

Pool Discovery Service reaches production milestone with triangular arbitrage support (45 token pairs), completing the Quote Service Rewrite architecture. Observability reveals surprising market insights: SOL/USDT has 278B liquidity (vs SOL/USDC 226B), and forward/reverse pool discovery yields asymmetric results.

typescript

Planner Validation: Testing the Scanner→Planner→Executor Pipeline End-to-End

17 minute read

Published:

A systematic validation campaign for the planner (strategy service) layer: subscribing to live arb events, converting to Jupiter swap instructions, merging two-hop route instructions into a single atomic transaction, simulation, and on-chain execution — including confirmed DEX compatibility, token ledger chaining, and the Jito bundle rate-limit wall we hit.

Pool Enricher Deep Dive: Decoding Solscan’s Binary API and the Preflight Pattern

14 minute read

Published:

How we fixed silent enrichment failures in the pool-discovery service: decoding Solscan’s XOR-encoded binary API responses, implementing a preflight URL pattern for cross-origin session sharing, and replacing a fallback enricher with an alternating design that keeps both data sources continuously exercised.

OpenClaw Beyond Trading Bots: AI-Assisted China Stock Data Retrieval and Analysis

9 minute read

Published:

OpenClaw isn’t just for monitoring trading bots — it’s a general-purpose AI agent gateway. I used it with Claude Code to rapidly build a China A-share stock data pipeline and TradingView-compatible charting service, then wired OpenClaw to analyse stocks and send chart summaries straight to Telegram.

Scanner Service Deep Dive: Arbitrage Detection Engine with Full Observability

14 minute read

Published:

Deep dive into the TypeScript Scanner Service architecture - the arbitrage detection engine that processes gRPC quote streams, detects profitable opportunities, and publishes FlatBuffers events. Plus: reflections on two months of AI-assisted development and thoughts on the future of programming.

Architecture Assessment: Sub-500ms Solana HFT System Design

28 minute read

Published:

Comprehensive architectural assessment of a production-grade Solana HFT system. Event-driven design, FlatBuffers zero-copy serialization, polyglot microservices, and 6-stream NATS architecture achieve sub-500ms execution with 87% CPU savings. Grade: A (93/100).

Day’s Work: NATS Event Publishing and TypeScript Scanner Service Foundation

8 minute read

Published:

Published market events to NATS JetStream in the quote-service with comprehensive Grafana monitoring, and created a TypeScript scanner-service stub as the foundation for real-time trading opportunity detection. The TypeScript version will be implemented first, with a high-performance Rust version planned for later.

virtual-machine

Introducing Engine 2: A Rule Engine for Game Behavior

15 minute read

Published:

A tour of Engine 2, the game-independent rule language and VM inside the Guidebee Game Engine: its four-layer architecture, how a rule is compiled and executed, what the specification pins down, and why game behavior belongs in data instead of code.

websocket

zero-copy