PSA: Because of how Python's enum.Enum implements nominal typing and how Python imports work, it risks seemingly mundane refactorings causing var == FooEnum.Bar comparisons to start to mysteriously fail when PyQt and Qt Designer's "Promote..." feature are involved. If you don't need such strict nominal typing, using enum.IntEnum to relax the equality comparison will avoid that source of footguns.
I recently saw an amazing Navajo rug at the National Gallery of Art. It looks abstract at first, but it is a detailed representation of the Intel Pentium processor. Called "Replica of a Chip", it was created in 1994 by Marilou Schultz, a Navajo/Diné weaver and math teacher. Intel commissioned the weaving as a gift to the American Indian Science & Engineering Society. 1/6
Put a pin in this for future sharing → https://www.youtube.com/watch?v=mO46CNftRDs
"Actually, it's not asteroid bacteria... we discovered that bacteria managed to evolve to eat the cleaning products we use to sterilize clean rooms" is one of the most intuitive examples I've seen for why people shouldn't leap to assuming fantastic answers like UFOs or cryptids.
Tip: If you're using WinSCP's synchronize command in a script but you don't edit your script very often and your new exclusion pattern seems to be getting ignored, check if you're trying to name a directory without including the trailing slash.
#windows #winscp #scripting
Tip: If a recent Firefox update added smooth scrolling despite the checkbox still being unchecked and you don't like your scrolling being slow/laggy, try going into about:config and toggling the `general.smoothScroll.mouseWheel` pref to also be false.
#firefox
Linux user, open-source enthusiast, science buff, and retro-hobbyist who occasionally reviews fanfiction.