Atuin for zsh shell history in SQLite
Atuin (via Rhet Turnbull) "replaces your existing shell history with a SQLite database". Obviously I had to try this out!
Notes on software engineering
401–420 of 550 posts, newest first.
Atuin (via Rhet Turnbull) "replaces your existing shell history with a SQLite database". Obviously I had to try this out!
I usually use Homebrew on macOS, but I decided to try using the official Python installer based on this Twitter conversation.
Today I noticed that Datasette wasn't serving a header. This meant that any CORS pre-flight requests would be repeated for every request, which hurts performance - the browser should be able to cache…
Azure Functions default to serving traffic from a path like - for example . If you want to serve an entire website through a single function (e.g.
I wanted to ensure would redirect to - including any path - using Cloudflare. I've solved this with page rules in the past, but this time I tried using a "redirect rule" instead.
This recipe runs a Python script to update a README, then commits it back to the parent repo but only if it has changed: My first attempt threw an error if I tried o run and the README had not…
Spotted in this Cloud Run example: Useful if you don't want people opening pull requests against your repo that inadvertantly trigger a deploy action!
I needed to write a test that checked for a really complex sequence of mock calls for s3-credentials 3.
I recently noticed that the router in our garage was providing around 900 Mbps if I plugged my laptop directly into it via an Ethernet cable, but that speed fell to around 80Mbps (less than 1/10th…
Short version: run this before starting : That's it! Now when you run Playwright will be available. You can say things like: And a visible Chrome browser window, controlled by Claude Code, will open…
For a Django application I'm working on (this issue) I have a form that can be quite a long way down the page.
Today I got Claude to build me an experiment to use it for a side panel that would slide in from the right hand side of the screen, looking like this: But what's with that gap at the bottom?
I usually build command-line tools using Click (and my click-app cookiecutter template), which includes a really nice set of tools for writing tests.
GitHub Projects has a mechanism for bulk updating the status of items, but it's pretty difficult to figure out how to do it. The trick is to use copy and paste.
I tried pip-tools for the first time today to pin the requirements for the natbat/pillarpointstewards Django app. The pip-tools README is really good. Here's how I'm using it.
A Datasette feature suggestion concerning autocomplete against a list of known values inspired me to learn how to use the HTML element (see MDN).
Towards Inserting One Billion Rows in SQLite Under A Minute includes this snippet: All I had to do was run my existing code, without any change, using PyPy.
Sky News in partnership with Tortoise published a fantastic piece of investigative data reporting: the Westminster Accounts, a database of money in UK politics that brought together data from three…
Chris Coyier wrote about the new property, which can get a to automatically expand to fit its content - but currently only in Google Chrome Canary.
Deno Deploy is a hosted Deno service that promises a multi-tenant JavaScript engine running in 25 data centers across the world.