Elsewhere
Release TIL Research Tool Museum
Filters: Sorted by date
3,015 results
«« first
« previous
page 61 / 101
next »
last »»
TIL
Ignoring a line in both flake8 and mypy
— I [needed to tell](https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982133970) both `flake8` and `mypy` to ignore the same line of code.
TIL
Reusing an existing Click tool with register_commands
— The [register_commands](https://docs.datasette.io/en/stable/plugin_hooks.html#register-commands-cli) plugin hook lets you add extra sub-commands to the `datasette` CLI tool.
TIL
Publishing a Web Component to npm
— I tried this for the first time today with my highly experimental [datasette-table](https://www.npmjs.com/package/datasette-table) Web Component. Here's [the source code](https://github.com/simonw/datasette-table/tree/0.1.0) for version 0.1.0.
TIL
Pausing traffic and retrying in Caddy
— A pattern I really like for zero-downtime deploys is the ability to "pause" HTTP traffic at the load balancer, such that incoming requests from browsers appear to take a few extra seconds to return, but under the hood they've actually been held in a queue while a backend server is swapped out or upgraded in some way.
Release
datasette-redirect-to-https 0.1
— Datasette plugin that redirects all non-https requests to https
TIL
Assigning a custom subdomain to a Fly app
— I deployed an app to [Fly](https://fly.io/) and decided to point a custom subdomain to it.
TIL
Using build-arg variables with Cloud Run deployments
— For [datasette/issues/1522](https://github.com/simonw/datasette/issues/1522) I wanted to use a Docker build argument in a `Dockerfile` that would then be deployed to Cloud Run.
TIL
Using cog to update --help in a Markdown README file
— My [csvs-to-sqlite README](https://github.com/simonw/csvs-to-sqlite/blob/main/README.md) includes a section that shows the output of the `csvs-to-sqlite --help` command ([relevant issue](https://github.com/simonw/csvs-to-sqlite/issues/82)).
Release
datasette-graphql 2.0
— Datasette plugin providing an automatic GraphQL API for your SQLite databases
TIL
Planning parallel downloads with TopologicalSorter
— For [complicated reasons](https://github.com/simonw/datasette/issues/878) I found myself wanting to write Python code to resolve a graph of dependencies and produce a plan for efficiently executing them, in parallel where possible.
«« first
« previous
page 61 / 101
next »
last »»