For the first time (in real code) I had to encode a string as UTF-16. The spec is a little unclear, but the UserComment tag in Unicode mode was only properly readable using UTF-16, and not UTF-8, at least with the CLI. Other programs don't recognize the tag at all. Worksforme™ now, but not really satisfactory, tbh. 😕


exif = image.getexif()
exif[0x9286] = b"UNICODE\x00" + data.encode("utf-16")

Ok, folks. I’m starting a new Python 3.10+ project (; FastAPI; will live in ; not a library). What will I be missing should I decide against using ?

I'm usually pretty pragmatic and not so much for cutesy names when it comes to coding, but I still like our tiny module that cares about cleaning the (HTML) body of scraped websites, called `shampoo` 😆

If code cannot be copy-pasted as-is from one project to another (i.e. it contains project specific "business logic") it does not belong in /utils/, utils.{js|py} etc.

🔖 HTTPX is a fully featured HTTP client for 3, which provides sync and async APIs, and support for both HTTP/1.1 and HTTP/2 — and breaks with some of (minor) quirks (

I really want to like Zulip (, team-chat, threaded-ui Slack/Discord alternative), but for what seems like a new-ish project (<5y?) there are already so many “simple” bugs/features untackled for so long that I feel that the underlying architecture and/or the small team will be not be able to bring this software to a bright future — I know, I shouldn’t complain but rather get involved, but …

I know, separation of concerns etc., but I replaced Templates with the much more flexible Jinja2 again. Good that these are (almost) first-class citizen in Django nowadays. 🐍

First bunch of talks I watched were all of very high quality and information density. Thanks & congrats to all the folks involved in this great event! 👍 🐍

Which tech conference should I go to this year? (summer/Europe) I feel like I'm ready for something new. ?

🔖 Unique sentinel values, identity checks, and when to use object() instead of None - Trey Hunner

🔖 PyPI as a Service - Dustin Ingram
“In the wake of recent layoffs at , I noticed some folks talking about the two extremes that are NPM and . To compare: …”

🔖 Programmer migration patterns - apenwarr — “a little flow chart of mainstream programming languages and how programmers seem to move from one to another”

Interesting. Not sure I agree with the C# → ; and seems more alive than one might hope 😉