I am somewhat bothered by allowing this.
I'd expect `def choice[A, B](a: A, b: B) -> A | B: ...` to be "allow any 2 types" and the `choice[T]` option to be "allow only the same type".
Widening that to `A | B` means I cannot express the narrow case.
Posts by Tamir Bahar
Oh, great, pyright gives yet another result...
pyright-play.net?strict=true&...
Seems like mypy, ty, and pyrefly are in disagreement about the result here. Which... isn't great, probably.
mypy-play.net?mypy=latest&...
play.ty.dev/3d703d87-f21...
pyrefly.org/sandbox/?pro...
Now that the remaining PNG files have been manually OCR'd, the total stands as follows:
We've raised $9238.74 which is 54.3% of our $17000 total. Once again within 24h of a contributor joining the match we are over half full, but we all stand ready to be maxed out so please keep those donations […]
Yes.
But that might change now.
A comic on the bridge from Star Trek the Next Generation. Picard: COMMANDER DATA, PLEASE IDENTIFY THAT ROMULAN VESSEL. Data: THAT'S A GREAT IDEA CAPTAIN! IDENTIFYING A VESSEL IS A GREAT PLACE TO START - IN ANY TACTICAL OR STRATEGIC OUTER SPACE SITUATION. THIS VESSEL APPEARS TO BE A 23rd CENTURY KLINGON BIRD OF PREY! 🚀🦅✨ Picard: ARE YOU SURE? LIKE I SAID WE'RE... PRETTY SURE IT'S ROMULAN. Data: ... Data: OF COURSE! SO SORRY ABOUT THAT, YOU'RE RIGHT! ON CLOSER EXAMINATION IT'S A ROMULAN VESSEL! CAN I RECOMMEND SOME SOONG™ BRAND PRODUCTS THAT CAN HELP YOU WITH THAT? Picard cradles his face in his hand in a gesture of frustration. Data: DID I MENTION THE PLIGHT OF OPRESSED WHITES IN SOUTH AFRICA?
realistic Star Trek
Oof, that was painful. 14/21
I got stuck when they mentioned Judge William Alsup, which I think is the same Judge Alsup from the #googacle trials
pyref.dev now supports NumPy!
- pyref.dev/numpy
- pyref.dev/numpy.array
- pyref.dev/numpy.random...
What is pyref.dev you ask? It provides shortcuts to official Python API reference docs.
#Python
Ooh! The "finally" block on this one is great!
7, with a periodic table placement.
Conversations with 7-year-olds:
7: You know, mom. There's one element that's not on the periodic table.
Me: Oh yeah? What's that?
7: The element of surprise.
I really like how you can see the structure in this one. Really tempting to break this into separate functions.
Off Book: The Improvised Musical
They improvise a new original musical every episode, and it's fantastic.
A comic showing a white man with a giant cake, a black trans woman with a small cupcake and a white c!s woman with a small piece of cake. C!s woman: "This isn't okay." Trans woman: "You're ri--" C!s woman (at the trans woman): "You're not a woman! You're a man! You're erasing me!!"
Thanks!
Do yoy also measure coverage for test code?
That was awesome!
Thanks, Patrick!
Aaaahhhhh!
@patrickhwillems.bsky.social just released the Speed Racer video and I'm so excited!!!
Less than a month after the previous one?
Are you guys okay? Should we be concerned?
In a world of Matts, be a Derek.
Exciting news!
And thank you for all the hard work!
Great to see you're on bsky, and great video!
I'm reminded now of the post-credits scene in the season finale of Westworld S01. It absolutely destroys the ending and made me so angry at the time.
holy shit hell froze over and GitHub added uv.lock support to Dependabot: github.com/dependabot/d...
And of course, we're on that list too... One day we'll have elections again, and maybe, just maybe, we'll manage to replace our awful government.
And as usual - great video, thanks!
Thanks for bringing up my post again. It makes me laugh every time!
Really had me laughing out loud this time :)