Simon Willison

llm 0.37.3

The release of llm 0.37.3 is a bug‑fix update that addresses an issue caused by the latest Homebrew package of SQLite (3.54.1). The new SQLite version changed the behavior of JSON functions, causing LLM’s logging code to break; the fix involves wrapping the JSON array in a json() call. The update restores correct functionality for LLM’s JSON handling.

Simon Willison
Sep 11

github-to-sqlite 2.9.1

The article announces the release of github-to-sqlite version 2.9.1. It includes a fix that ensures compatibility with sqlite-utils 4.x. The update is relevant for users integrating GitHub data into SQLite databases.

Simon Willison
Nov 8

parse_number() as a SQLite extension: C vs Rust

Simon Willison investigated adding a `parse_number()` function to SQLite as a C extension versus a Rust extension. He compared performance, code complexity, and binary size, finding the Rust version (321 KB or 298 KB) was faster than the 14 KB C version, but a custom C implementation could match or beat Rust’s speed. The study included benchmark results over 2 million rows for mixed, integer‑only, and decimal‑only data sets.

Towards Data Science
Aug 31

Your LLM Can Return Perfect JSON and Still Be Wrong

The article discusses insights gained from a deeper examination of Structured Outputs when dealing with messy, incomplete data. It highlights that even when a large language model returns perfectly formatted JSON, the content can still be incorrect. The author reflects on the implications of this observation for data science practices.

By Benjamin Nweke
Simon Willison
Nov 15

datasette 1.0a43

The release of Datasette 1.0a43 marks 53% progress toward the 1.0 milestone, introducing streaming support for output renderers and new Response.stream() for plugins. It includes security fixes, a redesigned row page JSON, a copy-schema web component, pretty‑printed JSON columns, and a new DatasetteModal.confirm() utility. Additional enhancements feature CSS multi‑page view transitions that make navigation feel more like a single‑page application, supported in Safari and Chrome with Firefox support planned.

Simon Willison
5d ago

Quoting Daniel Stenberg

During a three‑week period, the agents converted 185,000 lines of C code into 340,000 lines of Rust code, merging over 300 commits into the curl project. They added more than 200 bugfixes—none of which were present in the Rust rewrites—and fixed several vulnerabilities. In the following month, another 200 bugfixes and additional vulnerability fixes were made.

Simon Willison
Aug 24

llm-anthropic 0.27

The release of llm‑anthropic 0.27 updates the Anthropic plugin for LLM to be compatible with the newly released anthropic v1.0.0 Python library, which has switched from httpx to httpx2. This mirrors a similar change made by OpenAI in their v3.0.0 release two weeks prior. The update includes a migration guide and a pull request that ensures tests pass after upgrading to anthropic>=1.

Simon Willison
Sep 1

datasette-mcp 0.2

Release: datasette-mcp 0.2 "rows" from execute_sql is now an array of objects. Previously it was an array of arrays. This should help weaker models avoid losing track of which positional arr...