Blogged about a new CLI tool I've started hacking on.
www.peterbe.com/plog/gg2-ini...
What I think is neat is that I use `bun build --compile ...` to generate a single executable instead of relying on something like `bunx` or `pipx`.
@peppebe.bsky.social
Web developer at GitHub. Blogs at https://www.peterbe.com From Sweden but lives in South Carolina, USA.
Blogged about a new CLI tool I've started hacking on.
www.peterbe.com/plog/gg2-ini...
What I think is neat is that I use `bun build --compile ...` to generate a single executable instead of relying on something like `bunx` or `pipx`.
Been a good start to the month!
Page views on my blog.
Native connection pooling in Django v5 gives a 5x speedup.
www.peterbe.com/plog/native-...
Native connection pooling in Django 5 with PostgreSQL - Peterbe.com
5x more requests-per-second improvement with this one single trick. Actually.
Blog post about it here
www.peterbe.com/plog/video-t...
Maybe a fun experiment, would be to try to load ffmpeg in Wasm and see what can be done.
24.06.2025 00:11 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0I made an app!
github.com/peterbe/vide...
Itโs simple but useful. Wanted to explore what can be done with video files without sending them to a server.
Iโm going to try a new IDE/editor.
What would you recommend? Zed or Cursor?
I loved Zed when it came out but downfall was that I couldnโt add custom completion macros.
Yay for Redis v8!
antirez.com/news/151
This is what I use to have GitHub Dependabot make package updates for Bun projects:
```
version: 2
enable-beta-ecosystems: true
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
```
`links` is my favorite tool for testing if web pages work without CSS or JS.
27.04.2025 15:00 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Self-posting my latest blog post. It's not about AI.
www.peterbe.com/plog/ssg-vit...
Can't wait!
www.youtube.com/watch?v=wgxB...
Thisโll be wet
31.03.2025 22:49 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0One of the most educative podcast episodes out there on US tax policy.
It's not partisan, although it (has to) touches politics. It's more about understanding and it's delivered in a 1h rapid chat. I'm impressed.
open.spotify.com/episode/0Zrw...
This is cool!
docs.numerique.gouv.fr
It's like Google Docs but all Open Source and backed by the French and German government.
Skimmed the code; it's Python/Django on the backend and React on the frontend.
I hope this becomes successful!
I sent this seconds before I noticed a bug in how it updates `uv.lock`. Actively chatting with the people behind this but a fix might have to wait a bit.
Happy to pass along issues/bugs you might find.
For fellow `uv` fans,
github.blog/changelog/20...
You'll need to update your `.github/dependabot.yml` like this
github.com/peterbe/djan...
#python
Spot the Difference Stats
spot-the-difference.peterbe.com/stats
It now compares your (best) times with the median number of seconds people take.
Need more plays though! So the medians start to make sense :)
Less well. The โtraining dataโ is a massive list of English food words.
25.02.2025 23:37 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0I made a fun web app game.
www.peterbe.com/plog/announc...
Please come up with fun and whimsical ideals to make it more fun.
Adding items to the grocery shopping list by taking a picture from the cookbook.
thatsgroce.web.app
Adding items to the grocery shopping list by speech.
thatsgroce.web.app
I recently rewrote my personal website/blog from Remix to React Router v7.
It was moderately easy and fun. But now I'm dreading the hard work of writing a retrospective blog post about it.
At the time of actual coding, it felt like an engineering feat. Now it feels more like a chore to write up.
spot-the-difference.peterbe.com is now using Dexie.js for storage.
20.02.2025 12:53 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0In other words, Mitchell Baker is "ends her tenure"
20.02.2025 12:46 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0โฏ uv cache prune
Pruning cache at: /Users/peterbe/.cache/uv
Removed 98902 files (1.2GiB)
โฏ du -sh `uv cache dir`
43M /Users/peterbe/.cache/uv
โฏ du -sh `uv cache dir`
1.4G /Users/peterbe/.cache/uv
What you got?
Is this some sort of Apple Watch app?
20.02.2025 12:41 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0If you use `compression` in your Express server, it now supports Brotli as of github.com/expressjs/co...
No more need to pull in `@nitedani/shrink-ray-current`