Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

Sighting 12:16 PM — Southern Sea Otter, in Monterey Bay Area, CA, US
Southern Sea Otter
Southern Sea Otter
Sighting 11:58 AM — Northern Elephant Seal, in Monterey Bay Area, CA, US
Northern Elephant Seal
Northern Elephant Seal
A two story orange-pink-brown building with a sign that says Shakespeare Socity of America, New Shakespeare Sanctuary
Museum Shakespeare Society of America — 7981 Moss Landing Road, Moss Landing, CA 95039
Sighting 11:49 AM – 2:21 PM — Southern Sea Otter, in Monterey Bay Area, CA, US
Southern Sea Otter
Southern Sea Otter
Southern Sea Otter
Southern Sea Otter
Sighting 11:16 AM – 2:25 PM — Harbor Seal, Snowy Egret, Turkey Vulture, Great Egret, in Monterey Bay Area, CA, US
Harbor Seal
Harbor Seal
Snowy Egret
Snowy Egret
Turkey Vulture
Turkey Vulture
Great Egret
Great Egret
Sighting 2:40 PM – 4:23 PM — California Sea Lion, Great Blue Heron, in Monterey Bay Area, CA, US
California Sea Lion
California Sea Lion
Great Blue Heron
Great Blue Heron
Sighting 12:44 PM — Humpback Whale, in Monterey Bay Area, CA, US
Humpback Whale
Humpback Whale
Sighting 12:06 PM — Humpback Whale, in Monterey Bay Area, CA, US
Humpback Whale
Humpback Whale
None
TIL WebAuthn browser support — I [started exploring](https://twitter.com/simonw/status/1476249939516616704) **[WebAuthn](https://webauthn.guide/)** today - a set of browser standards that adds support for both Yubikey 2FA hardware devices and "platform" authentication using things like Touch ID and Face ID.
None
TIL kubectl proxy — Learned about this today as a way of accessing the Kubernetes REST API.
None
TIL Transferring a GitHub issue from a private to a public repository — I have my own private `notes` repository where I sometimes create research threads. Occasionally I want to transfer these to a public repository to publish their contents.
Release datasette-tiddlywiki 0.1 — Run TiddlyWiki in Datasette and save Tiddlers to a SQLite database
None
TIL Adding a robots.txt using Cloudflare workers — I got an unexpected traffic spike to https://russian-ira-facebook-ads.datasettes.com/ - which runs on Cloud Run - and decided to use `robots.txt` to block crawlers.
Release asyncinject 0.2 — Run async workflows using pytest-fixtures-style dependency injection
None
TIL Annotated explanation of David Beazley's dataklasses — David Beazley [on Twitter](https://twitter.com/dabeaz/status/1472742536649351173):
Release datasette 0.60a1 — An open source multi-tool for exploring and publishing data
Release datasette-pretty-traces 0.3.1 — Prettier formatting for ?_trace=1 traces
Release datasette-pretty-traces 0.3 — Prettier formatting for ?_trace=1 traces
None
TIL Safely outputting JSON — Carelessly including the output of `json.dumps()` in an HTML page can lead to an XSS hole, thanks to the following:
None
TIL Creating a minimal SpatiaLite database with Python — When writing a test for [datasette-leaflet-freedraw](https://github.com/simonw/datasette-leaflet-freedraw) I realized I didn't have a simple tiny recipe for creating an in-memory SpatiaLite database in Python. I came up with this:
Release datasette 0.60a0 — An open source multi-tool for exploring and publishing data
None
TIL Registering the same Pluggy hook multiple times in a single file — I found myself wanting to register more than one instance of a [Pluggy](https://pluggy.readthedocs.io/) plugin hook inside a single module.
Release datasette-pretty-traces 0.2.1 — Prettier formatting for ?_trace=1 traces
Release datasette-pretty-traces 0.2 — Prettier formatting for ?_trace=1 traces
Release datasette-pretty-traces 0.1 — Prettier formatting for ?_trace=1 traces
None
TIL Using lsof on macOS — `lsof` stands for "list open files". Here are some very basic usage notes for the version that ships with macOS.
None
TIL Using C_INCLUDE_PATH to install Python packages — I tried to install my [datasette-bplist](https://github.com/simonw/datasette-bplist) plugin today in a fresh Python 3.10 virtual environment on macOS and got this error:
Release git-history 0.6.1 — Tools for analyzing Git history using SQLite
None
TIL Storing files in an S3 bucket between GitHub Actions runs — For my [git-history live demos](https://github.com/simonw/git-history/issues/30) I needed to store quite large files (~200MB SQLite databases) in between GitHub Actions runs, to avoid having to recreate the entire file from scratch every time.
Release datasette-cluster-map 0.17.2 — Datasette plugin that shows a map for any data with latitude/longitude columns