Very interesting PEP that could unlock a clear way to type Djangoβs ORM
peps.python.org/pep-0827/
#Django #Python
Very interesting PEP that could unlock a clear way to type Djangoβs ORM
peps.python.org/pep-0827/
#Django #Python
Thanks, and wow, that is not good!
βThe awful biomassβ - have you got any deeper link on *how* bad it is?
a kind of boner'd I never thought I'd be
You only live 1+ times
Camberwell done mate
Nice, I always like a good cleanup. I use daisydisk, somehow a pie chart helps my brain more than rectangular areas.
[Articles] Django: profile memory usage with Memray
Use Memray to profile Django startup, identify heavy imports like numpy, and reduce memory by deferring, lazy importing, or replacing dependencies. #djangonews
adamj.eu/tech/2026/0...
Use this package to split text into characters/words/sentences/lines, or to flexibly translate strings around complex pluralization rules.
The post includes some musings on my βagentic engineeringβ approach to building the package.
βοΈ New post introducing icu4py: Python bindings to ICU (International Components for Unicode), the official translation and localization library from Unicode.
adamj.eu/tech/2026/02...
#Python #AI #i18n #l10n
Bonne voyage!
Yay, my packages django-htmx and django-rich are now receiving income through Tidelift. Thanks, Tidelift and its subscribers! π
boiled, pan-fried, and grilled
βοΈ New post on using Memray to profile the memory usage of a Django project.
You can use this tool to find and eliminate memory-costly lines of code. The example in the post finds and removes a costly import, reducing startup time.
adamj.eu/tech/2026/01...
#Django #Python
Yay, they covered tprof! π―
A carton of four βGigaβ apples (tagline: βmighty goodβ)
A packet of ~60 giga bites
βοΈ New post introducing tprof, a new targeting profiler for Python 3.12+ that measures only specified functions.
Use tprof to measure the impact of a few functions without adding overhead to the whole program.
adamj.eu/tech/2026/01...
#Python
You got this!! πͺ
Thereβs probably a bunch of low-hanging fruit sitting around on various code paths like thisβ¦
Made a nice optimization for Model.objects.bulk_create() with fields using db_default, ~12% in one quick benchmark:
github.com/django/djang...
#Django
Oxford spelling! Confuse everyone! en.wikipedia.org/wiki/Oxford_...
βοΈ New post with last monthβs quiz from Django London!
Test your Django knowledge with these 12 questions, or just skim the answers and learn something new.
adamj.eu/tech/2026/01...
#Django
Thinking again about this 2023 post that sketches out how Twitter could feasibly run on a single big-ass server
thume.ca/2023/01/02/o...
Zero todos is death.
I followed this post long ago and haven't touched it since: jvns.ca/blog/2017/12...
I'd probably use another service these days, like Buttondown, or rolling my own with AWS SES or whatever. Haven't researched the space in a while.
Blog! Blog! Blog!
For banging pizza in London go to Japes and get βLondon styleβ
japes.uk/styles-of-pi...
#London #Pizza
My wife recommended checking out this account, maybe youβve seen her
www.instagram.com/drchelsey_pa...
Sending Christmas love, man β€οΈπ
π I just used @anthonypjshaw.bsky.social 's sweet-as richbench project for the first time, to validate a small optimization. Will definitely be using it again in the future!
github.com/mongodb/mong...