Elsewhere
Release TIL Research Tool Museum Sighting Comment
Filters: Sorted by date
3,649 results
«« first
« previous
page 96 / 122
next »
last »»
TIL
Figuring out if a text value in SQLite is a valid integer or float
— Given a table with a `TEXT` column in SQLite I want to figure out if every value in that table is actually the text representation of an integer or floating point value, so I can decide if it's a good idea to change the type of the column (using [sqlite-utils transform](https://sqlite-utils.datasette.io/en/stable/python-api.html#transforming-a-table)).
TIL
Understanding option names in Click
— I hit [a bug today](https://github.com/simonw/datasette/issues/973) where I had defined a Click option called `open` but in doing so I replaced the Python bulit-in `open()` function:
Release
dogsheep-beta 0.9a0
— Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
TIL
Compiling the SQLite spellfix.c module on macOS
— I wanted to browse a backup copy of my Plex database, which is a SQLite file. I tried this:
TIL
Turning on Jinja autoescaping when using Template() directly
— Jinja autoescaping is turned off by default. Coming from Django this frequently catches me out.
Release
dogsheep-beta 0.8
— Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
TIL
Talking to a PostgreSQL service container from inside a Docker container
— I have a Django application which uses PostgreSQL. I build the Django application into its own Docker container, push that built container to the GitHub package registery and then deploy that container to production.
Release
dogsheep-beta 0.7.1
— Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
Release
dogsheep-beta 0.7
— Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
TIL
Open a debugging shell in GitHub Actions with tmate
— > :warning: **17 Feb 2022: There have been reports of running tmate causing account suspensions**. See [this issue](https://github.com/mxschmitt/action-tmate/issues/104) for details. Continue with caution.
Release
datasette-copyable 0.3
— Datasette plugin for outputting tables in formats suitable for copy and paste
Release
dogsheep-beta 0.7a0
— Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
TIL
Basic strace to see what a process is doing
— I had a long-running process and I wanted to check that it was at least doing _something_.
TIL
Display EC2 instance costs per month
— The [EC2 pricing page](https://aws.amazon.com/ec2/pricing/on-demand/) shows cost per hour, which is pretty much useless. I want cost per month. The following JavaScript, pasted into the browser developer console, modifies the page to show cost-per-month instead.
«« first
« previous
page 96 / 122
next »
last »»