Ephes Blog

Miscellaneous things. Mostly Weeknotes and links I stumbled upon.


Weeknotes 2025-02-17

, Jochen
Pessimist: The glass is half full. Optometrist: That's the letter H --Tess

Managed to accomplish quite a bit outside of my regular work this week.

PySAML2 Updates

A while back, I wrote a tutorial on setting up Django with SSO login using PySAML2's test IdP. Recently, a reader pointed out that the tutorial stopped working with Python 3.13. I filed a bug report with PySAML2 about this issue, and last week I created a pull request to make the test IdP server compatible with Python 3.13.

The main challenges were:

  1. The old cgi module from the standard library was used, but it's been removed in 3.13
  2. The test server uses shelve.open to store data on disk, which now has complications:
    • The dbm module (used by shelve) has switched its default backend from berkeleydb to sqlite in Python 3.13+
    • Cheroot (the HTTP server powering CherryPy) uses threads for concurrency but tries to access the same shelve database from all threads
    • This causes sqlite to complain about reading from a database created in a different thread

My solution is to use dbm.dumb as the backend for Python 3.13+, since performance isn't critical for a test server.

django-cast Progress

I released a new version with support for Wagtail 6.4. I'm happy to report that test coverage is back to 100%! Also made some minor fixes related to uv and tox.

django-resume Improvements

Released a new version with several improvements:

Articles

Fediverse

Software

Videos


Weeknotes 2025-02-10

, Jochen
I'm tall. I have been asked innumerable times to help a stranger get something off a high shelf in a store. I've even offered to help once or twice, though I only do so in dire circumstances. Usually it's something right there, but occasionally I've been summoned from another aisle. This is the code of the tall person. I am bound to help you by my giant blood, in payment of some long-past debt of my people to yours. Don't worry. The pact will always be honored. --Venial Trinities

It's been a hectic week, though not much to report here. Made some progress on django-cast, but haven't pushed out a new release yet. I really need to put together some basic documentation and tutorials for django-resume, but haven't found the time. Hopefully next week!

Articles

Books

Software

Fediverse

Recipes


Weeknotes 2025-02-03

, Jochen
A - DNS record
AA - battery
AAA - battery
AAAA - DNS record
--Kevin P. Fleming

Made it to FOSDEM 2025 in Brussels this year. Great to see some old friends and catch up while hopping between talks. I also gave a presentation about django-resume, a small Django app I wrote for CV management. You can check out both the slides and the video recording of the talk:

Articles

Software

Fediverse


Weeknotes 2025-01-27

, Jochen
You all died in 2016. And yes, this is Hell. --God

I went to a PyDDF meetup and had a great time! I also managed to get my video setup working again, so I might create more video content soon. I've been experimenting with storing code and plugin templates for a Django project in database models - it's somewhat working, though still a work in progress. I've also been playing around with generating context for few-shot learning in LLMs.

Articles

Software

Fediverse

Videos


Weeknotes 2025-01-20

, Jochen
therapist: it’s normal for painful memories to soften over time
me: but what if they don’t? what if they only hurt more as i age?
therapist: do you have any memories in particular you’re thinking of?
me: yes, it’s… *sobs* the end of google reader --April King

Normal week (in the mathematical sense). Just a few links.

Articles

Software

Fediverse