Category: til
-
Does the EU AI Act really call for tracking inference as well as training in AI models?
I’m sharing this post as it I think it helped me realise something I hadn’t appreciated til today. I don’t build AI models, and to be honest, while I make sparing use of Github Co-pilot and Perplexity, I’m definitely not a power user. My interest in them is more linked to my day job, and…
-
TIL: training small models can be more energy intensive than training large models
As I end up reading more around AI, I came across this snippet from a recent post by Sayah Kapor, which initially felt really counter intuitive: Paradoxically, smaller models require more training to reach the same level of performance. So the downward pressure on model size is putting upward pressure on training compute. In effect,…
-
TIL: Keeping your hair when upgrading Django 3.2 behind a Caddy server
This is a quick note to my future self, on how I recently got Caddy and Django to play nicely after an upgrade from Django 3.2 to a something newer, like 5.0. The problem After updating to Django 4.0, every request that sent data like a POST (the kind you use to login) was no…
-
TIL: buildpacks can rebase to save needless compute work
CNCF buildpacks have a nice trick that if you work with dockerfiles a lot you might appreciate.
-
Comparing what is spent on share buybacks vs the cost of decarbonising the grid
When doing some research this week, I came across what I think is a pretty eye opening stat. Tech firms spent twice as much money buying up their own shares in the last 18 months, as it would cost to buy out and shutdown every coal fired coal plant on earth, and replace them with…
-
TIL: Using Caddy with Django apps instead of Nginx
As mentioned before, I’ve been doing a bunch of work recently with Caddy, and a number of web apps. These are my notes for using Caddy, and why I think I prefer using it over nginx from now on. I also share a sample Caddyfile config for showing how to use it instead of nginx.
-
TIL: Gunicorn settings you will actually use
I’ve recently been doing a bit of work setting up Django applications to work with Gunicorn and Caddy of late, and I’ve settled on these settings for now, as the ones I wish I had at my fingertips when working with Gunicorn to serve python apps. Read on for a sample config with explanations of…