Using ChatGPT Browse to name a Python package
I needed a name for my new Python CLI tool. It was originally called because I checked and https://pypi.org/project/py-grep/ was available - but when I tried to push the package to PyPI I got an error…
Notes on software engineering
461–480 of 547 posts, newest first.
I needed a name for my new Python CLI tool. It was originally called because I checked and https://pypi.org/project/py-grep/ was available - but when I tried to push the package to PyPI I got an error…
I wanted to convert the Markdown used in my TILs to HTML, using the exact same configuration as GitHub does.
For simonw/til issue 82 I needed to embed some binary content directly in a Python script. I wanted to wrap that content to fit within 80 columns.
I wanted to redirect https://global-power-plants.datasettes.com/ to https://datasette.io/ - I decided to spin up a Cloudflare Pages site to do the work.
I was asked if there was a way to run shot-scraper against a list of URLs in a Google Sheet. I came up with this example sheet which uses a formula to code-generate the YAML configuration needed by…
cr-sqlite is fascinating. It's a loadable SQLite extension by Matt Wonlaw that "allows merging different SQLite databases together that have taken independent writes".
This is so much easier than I was expecting it to be. https://simonw.github.io/datasette-lite/ Shortly after launching I realized that the project deserved its own vanity subdomain.
Reddit have long had an unofficial (I think) API where you can add to the end of any URL to get back the data for that page as JSON. I wanted to track new posts on Reddit that mention my domain .
I wanted to add a option to which could be used to change the file encoding used to read the incoming CSV or TSV file - see sqlite-utils 182.
My datasette-screenshots repository generates screenshots of Datasette using my shot-scraper tool, for people who need them for articles or similar.
I've been wanting to figure this out for ages. This thread on Hacker News plus this Stackoverflow post gave me some initial clues.
The Algolia-powered Hacker News API returns nested comment threads that look like this: https://hn.algolia.com/api/v1/items/27941108 (For this story: https://news.ycombinator.com/item?id=27941108) I…
The Airtable API outputs JSON that looks like this: The items in the array each have an , a nested dictionary and a .
This trick works for both Bash and zsh. I wanted to pass the following as an argument to the sqlite-utils CLI tool: Problem: this contains both single AND double quotes, which makes string escaping a…
Initial article: April 28th 2023 - see below for an update I got intrigued by Deno KV, which describes itself as "a global database for global apps".
I finally found a workaround for this error when attempting to load a SQLite extension in Python on macOS: The fix is to install Python using Homebrew, and then use that version of Python.
JSR is a brand new package repository for "modern JavaScript and TypeScript", launched on March 1st by the Deno team as a new alternative to npm My JavaScript ecosystem fluency isn't great, so it took…
I upgraded my Niche Museums site to use PhotoSwipe for its photo galleries today. Here's my issue. This lead me down a bit of a rabbit hole of photo EXIF data.
Access to a Repositories Dependency Graph describes a preview API for accessing GitHub repository dependencies.
Twitter announced today that they'll be ending free API access for bots. My @covidsewage Twitter bot posts a screenshot of the latest Covid sewage data for parts of the San Francisco Bay Area every…