Programmer Humor
- Finally something worse than “looking for 10yrs of SwiftUI experience”
https://mastodon.social/@kangaroo5383/112436855413079538
- Python is great, but stuff like this just drives me up the wall
Explanation: Python is a programming language. Numpy is a library for python that makes it possible to run large computations much faster than in native python. In order to make that possible, it needs to keep its own set of data types that are different from python's native datatypes, which means you now have two different
bool
types and two different sets ofTrue
andFalse
. Lovely.Mypy is a type checker for python (python supports static typing, but doesn't actually enforce it). Mypy treats numpy's
bool_
and python's nativebool
as incompatible types, leading to the asinine error message above. Mypy is "technically" correct, since they are two completely different classes. But in practice, there is little functional difference betweenbool
andbool_
. So you have to do dumb workarounds like declaring every bool values asbool | np.bool_
or castingbool_
down tobool
. Ugh. Both numpy and mypy declared this issue a WONTFIX. Lovely. - Best constant in all of iOS!developer.apple.com CNLabelContactRelationYoungerCousinMothersSiblingsSonOrFathersSistersSon | Apple Developer Documentation
The label for the contact’s mother’s sibling’s younger son or father’s sister’s younger son.
Part of the contact management framework. The label for the contact’s mother’s sibling’s younger son or father’s sister’s younger son.
- There's no place like `[::1]`
I bet all those people that got tattoos of "There's no place like 127.0.0.1" are so embarrassed now that IPv6 has been adopted globally.
- I can see the reference!
Alt text:
Image that says:
HOLY SHIT!! IS THAT A MOTHERF*CKING C++ REFERENCE???
int& a = b;