I just got back from a short vacation on Amtrack. It was my first sleeper car experience -- I slept poorly, but the dining was not too bad. Much better than airplane food and with an excellent view of the fall foliage.
The recent Synology update removed Video Station and HEIC support from Photo Station. I'm annoyed that they can arbitrarily remove consumer focused functionality in an update like that. There has been quite a bit of grumbling in /r/synology about this.
(the script itself is of no use to you since it only talks to a piece of hardware)
The command dispatcher case statement and all the embedded help is in do_cmd() at 2857, and the help reader is help() at 425
I like their explicit #args vs #help
One jank in mine is I have a verbosity level setting which affects most messages, and help() uses it to filter some of the help. Normal verbosity shows only the normal help for the normal commands. If verbosity is set higher, then help() shows more commands.
The way that's implimented in help() is extra comments that change the behavior of help() as it's scanning the file from top to bottom.
When it hits a '#v 2' it starts only displaying the help if the user has currently set verbosity>=2 until further notice. Later down the file it hits a '#v 1' and starts displaying help again...
It works but it feels kind of 70's or assembly.
#v 1
#h normal help for mortals
#h ...
#v 2
#h don't confuse the simple folk with this dangerous powerful stuff...
#h ...
#v 1
#h a few more normal commands
#h ...
#v 0
#h display this even the user has set verbosity to 0 to request silence
#h ...
I mean, this is basically all of Bash lol. A very clever idea that has endured since the 70's but also shows it... And yet we get obsessed with "writing perfect Bash" still.
The amazing thing is that there are also old "functional shells" like es-shell https://wryun.github.io/es-shell/ (he still works on this and it is indeed very interesting!)
No one is saying it's a hard requirement. It's a recommendation to understand how difficult raising a creature that depends upon you for everything is.
Which part is not how life works? Quick Google searches say that the average lifetime expense for a dog is $20k to $55k; for a child it's $240k. I'm sure these numbers could be argued endlessly, but the rough order of magnitude is right. And life really does work like "if you can't afford $X, then you definitely can't afford $10X".
> I'm sure these numbers could be argued endlessly
Indeed they could. Most painfully, the child figure includes things like the cost of keeping a larger house. Yet in reality a child couldn't care less how big or small of a house you have. Hell, early North American settlers used to live in tiny, one room log cabins and raised like 12 children in them just fine. If parents choose to live in more luxurious accommodations, good on them, but if we are being honest that is an adult cost to satisfy adult desires, not a child cost. The cost to support a child on what is actually necessary to support a child is only a tiny fraction of that.
But let's say, for the sake of discussion, that the figure is irrefutable. A big difference is still that the child starts to contribute after the first few years. The outflow may be $240k, but there is an inflow to offset it. Unless you are an evil parent who locks the kids in their bedrooms until they turn 18, a net gain would not be unexpected.
While there may be individual dogs out there that could have the same said about them, in the typical case the dog can't offer anything to contribute, even if the dog wanted nothing more.
When do kids start to generate money? I'm not aware of this happening to any significant level until they are in their mid-late teens. And even then the amount they bring in is vastly less than the costs of looking after them.
By the time they are 4-5 they become quite capable of doing many things. A good place to start is cleaning the house. You are, at least in these parts, going to pay an adult at least $20 per hour to convince anyone to show up – or $20 per hour to yourself if nobody else does. If we assume 30 minutes of work each day, that's $3,650 over the course of the year.
Studies that focus on what it actually costs to raise a child – not what it costs to raise a child and stroke parent egos – suggest that it is more like $4,000 per year to raise a child. So at this relatively young age are only in deficit by a few hundred dollars after a year. However, their capabilities ramp up quickly from there. If a teenager is only able to contribute $3k worth of value or less per year, you have failed them miserably[1].
[1] Or they have some kind of severe disability. That is the dice you do have to roll, but is statistically uncommon.
"if you can't afford to raise a child and some other additional costs that are unrelated, like a dog, then you can't afford a child".
Oh ok that makes perfect sense, thanks for holding the snide, lol
Ditto for me as well. I like having lunch with my wife at home during the week and I like picking up my kids from school and hearing about their day. I can't do these things on the days I'm back in the office.