Show newer

🎙️ Bored this weekend? Well, we have Part 2 of the interviews from the CPython core sprint in Cambridge UK. Don’t worry, this one’s shorter than Part 1. Only 2 hours 18 minutes. Much less than Part 1!

✨ Hear from Greg, Thomas, Paul, Pradyun, Carol, Guido, Brett, Erlend, Tal, Lysandros, Yury, and Diego.

creators.spotify.com/pod/profi

SemVer is just an attractive nuisance at point. The concept simply doesn't survive even a short contact with reality.

I have to say that unfortunately, since Mozilla took over K9 mail and turned it into Thunderbird for Android, it has really ruined the usability for me. Anyone have any recommendations for other email clients?

Bonus points if they can handle sending from catch-all email addresses.

@ehmatthes It would be nice if this ends up implemented in ruff, since the majority of the time accessing one component of a timedelta is not something you want to do anyway: github.com/astral-sh/ruff/issu

@ehmatthes FYI there is a much more elegant way to find out how many of a given time unit there is in a timedelta, which is to divide it by another timedelta, like so:

```
>>> timedelta(days=3) / timedelta(hours=1)
72
```

In fact all the talk about normalization feels a bit misleading. The root of your original bug isn't really normalization so much as the fact that you are accessing a component when what you wanted was a view onto the entire duration.

Might be a controversial opinion, but I think using freeways for long term parking might not be the most effective use of the roads...

I am unreasonably pleased that has open wifi with no captive portal.

@pamelafox I pretty only write pytest tests in classes when I might subclass them for some reason (or when directly migrating something based on unittest), but using them as a namespace makes a certain amount of sense.

So this happened at TSA today, which means it's time to get new headphones. Are bone conduction headphones still the best option for headphones that you can wear all the time but you can hear it when people talk to you?

My ideal headset would be very discreet, such that people can barely tell you are wearing them (or if they are visible I would prefer if people felt comfortable talking to me while wearing them).

I do not use Apple products.

@nowis To be fair, how could someone know more than one language? What are these people, computers?

Just got hit by the thing where YouTube on mobile automatically dubs videos into the language your interface is in with no way to turn it off (WTF?!). The solution I found was to open the video in NewPipe and go to Settings > Video & Audio > Prefer original audio.

🤦‍♂️

@ccriss92 No te preocupes, ahora es temporada de ascensos, y cuando asciendan a la gente que hizo esta barbaridad, se puede arreglarla para que la siguiente tanda de empleados pueda conseguir sus ascensos. Es el círculo de los ascensos.♻️

@andrewblasco @jordibal @ccriss92 @Paroxia Si usas NewPipe, puedes ir a Ajustes > Video y Audio > Prefiero audio original.

Hmm... Should I take a few hours to buy a new computer now, or should I wait until my existing computer completely falls apart and buy one in a panic later... Choices, choices...

(Just kidding, it's definitely going to be the second one)

The traditional Columbus Day celebration of not going to work sometimes.

Show thread

7 y/o: "What's Columbus Day?"
Me: "<General explanation of who Columbus was>... So basically, it celebrates when Europeans discovered America."
7 y/o: "Oh, so basically it has no purpose."

Though I will admit that there are also NO OTHER REASONS for putting lazy imports in a context manager. It's just the backwards compatibility use case and no others.

Show thread

I further contend that other than `contextlib.suppress`, there is no other situation where lazy imports in a context manager could be dangerous.

Show thread

*Ahem* I hereby affirmatively state that the ONLY ergonomic way to functionally backport lazy imports would be to use a context manager. Even a *genius* could not come up with a better way.

Show thread
Show older
Qoto Mastodon

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