Blog
664 posts on software development, newest first. Browse by topic:Rust, Go, Python, JavaScript & web, AI & data, DevOps & tooling, Mobile & Android, .NET & C#, C++ & systems, LaTeX, Investing, Everything else.
Sharing business logic between Android and iOS with Kotlin MultiplatformSet up a Kotlin Multiplatform shared module with commonMain, androidMain and iosMain, expect/actual, Ktor and kotlinx.serialization, and call it from Swift.
Pricing options with Black-Scholes in Python: the Greeks and implied volatilityImplement Black-Scholes in Python with scipy.stats.norm: call and put prices, delta, gamma, vega and theta, a put-call parity check, and implied volatility with brentq.
Improving search results with a cross-encoder rerankerAdd a cross-encoder reranking step to embedding or BM25 retrieval with sentence-transformers, measure what it gains on real queries, and what it costs in latency.
Building and publishing a TypeScript library with Vite library modePackage a TypeScript library with Vite 8 library mode: ESM output, external dependencies, .d.ts files from tsc, an exports map, and testing the tarball before publishing.
Last Light Outpost: a Godot zombie base-defense game for Android and the browserLast Light Outpost is a top-down zombie base-defense game in Godot 4.7: its wave rules, code-drawn art, twin-stick touch controls and the Android build on Google Play.
Meridian: an offline tasks, habits and focus app for Android and the webHow Meridian works: one JSON document in localStorage, a quick-add parser, forgiving habit scores, AES-GCM locked notes and a Capacitor build for Google Play.
Afterlight on Android: touch controls and a Capacitor shell for a keyboard JRPGPorting the three.js JRPG Afterlight to Android: on-screen controls that press the same actions as the keyboard, a scaled desktop layout, and a signed Play bundle.
Building a command-line tool in Python with TyperBuild a small to-do CLI with Typer: commands, arguments and options with Annotated, a subcommand group, Rich tables, CliRunner tests and a pyproject entry point.
My esports betting tools: odds scrapers, LLM pickers and a live LoL win modelHow my esports betting repos work: a PlayNow odds scraper, LLM match pickers, and esports-odds-live, which prices live LoL games from op.gg data.
What Changed in Claude Code in 2026Claude Code's 2026 releases, from Opus 4.6 to Fable 5.2: agent teams, background sessions, workflows, plugins and skills, auto mode and new usage limits.
AI in Fall 2026: Gated Frontier Models, Computer Use and a Stateless MCPAnthropic, OpenAI and Google all shipped new model generations from September to November 2026. What changed, what got cheaper, and what it means for builders.
AI Investing Research Systems: ai-berkshire and the Agents Built on BuffettHow ai-berkshire turns Claude Code into a four-analyst value investing team, how it compares with TradingAgents, and what research says about LLM stock picking.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)