Simon Willison’s Weblog

Subscribe

January 2021

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

Jan. 18, 2021

TIL Fixing broken text encodings with sqlite-transform and ftfy — I was working with a database table that included values that were clearly in the wrong character encoding - values like this:
Release sqlite-transform 0.3.1 — Tool for running transformations on columns in a SQLite database
Release datasette-cluster-map 0.15 — Datasette plugin that shows a map for any data with latitude/longitude columns

Jan. 19, 2021

TIL Syntax highlighting Python console examples with GFM — It turns out [GitHub Flavored Markdown](https://github.github.com/gfm/) can apply syntax highlighting to Python console examples, like this one:
Release datasette 0.54a0 — An open source multi-tool for exploring and publishing data

Jan. 20, 2021

Release datasette-leaflet-freedraw 0.1 — Draw polygons on maps in Datasette
Release datasette-leaflet-freedraw 0.1.1 — Draw polygons on maps in Datasette
Release datasette-leaflet-freedraw 0.1.2 — Draw polygons on maps in Datasette
Release datasette-leaflet-freedraw 0.1.3 — Draw polygons on maps in Datasette
Release datasette-leaflet-geojson 0.7 — Datasette plugin that replaces any GeoJSON column values with a Leaflet map.

Jan. 22, 2021

Tuesday’s chaos arose after China Railway Shenyang failed to deactivate Flash in time, leading to a complete shutdown of its railroads in Dalian, Liaoning province. Staffers were reportedly unable to view train operation diagrams, formulate train sequencing schedules and arrange shunting plans.

Authorities fixed the issue by installing a pirated version of Flash at 4:30 a.m. the following day.

Apple Daily

# 12:30 am / flash

TIL Embedding JavaScript in a Jupyter notebook — I recently found out modern browsers include a JavaScript API for creating public/private keys for cryptography.
Release datasette-auth-github 0.13a0 — Datasette plugin that authenticates users against GitHub
Release datasette-auth-github 0.13a1 — Datasette plugin that authenticates users against GitHub

Jan. 23, 2021

Release datasette-auth-github 0.13a2 — Datasette plugin that authenticates users against GitHub
Release asgi-csrf 0.7.2 — ASGI middleware for protecting against CSRF attacks
Release asgi-csrf 0.8 — ASGI middleware for protecting against CSRF attacks
Release datasette-cluster-map 0.16 — Datasette plugin that shows a map for any data with latitude/longitude columns

Jan. 24, 2021

Release datasette-auth-github 0.13 — Datasette plugin that authenticates users against GitHub
Release datasette-leaflet-freedraw 0.1.4 — Draw polygons on maps in Datasette

Drawing shapes on a map to query a SpatiaLite database (and other weeknotes)

Visit Drawing shapes on a map to query a SpatiaLite database (and other weeknotes)

This week I built a Datasette plugin that lets you query a database by drawing shapes on a map!

[... 950 words]

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

Jan. 25, 2021

Datasette 0.54: The annotated release notes

Datasette 0.54 is out today, with a number of foundational new features. As I’ve done for previous releases, here are the annotated release notes with some additional commentary.

[... 1,276 words]

Release datasette 0.54 — An open source multi-tool for exploring and publishing data
Release datasette-leaflet 0.2 — Datasette plugin adding the Leaflet JavaScript library
Release datasette-leaflet-freedraw 0.2 — Draw polygons on maps in Datasette
Release datasette-leaflet-freedraw 0.2.1 — Draw polygons on maps in Datasette

Jan. 26, 2021

Release datasette-leaflet-geojson 0.8 — Datasette plugin that replaces any GeoJSON column values with a Leaflet map.
Release datasette-cluster-map 0.17a0 — Datasette plugin that shows a map for any data with latitude/longitude columns

Jan. 27, 2021

TIL Testing cookiecutter templates with pytest — I added some unit tests to my [datasette-plugin](https://github.com/simonw/datasette-plugin) cookiecutter template today, since the latest features involved adding a `hooks/post_gen_project.py` script.

2021 » January

MTWTFSS
    123
45678910
11121314151617
18192021222324
25262728293031