Lots of birds in my backyard this morning:
- Pileated woodpecker
- Downy woodpecker
- Bluejay
- White-breasted nuthatch (?)
- Warbler with yellow head and back
- Some sort of hawk
Head's up: Major breaking change coming to tzlocal, as in the next version it will return zoneinfo time zones: https://github.com/regebro/tzlocal/pull/92
Anyone using `tzlocal` should test against master. If your application doesn't break, you are probably using tzlocal wrong anyway.
Now I need to get a telephoto lens for my phone or camera, because I keep wanting to take pictures of the stuff I see in the binoculars.
If you wanted to write a conditional to check whether both a and b are None or neither are None, would you use comparison chaining for either condition, both conditions, or neither?
Chaining:
if a is b is None:
…
if a is not None is not b:
…
Non-chaining:
if a is None and b is None:
…
if a is not None and b is not None:
…
My brother apparently has a kidney stone, so of course I had to send him this: http://www.thomas-morris.uk/the-self-inflicted-lithotomy/
A Few Github Action “Recipes” for Rust - shift.click
https://shift.click/blog/github-actions-rust/
Generated using Ye Olde Yorker: https://yeoldeyorker.hashbase.io/
It's pretty fun to generate New Yorker cartoons.
Google removed @k9mail from the Play Store without prior notice because they objected to the following text in the app description (that has been the same for more than a year):
(People sometimes call K-9: K9, K9 Mail, K-9 Email, K9 Email, K9 E-Mail, k9mail or k9email.)
Oops., time to stop using pep517.build!
https://github.com/pypa/pep517/pull/83
Instead, you should start using a brand new library that doesn't have a release yet!
Sorry if you took me seriously when I recommended this tool for the past few years because there was nothing else...
"Now, I see your birth plan involves Mike standing guard at the door with a spear because of... prowling sorcerers?"
"Yes, they can be very tricky."
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.