I’ve just released “Why naïve times are local times in Python”, explaining why it makes sense that the naïve datetime object stopped being abstract and started representing system local time as part of Python 3: https://blog.ganssle.io/articles/2022/04/naive-local-datetimes.html
Useful take-away: dt.astimezone(None)
Nice to see more people making the case that reading the news is unnecessary and probably a net negative in your life:
As usual, I had to cut a bunch of stuff when I went way over time.
I probably should have been tipped off that my “xfail and code coverage” slides weren’t going to make the cut when I put this one together:
In 45 minutes I’ll be giving my #PyTexas talk: “xfail and skip: What to do with tests you know will fail”
The slides are here: https://pganssle-talks.github.io/pytexas-2022-xfail/
Or if you’d prefer a PDF (best on mobile):
https://ganssle.io/files/talks/2022-03-26_pytexas_2022_xfail.pdf
Daniel’s weekly report March 25, 2022
https://bagder.github.io/log/
headers api, curl -w, ghost cve, presentation, wince, podcast, hyper, backend, getting started video
I switched over to AntennaPod a few months ago and I’ve been very happy with it. I’ve even got my first PR started!
We released AntennaPod version 2.5. Biggest improvement? Synchronisation via @nextcloud, implemented by one of our community members. Another step to regaining control over your data!
Check out the details and a list of other improvements on our blog:
https://antennapod.org/blog/2022/03/2-5-release
To be fair, it was jumping around between “way too high” and a mostly accurate number.
Probably there is a software solution to this when I get a chance to hack on it.
And it’s not like you’re going to get tons of daylight after work or anything. The sun will go down at 17:30 instead of 16:30, but if you have a 45 minute commute and want to get to work at 8:30, you’ll have to be out the door at 7:45, 30 minutes before the sun comes up.
Here’s the Sun Graph for New York City: https://timeanddate.com/sun/usa/new-york
Notice how the DST transition keeps sunrise relatively constant? That’s actually a decent feature, particularly for people like me (and people with young children) who tend to get up with the sun.
And they’d need to tell you when those hours start and end. In practice it would be a random mishmash of DST transitions on a per-service basis.
Civil time is a coordination game, so “leave time alone and just get up later” is more complicated than you think.
Imagine how it would look if everyone kept acting the same way we do now but the clocks don’t change. Everyone would need to post summer hours!
@brettsky@mastodon.technology It will be interesting to see if any of these transition into being PyPI packages, and whether they will use the same name. Might be a good test run for trying out a process for moving a module out of stdlib and onto PyPI.
@brettsky@mastodon.technology The final list of modules to be removed looks pretty uncontroversial to me.
Oh wow, the SC accepted the latest version of PEP 594, “Removing the dead batteries from the standard library” a few days ago!
https://discuss.python.org/t/pep-594-take-2-removing-dead-batteries-from-the-standard-library/13508/22?u=pganssle
https://peps.python.org/pep-0594/
Congratulations @ChristianHeimes@twitter.com and @brettsky@mastodon.technology, and everyone who worked hard on this!
[Full-time] Senior Project Manager at Wikimedia Foundation https://www.fossjobs.net/job/10875/senior-project-manager-at-wikimedia-foundation/ #jobs
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.