In short, unless you want the contents of a file printed to stdout (or multiple files concatenated), the command can probably be written without cat, instead using the filename as an argument (grep pattern file) or IO redirection (cmd < file).
Stylistics and readability are another thing though.
Personally, I think the person who cooks should clean the cookware and the kitchen. The incentives are then aligned, and at least for me, it makes me a much tidier cook.
Also, cooking can be fun, cleaning not so much. Separating cooking/cleaning duties just punishes the person who doesn't get to cook.
Maybe in the before times, but with the LA residents' response to the fascist in chief, I think most of us in San Francisco are honored to share the state, and be confused, with Angelenos.
Just keep the Dodgers in SoCal. This is the Giants' city.
It's interesting that, with Python, the reference implementation is the implementation --- yeah there's Jython but really, Python means both the language and a particular interpreter.
Many compiled languages aren't this way at all --- C compilers come from Intel, Microsoft, GNU, LLVM, among others. And even some scripting languages have this diversity --- there are multiple JavaScript implementations, for example, and JS is...weird, yes, but afaik can be faster than Python in many cases.
I don't know what my point is exactly, but Python a) is sloooow, and b) doesn't really have competition of interpreters. Which is interesting, at least, to me.
PhDs in many fields, particularly the physical sciences, are funded. Lost wages are real of course, but you can often come out the other side without accumulating any debt.
Coming from Debian, it was...not expected. I understand how and why it happened, but the user experience was surprising.
Debian keeps the previous kernel around, which makes perfect sense to me --- in the event that a kernel update borks your system you can just load the previous one. This would probably only happen due to out of tree modules (looking at you, Nvidia...).
Coming from Debian, it was...not expected. I understand how and why it happened, but the user experience was surprising.
Debian keeps the previous kernel around, which makes perfect sense to me --- in the event that a kernel update borks your system you can just load the previous one. This would probably only happen due to out of tree modules (looking at you, Nvidia...).
Linux distros can still do...questionable things. In grad school I tried Arch for a bit, and I once was late to a video call because I had updated my kernel but did not reboot. Arch decided that because there was a new kernel installed, I didn't need the modules for the old --- but currently running! --- kernel, so it removed them. So when I plugged in a webcam, the webcam module was nowhere to be found.
But yeah...somehow, still not as bad as Windows updates.
Our Internet went out for a few hours today, so naturally my smart switches, lights, cameras, motion sensors, door sensors, and power monitoring... continued to work as of nothing was wrong.
Home Assistant is great, and using local-only devices is awesome. If my smart home stops working it's my own fault, not some 3rd party.
Some would call the former command cat abuse.
In short, unless you want the contents of a file printed to stdout (or multiple files concatenated), the command can probably be written without
cat
, instead using the filename as an argument (grep pattern file
) or IO redirection (cmd < file
).Stylistics and readability are another thing though.