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
@wsvincent DabApps. A few others that spring to mind: Potato, HackSoft, Sunscrapers
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. 🤞🏻 🍅
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
A django-readers idea for discussion, feedback most welcome: github.com/dabapps/django-read
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!
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 💚 🌟 #django #opensource #python
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! 💚
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. #climate #CDR #NetZero
I asked ChatGPT-4 to write a haiku about solar panels:
Sun's rays from above,
Silent power on rooftops,
Green energy thrives.
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
£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 #insulatebritain
@ghickman I asked a few people including a couple of electricians. Everyone said the Zappi is best. Particularly if you have solar panels (which I don’t but hopefully will soonish).
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.
And here's the official call for applications to be the next Django Fellow.
Don't be shy! It could be you! 🚀
My ISP is on the Fediverse social.aa.net.uk/users/aaisp/s