Simon Willison’s Weblog

Subscribe

Monday, 17th May 2021

Release geojson-to-sqlite 0.3 — CLI tool for converting GeoJSON files to SQLite (with SpatiaLite)
TIL Enabling a gin index for faster LIKE queries — I tried using a gin index to speed up `LIKE '%term%'` queries against a column.
TIL KNN queries with SpatiaLite — The latest version of SpatiaLite adds KNN support, which makes it easy to efficiently answer the question "what are the X closest records to this point".

geocode-sqlite. Neat command-line Python utility by Chris Amico: point it at a SQLite database file and it will add latitude and longitude columns and populate them by geocoding one or more of the other fields, using your choice from four currently supported geocoders.

# 1:15 am / geocoding, sqlite, chris-amico

No feigning surprise (via) Don’t feign surprise if someone doesn’t know something that you think they should know. Even better: even if you are surprised, don’t let them know! “When people feign surprise, it’s usually to make them feel better about themselves and others feel worse.”

# 4:30 pm / communication, teaching, julia-evans

2021 » May

MTWTFSS
     12
3456789
10111213141516
17181920212223
24252627282930
31