Simon Willison’s Weblog

Subscribe

Saturday, 10th May 2025

TIL SQLite triggers — I wrote a Python script, [triggers.py](https://github.com/simonw/til/blob/main/sqlite/triggers.py), to help me understand what data is available to SQLite triggers for which operations.

TIL: SQLite triggers. I've been doing some work with SQLite triggers recently while working on sqlite-chronicle, and I decided I needed a single reference to exactly which triggers are executed for which SQLite actions and what data is available within those triggers.

I wrote this triggers.py script to output as much information about triggers as possible, then wired it into a TIL article using Cog. The Cog-powered source code for the TIL article can be seen here.

# 5:20 am / python, sql, sqlite, til

Release llm-llama-server 0.1 — LLM plugin for interacting with llama-server models

Trying out llama.cpp’s new vision support

Visit Trying out llama.cpp's new vision support

This llama.cpp server vision support via libmtmd pull request—via Hacker News—was merged earlier today. The PR finally adds full support for vision models to the excellent llama.cpp project. It’s documented on this page, but the more detailed technical details are covered here. Here are my notes on getting it working on a Mac.

[... 1,693 words]

Poker Face season two just started on Peacock (the US streaming service). It's my favorite thing on TV right now. I've started threads on MetaFilter FanFare for episodes one, two and three.

# 10:34 pm / metafilter, tv

Friday, 9th May 2025
Sunday, 11th May 2025