Simon Willison’s Weblog

Subscribe

Friday, 29th January 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
Wednesday, 27th January 2021
Sunday, 31st January 2021