Saturday, 22nd August 2020
TIL
Outputting JSON with reduced floating point precision
— [datasette-leaflet-geojson](github.com/simonw/datasette-leaflet-geojson) outputs GeoJSON geometries in HTML pages in a way that can be picked up by JavaScript and used to plot a Leaflet map.
TIL
Dynamically loading multiple assets with a callback
— For [datasette-leaflet-geojson](https://github.com/simonw/datasette-leaflet-geojson) I wanted to dynamically load some external CSS and JavaScript and then execute some code once they had loaded ([issue 14](https://github.com/simonw/datasette-leaflet-geojson/issues/14)).
TIL
Providing a "subscribe in Google Calendar" link for an ics feed
— If you provide your own custom generated ICS file hosted at a URL it's nice to be able to give Google Calendar users an easy way to subscribe to that feed.
TIL
Creating a dynamic line chart with SVG
— I helped build the tide chart visualizations for [Rocky Beaches](https://www.rockybeaches.com/).