Python

30
Oct
I Built CLI Tools for Claude Code. Here's What I Learned About Designing for AI Users

I Built CLI Tools for Claude Code. Here's What I Learned About Designing for AI Users

I built agent-friendly interfaces for my Python library following every recommended pattern—JSON output, discovery commands, enhanced errors. Then Claude hallucinated flags that don't exist and ignored the documentation I wrote for it.
7 min read
27
Oct
What Top 10% Actually Means (For a Lawyer Who Codes)

What Top 10% Actually Means (For a Lawyer Who Codes)

177K monthly downloads. Top 10% of 700K packages. Zero revenue, one maintainer, weekend work. Here's what "success" actually means for open source maintainers—and what I'd tell anyone considering building their own tools.
5 min read
10
Oct
Open Source, AI, and Why October Matters

Open Source, AI, and Why October Matters

This Hacktoberfest, I'm not contributing code—I'm maintaining my own. Two years after redlines went viral, I'm adapting it for AI agents. The lesson: tools that don't work with AI will fade. Open source needs to evolve with how people actually work.
6 min read
19
Jul

Your first coding language: what's wrong with Python

3 min read
20
Apr
Building SG Law Cookies: Insights and Reflections

Building SG Law Cookies: Insights and Reflections

I share my experience and process of generating daily newsletters from Singapore Law Watch using ChatGPT, serverless functions and web technologies.
8 min read
10
Mar
Augmenting ChatGPT with Your Data Can Improve Its Performance

Augmenting ChatGPT with Your Data Can Improve Its Performance

I discuss how ChatGPT can be augmented with custom data to improve its performance using Singapore law as an example.
6 min read
17
Aug
Take your web scraping to a new level: Let's play with scrapy

Take your web scraping to a new level: Let's play with scrapy

Changing my code to scrapy, a web scraping framework for Python, was challenging but reaped many dividends.
8 min read
04
Jul
Happy holidays

Happy holidays

I muse about my latest holiday project - explaining why some primary schools are not popular schools.
4 min read
17
May
[Part 5] Do more with docassemble: Provide an audio file for your user to download 💾

[Part 5] Do more with docassemble: Provide an audio file for your user to download 💾

In the final part of this docassemble, Google TTS tutorial, we provide an audio file for the user to download.
6 min read
16
May
[Part 4] Do more with docassemble: Calling Google Text To Speech 🎺

[Part 4] Do more with docassemble: Calling Google Text To Speech 🎺

In this part of my docassemble tutorial, we work with an external service, Google Text to Speech's client library.
5 min read