@brainwane I feel a caper coming on.
<Googles "how to break into a zoo">
<Googles "discount clam outlet">
@meejah Yeah, that seems a bit of premature optimization for variable literals, though. I'm pretty sure it will always be faster and more compact to use chaining on the "is" case even if the number of elements grows:
if a is b is c is d:
...
This doesn't need to construct a tuple, a generator, or invoke a function.
For the `is not` case you need N - 1 "None"s to compare N variables, so:
if a is not None is not b is not None is not c:
...
So there's a stronger case for `all(x is not None for x in (a, b, c, d))`.
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:
…
@brainwane I'm sure it'll be fine. A little back stiffness isn't going to do me in. 🙂
@whirli I got a big one (appropriate according to the size chart). It certainly feels as tall or taller than my chair, and my sitting position feels closer to the right height for this desk I have.
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/
@freemo @soundofsun True, though I assumed the leads aren't necessarily exposed on all of them.
Also, photodiode + raspberry pi could work without actually having an oscope with the proper probes.
@soundofsun @freemo If you have a photodiode with a fast enough response time and something you can use as an oscilloscope (probably a raspberry pi would be enough at the frequencies a human would be able to perceive), you could try to measure it.
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.
@whirli I'm pretty sure that won't work because of the nature of torrent files. They contain hashes of all the blocks, so if the contents change you need a new .torrent file.
Possibly you want something like #syncthing? That works similarly to BitTorrent, but is intended for syncing.
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...
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.