TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Short Thoughts on Computers and Programming

63 pointsby stargraveover 2 years ago

13 comments

mikewarotover 2 years ago
&gt;Continuing a legacy is an honorable task, except in programming.<p>This is the most important of the items in the list. The &quot;upgrade or you&#x27;re unclean&quot; ethos has some very deep roots.<p>It goes all the way down to the security model of our operating systems. It was perfectly reasonable to assume that a user knew what they were doing with their own files back in the days when Unix was written. That wasn&#x27;t assumed in the world of mainframes, which were designed to multiplex hardware across tens, hundreds, or even thousands of jobs.<p>In mainframes, your job is explicitly given resources to use and a run time environment. No matter what went wrong, a job run for Acme Inc couldn&#x27;t corrupt the files of Bob&#x27;s Distributor.<p>We don&#x27;t have that... we&#x27;ve been lead to believe that we just have to be pure enough, our code has to be perfect enough, and defect free, in order to have safety. We blame everything except the OS, mostly because we don&#x27;t want to cast doubt on the wisdom of Linus, and the sanctity of Linux.<p>We recreate the mainframe model, over and over, in part, not in whole. I&#x27;ll paraphrase Greenspun&#x27;s 10th rule[1]<p><pre><code> Any sufficiently popular computing environment contains an ad hoc, informally-specified, bug-ridden, slow implementation of capability based security. </code></pre> That&#x27;s why we have Virtual Machines, Containers, and now WASM... which I hope actually manages to fend off the stupidity of letting an application decide which files to access.<p>We need to make better choices. Legacies are a choice, lots of old stuff is tossed by kids all the time, the legacies are the good things kept from the past. Keeping legacies alive is a choice.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Greenspun%27s_tenth_rule" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Greenspun%27s_tenth_rule</a>
评论 #32954191 未加载
watashiatoover 2 years ago
&gt; Never changing the defaults is like living in a motel your whole life.<p>Seldom changing the defaults is like being at home in many places.
CrLfover 2 years ago
&quot;The future was better in the past.&quot;<p>Perhaps this is one of the reasons retro is seeing such a resurgence (pun intended) these days.
评论 #32951480 未加载
jansanover 2 years ago
&quot;Affordances are so called because many contemporary UI designers have deemed them too expensive.&quot;<p>I do not understand this. I know what &quot;affordable&quot; means and that it must be a word play, but I have no idea what the other meaning could be.
评论 #32950026 未加载
评论 #32950018 未加载
评论 #32950915 未加载
评论 #32950081 未加载
tonethemanover 2 years ago
Write your code like you will need to debug it at 2:00 am drunk
cafardover 2 years ago
&quot;Hypocrisy is taking pride in Unix shell scripts kept since the 1990:s while scoffing at banks running Cobol.&quot;<p>Well, maybe obliviousness is.
einpoklumover 2 years ago
&gt; In the future, when computers are at long last voice controlled, open office floor plans will finally disappear.<p>More likely we will all get sore throats talking at computers before this happens...
评论 #32950364 未加载
评论 #32949858 未加载
dahartover 2 years ago
&gt; It&#x27;s important to consider ergonomics in sedentary jobs: every now and then, programmers should shift a bit.<p>I’m curious if this was an intentional pun? I thought maybe in addition to moving now and then, it’s subtly suggesting to write low-level code? Having taken a recent career trajectory from high level code to assembly &amp; hardware, I’m being exposed to reasons why practicing some bit-level hacking is good for my understanding of how the machine works. Maybe that wasn’t the intent here and I’m seeing faces in the clouds. :P
评论 #32953191 未加载
ruslanover 2 years ago
&quot;The mouse is a much faster input device than the keyboard: the latter is almost always stationary.&quot;<p>What ?
评论 #32951593 未加载
评论 #32950252 未加载
everybodyknowsover 2 years ago
&gt; Never changing the defaults is like living in a motel your whole life.<p>Maintaining an ideal set of defaults is like trying to arrange your favorite lamp and flower vases in every hotel room where your job requires you to spend the night.
revskillover 2 years ago
(Fix) bugs is more important than adding (new) features.
enahs-sfover 2 years ago
Love the domain name. Gave me a chuckle.
eimrineover 2 years ago
&gt; Programming is one of the few crafts that will only make you dirty on the inside.<p>What are any others examples? Killing people?
评论 #32952916 未加载