Sign up

Simon Willison's Weblog

Not verified No WebSub updates Supports Webmention Valid

Author
Simon Willison
Public lists
davewiner/hackerNewsStars Featured
Fetched

Simon Willison's Weblog Supports Webmention Valid
Text

llm 0.37.3

Release: llm 0.37.3

A bug fix release for LLM, mainly to cover a problem with the most recent Homebrew package of the software.

Homebrew now ships the latest SQLite, 3.54.1, which includes a fix that broke LLM's logging code.

Short version: in SQLite 3.54.0 the following SQL:

select json_object('a', (select json_array(1)))

Returns this:

{"a":[1]}

But in 3.54.1 the same query returns this:

{"a":"[1]"}

According to D. Richard Hipp:

That was a bug fix. Per the documentation, (SELECT json_array(...)) returns SQL text, not JSON. Hence the 3.54.1 behavior is correct and 3.54.0 was a bug.

The workaround looks like this:

select json_object('a', json((select json_array(1))))

Tags: llm, webassembly, sqlite, generative-ai, ai, llms, d-richard-hipp

Simon Willison's Weblog Supports Webmention Valid
Text

datasette-maplibre 0.1a0

Release: datasette-maplibre 0.1a0 The first new Datasette geospatial plugin in quite a while! This one combines the excellent MapLibre GL library with OpenFreeMap, the free vector map server operated by Zsolt Ero (you should sponsor Zsolt on GitHub.) I built most of ...

Simon Willison's Weblog Supports Webmention Valid
Text

datasette 1.0a43

Release: datasette 1.0a43 I've been leaning hard into Claude Fable 5.2 to help knock things off the 1.0 milestone, which is now 53% complete. The biggest 1.0 item in this release is streaming support for output renderers - the built-in TSV and CSV export mechanis...

Simon Willison's Weblog Supports Webmention Valid
Text

datasette-apps 0.4a0

Release: datasette-apps 0.4a0

Datasette Apps are sandboxed HTML and JavaScript applications that live inside Datasette - think Claude Artifacts, but these ones can run SQL queries against your data.

0.4a0 adds support for linking: you can link to an app with #fragments in the URL and the app can see and use those, plus supported URL schemes are reported back to Datasette Agent so it can help write apps that link to each other.

This means you can have e.g. an app that shows details about a specific record, and a completely separate app that searches those records and links to their representations in the first app.

Tags: datasette-agent, datasette-apps, datasette, urls

Simon Willison's Weblog Supports Webmention Valid
Text

datasette-agent 0.6a0

Release: datasette-agent 0.6a0

Accumulated small fixes for Datasette Agent, my agent plugin for Datasette that lets you ask questions about your data. Most notably, it now adds an agent prompt directly to the Datasette homepage, with support for hash-mentions of tables and queries:

Datasette homepage. Below the search box is a Datasette Agent heading with a text input and an ask button. User has typed: Tell me about #re - the box is showing autocomplete results for the repos and releases tables.

Tags: datasette-agent, llm, datasette, llms, ai, generative-ai

Simon Willison's Weblog Supports Webmention Valid
Text

datasette 0.65.6

Release: datasette 0.65.6

I backported a minor security fix from 1.0a43:

Fixed a security issue where a database registered using add_database(db, name=..., route=...) with a route that differs from its name could be downloaded from /<route>.db by actors who were denied access to it. [...]

Tags: security, datasette

Simon Willison's Weblog Supports Webmention Valid
Text

datasette-llm 0.1a11

Release: datasette-llm 0.1a11 datasette-llm is the intermediate plugin for Datasette that supports configuring LLMs for use with other Datasette plugins. This release adds support for OpenAI-compatible endpoints, so you can configure Datasette to use an LLM hosted an...

Simon Willison's Weblog Supports Webmention Valid
Text

datasette-vega 0.7

Release: datasette-vega 0.7

A new release of Datasette's longest untouched plugin, for rendering charts (using Vega-Lite) against data in a table or custom query. The last release was in July 2018!

I finally bumped it for compatibility with the latest Datasette alphas, plus some cosmetic tweaks to make it work better with Datasette Lite.

