From 84e9bd3f95ead7712be1be0a173a37f3d7c97289 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Wed, 16 Nov 2022 01:52:52 +0900 Subject: Fix grammar mistakes and add more references --- blog/dedep.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/blog/dedep.md b/blog/dedep.md index 3516b3d..51a2300 100644 --- a/blog/dedep.md +++ b/blog/dedep.md @@ -39,7 +39,7 @@ and keeping a piece of software: - How much [effort] I need to prevent people doing funny things to my machine if the software includes [something that gets on the front page of some magazines][heartbleed] tomorrow? -- How much of my limited resources will it take to run or [simply exists]? +- How much of my limited resources will it take to run or [simply exist]? There are certain intersections in concerns of enterprises and users, however it's worth noticing that distributions are almost exclusively optimized @@ -54,7 +54,7 @@ or [download from NPM recursively][node2nix]. *So how do I write software that is easy to package*, you may ask. If you followed the articles linked above, you've probably already figured that out. It's less about what *you* write and more about -what you *don't write*. When someone complain a program is difficult +what you *don't write*. When someone complains a program is difficult to build from source, certainly it's not about how hard it is to type, say `make install`, but acquiring the dependencies for that to run successfully and the result will work. @@ -88,14 +88,14 @@ can likely outperform the replaced public library][context]. In many cases, you will find yourself making use of the standard library. Standards make life much easier, [if only][standards] people can come up -with an agreement. Maybe they don't have to. Maybe each could choose -among utilities libraries. At the end of the day, it's the total number +with an agreement. And maybe they don't have to. Maybe each could choose +among the [utilities libraries]. At the end of the day, it's the total number of packages that can have bugs to be reported upstream and patched that matters. That being said, please keep an eye on the standard library the same way you (should) watch your other dependencies, just in case what you need -is finally added. Worry not of backward incompatibility, users of LTS systems -are content with older versions of your software. +is finally added. Worry not of backward incompatibility, [users of LTS systems +are content with older versions][old] of your software. ## Fall and Catastrophe @@ -121,7 +121,7 @@ join me in a De-Dependency December and fight for the users! [effort]: https://xkcd.com/303 [heartbleed]: https://heartbleed.com -[simply exists]: https://ludocode.com/blog/flatpak-is-not-the-future +[simply exist]: https://ludocode.com/blog/flatpak-is-not-the-future [tron]: https://en.wikipedia.org/wiki/Tron [distros]: https://drewdevault.com/2021/09/27/Let-distros-do-their-job.html [go]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/go/module.nix @@ -134,6 +134,8 @@ join me in a De-Dependency December and fight for the users! [power]: https://www.youtube.com/watch?v=3Mpyias9ek4 [context]: https://media.handmade-seattle.com/context-is-everything [standards]: https://xkcd.com/927 +[utilities libraries]: https://raku-advent.blog/2021/12/11/unix_philosophy_without_leftpad_part2 +[old]: https://wiki.debian.org/DontBreakDebian#Don.27t_suffer_from_Shiny_New_Stuff_Syndrome [answers]: https://en.wikipedia.org/wiki/Three-act_structure [tragedies]: https://en.wikipedia.org/wiki/Dramatic_structure#Freytag's_pyramid -- cgit 1.4.1