Notes for week 24 of 2021
I was disabled by heat wave and life events. I tend to migrate north for the summer, but this is not practical this year, hence I am mandated to suffer.
Random
- I’ll be looking for a new adventure that starts in October. If you know about something where I may be a fit and don’t mind waiting until then, let me know
- The “political” article is out: On Consequences of Europe’s Age Pyramid
Graveyard
- Finishing boring jobs™ this week. As a reminder on why you should have the minimum amount of system tests possible, I am debugging a flaky test that only happens in CI and never locally (at least not within a day of running it nonstop)
- Once again, it took me a while to save a chain of related models properly. When working with foreign keys, Django doesn’t travel the hierarchy for you. Hence you must correctly
.save()
individual objects in the hierarchy, bottom-up and only assign related models to their fields after they are saved. Otherwise, everything will work in the context of the same page or script, but the relevant IDs will not be saved in the database. Django will scream if those relations areNOT NULL
, but not otherwise
Personal
- I’ve walked 3 km. I’ve been active for 0.7 hours during 1 activities. This week’s max speed was 10.8 km/h
- Related, I hope my bones are back in order and I am post my shot, hence numbers should go up despite local heatwave
- Recipe of the week is Isa’s Pad Thai
Recommended Readings From This Week
- Protect Your Data with PostgreSQL Constraints: psql constraints are cool (if you can afford them)
- Europe is now a corporate also-ran. Can it recover its footing?: Europe not on a good path yet
- Ramesses II: the first (and probably the last) mummy to receive a passport!: OK 😅
- What’s up with Russia’s internet: I unfortunately agree. The Internet as the sparsely-linked collection of national intranets
- Europe’s Software Problem: I agree with the problem, although not with the solution
- Simple Burnout Triage: Good prompt
Published in Weekly Notes and tagged Weekly Notes