Advertisement · 728 × 90

Posts by Tamir Bahar

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.

2 months ago 1 0 1 0

Oh, great, pyright gives yet another result...

pyright-play.net?strict=true&...

2 months ago 1 0 1 0

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...

2 months ago 1 0 2 0
Preview
Ore wa Subete wo "Parry" suru: Gyaku Kanchigai no Sekai Saikyou wa Boukensha ni Naritai The Kingdom of Clays faces a dire crisis: an assassination attempt has just been made on its own Princess Lynneburg, and its neighboring countries eye the aftermath like starving vultures, plotting th...

Pretty sure you weren't thinking of this one, but... myanimelist.net/anime/57058/...

3 months ago 0 0 0 0
Original post on mastodon.social

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 […]

5 months ago 3 10 1 0
Post image

#TechDebt

6 months ago 35 10 1 1

Yes.
But that might change now.

7 months ago 1 0 0 0
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?

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

7 months ago 6551 2499 47 80
Advertisement

Oof, that was painful. 14/21

7 months ago 0 0 0 0
Google LLC v. Oracle America, Inc. - Wikipedia

en.wikipedia.org/wiki/Google_...

7 months ago 1 0 0 0

I got stuck when they mentioned Judge William Alsup, which I think is the same Judge Alsup from the #googacle trials

7 months ago 0 0 1 0
pyref.dev - Python Reference Docs

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

9 months ago 6 3 0 1

Ooh! The "finally" block on this one is great!

10 months ago 1 0 0 0
7, with a periodic table placement.

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.

10 months ago 9727 600 303 50

I really like how you can see the structure in this one. Really tempting to break this into separate functions.

10 months ago 1 0 0 0

Off Book: The Improvised Musical

They improvise a new original musical every episode, and it's fantastic.

10 months ago 1 0 0 0
Advertisement
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!!"

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!!"

11 months ago 11685 3255 49 44

Thanks!

11 months ago 3 0 0 0

Do yoy also measure coverage for test code?

11 months ago 0 0 0 0

That was awesome!
Thanks, Patrick!

1 year ago 0 0 0 0

Aaaahhhhh!
@patrickhwillems.bsky.social just released the Speed Racer video and I'm so excited!!!

1 year ago 0 0 1 0

Less than a month after the previous one?
Are you guys okay? Should we be concerned?

1 year ago 2 0 0 0
Post image

In a world of Matts, be a Derek.

1 year ago 31622 7937 446 252

Exciting news!
And thank you for all the hard work!

1 year ago 0 0 0 0

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.

1 year ago 0 0 0 0
Advertisement
Preview
Support updating `uv.lock` · Issue #10478 · dependabot/dependabot-core Is there an existing issue for this? I have searched the existing issues Feature description Now that uv has a lockfile, it would be nice if dependabot supported making updates to pyproject.toml an...

holy shit hell froze over and GitHub added uv.lock support to Dependabot: github.com/dependabot/d...

1 year ago 58 8 2 0
Creating a PyPI Project with a Trusted Publisher - PyPI Docs

Via trusted publishers docs.pypi.org/trusted-publ...

That's my go-to now.

1 year ago 1 0 1 0

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.

1 year ago 1 0 1 0

And as usual - great video, thanks!

1 year ago 1 0 0 0

Thanks for bringing up my post again. It makes me laugh every time!
Really had me laughing out loud this time :)

1 year ago 0 0 2 0