Sadiq Jaffer's blog

  1. Last three months in OCaml (July 2025)

    Tue 15 July 2025

    A look at recent OCaml projects, from benchmarking AI code models and building new agentic tools to improvements in the garbage collector.

  2. Letting Claude Code check with Gemini

    Fri 27 June 2025

    A simple MCP server that enables Claude Code (or any MCP host) to check things with gemini-cli

  3. Qwen3 Leads the Pack: Evaluating how Local LLMs tackle First Year CS OCaml exercises

    Tue 06 May 2025

    How well can locally-runnable language models handle OCaml code generation? We evaluate 19 open-weight LLMs on first-year Computer Science exercises, exploring the balance between model size, architecture, and reasoning capabilities for less mainstream programming languages.

  4. A dataset of OCaml's Opam

    Thu 01 May 2025

    Introducing opam-archive-dataset: a Parquet dataset containing code from OCaml packages, designed to improve performance of language models for OCaml development through better training data

  5. JSON output from Deepseek R1 and distills with llama.cpp

    Thu 30 January 2025

    Here's a workaround to get JSON output from Deepseek R1 and distills when using the llama.cpp OpenAI-compatible server endpoint

  6. Teaching Bloom Filters new tricks

    Fri 25 December 2020

    In this post we're going to discuss how to teach Bloom Filters new tricks. We'll start with examining Partitioned Bloom Filters and then look at ways we can generalise Bloom Filters to new and interesting uses. By the end of the post you will be able to use this generalised framework to come up with novel probabilistic data structures.

  7. Getting OCaml running on the ESP32

    Sun 15 January 2017

    End result

    I was looking for some small Christmas stocking-fillers to give to techie friends and decided to try to find some interesting electronics boards from China.

    In the end, I went with the WEMOS Lolin32 Lite which features Espressif's ESP32. If you're not familiar with the ESP32, it's an awesome little …