Pinned post

Latest post is a big one: "Why you shouldn't invoke setup​.py directly"

A lot of people don't know about this because we haven't been great about getting the word out. This blog post is in part an attempt to remedy this.

Please help spread the word!

blog.ganssle.io/articles/2021/

Pinned post

From the archives of my blog but still very relevant: "pytz: The Fastest Footgun in the West", about why you probably shouldn't be using pytz:

blog.ganssle.io/articles/2018/

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.

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.

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.

🤦‍♂️

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

I think I should have used Cunningham's law instead of asking questions in [this post](discuss.python.org/t/pep-810-e). I suspect I would have gotten more people weighing in.

At least I'm teaching my children the valuable lesson that watching sports is boring and unpleasant.

Show thread

First time going to a baseball game since I was a child and I am impressed with the degree to which every aspect of this is mild to moderately unpleasant, starting with the fact that in order to access the tickets it was *required* to download the "MLB Ballpark" app (which is apparently different from the "MLB" app).

As promised, what I've been doing in 2025 part 2. Announcing FinFam: sedimental.org/announcing_finf

Mahmoud Hashemi  
Coming out of the cave https://sedimental.org/what_i_ve_been_up_to_in_2025.html

Heads-up: pytest-cov 7.0.0 released today with a breaking change: it no longer coordinates subprocess measurement because coverage․py now does it for you. But you need to enable it with `[run] patch=subprocess` in your configuration.

Me: "We might go to a bookstore."
Son: "Aww, I don't want to go to a bookstore, it's probably very crowded because so many people like books."
Me: "Ha ha"
Bookstore: *actually is fairly crowded*

I told my 7 year old that if we moved to London he would probably get a British accent eventually and now every 5 minutes he worriedly asks me if he has started talking British yet (he has yet to interact with a British person).

My credit card when I buy gas on a highway near my house: "Seems pretty sus... 🤨"

My credit card when I order zero calorie sauces from Spain, delivered to someone else in the Netherlands, with that person's name as the cardholder: "All good bro, enjoy your sauces! 👍"

I can't tell if their fraud detection are not that good or if they just know me really well 😛

Show older
Qoto Mastodon

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