Skip to Content Skip to Navigation
Profile image for Jamie Matthews

Jamie Matthews

@jamie@mtth.org

Web engineer. Director of Engineering Strategy at Certn, Co-Founder, DabApps. Python, Django, etc. Dynamic language and boutique fuzz pedal enthusiast.

50 Posts Posts & Replies 62 Following 64 Followers Search
Pinned post

Right. New plan.

Most of the Python crowd are now here. Twitter is a bit of a wasteland. So if you’re here for the Django content, this is the place.

But.. I’m going to resurrect my Twitter account to talk about green energy and solar and EVs and carbon emissions. That crowd doesn’t seem to be here yet, so much.

Let’s see how that goes.

Jamie Matthews boosted

We did it! 🎉 Django 4.2 the latest and greatest LTS release is out 🔥 Many thanks to everyone who devoted their time and effort to make this possible 💚 🌟

www.djangoproject.com/weblog/2

Wired up a Raspberry Pi Pico running MicroPython, with two temperature sensors, to my boiler, to report flow and return temperatures to my home monitoring & control system. Going to keep an eye on it over the next year to make sure we’re heat pump ready.

@carlton thank you for everything, you have made a huge difference. Enjoy doing other things! 💚

Good morning from fixing UTC -> BST transition bugs in my home control system.

Idle thought: maybe DRF Serializers should have been called "Normalizers" 🤔

Jamie Matthews boosted

Maybe it's time for the "net" in Net Zero to go. Direct air capture (of CO2 from the atmosphere) of 10 gigatonnes of CO2 per year (IPCC aim by 2050), has a *theoretical minimum* energy cost of 10% of the world's current energy consumption. And in practice it currently takes 5-7 times more than that, so >HALF our entire electricity supply. That energy would be far better spent decarbonising, until that task is complete. The aim has to be **zero** carbon, not net anything.

I asked ChatGPT-4 to write a haiku about solar panels:

Sun's rays from above,
Silent power on rooftops,
Green energy thrives.

Jamie Matthews boosted

every python packaging / virtualenv thread in the world:

"python packaging / virtualenv sucks"

"Why?"

"well when I do CONDA this or POETRY that"

See those words? THAT's always the problem.

People have no idea what "venv" does. Editing a requirements file? no way, CONDA this POETRY that, then complain

This is the lowest I’ve seen it by a long way (since I’ve been paying attention)

£20bn funding to “cut carbon emissions” says the headline. But it seems like a lot of this will be going to carbon capture projects.. which are just fossil fuel industry subsidies. Just don’t emit the carbon in the first place! Spend it on lots more wind, solar, battery storage, heating decarbonisation and

www.theguardian.com/uk-news/20

Veg bed prep

Today is the day. No more diesel!

Today I picked up a thousand litres of organic peat-free compost and now I’m reading up on ideal seed sowing dates. After dabbling with lettuce, courgettes and a few tomato plants last year, this year I’m going to give it a proper go.

My ISP is on the Fediverse social.aa.net.uk/users/aaisp/s

Jamie Matthews boosted

The idea of a company / official presence on the is a tricky one, I know. But it is also a really powerful feature on twitter for interacting with customers, and even being publicly called out for something by customers. Working with companies is the main reason I still use twitter.

So we are feeling our way on this, and trying to do it right. It is not for any sort of "advertising". It is for helping customers.

Comments and feedback always welcome.

^RevK, director. @revk

Edited 1y ago

A few weeks ago I open sourced a tiny library I’ve been noodling on for a while: github.com/j4mie/hotmetal

It’s for generating HTML from basic Python data structures. It’s a bit weird and most people will probably hate it (which is fine). But I’ve now built a moderately complicated web app with it and I’m never going back to string-based templates!

Oh, and it runs quite happily under MicroPython on a ~£4 microcontroller, which is fun.

Edited 1y ago

lukeplant.me.uk/blog/posts/pyt

Such a good post. Embrace dynamic behaviour.

Aside: the new spec-to-serializer stuff I just added to django-readers is all about dynamic creation of serializer classes github.com/dabapps/django-read

Fairly impressed with missing.style/ (from the makers of htmx and _hyperscript). If, like me, you enjoy somewhat dull-looking websites and hate CSS, it might just be for you.

A little late to the fediverse party perhaps, but here I am.