HackerURLs

一次又一次被重新发现的经典。

同一个链接,相隔一年以上,一次又一次被人重新发现、再次冲上 Hacker News 首页。能经受住这种时间检验的,大多是值得一读再读的文章。每篇附中文标题,讨论最热的那些再加上中文导读和高赞评论翻译。

从名人堂开始
  • 4,700+篇经过时间检验的经典

Hall of fame

名人堂

在经典库里看全部精选

上首页次数最多、而且有中文导读的 30 篇。时间轴上每个黑点是一次上首页,空心点是一次没冲上去的投稿。

  1. 正在载入经典…

Archive

经典库

按第一次上首页的年份分布,点柱子筛选。

排序

    About

    这些经典是怎么挑出来的

    1. 01

      合并同一个链接

      读取 Hacker News 自 2006 年以来的全部链接投稿,把 http/https、www、跟踪参数等写法不同的同一篇文章合并成一条。

    2. 02

      只留经得起时间的

      同一链接至少两次拿到 50 分以上(约等于上首页),而且两次相隔一年以上;再由 AI 剔除状态页、产品首页和新闻事件。

    3. 03

      写导读、译评论

      上首页次数最多的 2,000 篇配上中文导读、"为什么经久不衰",并精选翻译 HN 高赞评论。导读由 AI 生成,可能有误。

    工具与资源moolenaar.net编辑精选

    高效文本编辑的七个习惯(2000)

    Seven habits of effective text editing (2000)

    4次上首页
    9年跨度
    606累计得分
    360条评论

    2012 — 2021,它一次次回到首页

    黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。

    导读

    这是 Vim 作者 Bram Moolenaar 于 2000 年撰写的经典文章,提出高效文本编辑的七个习惯,如快速移动、少敲键盘、善用搜索替换和宏等,并结合 Vim 的具体功能逐一演示。文章多年来反复登上 Hacker News 首页,是 Vim 社区的入门必读。

    为什么经久不衰:它把编辑器使用上升为一套可练习的方法论,无论用不用 Vim,都能启发人们思考如何让工具真正贴合自己的工作流。

    关键词 Vim文本编辑效率Bram Moolenaar

    HN 评论精选

    Vim 适合远程快速改配置,但日常开发中 GUI 编辑器效率更高

    我用过不少 Vim,但它始终没赢过图形界面编辑器。没有鼠标光标一直是痛点——比如简单的复制粘贴明显更慢。把一段代码移到另一段下面,在 Notepad++ 里一秒搞定,而在 Vim 里你得 V 10d 再下移 13 行 P 之类,光算这些数字可能就不止一秒。在 Vim 里编辑总感觉局促,像有隧道视野;跳转多个文件去理解程序结构或做涉及很多地方的改动更费时,翻页键和方向键也不如滚动条好用。总体上我很高兴 Vim 存在,远程改配置文件很方便——它是我最喜欢的 shell 文本编辑器,但让我选的话,我任何时候都选 Notepad++ 或 Visual Studio。

    jimmaswell查看英文原文

    I've used vim quite a bit but it still never beat GUI editors for me. The lack of a mouse cursor was always a pain point - for example simple copy/pastes take notably longer. Moving a block of code below another block of code takes 1 second in notepad++ while in vim you have to go V 10d x 13down P or something along those lines, figuring out exactly what numbers to use there probably takes more than 1 second alone. It always feels claustrophobic editing a file in vim, like I'm having tunnel vision, and jumping around files to understand the structure of a program or write a feature that changes many things is more time consuming, and pgup/pgdn and arrow keys just aren't as good as a scroll bar. Overall I'm glad vim exists so editing config files remotely is easier if I don't have the server mounted locally - it's definitely my favorite shell text editor so far but I'd take notepad++ or visual studio over it any day.

    编辑速度的快慢风格不同,最终产出效率可能并无差别

    曾和两位程序员共事:第一位打字飞快、错误百出(错了也不退格),然后再用记事本级别的编辑方式回头清理;第二位则像雕像一样盯着屏幕几秒,然后精准地发出最少的编辑命令完成修改。两人的实际进度几乎一模一样。

    samlittlewood查看英文原文

    Used to work with two programmers: First would type out a few lines of code incredibly fast with lots of mistakes (and not bothering to backspace over wrongness) - then go back and clear up damage using notepad level editing. Second would stare fixedly at screen for several seconds, whilst remaining still as a statue, then carefully emit the minimum string of editing commands to achieve the change. Their actual rate of progress was pretty much identical.

    IDE 加 Vim 插件可以兼得两者优势

    我个人对 JetBrains 系列 IDE(IDEA、Rider 等)里的 Vim 插件非常满意。它让我两全其美:既可以用 Vim 命令高效导航,又拥有 IDE 强大的静态分析、智能补全、项目导航(查找符号、类、文件等)等功能。

    bunkerbewohner查看英文原文

    Personally I'm extremely happy with the vim plugin in Jetbrains IDEs like IDEA, Rider and so on. It gives me the best of both worlds. I can use vim commands for effective navigation but also have the great static code analysis, smart auto completion, project navigation (find symbol, class, file, ...) etc. of the IDE.

    省下的编辑时间累积可观,值得投入学习高效工具

    我认识的一些开发者认为文本编辑速度根本不是日常工作的瓶颈,他们对现有编辑速度很满意,这没问题。让我有点不舒服的是这类开发者对使用 Vim 的轻蔑态度,好像用它的人就是误入歧途的怪人。我认为它重要的原因是:一天的时间有限。下班回家后,顺利的话我大概有三四个小时推进自己的项目。如果在这段时间里能省下十分钟按住方向键、小心翼翼挪动鼠标的时间,那一周就多出一小时左右的项目时间。

    h2s查看英文原文

    A few developers I've known have made the case that they just don't see text editing speed as the bottleneck in their day-to-day work. They're perfectly happy with the speed at which they can edit text and that's fine. What gets to me a bit is the dismissive attitude this type of developer tends to take towards usage of Vim, as if using it makes me some sort of misguided autist. The reason I think it matters is that there are a limited number of hours in the day. When I get home from work I have maybe three or four hours on a good day to make some progress on my own projects. If during that time I can save 10 minutes of holding down arrow keys and carefully maneouvring the mouse cursor around my code and so on, then in a week that's an extra hour or so of extra project time.

    历次讨论

    同类还值得读

    1. 直接在浏览器中启动 Linux 内核

      Boot a linux kernel right inside your browser.

      Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。

      工具与资源上首页 5 次 · 2011–2025bellard.org
    2. Hacker News 未公开功能与行为清单(2018)

      A List of Hacker News's Undocumented Features and Behaviors (2018)

      数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。

      工具与资源上首页 5 次 · 2019–2025github.com
    3. MapSCII:在终端中用盲文和 ASCII 渲染地图

      MapSCII – Braille and ASCII map renderer for the console

      MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。

      工具与资源上首页 5 次 · 2017–2025github.com
    4. 顶尖大学的免费在线课程

      Free Online Courses from Top Universities

      Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。

      工具与资源上首页 5 次 · 2010–2022openculture.com
    5. 淘气字符串:容易引发用户输入问题的字符串清单

      Naughty Strings: A list of strings likely to cause issues as user-input data

      一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。

      工具与资源上首页 4 次 · 2015–2020github.com

    打赏支持

    打赏二维码

    觉得有用,请作者喝杯咖啡。

    WeChat

    关注向阳乔木

    微信公众号「向阳乔木推荐看」

    微信公众号「向阳乔木推荐看」二维码

    微信扫一扫;在微信里打开本页时,长按二维码识别。