Should coverage.py report a missing branch if a comprehension doesn't run to completion? https://github.com/nedbat/coveragepy/issues/1617#issuecomment-1535647011
Would it be better if instead of "2->exit" it said "completion(2)" ?
@jonafato "No, no, no, you've got us all wrong. We're trying to store it as a string, but sometimes Excel automatically turns it into an integer if it starts with a 0."
@wrog Interesting, though I think the Gregorian calendar is Good Enough™ at this point, and changing calendars would do more harm than good.
We won't be out of sync with the solar year by a margin of one day for another 2900 years. By then I fully expect us to either be extinct or at a level of technology where the seasons on Earth are not that important. Even if they are, there are still tens of thousands of years before things other than "hmm, the equinoxes seem to be off by a day" start to become obvious.
Bugs like `dt.replace(year=dt.year + 1)`, code that works with ordinal day-of-year, etc.
@astrojuanlu Matrix is not great (literally nothing in this or the adjacent "SMS replacement" space is, in my opinion), but E2EE that is both secure and good UX is like... obscenely hard.
@astrojuanlu I mean, that's from E2E encryption, which I think Discord doesn't support at all? You can turn that off, and it's pretty easy to share keys between devices.
@rober Lol, "Our user experience is trash, but we also have a different trash UX that is complementary to the other one!"
I appreciate the helpful tip, but also I'm not sure I want to encourage the continued existence of Discord.
@drewtoynbee This may be of interest to you, @astrojuanlu
"Oh I need to communicate with someone on Discord quickly, guess I'll launch it. Oh, there's an update available, so Discord *prevents me from opening their appliaction*."
Reason #215 to avoid #discord.
Just released Typer 0.8.0 🔖
With support for ✨ custom param types ✨
Thanks to John Purviance for the work in the PyCon sprint! 🍰
https://typer.tiangolo.com/tutorial/parameter-types/custom-types/
Post-conference notes from my experience at PyCon 2023. I think I am squeaking under the wire for these to still be relevant…
@kazarnowicz FTR, the "official" meanings are:
bemused = confused
quizzical = mildly amused
nonplussed = frazzled / shocked / confused
easterly = going from east to west (there may be contexts where the official meaning is the opposite of this)
Probably at least half of all people think that they mean:
bemused = mildly amused
quizzical = confused
nonplussed = nonchalant
easterly = going west to east
It's basically never clear from context which meaning an author intends, so practically speaking these words are useless now 😛
@kazarnowicz I am a native speaker, and I suspect that I have an unusually large vocabulary, but I got that from reading a lot, and these days if you read on any kind of e-reader device you can long-press on a word to define it. I suspect that most people won't know the word but in most contexts I can imagine using it the meaning should be clear enough.
Unlike, for example, the words "bemused", "quizzical", "nonplussed" or "easterly", where you get sentences like, "Harold gave Jane a bemused look", and you don't know if the author is in the group of people who know the "correct" meaning or the group of people who thinks it means the thing it sounds like it means.
@kazarnowicz Yes, but I had to look it up to verify that I had it right.
Genuinely the best thread I've seen on Hacker News in years: "Ask HN: Most interesting tech you built for just yourself?"
So many delightfully niche projects!
https://news.ycombinator.com/item?id=35729232
Note: This is one of the *exceedingly rare* occasions where I like something like this.
For the most part I find content about datetimes, DST and programming in general to be boring and uninteresting.
Heading home from #PyConUS, ready to relax and see my family again after 10 days in SLC.
To celebrate, here's some fiction relevant to my work that you might be interested in:
Anyone have videos of the club juggling that happened at #PyConUs? I saw some on phones, but I guess they weren't shared?
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.