TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Tell HN: Enabling users to do server-side self-blocking is neat

1 点作者 dvrp大约 2 个月前
I just remembered about the `noprocrast` setting in this site[^1]. It&#x27;s cool because it&#x27;s like the server-side version of doing the 127.0.0.1 &lt;domain_you_want_to_block&gt; trick on your &#x2F;etc&#x2F;hosts file. The problem with that approach is obvious in the hands of any decent hacker: if you have physical access to it, the machine is not (should not be?) safe from you.<p>Server-side auto-blocking is cool because is like locking yourself somewhere and then throwing the key as a way to avoid temptation and I just realized I had been taking that for granted.<p>I know you can create &#x2F; use another proxy-like service to do something like this, but it&#x27;s quite cool that the site has the feature (a) natively integrated and (b) configurable to the likes of the user. That&#x27;s what I call user-friendly UX.<p>Anyways, I only wanted to say that. We live in a world surrounded by predatory software that wants to lock us in, hijack our attention, or take us hostage in one way or another which lead to movements like OSS, copyleft, or local-first&#x2F;local-only software. Then I noticed that we hackers tend to be obsessed about control: <i>my</i> software, <i>my</i> data, <i>my</i> compute running on <i>my</i> machine. But, it was pleasantly surprising to realize that, in the case of a site where one may become addicted to, it would be nice for the site to add a &quot;layer of indirection&quot; as we would love to say over here, where we &quot;implement the callback&quot; as... yea, don&#x27;t let me come near you for a while... and the site actually takes away control from you &#x2F;after you asked it to!&#x2F;.<p>Pretty silly, but it made my day for some reason.<p>---<p>[^1]: If you go to `https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=&lt;your_id&gt;`, you can set noprocrast, maxvisit, and minaway as a way to block the site. See https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=814695

暂无评论

暂无评论