Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

TIL Summing columns in remote Parquet files using DuckDB — [vivym/midjourney-messages](https://huggingface.co/datasets/vivym/midjourney-messages) on Hugging Face is a large (~8GB) dataset consisting of 55,082,563 Midjourney images - each one with the prompt and a URL to the image hosted on Discord.
Release ospeak 0.2 — CLI tool for running text through OpenAI Text to speech
Release ospeak 0.1 — CLI tool for running text through OpenAI Text to speech
Release llm 0.12 — Access large language models from the command-line
Release llm 0.11.2 — Access large language models from the command-line
Release datasette-edit-schema 0.7.1 — Datasette plugin for modifying table schemas
Release sqlite-utils 3.35.2 — Python CLI utility and library for manipulating SQLite databases
Release llm-anyscale-endpoints 0.3 — LLM plugin for models hosted by Anyscale Endpoints
Release shot-scraper 1.3 — A command-line utility for taking automated screenshots of websites
Release llm 0.11.1 — Access large language models from the command-line
Release sqlite-migrate 0.1b0 — A simple database migration system for SQLite, based on sqlite-utils
Release llm-python 0.1 — "llm python" is a command to run a Python interpreter in the LLM virtual environment
TIL A simple two column CSS grid — For my blog entry today [Now add a walrus: Prompt engineering in DALL-E 3](https://simonwillison.net/2023/Oct/26/add-a-walrus/) I wanted to display little grids of 2x2 images along with their captions.
Release llm-embed-jina 0.1.2 — Embedding models from Jina AI
Release llm-embed-jina 0.1.1 — Embedding models from Jina AI
Release llm-embed-jina 0.1 — Embedding models from Jina AI
Release datasette-edit-schema 0.7 — Datasette plugin for modifying table schemas
Release datasette-ripgrep 0.8.2 — Web interface for searching your code using ripgrep, built as a Datasette plugin
Release llm-gpt4all 0.2 — Plugin for LLM adding support for the GPT4All collection of models
TIL Serving a custom vector web map using PMTiles and maplibre-gl — [Protomaps](https://protomaps.com/) is "an open source map of the world, deployable as a single static file on cloud storage". It involves some _very_ clever technology, rooted in the [PMTiles](https://github.com/protomaps/PMTiles) file format which lets you create a single static file containing vector tile data which is designed to be hosted on static hosting but can then serve vector tiles to clients using HTTP range requests.
TIL Serving a JavaScript project built using Vite from GitHub Pages — I figured out how to serve a JavaScript project built using [Vite](https://vitejs.dev/) using GitHub Pages and a custom build script that runs using GitHub Actions.
TIL Deploying the CLIP embedding model on Fly — Inspired by [Drew Breunig's Faucet Finder](https://www.dbreunig.com/2023/09/26/faucet-finder.html) I decided I wanted to deploy an API somewhere that could calculate [CLIP embeddings](https://simonwillison.net/2023/Sep/12/llm-clip-and-chat/) for me.
Release datasette-llm-embed 0.2 — Datasette plugin adding a llm_embed(model_id, text) SQL function
Release datasette 0.64.5 — An open source multi-tool for exploring and publishing data
Release datasette-llm-embed 0.1 — Datasette plugin adding a llm_embed(model_id, text) SQL function
Release datasette-llm-embed 0.1a1 — Datasette plugin adding a llm_embed(model_id, text) SQL function
TIL Understanding the CSS auto-resizing textarea trick — Chris Coyier [wrote about](https://chriscoyier.net/2023/09/29/css-solves-auto-expanding-textareas-probably-eventually/) the new `form-sizing: normal` property, which can get a `<textarea>` to automatically expand to fit its content - but currently only in Google Chrome Canary. Chris also linked to [his own favourite trick](https://codepen.io/chriscoyier/pen/XWKEVLy) for doing that, using some CSS grid trickery (original idea by Stephen Shaw).
Release datasette-remote-actors 0.1a2 — Datasette plugin for fetching details of actors from a remote endpoint
Release llm-llama-cpp 0.2b1 — LLM plugin for running models using llama.cpp
TIL Snapshot testing with Syrupy — I'm a big fan of snapshot testing - writing tests where you compare the output of some function to a previously saved version, and can re-generate that version from scratch any time something changes.

Beats

Years

Tags