(Datasette Lite just gained the ability to run JavaScript plugins like this! I'll write more about that soon.)

Since it works with Datasette Lite, the live demo in the README now links to this demo on Datasette Lite.

Screenshot of a charting tool. A panel headed "Charting options" has radio buttons for "Bar" (selected), "Line" and "Scatter". Below are select menus: "X column" set to "airline" with "Type" set to "Label", and "Y column" set to "fatalities_00_14" with "Type" set to "Numeric". A "Swap X and Y" button sits beneath those, followed by "Color" and "Size" menus both set to "-- none --". Underneath the panel is a blue bar chart with airline names along the X axis and fatalities_00_14 on the Y axis, running from 0 to 550 - most airlines have no bar, a handful have bars, and Malaysia Airlines is the tallest.

Tags: datasette, visualisation, datasette-lite

Simon Willison's Weblog Supports Webmention Valid
Text

datasette-cluster-map 0.19

Release: datasette-cluster-map 0.19

One of the oldest Datasette plugins, and still one of my favorites. It now works with Datasette 1.0a42, and depends on the new datasette-leaflet to ensure OpenStreetMap tiles are requested with a referrer header.

Here's a map of power plants owned by California's PG&E, also demonstrating Datasette's recently redesigned facets:

Screenshot of a faceted map interface. Three facet panels at the top: "country_long 1" with United States of America 81 selected; "owner 1" with Pacific Gas & Electric Co. 81 selected; "primary_fuel 5" listing Hydro 63, Solar 10, Gas 5, Storage 2, Nuclear 1. Each primary_fuel row has a pale blue horizontal bar behind its label, sized in proportion to its count: Hydro's bar fills most of the row width, Solar's is a short sliver, Gas's is shorter still, and Storage and Nuclear have only a thin strip at the left edge. Below is a Leaflet map with + and − zoom controls showing California and Nevada, with marker clusters across northern and central California: 9 near Redding, 21 near Chico, 2 to the west of Chico, 13 northeast of Sacramento, 7 east of Stockton, 6 at Oakland, 10 at Fresno, 9 west of Visalia, 2 north of Bakersfield, plus two individual blue pin markers on the coast, one in the far north and one north of Santa Maria. Attribution: Leaflet | © OpenStreetMap contributors

Tags: datasette, geospatial, openstreetmap

Simon Willison's Weblog Supports Webmention Valid
Text

datasette-leaflet 0.3

Release: datasette-leaflet 0.3

OpenStreetMap have a very reasonable policy that hits to their hosted tile server should send a referrer header. Datasette table pages used the Referrer-Policy: no-referrer HTTP header, causing plugins that loaded tiles from OpenStreetMap to violate that policy.

datasette-leaflet is the plugin that loads a bundled Leaflet so other Datasette plugins can depend on it. It now sets the referrer policy on the tile requests themselves to strict-origin-when-cross-origin, passing the host but not the full path to the page.

Tags: leaflet, datasette, openstreetmap

Simon Willison's Weblog Supports Webmention Valid
Text

llm-gemini 0.37

Release: llm-gemini 0.37 Google launched Gemini 4 Hydrogen today - the lowest cost member of the Gemini 4 family. It's actually not too far off the price of its much bigger siblings, Carbon and Argon. I'm finding Gemini 4's pricing really confusing. Here&...

Simon Willison's Weblog Supports Webmention Valid
Text

Gemini Decisions API

Gemini Decisions API Google join Jev and OpenAI in the decision model category with "Gemini Decision 1". This new model API is almost identical to Jev: it supports the same three types of questions (yes/no, choice, and rubric-scoring) and even reuses Jev's term...

Simon Willison's Weblog Supports Webmention Valid
Text

aws-emulator

aws-emulator

Finally, an official emulator from AWS to run tests against a local clone of their many different services without having to provision a paid API key to do so.

It's written in Rust by a huge swarm of agents - 29,684 commits in the first three weeks of the project. Swaminathan (Swami) Sivasubramanian wrote about how it came to be in a guest post on Werner Vogels' blog.

It currently requires Docker to run on macOS or Windows. I'm hoping they fix that in the future - it would be great if you could download a single binary and use that as part of a standard test suite in other languages and on other platforms.

Tags: amazon, amazon-web-services, testing, werner-vogels, ai, rust, docker, generative-ai, llms, agentic-engineering

Simon Willison's Weblog Supports Webmention Valid
Text

Browse tools.simonwillison.net by tag

Browse tools.simonwillison.net by tag

I've been wanting a better way to browse my collection of vibe-coded tools (244 and counting) for a while. I had a few Fable 5.2 credits left over before my weekly reset so I set it to work using tree-sitter to analyze the code for JavaScript APIs, libraries, and web API hosts used by each tool.

The homepage now features tag clouds for browsing by each of those categories of tag:

Screenshot of two tag cloud sections where tags are sized by count. Browse by JavaScript libraries - Libraries loaded from a CDN by two or more tools. Select a tag to list its tools. @google/generative-ai 3, @jsquash/avif 3, @jsquash/webp 4, Babel 2, Chart.js 2, Cropper.js 2, D3 2, DOMPurify 7, js-yaml 3, JSZip 3, Leaflet 4, markdown-it 4, Marked 12, pako 2, PDF.js 3, Pyodide 11, React 3, Tesseract.js 2, three.js 3. Browse by browser APIs - Web platform features used by each tool's own code. Select a tag to list its tools. <dialog> 5, AbortController 6, Blob URLs 38, BroadcastChannel 1, Built-in AI 1, Camera / microphone 9, Canvas 2D 44, Clipboard API 69, Compression Streams 3, createImageBitmap 2, crypto random values 4, DOMParser 8, Drag and drop 30, Dynamic import() 12, ES modules 92

Tags: javascript, tools, ai, generative-ai, llms, claude, vibe-coding

Simon Willison's Weblog Supports Webmention Valid
Text

llm 0.37.2

Release: llm 0.37.2

Fixes a security issue reported by Daniel de Araujo in GHSA-v9h7-jj4g-f862 and GHSA-r639-rr7r-x72w.

LLM has a mechanism called extra-openai-models.yaml - now managed by the new-in-0.37 llm openai endpoint add command - for using LLM with OpenAI-compatible API endpoints from other providers.

Daniel reported two ways this could accidentally send your configured OpenAI API key to one of those providers: if the key named by api_key_name had never been stored, or if a responses: true model was run with -o chat_completions 1.

Tags: projects, security, llm, releases

Simon Willison's Weblog Supports Webmention Valid
Text

Anthropic's IPO roadshow video

Anthropic's IPO roadshow video Anthropic kicked off their IPO roadshow yesterday, and their roadshow video has some previously unreleased information about how their business works. The section on "Approach to compute" with co-founder Tom Brown is particularly ...

Simon Willison's Weblog Supports Webmention Valid
Text

llm-gemini 0.36

Release: llm-gemini 0.36 Gemini 4 Carbon was announced two weeks ago for "a subset of cyber defenders", but today it's available to everyone else. This is Google's best ever Gemini, priced at $2/million input and $10/million output at launch (that...

Simon Willison's Weblog Supports Webmention Valid
Text

Introducing Our Smallest, Most Efficient Model: Muse Ember

Introducing Our Smallest, Most Efficient Model: Muse Ember Meta AI just launched their entry in the Claude Haiku/GPT Luna category: Muse Ember, which they describe as: [...] our smallest and most efficient model designed for complex reasoning execution and the work agents r...

Simon Willison's Weblog Supports Webmention Valid
Text

Yonkers Rises

Tool: Yonkers Rises

I realized I didn't know where Yonkers was, so I looked it up on Google Maps and then, to help embed its location and shape in my head (and to try out Claude Fable 5.2's 3D modeling and animation skills), I prompted Fable 5.2 Medium to:

Make a three js animation where yonkers stands up as a big mech (cool stand up motion) and átomos around manhattan and queens and Brooklyn, use openstreetmap mapping data

It correctly deduced that "átomos" was a mobile keyboard typo for "stomps":

Tags: three-js, llms, ai, generative-ai, claude-mythos-fable

Simon Willison's Weblog Supports Webmention Valid
Text

Quoting Prompting Claude Fable 5.2

Claude Fable 5.2 responds closely to what the prompt says about who owns the code it works on. In Anthropic’s testing on small coding tasks, when a prompt said nothing about ownership or presented the code base as someone else’s, the model tended to add to the existing structure, even when that repeated existing code. [...]

If you want the model to improve the structure as it works, say that the code is its own:

This codebase is yours: what it's for and how it's built are your call, and you'll keep building on it.

In Anthropic’s testing on small coding tasks, the model merged repeated code in about half of the tries with this sentence, and in under a tenth of the tries without it.

— Prompting Claude Fable 5.2, Anthropic documentation

Tags: prompt-engineering, anthropic, generative-ai, ai, llms, claude-mythos-fable

Simon Willison's Weblog Supports Webmention Valid
Text

llm-anthropic 0.31

Release: llm-anthropic 0.31 Anthropic released Fable 5.2 and Mythos 5.2 today. I've added them to llm-anthropic, so you can now run prompts through Fable 5.2 like this: uv tool install llm llm install llm-anthropic llm keys set anthropic # paste key here llm -m c...

Simon Willison's Weblog Supports Webmention Valid
Text

Locating the source of a mysterious beep with Claude

Our house has a box room, full of boxes that we still haven't unpacked from our last move. A couple of weeks ago something in that room started intermittently beeping. The beeps were far enough apart that standing in the room and trying to determine the source of the noi...

Simon Willison's Weblog Supports Webmention Valid
Text

The Web Is More Than Enough, by Paul Ford

My comment on The Web Is More Than Enough, by Paul Ford — Hacker News. OK, this comment convinced me to give that a shot. Here's a thing I made in Three.js this morning - a Nudibranch themed Faberge Egg: https://static.simonwillison.net/static/2026/Hidden-Reef-Egg... (77...

Simon Willison's Weblog Supports Webmention Valid
Text

Terry Pratchett's Study

My comment on Terry Pratchett's Study — Hacker News. Terry Pratchett once wrote about the concept of "horizontal wealth". Vertical wealth is where you spend money on rich people stuff - yachts and suchlike. Horizontal wealth is where you spend more money on the...

Simon Willison's Weblog Supports Webmention Valid
Text

Hide your slop PR descriptions behind <details><summary>

Most of the changes I make to my projects these days come in the form of PRs opened for me by Claude Code or Codex. The PR is my unit of work - I use them to bundle commits together, iterating on them until a feature is complete, document decisions and then merge the finishe...

Simon Willison's Weblog Supports Webmention Valid
Text

parse_number() as a SQLite extension: C vs Rust

Research: parse_number() as a SQLite extension: C vs Rust I was out walking the dog when I got curious about how easy/difficult it would be to write a SQLite C extension that adds a parse_number() function for turning strings like -$1,234.56 or '12.5%' into n...

Simon Willison's Weblog Supports Webmention Valid
Text

datasette #3046: Don't serve link: rel=next HTTP headers to Firefox for HTML pages

datasette #3046: Don't serve link: rel=next HTTP headers to Firefox for HTML pages I was looking at the Firefox network panel today when I noticed that requests to a Datasette table page were triggering an HTTP prefetch to the next page of rows in that table. This was ha...

Simon Willison's Weblog Supports Webmention Valid
Text

Quoting Nilay Patel

The products aren't good enough to sell people on the costs. You cannot tell people that you have to listen to the whine of a data center in their backyard for AI overviews and some of the most hilarious deep fake slop in history. It's not worth it. It just isn'...

Simon Willison's Weblog Supports Webmention Valid
Text

Quoting Paul Ford

The web browser is very, very, very powerful software for applications, and the cost of accessing that power is going down seemingly every day.

— Paul Ford, The Web Is More Than Enough

Tags: browsers, paul-ford, web-development

Simon Willison's Weblog Supports Webmention Valid
Text

datasette-llm 0.1a10

Release: datasette-llm 0.1a10

Fixes a bug that affected my agent.datasette.io demo site, where the set of available LLM models was not correctly restricted to just those in the configuration.

Tags: datasette, llm