Simon Willison’s Weblog

Subscribe

Tuesday, 18th January 2022

Release s3-credentials 0.9 — A tool for creating credentials for accessing S3 buckets

Weeknotes: s3-credentials prefix and Datasette 0.60

Visit Weeknotes: s3-credentials prefix and Datasette 0.60

A new release of s3-credentials with support for restricting access to keys that start with a prefix, Datasette 0.60 and a write-up of my process for shipping a feature.

[... 1,134 words]

Tricking Postgres into using an insane – but 200x faster – query plan. Jacob Martin talks through a PostgreSQL query optimization they implemented at Spacelift, showing in detail how to interpret the results of EXPLAIN (FORMAT JSON, ANALYZE) using the explain.dalibo.com visualization tool.

# 8:53 pm / performance, postgresql, optimization

TIL json_extract() path syntax in SQLite — Several of the [SQLite JSON functions](), such as `json_extract()` and `json_array_length()`, take a path argument. This uses custom syntax along the lines of `$.a[2].b`, as described [in the documentation here](https://sqlite.org/json1.html#path_arguments).
Monday, 17th January 2022
Wednesday, 19th January 2022

2022 » January

MTWTFSS
     12
3456789
10111213141516
17181920212223
24252627282930
31