Posts by James Beith
Nice! I have a couple of helpers in mine to print objects and Django model instances.
www.jamesbeith.co.uk/til/2025-06-...
TIL How to use reserved domains in tests to prevent DNS queries
www.jamesbeith.co.uk/til/2025-07-...
π€¨ My last renewal for a .com with them was Β£10.91 / ~US$14. I already use Cloudflare so I'll likely switch my domains to them now too. Thanks, glad I checked this.
Take a look at www.gandi.net too, they've served me well.
Very well, thanks. Hope you and yours are the same π
Made me think of "rubber duck debugging". Maybe this is "duck testing" π
Great tip. Have blocked over 15,000 requests in the past 24 hours with a very similar rule I just setup.
Kinda crazy to think I've been working at Kraken (part of the Octopus Energy Group) for nine year now ππ What a wonderful company to be a part of.
kraken.tech
TIL How to catch missing referenced files in Django static files manifest
www.jamesbeith.co.uk/til/2025-02-...
Nice article. For the "Non-obvious variables and values" example, what about considering different types that are more self describing? For example,
```python
SESSION_COOKIE_AGE = datetime.timedelta(weeks=2).total_seconds()
```
Nice work. That's even more impressive when British me doesn't read that as 'three point one seven five' meters π
This is a handy tool for generating importmaps, although it targets a CDN rather than local.
generator.jspm.io
There's a CLI tool too which might offer support for local packages?
jspm.org/docs/jspm-cl...