Skip to content

Writing

Notes on backend engineering, databases and APIs, plus write-ups of the tools I build.

  1. The Crop That Was Costing Me 15 Points of Recall

    Stock CLIP preprocessing centre-crops every image. On portrait product photos that throws away about 40% of the frame. How I measured it in OpenVisionSearch, and what changed when I stopped cropping.

    Python · Vector Search · OpenCLIP · Qdrant

  2. Building a Document Assistant That Is Allowed to Say "Not Found"

    Notes from building Knowledge Assistant: hybrid retrieval with pgvector and Postgres full-text search, a citation on every answer, Khmer OCR, and an evaluation set that can block a deploy.

    RAG · PostgreSQL · pgvector · FastAPI

  3. Catching the Boring API Security Holes Before Someone Else Does

    What apicheck looks for, why it uses two identities to test object-level access, why it refuses to be destructive, and how to run it as a CI gate with SARIF output.

    Security · TypeScript · OWASP · CI/CD

  4. Permission on Every Message: Notes From Writing a Remote Desktop in Rust

    free-remote checks permission on every inbound message, not once at connect time. The permission model, the encryption, and how tile diffing took an idle desktop from 31 Mbit/s to 5.9.

    Rust · Security · Networking

  5. Fine-Tuning a Small Model, Then Making It Check Its Own Homework

    How ShiftAI turns your documents into training data, fine-tunes a small model with LoRA, quizzes it on the source, and retrains on exactly the questions it got wrong.

    AI · Fine-tuning · LoRA · Python

  6. Building Reliable Backend Services with Laravel and NestJS

    Practical habits for building dependable backend services with Laravel and NestJS, from validation and transactions to queues, observability, and clear API contracts.

    Laravel · NestJS · Backend · Reliability

  7. End-to-End API Contracts for Laravel and NestJS Teams

    How a shared API contract connects requirements, backend implementation, frontend integration, testing, and release support in Laravel and NestJS projects.

    API Design · Laravel · NestJS · Full Stack

  8. localnet-control Is Live on PyPI: Share Local Services in Seconds

    localnet-control is now fully published on PyPI. Learn what it does, how to install it, and how to share local services across your LAN with optional tunnel and access controls.

    Python · PyPI · Networking · Developer Tools

  9. Getting Started with AI & Machine Learning in Python

    My journey into AI and Machine Learning, exploring TensorFlow, Pandas, and practical applications in data processing.

    Python · AI · Machine Learning · TensorFlow

  10. Optimizing Database Queries in Laravel: A Complete Guide

    A practical Laravel workflow for measuring slow queries, applying targeted indexes, removing N+1 queries, and validating the result.

    Laravel · Database · Performance · Optimization

  11. Building Scalable RESTful APIs with Laravel

    Practical patterns for designing maintainable Laravel APIs with clear contracts, authorization, validation, documentation, and observability.

    Laravel · API · REST · Backend