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 生成,可能有误。

    编程与软件工程archive.vector.org.uk

    K 编程语言(2005)

    K programming language (2005)

    3次上首页
    6年跨度
    226累计得分
    144条评论

    2014 — 2020,它一次次回到首页

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

    导读

    这篇 2005 年的 Vector 杂志文章介绍 K 编程语言(据评论主要讲 K2),用简洁示例展示这种极简数组语言的核心构造与思路。K 后来演进出 K4/K6,并影响了商业化的 kdb+/Q,在高性能金融数据处理中影响深远。

    为什么经久不衰:它用很短篇幅呈现 APL 家族“少而密”的编程范式,是理解 K/Kdb+ 和数组语言设计哲学的经典入口,今天仍值得读。

    关键词 K语言APL数组编程kdb+

    HN 评论精选

    文章虽老仍是 K2 的好入门;后续 K4/K6 已大幅演进,并推荐 ok 和《Q for Mortals》作为上手资源。

    这篇简洁的文章描述的是 K2(K 语言的第 2 版);就它覆盖的层面而言,之后几乎没变,所以 12 年后它仍是很好的 K 入门。但基础之外变化很大(当前商业版是 K4,当前开发版据我所知是 K6):字典更好地融入语言,数据库层被并入语言,原先集成的极简 GUI 被移除,HTTP/Web(客户端和服务端)加入核心,64 位整数、纳秒时间戳、GUID 成为核心类型,可能还有些我忘了。若觉得有趣,可玩 JohnEarnest 的 ok(JS 实现、到处能跑的图形游乐场),并读《Q for Mortals》——Q 是 K4 的语法糖版本,底层仍是同一门语言。

    beagle3查看英文原文

    This concise article describes K2 (version 2 of the K language), and, at the level it describes, little has changed, so it is still a good introduction to the language 12 years later. However, beyond the basics, a lot has changed since (current commercial version is K4, current dev is K6 AFAIK): Dictionaries have become better integrated in the language, the database layer was rolled into the language, the integrated (bare bones and milspec-looking but ultra effective) electric GUI was dropped, http and web (as both client and server) were added to the core, 64-bit integers, nanosecond timestamps, GUIDs were added as core types, and probably a few more things I forgot. If you find this article interesting, you may want to experiment with JohnEarnest's ok [0], which provides graphical playground (implemented in JS and runs everywhere) and also read Q for mortals[1] - Q is a syntactic-sugar version of K4, though still the same language underneath. [0] https://github.com/JohnEarnest/ok [1] http://code.kx.com/q4m3/

    给出两条试用路径:Kx 的 32 位 kdb+(K4)和开源 Kona(K3)。

    想试 K,可以从 Kx 下载 32 位 kdb+;在提示符输入单独的 \ 会进入 K 模式,用的是 K4。另一个选择是免费开源的 Kona,它实现的是上一代 K3。

    icen查看英文原文

    If you want to try out K, you can either go to Kx and download the 32bit version of kdb+. \ at the prompt (on its own) will enter K mode. This uses K4. Alternatively, there's the free and open source Kona, which is an implementation of K3, the preceding version. https://kx.com/download https://github.com/kevinlawler/kona

    实际使用体验:符号门槛后代码极密集、环境小巧且启发性强,主要痛点是互操作。

    我大学时不得不写很多 K(这暴露了我的学校,也会让写过 K 的人困惑:你居然能写很多 K)。越过符号带来的困惑后,它其实很有启发性。我能体会用真正符号的 APL 会有多高效。你的代码会变得超级密集,非平凡的东西几屏就能放下,便于把握全局(用 K 构建的商业列式数据库 KDB 以功能多而体积小得惊人著称)。我记得真正的痛点是和其他系统对接,但整个环境非常小。它拓展了我的思维,让我希望世界有朝一日重新审视 APL 家族的思想。

    fidotron查看英文原文

    I had to write a lot of K at university (thus disclosing where I went to, and confusing people that have written any K with the idea you could possibly write a lot of it). Get by the symbolic confusion (Arthur himself used to respond to confused students on the mailing list about such things) and it's really quite inspired. I can appreciate how an APL with proper symbols would be properly productive. Your code ends up super dense, with non-trivial stuff easily fitting on just a few screens, so you can keep track of what's going on. (KDB itself, the commercial column based DB product built with K, was notoriously small for the functionality). The real pain I seem to recall was interfacing it with anything else, but the entire environment is tiny. This is one of those languages that really expanded my mind and made me hope the rest of the world would one day revisit the ideas of the APL family.

    Q/kdb+ 在金融高性能场景久经考验,且 32 位试用包小得惊人(278KB)。

    K 的后继 Q 在金融系统中大量使用,而且贵得离谱。尽管如今大数据很热,我认为 Q 早已在处理极大规模数据,性能惊人。kdb+ 的 32 位试用版可用于非商业用途,我下载了;Linux zip 只有 278KB。好吧!我本以为还会下更多东西(像 Chrome 安装那样),但没有,就这些。

    karterk查看英文原文

    K's successor Q is used heavily in financial systems and costs a bomb. Despite all the big data rage these days, I think Q has been handling very high volumes of data for a while now with some amazing performance. The 32-bit trial version of kdb+ is available for non-commercial use [1], so I went and downloaded it. The linux zip download is 278KB. Uh ok! I was expecting it to download more stuff (much like Chrome's installation), but nope, that's all there is to it! [1]: http://kx.com/software-download.php

    历次讨论

    同类还值得读

    1. 开源应用架构

      The Architecture of Open Source Applications

      《开源软件架构》(AOSA)是一本在线免费书,邀请知名开源项目的作者亲自剖析其内部设计,涵盖 SQLAlchemy、LLVM、Audacity、Apache、Bash 等系统。

      编程与软件工程上首页 9 次 · 2011–2024aosabook.org编辑精选
    2. 编程语言简史:简短、不完整且多半错误

      A Brief, Incomplete, and Mostly Wrong History of Programming Languages

      一篇以戏谑、故意不准确的方式回顾编程语言史的博客文章,用夸张轶事和讽刺定义串起 Lisp、C、C++、Java、JavaScript、PHP 等语言。

      编程与软件工程上首页 8 次 · 2009–2021james-iry.blogspot.com
    3. SQLite 是如何测试的

      How SQLite is tested

      SQLite 官方文档页,系统介绍 SQLite 的测试体系:多种测试方法(TCL 测试、模糊测试、回归测试、静态分析等)和海量测试用例,展示了这个小型开源项目如何靠极致测试获得…

      编程与软件工程上首页 8 次 · 2009–2025sqlite.org编辑精选
    4. 高级编程语言(2009)

      Advanced programming languages (2009)

      Matt Might 的经典文章,按用途推荐“高级编程语言”:如果追求就业就选主流语言,如果追求表达力、学术研究或创业,则推荐 Haskell、OCaml、Scala 等函数式语…

      编程与软件工程上首页 8 次 · 2009–2022matt.might.net
    5. 我的 Forth 与栈机器经历

      Yosefk - My history with Forth & stack machines

      作者以亲身经历回顾了使用 Forth 语言和栈式机器的历程:既赞叹其简洁优雅、代码量小、可自举的优点,也坦率指出栈操作在实际编程中的痛苦,以及 Forth 社区文化中的问题。

      编程与软件工程上首页 8 次 · 2010–2024yosefk.com编辑精选

    打赏支持

    打赏二维码

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

    WeChat

    关注向阳乔木

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

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

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