rssed

a collection of dev rss feeds - blogroll

Add a new feed

+

321 feeds


Adam Johnson

Posts

Python: store extra data for objects in a WeakKeyDictionary đź”—

In several programs, I’ve wanted to solve the problem of associating extra data with an object. For example, in django-upgrade, the individual “fixer” [...]

Django: introducing django-integrity-policy đź”—

Back in January, Firefox’s Security & Privacy Newsletter for 2025 Q4 piqued my interest with this mention: Integrity-Policy: Firefox 145 has added sup [...]

Django: fixing a memory “leak” from Python 3.14’s incremental garbage collection 🔗

Back in February, I encountered an out-of-memory error while migrating a client project to Python 3.14. The issue occurred when running Django’s datab [...]

Python: introducing profiling-explorer đź”—

I’ve made another package! Like icu4py, which I made in February, it was sponsored by my client Rippling. And like tprof, which I made in January, it’ [...]

Python: introducing icu4py, bindings to the Unicode ICU library đź”—

I made a new package! Thank you to my client Rippling for inspiring and sponsoring its development. ICU (International Components for Unicode) is Unic [...]

Django: profile memory usage with Memray đź”—

Memory usage can be hard to keep under control in Python projects. The language doesn’t make it explicit where memory is allocated, module imports can [...]

Zsh: select generated files with (om[1]) glob qualifiers đź”—

I’ve recently been using memray, a memory profiler for Python, to optimize the startup memory usage (and time) for a client. It’s a fantastic tool, bu [...]

Python: introducing tprof, a targeting profiler đź”—

Profilers measure the performance of a whole program to identify where most of the time is spent. But once you’ve found a target function, re-profilin [...]

Django Quiz 2025 đź”—

Last month, I held another quiz at the December edition of Django London. The December quiz is an annual tradition at our meetup, a way of making this [...]

Django: implement HTTP basic authentication đź”—

Previously, we covered bearer authentication within HTTP’s general authentication framework. In this post, we’ll implement basic authentication, where [...]