(You could implement this different ways, but I'm imagining that once you friend someone they can see a select subset of posts on your computer. For me that would be status posts, some photos, some WIP code, etc. This would be a huge deal. Think about how many webapps it would make unnecessary.)
EDIT: Less flowery sentences.
For example, your code as shown implies that you can reach your friend's computer through an Internet name (through dns even?). That already assumes that these non-technical friends can register their own Internet names, and care enough to do so. But that assumption is well outside the bounds of "unix sucks".
Perhaps a charitable reading of it would be that instead of reading "unix sucks" (sadly I use almost these exact words in the article) instead read "the mismatch between the tools provided by unix and the needs of a normal user, combined with decisions made with good intentions at the time and kept for backwards compatibility, make the unix user environment a bad user environment for normal people today".
But of course I didn't write that, so I'm in no position to complain too much.
Fixing problems, or finding solutions for your problems? Every advanced system has a learning curve, and Unix is an advanced system without a well-defined domain. It's great that you invested the time to make it work for you, but that you feel that it is inappropriate for "most non-programmers" is not necessarily a failure of the system.
As a sibling post said, "there is not much interest in empowering non-technical users". I think that's close, but I would add that it's a problem of scale: non-technical users require domain-specific solutions. If there were one single solution to empower non-technical users, there would surely be commercial interest.
I'm sorry, but I can't help feeling that the article has a high dose of "lo! I've seen the light and my light will solve every problem on the planet". It ignores the many good things Unix has enabled, and is very light on the details how a better system would look (or how it would be secured -- befriend, really?).