Simon Willison’s Weblog

Subscribe

January 2021

69 posts: 7 entries, 9 links, 4 quotes, 49 beats

Jan. 27, 2021

TIL Conditionally creating directories in cookiecutter — I wanted my [datasette-plugin](https://github.com/simonw/datasette-plugin) cookiecutter template to create empty `static` and `templates` directories if the user replied `y` to the `include_static_directory` and `include_templates_directory` prompts.

Jan. 29, 2021

Release datasette-cluster-map 0.17 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-template-sql 1.0.2 — Datasette plugin for executing SQL queries from templates
Release datasette-debug-asgi 1.0 — Datasette plugin for dumping out the ASGI scope

Making GitHub’s new homepage fast and performant. A couple of really clever tricks in this article by Tobias Ahlin. The first is using IntersectionObserver in conjunction with the video preload=“none” attribute to lazily load a video when it scrolls into view. The second is an ingenious trick to create an efficiently encoded transparent JPEG image: embed the image in a SVG file twice, once as the image and once as a transparency mask.

# 7:05 pm / github, images, javascript, performance, svg

Release datasette-export-notebook 0.3 — Datasette plugin providing instructions for exporting data to Jupyter or Observable

Jan. 31, 2021

Release datasette-leaflet 0.2.1 — Datasette plugin adding the Leaflet JavaScript library

Weeknotes: datasette-leaflet, datasette-plugin cookiecutter upgrades

This week I shipped Datasette 0.54, sent out the latest Datasette Newsletter and then mostly worked on follow-up projects.

[... 552 words]

Technology does not need vast troves of personal data stitched together across dozens of websites and apps in order to succeed. Advertising existed and thrived for decades without it, and we're here today because the path of least resistance is rarely the path of wisdom.

Tim Cook

# 6 pm / advertising, apple, privacy

2021 » January

MTWTFSS
    123
45678910
11121314151617
18192021222324
25262728293031