#dev

6 postsAll tags

2026

  1. Building a Parquet-backed data API, end to end

    An HTTP API over a single Parquet file: polars scan_parquet per request, tests that never touch the real data, and a Railway deploy. Plus a follow-up to my last post, where the page cache that makes local reads fast turns out to be billed as memory.

    railwaypolarsfastapiparquetdev

  2. How to Add Login and a Paywall to a Streamlit App

    Using Stripe + Streamlit for a simple paywalled application

    streamlitstripedev

  3. Why Reading Parquet from S3 Is Slow (Even In-Network) and What I Did Instead

    S3 in-network reads still have a ~300ms latency floor. Downloading parquet files to ephemeral disk at startup gave me local-disk speeds (~3ms) for free on Railway.

    railwaypolarss3prediction-marketsdev

2025

  1. Integrating Pydantic AI with Streamlit: Async Challenges and Fragment Optimisations

    Trying to use Streamlit's nice chat UI with Pydantic AI

    pydantic-aistreamlitllmaidev

  2. Building a Caching System with FastHTML

    Enable high performance dashboards/APIs by caching precomputed recent data.

    fasthtmldev

  3. Triggering Multiple Routes from a Single Form - FastHTML & HTMX

    Using hx-trigger and hx-include to improve page load times etc.

    fasthtmlhtmxdev