Q: Have you watched the Netflix documentary The Social Dilemma?
Yes. It’s good, but sad that the people who got us into this mess are now making cash telling us about it. Also watch The Great Hack, Cambridge Analytica.
"This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface. (Doug McIlroy)
Doug invented UNIX pipes, so yeah.
People get this wrong all the time. They stop with the first part "do one thing well" and conveniently forget the rest.
Personally, my favorite list of clarifications is from Mike Gancarz (who helped create X):
1. Small is beautiful.
2. Make each program do one thing well.
3. Build a prototype as soon as possible.
4. Choose portability over efficiency.
5. Store data in flat text files.
6. Use software leverage to your advantage.
7. Use shell scripts to increase leverage and portability.
8. Avoid captive user interfaces.
9. Make every program a filter.
This is why I find myself preferring to script in bash than to do anything else unless absolutely necessary. Developer productivity is far more important than the rest.
#unix #philosophy #linux #composition #filters
Thanks sponsors, subs, and followers:
- GitHub: https://github.com/sponsors/rwxrob
- Twitch: https://www.twitch.tv/subs/rwxrob
- Twitter: https://twitter.com/rwxrob
- Discord: https://discord.com/invite/9wydZXY
See http://rwxrob.tv/schedule for scheduled streams.
[ZETID:20210823020554]
https://github.com/rwxrob/zet/tree/main/20210823020554
...
https://www.youtube.com/watch?v=-RqoPoOQd7w
Sometimes a generic SSH key pair is needed for testing or other purposes where using a user's specific key is less desirable. In such cases, simply overwrite the comment and force the key pair to be written someplace else. This key can then be used with ssh -i FILE just like any other. This has the advantage of not giving up user-specific information in examples and such.
Thanks tippers, sponsors, subs, and followers:
• Tips: https://streamlabs.com/rwxrob/tip
• GitHub: https://github.com/sponsors/rwxrob
• Twitch: https://www.twitch.tv/subs/rwxrob
• Twitter: https://twitter.com/rwxrob
• Discord: https://discord.com/invite/9wydZXY
See https://bit.ly/rwxrobsched for stream schedule
...
https://www.youtube.com/watch?v=_vp6bI6UFJk
1. Know What Vimscript is and Why to Use It
1. Harder to Grok Because .vimrc Compatible
2. Modify an Existing Plugin
3. Add Minor Modifications to Your .vimrc
2. Use echo/echom to Send Messages
3. Use :messages to Former Error Messages
4. Use set for Options
5. Use let for Variables
6. Use if/elseif/endif for Conditions
7. Use fu[nction]/endf[unction] for Functions
1. Use :echom YourFun() to Test and See Return Values
2. Must Start with Uppercase
8. Use command to Define Ex Commands
1. Example: com! Greet call Greet()
2. Must Start with Uppercase
9. Know Where to Learn More Vimscript
1. https://learnvimscriptthehardway.stevelosh.com/
2. Mastering Vim, O’Reilly
More on https://github.com/rwxrob/boost
Thanks sponsors, subs, and followers:
* GitHub: https://github.com/sponsors/rwxrob
* Twitch: https://www.twitch.tv/subs/rwxrob
* Twitter: https://twitter.com/rwxrob
* Discord: https://discord.com/invite/9wydZXY
...
https://www.youtube.com/watch?v=px74GhBAG9I