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`.
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.
I 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.
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.
Self-posting my latest blog post. It's not about AI.
www.peterbe.com/plog/ssg-vit...
Thisβll be wet
One 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.
I 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.
In other words, Mitchell Baker is "ends her tenure"
β― 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?
If 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`