Show more

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: blog.ganssle.io/articles/2022/

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:

thomasjbevan.substack.com/p/al

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:

Show thread

In 45 minutes I’ll be giving my talk: “xfail and skip: What to do with tests you know will fail”

The slides are here: pganssle-talks.github.io/pytex

Or if you’d prefer a PDF (best on mobile):
ganssle.io/files/talks/2022-03

Daniel’s weekly report March 25, 2022
bagder.github.io/log/
headers api, curl -w, ghost cve, presentation, wince, podcast, hyper, backend, getting started video

Why yes, I am something of a gourmet; how could you tell?

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!

AntennaPod  
We released AntennaPod version 2.5. Biggest improvement? Synchronisation via @nextcloud, implemented by one of our community members. Another step ...

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:
antennapod.org/blog/2022/03/2-

Ah yes, a banana is the perfect exemplar of the letter “C”, considering that they have so many carbohydrates!

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.

Show thread

Hmm… Not enthused about the accuracy of my ’s heart rate monitor…

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.

Show thread

Here’s the Sun Graph for New York City: timeanddate.com/sun/usa/new-yo

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.

Show thread

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.

Show thread

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!

Show thread

For the record I actually have come to like DST transitions (particularly in the era of computers where every device I have sets its own clock), but I’d also be fine with having no DST.

I am not a fan of permanent DST.

@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.

Show thread

@brettsky@mastodon.technology The final list of modules to be removed looks pretty uncontroversial to me.

Show thread

Oh wow, the SC accepted the latest version of PEP 594, “Removing the dead batteries from the standard library” a few days ago!
discuss.python.org/t/pep-594-t

peps.python.org/pep-0594/

Congratulations @ChristianHeimes@twitter.com and @brettsky@mastodon.technology, and everyone who worked hard on this!

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.