Things I've learned, collected insimonw/til. You may also enjoymy blog.
Browse by topic:ab 1 ·amplitude 1 ·asgi 1 ·auth0 2 ·aws 9 ·awslambda 1 ·azure 1 ·bash 11 ·caddy 1 ·chrome 1 ·clickhouse 2 ·cloudflare 6 ·cloudrun 8 ·cocktails 3 ·cookiecutter 2 ·cooking 1 ·cosmopolitan 1 ·css 3 ·datasette 18 ·deno 3 ·digitalocean 1 ·discord 1 ·django 19 ·docker 9 ·duckdb 3 ·electron 6 ·exif 1 ·firefox 1 ·fly 10 ·gis 4 ·git 8 ·github 16 ·github-actions 28 ·go 1 ·google 2 ·google-sheets 1 ·googlecloud 6 ·gpt3 11 ·graphql 3 ·hacker-news 1 ·ham-radio 1 ·heroku 3 ·homebrew 7 ·html 5 ·http 1 ·httpx 1 ·hugo 1 ·ics 1 ·imagemagick 2 ·ios 1 ·javascript 16 ·jinja 3 ·jq 8 ·json 3 ·jupyter 2 ·kubernetes 2 ·linux 4 ·llms 18 ·machinelearning 1 ·macos 25 ·markdown 3 ·mastodon 4 ·mediawiki 1 ·midjourney 1 ·misc 2 ·networking 2 ·nginx 1 ·node 1 ·npm 6 ·observable 1 ·observable-plot 2 ·overture-maps 1 ·pixelmator 1 ·playwright 2 ·pluggy 1 ·postgresql 7 ·presenting 1 ·purpleair 1 ·pyodide 1 ·pypi 2 ·pytest 22 ·python 65 ·quarto 1 ·readthedocs 7 ·reddit 1 ·selenium 2 ·service-workers 1 ·shot-scraper 5 ·spatialite 4 ·sphinx 4 ·sql 5 ·sqlite 54 ·svg 1 ·tailscale 2 ·tesseract 1 ·tiktok 1 ·twitter 4 ·typescript 1 ·valtown 1 ·vega 1 ·vim 1 ·vscode 2 ·web-components 1 ·webassembly 2 ·webauthn 1 ·wikipedia 1 ·yaml 1 ·youtube 1 ·zeit-now 2 ·zsh 2
I've been experimenting with the HTMLdialog element recently, for example in myPrompts.js JavaScript library. …
I tried to getjupyterlab working viauv tool install
today and ran into some sharp edges. …
For an (ethical)scraping project I found that my low-volume scraper was working from my laptop but was being blocked by Cloudflare when I attempted to run it in GitHub Actions, presumably because the GitHub Actions IP range was disallowed. …
This is a three-quarters-baked experiment that I ran this morning. I'm interested in efficiently tracking which new files have been added to an S3 bucket, where that bucket could potentially hold millions of items. …
I figured out a really simple pattern for experimenting with new Python packages today: …
Whileworking on this issue I figured out a neat pattern for running the tests for my project locally against a specific Python version usinguv run: …
Rhet Turnbullshared thisshort script for looking up the named timezone for a given location from Python on macOS usingobjc
and theCoreLocation
framework. It uses theobjc
package andpyobjc-framework-CoreLocation. …
TikTok may or may not be banned in the USA within the next 24 hours or so. Here's a pattern you can use to download all of the videos from a specific account. …
I wanted to know how large thedeepseek-ai/DeepSeek-V3-Base repo on Hugging Face was without actually downloading all of the files. …
I was exploring the original BERT model from 2018, which is mainly useful if you fine-tune a model on top of it for a specific task. …
I was getting the following warning for one of my Python test suites: …
Here's what I learned about publishing a single file JavaScript package to NPM for myPrompts.js project. …
Mytools.simonwillison.net site is a growing collection of small HTML and JavaScript applications hosted as static files on GitHub Pages. …
I really likeCog (previously) as a tool for automating aspects of my Python project documentation - things like the SQL schemas shown on theLLM logging page. …
I was experimenting withwasmtime-py today and found thecurrent documentation didn't quite give me the information that I needed. …
If you ever run into instructions that tell you to do this: …
I finally figured out a process that works for me for hacking on Python CLI utilities usinguv to manage my development environment, thanks to a little bit of help from Charlie Marsh. …
I ranhttps://simonwillison.net/ throughPageSpeed Insights and it warned me that my static assets were not being served with browser caching headers: …
I'm still working towards adding multi-modal support to myLLM tool. In the meantime, here are notes on running prompts against images and PDFs and audio and video files from the command-line using theGoogle Gemini family of models. …
WithClaude's help I figured out what I think is the most basic version of a static site generated usingHugo. …
I live in El Granada, California. Wikipedia calls usa census designated place - we don't have a mayor or city council. But we do have aCommunity Services District - originally responsible for our sewers, and since 2014 also responsible for our parks. And we get to vote for the board membersin the upcoming November election! …
I managed to get my Homebrew installation back into shape today. The first problem I was having is that it complained that macOS Sequoia was unsupported: …
I rana survey on Twitter the other day to try and figure out what people mean when they use the term "agents" with respect to AI. …
Today I heard about thesqlite3-rsync command, currently available in a branch in the SQLite code repository. It provides a mechanism for efficiently creating or updating a copy of a SQLite database that is running in WAL mode, either locally or via SSH to another server. …
OpenAI's DevDay event yesterday (October 1st 2024) didn’t invite press (as far as I can tell), didn’t livestream the event and didn’t allow audience livestreaming either. I made a last minute decisionto live blog the event myself. …
I decided to have a poke around and see if I could figure out how the HTTP streaming APIs from the various hosted LLM providers actually worked. Here are my notes so far. …
I figured out this pattern today for testing an HTML table dynamically added to a page by JavaScript, usingPlaywright Python: …
I'm writing some quite complexpytest parameterized tests this morning, and I was finding it a little bit hard to read the test cases as the number of parameters grew. …
Alex Garcia'ssqlite-vec SQLite extension provides a bunch of useful functions for working with vectors inside SQLite. …
I published a reusable Django application today:django-http-debug, which lets you define mock HTTP endpoints using the Django admin - like/webhook-debug/
for example, configure what they should return and view detailed logs of every request they receive. …