Simon Willison’s Weblog

Subscribe

Thursday, 9th March 2023

Release datasette-render-html 1.0 — Plugin for selectively rendering the HTML is specific columns
Release apple-notes-to-sqlite 0.1 — Export Apple Notes to SQLite
TIL Mocking subprocess with pytest-subprocess — For [apple-notes-to-sqlite](https://github.com/dogsheep/apple-notes-to-sqlite) I needed to write some tests that simulated executing the `osascript` command using the Python `subprocess` module.
TIL Using ChatGPT to write AppleScript — I found a killer application for ChatGPT today: writing AppleScript!

apple-notes-to-sqlite (via) With the help of ChatGPT I finally figured out just enough AppleScript to automate the export of my notes to a SQLite database. AppleScript is a notoriously read-only language, which is turns out makes it a killer app for LLM-assisted coding.

# 6:04 am / apple, projects, sqlite, ai, dogsheep, generative-ai, chatgpt, applescript

TIL Using SQL with GDAL — Inspired [by Brad Neuberg](https://twitter.com/bradneuberg/status/1633875601789681666) I decided to take a look at the SQL features in the GDAL family of tools.
Wednesday, 8th March 2023
Friday, 10th March 2023