Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

TIL Rewriting a repo to contain the history of just specific files — I wanted to start [a new git repository](https://github.com/simonw/graphql-scraper/tree/828a1efc4307cca6cd378c394c2d33eac2eceb52) containing just the history of two specific files from my [help-scraper repository](https://github.com/simonw/help-scraper).
TIL Using the GitHub Actions cache with npx and no package.json — Some of my repositories have GitHub Actions workflows that execute commands using `npx`, for example my [graphql-scraper](https://github.com/simonw/graphql-scraper) repo using `npx` to [install and run](https://github.com/simonw/help-scraper/blob/54ef9b1fa579dc2d3f68055ffdac9996fd6dae9c/.github/workflows/scrape.yml#L76-L80) the `get-graphql-schema` tool:
TIL Counting SQLite virtual machine operations — When SQLite executes a query, it does so by executing a sequence of virtual machine operations.
TIL The simplest recursive CTE — I found this really simple recursive CTE useful for ensuring I understood how to write recursive CTEs.
Release datasette-publish-vercel 0.13 — Datasette plugin for publishing data using Vercel
Release datasette 0.61a0 — An open source multi-tool for exploring and publishing data
TIL Async fixtures with pytest-asyncio — I wanted to use a fixture with `pytest-asyncio` that was itsef as `async def` function, so that it could execute `await` statements.
Release datasette-hashed-urls 0.2 — Optimize Datasette performance behind a caching proxy
Release datasette-publish-vercel 0.12.1 — Datasette plugin for publishing data using Vercel
Release datasette-hashed-urls 0.1a0 — Optimize Datasette performance behind a caching proxy
TIL Concatenating strings and newlines in Google Sheets — I was asked if there was a way to run [shot-scraper](https://github.com/simonw/shot-scraper) against a list of URLs in a Google Sheet.
Release shot-scraper 0.9 — A command-line utility for taking automated screenshots of websites
Release shot-scraper 0.8 — A command-line utility for taking automated screenshots of websites
Release shot-scraper 0.7 — A command-line utility for taking automated screenshots of websites
Release shot-scraper 0.6 — A command-line utility for taking automated screenshots of websites
Release shot-scraper 0.5 — A command-line utility for taking automated screenshots of websites
Release image-diff 0.2.1 — CLI tool for comparing images
Release image-diff 0.2 — CLI tool for comparing images
Release image-diff 0.1 — CLI tool for comparing images
Release sqlite-utils 3.25.1 — Python CLI utility and library for manipulating SQLite databases
Release shot-scraper 0.4 — A command-line utility for taking automated screenshots of websites
Release shot-scraper 0.3 — A command-line utility for taking automated screenshots of websites
Release shot-scraper 0.2 — A command-line utility for taking automated screenshots of websites
Release shot-scraper 0.1 — A command-line utility for taking automated screenshots of websites
Release shot-scraper 0.1a0 — A command-line utility for taking automated screenshots of websites
Release django-sql-dashboard 1.0.2 — Django app for building dashboards using raw SQL queries
TIL pytest coverage with context — [This tweet](https://twitter.com/mariatta/status/1499863816489734146) from \@Mariatta tipped me off to the ability to measure "contexts" when [running coverage](https://coverage.readthedocs.io/en/6.3.2/contexts.html#context-reporting) - as a way to tell which tests exercise which specific lines of code.
TIL Natural Earth in SpatiaLite and Datasette — Natural Earth ([website](https://www.naturalearthdata.com/), [Wikipedia](https://en.wikipedia.org/wiki/Natural_Earth)) is a a public domain map dataset.
Release geojson-to-sqlite 1.0 — CLI tool for converting GeoJSON files to SQLite (with SpatiaLite)
Release sqlite-utils 3.25 — Python CLI utility and library for manipulating SQLite databases

Beats

Years

Tags