Show newer

Interesting, `date` seems to support dates with ambiguous three-letter offsets, though it's unclear how it decides to disambiguate them. Looks like "IST" defaults to "India Standard Time":

$ TZ=UTC date --iso=m --date="Thu Aug 27 12:34:56 AM IST 2020"
2020-08-26T19:04+00:00

Oh man, I just found out that many TVs have a built-in setting (called CEC) for controlling devices and that you can control your OSMC Raspberry Pi with your TV remote by just enabling it. I could have had a single unified remote for YEARS!

instructables.com/id/Raspberry

Warning from @try_osmc@twitter.com, though:

"On paper, it's great, but due to different implementations by AV equipment manufacturers, it can also cause a lot of problems."

I had been delaying getting back into electronics and wearables until after the boy is a bit older (he's 2.5 now), but I think for the right project he might be ready to take some pride in helping me build something already.

Very disappointed that my workbench didn't come when they said it would (Friday). My son was excited to put it together with me.

Anyone have recommendations for a TV where it's relatively easy to physically disable the wifi (and where doing so won't degrade the user experience for a normal user who doesn't care about the "smart" features)?

We need a new TV and apparently you can't just get normal TVs anymore.

Interesting question from here: kenta.blogspot.com/2020/08/kpm

"What would baseball bats look like if rules regarding their shape, weight, and composition were lifted?"

(I find this blog mildly frustrating in that it poses many interesting questions but with little discussion.)

Word of the Day:

syr·up·ti·tious, adj. secretly adding or attempting to add syrup to something.

"to avoid judgmental looks, I'm always very syruptitious when flavoring my waffles"

Big exciting day coming up: It's almost the randomly chosen day that Google thinks is my birthday! I think I'll be 47 (so hard to keep track once you hit 40).

I need to earn more tech media awareness of the coming change to pip. Most of the people who will be affected by the big change in October will not hear about it until then. Today I emailed a bunch of lists, newsletters, etc. github.com/pypa/pip/issues/851 . I know it is not enough.

Show thread

"Doctor, it hurts when I invoke setup.py install."
"Stop doing that then!"

(Seriously, always use pip install, never setup.py install)

A very annoying auto-antonym: westerly (or easterly, or other direction + erly words).

It means either "moving towards the west" or "coming from the west". The westerly winds take you east.

dictionary.com/browse/westerly

That awkward moment when you get to your desk and your co-worker has borrowed your chair, WFH edition.

Looking for a podcast to listen to while grilling (US), pining for past glory (UK), or going about your normal business (everyone else)?

This 4th of July, I'm on @TalkPython talking about datetimes and time zones! Check it out:

talkpython.fm/episodes/show/27

New to the suburbs: How long until I stop feeling like Batman entering the bat cave every time I open the garage on approach, park, then close the garage door behind me?

It's weird when I occasionally get an upvote on an old SO answer that reminds me that at some point in the distant past, I knew enough Java to usefully answer StackOverflow questions about it.

@bitecode Multiple tools use pyproject.toml in different ways. black, isort, poetry, flit, towncrier, and more to come.

Some of those tools are packaging tools.

Regardless of whether or not you use a tool that has a tool-specific use for pyproject.toml, you should also add a pyproject.toml that has the build-system table, because that is the common configuration for *all build frontends*.

@bitecode Whatever. I do not have time to continue to explain to you what you refuse to understand.

I understand that people are confused by the fact that "pyproject.toml" tends to be a stand-in for both PEP 517/518, and that people seem to think that any addition or use of a pyproject.toml file is the same somehow?

I would urge you to *please* stop making our job harder by giving your ill-informed opinions on packaging and pyproject.toml,

Right now, there's no situation where you would ever be confused as to whether you should specify something in setup.py or pyproject.toml because setuptools doesn't use pyproject.toml for its configuration (in a setuptools project, pyproject.toml is a configuration file for the build front-end — e.g. pip or tox, not the build backend).

@bitecode This is wrong: "The two files have a lot of overlap"

What overlap is there, exactly? Currently, the only standardized table in pyproject.toml has *zero overlap* with setup.py (if you don't include setup_requires, which kinda-sorta does something similar to build-system.requires, but is also deprecated and should not be used).

Show older
Qoto Mastodon

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