Here’s to a year where we can be nice(r) to each other and focus on the things (and people) that matter. Happy new year, folks
🐍 Pythonista
🐦 Wagtail CMS core developer,
🔥 Developer at Torchbox
May grumble.
Here’s to a year where we can be nice(r) to each other and focus on the things (and people) that matter. Happy new year, folks
Year 2025 summary: better than 2024. Intense, but rewarding. Full of learnings, including learning to let go of some things. More travel (and micro/mini adventures). Here’s to a peaceful 2026
Decided to write some code/do some package maintenance. The 1Password git commit signing agent stopped working. I guess that is a sign to step away from the computer
Aaah.. having a few days off does wonders. Got to tinker, and now I have an old device running Ubuntu (maybe it should've been Debian?), Tailscale and https://frigate.video with an IP camera monitoring the house front. Need to sort out 2 way audio with WebRTC. Now I wonder if I should've gotten a video doorbell for this setup 🤔
@greg_harvey Woah, that is.. 🤯What are the requirements there?!
@greg_harvey Nice one! We just had the same conversation and decision 🏃
This is great:
https://susam.net/fizz-buzz-with-cosines.html
I love seeing these types of more interesting solutions to simple programming puzzles.
@CodenameTim Oh, do have a play - the more eyes the better :D
@CodenameTim Ok, this needs more digging into pytest-django’s source code. Will play with it tomorrow (as I am now properly nerd-sniped!)
@CodenameTim @vossisboss Will try to set up a small test case as my pytest chops are a bit rusty
@CodenameTim @vossisboss @kushal@dgplug.org It may be the same stuff 🙈 https://github.com/ONSdigital/dis-wagtail/blob/main/functional_tests/behave_fixtures.py.
The gist of it is - the snapshot is created once the database is set up
I think what you want is to use https://pytest-django.readthedocs.io/en/latest/database.html#populate-the-test-database-if-you-use-transactional-or-live-server to create the DSLR snapshot, and then at the end reset. Claude suggests something like https://gist.github.com/zerolab/66944bd83a587dad75a38a88aa8a9411 (untested).
It is possible you will also want to override `django_db_serialized_rollback` (https://pytest-django.readthedocs.io/en/latest/helpers.html#django-db-serialized-rollback) to restore the snapshot
@kushal@dgplug.org @CodenameTim I am currently away from my computer, but should be back in ~1hr. We don't have a write-up yet, so will share some links to code (caveat: uses behave, but the principle should apply nonetheless)
@ben I personally use PyCharm, so would endorse Webstorm. Heard folks praising https://zed.dev/ (edit: I see it also has an AI focus, but from what I hear it can is super easy to disable that and it won't get in the way https://zed.dev/docs/configuring-zed#disable-ai)
In light of the PSF's recent loss of an NSF grant and attendant funding shortfall, I will be matching donations up to $5000. Send me your receipts.
Very happy if you've already donated for similar reasons but the point is to motivate *new* donations so be sure the timestamp is after this toot 😉.
I am very glad the Python Software Foundation is sticking to their mission statement.
I'm also bummed that the US government's war on diversity forced the PSF to turn down $1,500,000 of funding.
Imagine if PyLadies and Black Python Devs couldn't have booths at PyCon. Imagine if Charlas and Mentored Sprints for Diverse Beginners couldn't happen. Imagine no PyLadies auction and no funding for meetups that mention diversity. I'm glad we don't live in that world.
https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
Giant kudos to the PSF for turning down a large government grant because it included a clause requiring to not do any DEI work.
That's a lot of spine! 👏👏👏
https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
@vossisboss I only caught a few bits at the start of the first day :( followed up on the rest on Friday/Saturday, but that was enough to see how much effort went in to make it run so smooth and have so much good content. Well done @vossisboss and the rest of the team 👏👏👏 Hope you have a great and well deserved rest!
@thibaudcolas @jake It just had to be done 🤣 (it is not a true conference without them, right?🏃 😈)
iTerm2 3.6.0 "A new AI Chat feature was added" Et tu, Brutus? GTFO of my terminal app! At least you have to install a plugin to enable the AI feature, but boy oh boy we did not need this
I found this thoughtful and thought-provoking: https://kennethreitz.org/essays/2025-08-25-when-values-eat-their-young
When Values Eat Their Young: How Ideal-Driven Groups Drift into Their Own Shadow