django-planet

Feed: Carlton's latest posts.

Recent posts on Button, Django, and more.

Blog Carlton's latest posts
RSS 2.0 Feed Carlton's latest posts.
web https://noumenal.es/posts/feed/
Last Update05.18.2024
Posts36

Back to School...

Sept. 6, 2023 » Carlton's latest posts. » [Archived Version]

It's been a pretty tough year. As I've written about before, my son has had a long running illness, that has affected him for about 18 months now. Last academic year he wasn't able to return to school at all after Christmas, and has had various stays in hospital in the intervening period. Over the summer he's made good progress, and this morning, now, he's gone off in the car with his siblings, for the first day back at school. (Normally they'd walk, but we're not quite there.) I don't know …

Read More

Some musings on classes

Aug. 17, 2023 » Carlton's latest posts. » [Archived Version]

I don’t know about you, but I write Terrible Code™, a lot. I’m always banging on about how classes are mainly a namespace because they give me a very neat way of containing that terror whilst I’m working out the details of my code. I’ve done plenty of functional programming in my time, and I like it, I’m a fan. But my experience is that functional composition gets messier, more quickly, and is harder to both contain, and comprehend, than breaking things up in a class. I’m not so confident of…

Read More

The Single Folder Django Project Layout

Aug. 16, 2023 » Carlton's latest posts. » [Archived Version]

I added a quick note on how I start a Django project, a Single Folder layout. This makes the startproject folder an installed app, and skips the separate (often idle) startapp folder. I've been using this pattern for a couple of years and really like it. Give it a read: The Single Folder layout. Post on Fosstodon

Read More

A Quiet Summer 🏝️

July 26, 2023 » Carlton's latest posts. » [Archived Version]

I’m not doing much this summer. I had various plans. More or less, they’re on hold. I’m pottering in the background as ever, but nothing public to show currently. My son’s illness, that I’ve written about several times, is ongoing. Self-care is the top priority, and so it’s batten down the hatches. It’s been a long year. I’m hoping things settle down for the autumn. Hoping for normal service to be resumed then.

Read More

Yak-shaving to Where the Puck is Going to Be.

June 8, 2023 » Carlton's latest posts. » [Archived Version]

My talk from DjangoCon Europe 2023. Up on YouTube now It's essentially a quick WHY on Neapolitan, and the coming soon — django-template-partials. It's only short. Do check it out.

Read More

Weeknotes

May 7, 2023 » Carlton's latest posts. » [Archived Version]

The week that was 2023 WK18 A quiet week on the surface, but lots going on underneath. We had medical appointments with my son Wednesday and Thursday. Posted a TIL on CSRF and Trusted Origins in Django 4.x+, after deploying a new project and hitting this issue again. Joined in a few discussions on the Forum, and one on Trac even. (I’m still trying to avoid the latter for now.) Bumped Neapolitan to 23.10, with minor tweaks to the object_confirm_delete.html template. That’s it for now. Mor…

Read More

Incremental Progress

April 30, 2023 » Carlton's latest posts. » [Archived Version]

The week that was 2023 WK17 My son’s illness continues. He’s no better, really, and it looks like there’s not much that doctors are able to offer him. We spent large parts of this week touring various hospitals for appointments with various specialists, all of which resulted in nothing very concrete. More again next week. I doubt there’s much market for a Medical Facilities of Catalonia guidebook. Updating django-filter… I updated django-filter to v23.2. This deprecates the inbuilt methods …

Read More

The first retirement project

April 23, 2023 » Carlton's latest posts. » [Archived Version]

The week that was 2023 WK16. After a couple of weeks of Post-Fellowing Holiday to myself — and handling only the new notifications on anything that isn’t django/django, and even having capacity to engage on the Forum — time to get back to it. Introducing Neapolitan The first retirement project then is Neapolitan, my take on quick CRUD views for Django. The README example is the core of it… I have a Django model: from django.db import models class Bookmark(models.Model): url = models.URL…

Read More

Django's upcoming steering council elections

April 23, 2023 » Carlton's latest posts. » [Archived Version]

The Django 5.x Steering Council Candidate Registration is now open. The official announcement is here In contrast to previous runs, more or less, if you’re an active member of the Django community then you’re qualified to stand. There have been two such elections since the governance was changed in DEP 10. In both of those we had candidate pools of entirely white men. Nothing wrong with those people 🥰 — but that’s not Django Much social capital was spent adjusting the rules in DEP 12 to al…

Read More

LLMs and the business of “Truth”

April 9, 2023 » Carlton's latest posts. » [Archived Version]

Theodorus claims that we are alike. But if we each had a lyre, and he said that they were similarly tuned, would we just take his word for it, or would we first see whether his statement was backed by musical knowledge? - Socrates in The Theaetetus (144d-e, Waterfield translation) There’s much recently about the new LLM-based GPT and the like. In particular, the fact that they create plausible looking output, which on inspection is utterly baseless. Simon Willison has a good post (as so oft…

Read More