Jamie Matthews (@j4mie) header
Jamie Matthews (@j4mie) profile picture

Web engineer. Python, Django. Sustainability, clean tech, fuzz pedals and dynamic languages. Co-Founder @dabapps, opinions my own

Ringmer, East Sussex
Joined January 2007
Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)Photo by Jamie Matthews (@j4mie)
So here it is: introducing Django RAPID architecture, the guidebook I've been writing (on and off) for a year or so, and thinking about for my entire career. django-rapid-architecture.or… It's a free, opinionated guide to structuring real‑world Django codebases so they stay understandable and malleable as they grow. It’s not a new framework, and it doesn’t try to hide Django. Instead, it leans into Django’s strengths and focuses on a few simple ideas: - Keep models thin: data definitions, not “god objects”. - Organise code by responsibility (readers, actions, interfaces, data) rather than by app. - Put most business logic in plain functions, not in fat models or deep class hierarchies. - Keep views thin: treat GET as "read some data" and POST as "do an action". - Design endpoints around real frontend use cases (Backend For Frontend) instead of idealised resources. - Control queries carefully to avoid performance traps. I’d love you to take a look and let me know what you think!
1
5
222
I wrote this after going down a rabbit hole of frustration while trying to add an MCP interface to a Django app. hypermediaagentprotocol.io/ The MCP spec has become a towering edifice of up-front complexity. The API/CLI route is better, but felt hostile to non-technical users. It's deliberately a bit playfully mock-grandiose, a gentle dig in the ribs at how seriously MCP takes itself, but I think it makes a substantive and hopefully useful point about keeping complexity out of agent harnesses. Feedback very much appreciated.
2
1
244
Why don’t any other browsers support container tabs like Firefox? Seems like the only sensible primitive for working with multiple sets of cookies for the same site. And no other browser supports it. How do people who don’t use Firefox get anything done? support.mozilla.org/en-US/kb…
1
2
55
Replying to @simonw
@simonw as a sandbox enthusiast, have you seen this? github.com/enesklcarslan/ari… I’m working on a project with the OpenAI agents framework, and I needed the agent to be able to do basic maths (work out percentages and things). Rather than give it Code Interpreter, I wrapped arithmeval in a function tool. Seems to work very nicely.
1
7
1,998
“We are at an inflection point where a simpler approach is now the best approach.” Spend your entire career following these inflection points.
Replying to @mattpocockuk
To be fair, I wouldn't have trusted a Ralph approach before Opus 4.5. I also hear GPT 5.2 is good enough. We are at an inflection point where a simpler approach is now the best approach.
1
58
Don’t agree with DHH on everything, but this post nails it, and I will always be firmly in camp dynamic. As an aside: to everyone arguing “LLMs work better with statically typed languages”. First, I haven’t found this to be remotely true, but furthermore I think we’re approaching the point where LLMs will actually make static typing entirely irrelevant. They’ll be able to reason about how values move through running code without actually running it (similar to how a human reads code that was written for readability, but thousands of times better). Type annotations become nothing more than wasted tokens. The pendulum swings again.
One of the longest running schisms in programming is that of static vs dynamic typing. I've heard a million arguments from both sides throughout my entire career, but seen very few of them ever convinced anyone of anything. As rationalizations masquerading as reason rarely do in matters of faith. The rider will always justify the way of the elephant. That's not to say there aren't people who've switched camps. In fact, such individuals usually shout the loudest rationalizations of all. Often with the charm of a livelong omnivore suddenly turning vegan or a traditional banker who caught a lucky ride on crypto. The shorter the faith, the brighter the flame. Personally, I'm unashamedly a dynamic typing kind of guy. That's why I love Ruby so very much. It takes full advantage of dynamic typing to allow the poetic syntax that results in such beautiful code. To me, Ruby with explicit, static typing would be like a salad with a scoop of ice cream. They just don't go together. I'll also confess to having embraced the evangelical position for dynamic typing in the past. To the point of suffering from a One True Proposition affliction. Seeing the lack of enthusiasm for dynamic typing as a reflection of missing education, experience, or perhaps even competence. Oh what folly. Like trying to convince an introvert that they'd really like parties if they'd just loosen up a bit. That actually it's really fun to be in crowded rooms, for hours on end, shouting to communicate, because how about that VIBE! These days, I've come to appreciate the magnificence of multiplicity. Programming would be an awful endeavor if we were all confined to the same paradigm. Human nature is much too varied to accept such constraint on its creativity. Could you imagine if all visual art had to be rendered in the style of cubism? Or realism? Or all novels written in the short, direct flavor of Hemmingway? What a bore it would all quickly be! It would ruin the magic of programming. This unique fusion of art and engineering. But it took a while for me to come to these conclusions. I'm a recovering solutionist. So when I see folks cross their heart in disbelief that anyone, anywhere might fancy JavaScript over TypeScript, I smile, and I remember the days when I'd recognize their zeal in the mirror. That's not to say all matters of programming approaches boil down to equal but different mindsets. There are limits to this relativism. But dynamic vs static typing is certain within its confines. So too is functional vs object-oriented programming. Poles on both these axes have shown to deliver excellent software over the decades (and awful stuff too!). Now people are blessed with a capacity to express themselves equally well from either end. Such ambidextrous nature seems rare, though, as evidenced by the utter disbelief so frequently expressed by either side that the other might hold a reasonable position. I am not ambidextrous. I do not enjoy static typing, and objects animate my mind's eye. But I have come to appreciate the fact that others illuminate their creativity with just as much intensity as I do mine, using functional programming constraints and explicitly spelled out types. As long as I never have to soil my Ruby with type hints or write all front-end code in TypeScript, I can so happily coexist with those who adore Go or can't stand JavaScript. Vive la différence!
5
4
103
ChatGPT needs “voice note mode”. I don’t use them at all with actual humans but the asynchronous nature of seamlessly sending some audio and then getting a reply (also audio) sometime later feels like it would work perfectly for LLMs. Like advanced voice mode but without the awkwardness. You’re welcome @OpenAI @sama
138
Apple Intelligence’s notification summary LLM must be having a hard day.
99
Twitter: the population is crashing! Everyone must have lots of kids! Also Twitter: the most important thing everyone can do to live to 500 is minimise stress and get plenty of sleep
1
58
Trying to watch Glasto on TV and the grid has been super flaky tonight (lots of short power cuts) so.. 👋🏻
94
Released django-readers 2.4.0 with support for Django 5.2 and a nice quality of life improvement for anyone using the DRF integration with schema generation: django-readers.org/community…
67
I'm pretty excited to share a project we’ve been cooking up at DabApps this week: Greener Charge greenercharge.uk @GreenerCharge We use carbon intensity forecasts from National Energy System Operator to tell you at a glance whether you should plug in your EV tonight, or if it’d be better to wait until the grid is greener. We think this approach could reduce the emissions from charging by up to 25%! The site can be added to the homescreen on your phone so it behaves like an app, which means it only takes a second to check just before you plug in. Feedback very welcome, and please share with your EV-driving friends!
1
80
Never bet against HTTP.
1
61
Or even better just use Postgres.app and don’t even install Docker
The sweet spot for Docker in development is to let it run your accessories, like database, Redis, ElasticSearch, but stick to native installations of Ruby/JavaScript/whatever using mise. No "works on my machine" version drift, little fuss, great performance 👌
91
“Meat autocomplete” is the greatest term in cognitive philosophy since Gazzaniga’s “left-brain interpreter” in the mid 80s
1
140
Replying to @OctopusEnergy
@OctopusEnergy could someone take a look at our DM conversation please? You’ve ghosted me again 👻
1
66