We were very surprised that my (reluctant first time dog-owner) parents were told to physically pin their dog down as a way of asserting dominance. It’s weird to see that this might be “a thing”.
It just seems like it is likely to make the dog see that as a way of trying to assert dominance, whereas in almost all other cases positive reinforcement (and negative attention from undesired attention) seems to be perfectly adequate.
Perhaps it’s only supposed to be something for the worst-case untrained dogs and has spread out from there?
The pinning is something dogs sometimes do. We have fostered dog moms with puppies and sometimes the mom would put an unruly puppy on its back and grab it by the throat. It seems to be last resort when the usual communication like growling doesn’t work.
Everyone has said everything wrong about it already. Nevertheless, Apple can sugarcoat it as much as they like. There’s no technical control (no actual nor possible one) making this exclusively about targeting CSAM.
You do realize that in order to get milk from a cow there is a precondition that ultimately leads to slaughter anyway? Unless you can afford keeping every calf and won’t exploit them for milk further.
Also, function body can be any compound command, so instead of braces {}, you can have parentheses (), which causes each function call to spawn a subshell. Very useful if your function needs isolated state or you change working directory and don’t want to affect global state. You can have exit command in such function, because it terminates the subshell only, not the whole script.
for, while and until are also compound commands, so they also can be used as function body directly without braces, but there’s no practical use for that, really.
That’s why you need more than one layer of security over your critical assets. Network based access control to me always feels easy to misconfigure. Basic auth would delay attacker. Encryption of data at rest would render stolen data unusable to attacker.
General advice - perform threat modeling of your services to uncover weak links.
The man is simply harmful, tho [1]. His methods promote aggressive approach where you take control by threatening your dog with your body language.
[1]: https://www.youtube.com/watch?v=ppLnTlF8s0k (huge number of dislikes, but talk to anybody who works with dogs professionally)