pytest coverage with context
[This tweet](https://twitter.com/mariatta/status/1499863816489734146) from \@Mariatta tipped me off to the ability to measure "contexts" when [runn...
464 words
|
2 minutes
Using packages from JSR with esbuild
[JSR](https://jsr.io/) is a brand new package repository for "modern JavaScript and TypeScript", [launched on March 1st](https://deno.com/blog/jsr_...
990 words
|
5 minutes
Manipulating query strings with URLSearchParams
The `URLSearchParams` class, in [every modern browser](https://caniuse.com/?search=URLSearchParams) since IE 11, provides a sensible API for manipu...
150 words
|
1 minute
Null case comparisons in SQLite
I wanted to say "output this transformed value if it's not null, otherwise nothing". The recipe I figured out was:
106 words
|
1 minute
Attaching a bash shell to a running Docker container
Use `docker ps` to find the container ID:
90 words
|
1 minute
Constructing GeoJSON in PostgreSQL
In order to efficiently generate a GeoJSON representation of a vast number of locations, I'm currently experimenting with generating the GeoJSON di...
483 words
|
2 minutes
Basic Datasette in Kubernetes
This recipe for deploying the official `datasetteproject/datasette` container in Kubernetes just worked for me. It uses an interesting (possibly na...
187 words
|
1 minute
Using just with Django
Jeff Triplett [convinced me](https://twitter.com/webology/status/1532860591307726851) to take a look at [just](https://github.com/casey/just) as a ...
460 words
|
2 minutes