Simon Willison’s Weblog

Subscribe

September 2021

54 posts: 4 entries, 9 links, 2 quotes, 39 beats

Sept. 2, 2021

Release datasette-app-support 0.2 — Part of https://github.com/simonw/datasette-app
TIL Open external links in an Electron app using the system browser — For [Datasette.app](https://github.com/simonw/datasette-app) I wanted to ensure that links to external URLs would [open in the system browser](https://github.com/simonw/datasette-app/issues/34).

Sept. 3, 2021

Per-project PostgreSQL (via) Jamey Sharp describes an ingenious way of setting up PostgreSQL instances for each of your local development project, without depending on an always-running shared localhost database server. The trick is a shell script which creates a PGDATA folder in the current folder and then instantiates a PostgreSQL server in --single single user mode which listens on a Unix domain socket in that folder, instead of listening on the network. Jamey then uses direnv to automatically configure that PostgreSQL, initializing the DB if necessary, for each of his project folders.

# 3:06 am / postgresql

Release datasette-app-support 0.3 — Part of https://github.com/simonw/datasette-app

Sept. 4, 2021

Release datasette-app-support 0.4 — Part of https://github.com/simonw/datasette-app

Sept. 6, 2021

Making world-class docs takes effort (via) Curl maintainer Daniel Stenberg writes about his principles for good documentation. I agree with all of these: he emphasizes keeping docs in the repo, avoiding the temptation to exclusively generate them from code, featuring examples and ensuring every API you provide has documentation. Daniel describes an approach similar to the documentation unit tests I’ve been using for my own projects: he has scripts which scan the curl documentation to ensure not only that everything is documented but that each documentation area contains the same sections in the same order.

# 6:58 pm / curl, documentation, daniel-stenberg

Sept. 7, 2021

Release pids 0.1.2 — A tiny Python library for generating public IDs from integers

We never shipped a great commercial product. The reason for that is we didn’t focus. We tried to do a little bit of everything. It’s hard enough to maintain the growth of your developer community and build one great commercial product, let alone three or four, and it is impossible to do both, but that’s what we tried to do and we spent an enormous amount of money doing it.

Solomon Hykes

# 2:47 pm / startups, docker

Release datasette-app-support 0.5 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.6 — Part of https://github.com/simonw/datasette-app

Sept. 8, 2021

Release datasette-app Datasette Desktop 0.1.0 — The Datasette macOS application
Release datasette-import-table 0.3 — Datasette plugin for importing tables from other Datasette instances
TIL Attaching a generated file to a GitHub release using Actions — For [Datasette Desktop](https://github.com/simonw/datasette-app) I wanted to run an action which, when I created a release, would build an asset for that release and then upload and attach it.

Datasette Desktop 0.1.0 (via) This is the first installable version of the new Datasette Desktop macOS application I’ve been building. Please try it out and leave feedback on Twitter or on the GitHub Discussions thread linked from the release notes.

# 5:14 am / projects, datasette, electron, datasette-desktop

TIL Signing and notarizing an Electron app for distribution using GitHub Actions — I had to figure this out for [Datasette Desktop](https://github.com/simonw/datasette-app).

Datasette Desktop—a macOS desktop application for Datasette

Visit Datasette Desktop - a macOS desktop application for Datasette

I just released version 0.1.0 of the new Datasette macOS desktop application, the first version that end-users can easily install. I would very much appreciate your help testing it out!

[... 1,761 words]

TIL Bundling Python inside an Electron app — For [Datasette Desktop](https://datasette.io/desktop) I chose to bundle a full version of Python 3.9 inside my `Datasette.app` application. I did this in order to support installation of plugins via `pip install` - you can read more about my reasoning in [Datasette Desktop—a macOS desktop application for Datasette](https://simonwillison.net/2021/Sep/8/datasette-desktop/).

Sept. 10, 2021

Imagine writing the investment memo for “20% of a picture of a dog” and being like “the most we should pay is probably about $2 million because the whole picture of the dog sold for $4 million three months ago and it can’t realistically have appreciated more than 150% since then; even if the whole picture of the dog is worth, aggressively, $10 million, this share would be worth $2 milllion.” What nonsense that is!

Matt Levine

# 7:27 am / stupid, blockchain, matt-levine

Release datasette-app-support 0.7 — Part of https://github.com/simonw/datasette-app

Sept. 11, 2021

Release datasette-app-support 0.8 — Part of https://github.com/simonw/datasette-app
Release datasette-schema-versions 0.2 — Datasette plugin that shows the schema version of every attached database
Release datasette-write 0.2 — Datasette plugin providing a UI for executing SQL writes against the database
Release datasette-app-support 0.9 — Part of https://github.com/simonw/datasette-app

Sept. 12, 2021

Release datasette-app-support 0.10 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.11 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.11.1 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.11.2 — Part of https://github.com/simonw/datasette-app

Sept. 13, 2021

Release datasette-app-support 0.11.3 — Part of https://github.com/simonw/datasette-app
Release datasette-app 0.2.0 — The Datasette macOS application
TIL Cumulative total over time in SQL — This is a quick trick for creating a cumulative chart of the total number of items created over time based just on their creation date.

2021 » September

MTWTFSS
  12345
6789101112
13141516171819
20212223242526
27282930