Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

Release tweet-images 0.1.2 — Send tweets with images from the command line
None
TIL How to get credentials for a new Twitter bot — I wanted to build a Twitter bot that would tweet Covid sewage graphs from [this page](https://covid19.sccgov.org/dashboard-wastewater) every day.
Release tweet-images 0.1.1 — Send tweets with images from the command line
Release tweet-images 0.1 — Send tweets with images from the command line
Release asyncinject 0.3 — Run async workflows using pytest-fixtures-style dependency injection
Sighting 2:06 PM — Great Blue Heron, in San Mateo County, CA, US
Great Blue Heron
Great Blue Heron
A diorama showing the scale of the USS Macon airship
Museum Moffett Field Historical Society — Building 126, Severyns Ave, Moffett Field, CA 94035
Release geojson-to-sqlite 1.1.1 — CLI tool for converting GeoJSON files to SQLite (with SpatiaLite)
Release sqlite-utils 3.26 — Python CLI utility and library for manipulating SQLite databases
Sighting 2:27 PM — Brown Pelican, in Pescadero State Beach, CA, US
Brown Pelican
Brown Pelican
Release geojson-to-sqlite 1.1 — CLI tool for converting GeoJSON files to SQLite (with SpatiaLite)
Release summarize-template 0.1 — Show a summary of a Django or Jinja template
None
TIL Trick Apple Photos into letting you access your video files — I had an 11GB movie in Apple Photos (sync'd from my iPhone) and I wanted to upload it to YouTube (actually via AirDrop to another laptop first).
Sighting 1:31 PM – 1:32 PM — Hudsonian Whimbrel, Snowy Egret, in Monterey Bay National Marine Sanctuary, CA, US, CA
Hudsonian Whimbrel
Hudsonian Whimbrel
Hudsonian Whimbrel
Hudsonian Whimbrel
Hudsonian Whimbrel
Hudsonian Whimbrel
Snowy Egret
Snowy Egret
Snowy Egret
Snowy Egret
None
TIL GUnion to combine geometries in SpatiaLite — I was playing around with [datanews/amtrak-geojson](https://github.com/datanews/amtrak-geojson), which provides GeoJSON for Amtrak stations and track segments.
Release geojson-to-sqlite 1.0.1 — CLI tool for converting GeoJSON files to SQLite (with SpatiaLite)
Release shot-scraper 0.12 — A command-line utility for taking automated screenshots of websites
Sighting 2:29 PM – 2:31 PM — Sanderling, Hudsonian Whimbrel, in Monterey Bay National Marine Sanctuary, CA, US, CA
Sanderling
Sanderling
Sanderling
Sanderling
Hudsonian Whimbrel
Hudsonian Whimbrel
Release shot-scraper 0.11 — A command-line utility for taking automated screenshots of websites
None
TIL Using awk to add a prefix — I wanted to dynamically run the following command against all files in a directory:
Release pypi-to-sqlite 0.2.2 — Load data about Python packages from PyPI into SQLite
Release pypi-to-sqlite 0.2 — Load data about Python packages from PyPI into SQLite
Sighting 5:20 PM — Savannah Sparrow, in Quarry County Park, CA, US
Savannah Sparrow
Savannah Sparrow
Release pypi-to-sqlite 0.1 — Load data about Python packages from PyPI into SQLite
Sighting 9:09 AM — Coyote, in San Mateo County, CA, US
Coyote
Coyote
None
TIL Logging users out of Auth0 — If you [implement Auth0](https://til.simonwillison.net/auth0/oauth-with-auth0) for login, you may be tempted to skip implementing logout. I started out just with a `/logout/` page that cleared my own site's cookies, ignoring the Auth0 side of it.
None
TIL Treating warnings as errors in pytest — I was seeing this warning in a Django project when I thought I was correctly using timezone-aware dates everywhere:
None
TIL Allowing a container in Docker Desktop for Mac to talk to a PostgreSQL server on the host machine — I like using [Postgres.app](https://postgresapp.com/) to run PostgreSQL on my macOS laptop. I use it for a bunch of different projects.
None
TIL Generating a calendar week grid with the Python Calendar module — I needed to generate a grid calendar that looks like this (design [by Natalie Downe](https://github.com/natbat/pillarpointstewards/issues/23)):
Sighting 9:50 AM — Northern Elephant Seal, in Año Nuevo State Reserve, CA, US
Northern Elephant Seal
Northern Elephant Seal