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

It's that time of the year 🥳 ! 2023 Django Developers Survey is now live 📢 Fill it out and help shape your favorite web framework ✏️ Emoji django

surveys.jetbrains.com/s3/djang

Jamie Matthews boosted

Tabs ␉ vs Spaces ␠

Edited 185d ago
Jamie Matthews boosted

"something deeply important about the early web has been lost, almost certainly unintentionally, along the way: the ability to view the source of the page, make sense of what it is doing and, most importantly, to learn from it."

This isn't just wistful nostalgia. Technologies like htmx (and web components) democratize learning and building. That matters (or should) to everyone.

htmx.org/essays/right-click-vi

Astronaut, heat pump, Sir Tim Berners-Lee!

Jamie Matthews boosted

Multi-page web apps

🔗 adactio.com/journal/20442

Is this the first sign of the pendulum starting to swing away from the ridiculous obsession with bolting static type systems to perfectly good dynamic languages?

world.hey.com/dhh/turbo-8-is-d

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.

Guess what? This is true in Django projects too, but replace “structs” with “models”.

How it started / how it’s going

Solar water heater boost code seems to be working nicely (ignore the boost at 4am, that was a bug, now fixed). Fifty or so lines of Python avoiding a decent chunk of CO₂ emissions. This stuff is so powerful.

Put enough sun in the car today to drive nearly 100 miles.

A few times a week I see someone on a Facebook group complaining about a problem with their solar/battery/EV setup, and the answer is very often “one of your CT clamps is backwards”. I always think.. how the hell can electricians get this wrong all the time? It seems incomprehensible and almost unbelievable. Then I look at my MyEnergi app at 10:30pm on solar install day… 🤪🙄

Edited 271d ago

Apparently ChatGPT is just as bad at writing Makefiles as I am.

Our solar panels have arrived. These will be providing a large proportion of the annual energy for the house, hopefully for decades to come.

Jamie Matthews boosted

a faster python for everyone is better than a faster python for people who grind themselves to dust adding stupid little strings everywhere. i believe in the former and the latter is just trash.

i `from typing import cast`'d for the first time today after spending 45 minutes convincing mypy my 2 minute change was OK, and now i'm fully in the fuck types camp.

fight me.

Jamie Matthews boosted

oblique strategies for programmers:

hardcode everything

do repeat yourself

you probably don’t need that

optimise early, it’s fun

try a new language feature

maybe you can do this entirely with tags and filters

try turning your program inside out

restate the problem

the naïve algorithm is probably fast enough

it is easier to ask forgiveness than permission

it is easier to correct a wrong program than to write a correct program

create a new programming language for this

Edited 360d ago

Slow worms mating in my compost bin!

Lewes District Council goes from 19 Tory councillors to zero 🎉

Tomatoes are in the greenhouse bed I built last year out of old roof rafters. Four different varieties. The plants are probably too small really, but I ran out of pots. First a layer of comfrey and nettles for nutrition, then a thin layer of compost. String anchored under the root ball and tied in to wires at the top of the greenhouse for them to climb up. 🤞🏻 🍅

Jamie Matthews boosted

I wrote a blog post, as an assignment for part of my OU module:

Amazon doesn’t care how you heat swimming pools: ICT and ecosocialism

doubleloop.net/2023/04/21/amaz

A django-readers idea for discussion, feedback most welcome: github.com/dabapps/django-read

Jamie Matthews boosted

Month 3 of trying out EVs. First Renault Zoe, then VW ID3, now Hyundai Kona. They’ve all been great so far, I’m totally convinced. Kona looks smaller in real life than in pictures.

==> Installing graphviz dependency fribidi
==> Installing graphviz dependency harfbuzz
==> Installing graphviz dependency pango
==> Installing graphviz dependency libomp

these can't really be the real names of real things.

fribidi. fribidi. harfbuzz pango!