GitHub Actions job summaries
New feature announced here. Here's the full documentation. These are incredibly easy to use. GitHub creates a file in your workspace and puts the filename in , so you can build the summary markdown…
Notes on software engineering
501–520 of 550 posts, newest first.
New feature announced here. Here's the full documentation. These are incredibly easy to use. GitHub creates a file in your workspace and puts the filename in , so you can build the summary markdown…
For photos-to-sqlite I needed to install as a dependency, but only if the platform is macOS - it's not available for Linux. Here's the magic incantation to do that: So in the install requires line.
Today I was evaluating if the Python cryptography package was a sensible depedency for one of my projects.
Update: Code Interpreter often claims that it can't run binaries uploaded like this, but it looks like it still works if you are are persistent enough with it.
I figured this out in a Gist in 2016 which has attracted a bunch of comments over the years. Now I'm upgrading it to a retroactive TIL.
nanoGPT is Andrej Karpathy's "simplest, fastest repository for training/finetuning medium-sized GPTs".
I wanted to run some Django tests - using and with Django configured to pick up the environment variable via dj-database-url - against a PostgreSQL server running in GitHub Actions.
A few years ago I decided to learn how to make some classic cocktails. It is a very rewarding hobby. Of all of the drinks that I have learned to make, by far the biggest crowd pleaser is the Tommy's…
I scraped a pass on my Ham radio general exam today, on the second attempt (you can retake on the same day for an extra $15, thankfully).
Newly created GitHub repositories come with a default set of labels. I have several labels I like to add on top of these.
I wanted a script running as a non-root user to be able to restart a systemd service on my Ubuntu machine without needing a password.
I ran into a tricky problem while working on this issue: the following line was behaving in an unexpected way for me: datasette content.db .db –create What I expect this to do is to create a database…
When I'm working with Python I like four space indents, but for JavaScript or HTML I like two space indents. Today I figured out how to teach VS Code those defaults. 1.
I needed to write a relatively repetitive collection of tests, for a number of different possible error states.
I got my asgi-csrf Python package up to 100% code coverage. Here's the pull request. I started by installing and using the pytest-cov pytest plugin.
I'm still working towards adding multi-modal support to my LLM tool. In the meantime, here are notes on running prompts against images and PDFs and audio and video files from the command-line using…
Read The Docs has a handy feature where documentation for older versions will automatically link to the latest release, for example on this page: That feature is enabled by a "Show version warning"…
First, install MySQL like so: brew install mysql This installs the server but doesn't run it. You can run it in the background like this: Then later on you can stop it like so: While it's running it…
I ended up deploying a Datasette instance to Fly.io using my llm-clip and datasette-llm-embed plugins.
In the Playwright tests for datasette-cluster-map I wanted to assert that two markers had been displayed on a Leaflet map.