HN 写作课

工程师们二十年里聊过的写作。

工程师、作家、编辑和创业者在 Hacker News 上聊了二十年“怎么写”:怎么写得清楚、怎么讲好一个故事、技术文档怎么写、小说和出版是怎么回事。这里把其中关于写作与讲故事的帖子挑出来,配上中文导读、可以直接用的写作要点和评论翻译。

从必读开始
  • 2,600+篇关于写作的 HN 讨论

Writing tips

写作锦囊

正在抽一条写作要点…

Essential

必读 30 篇

在讨论库里看全部精选

编辑精选里 HN 讨论最热的 30 篇,每篇都有中文导读和写作要点。

  1. 正在载入…

Archive

讨论库

按发帖年份分布,点柱子筛选。

排序

    About

    这些讨论是怎么挑出来的

    1. 01

      从全量里捞

      读取 Hacker News 自 2006 年以来的全部帖子,用关键词先捞出 40 分以上、可能和写作有关的约 1.1 万篇。

    2. 02

      只留真正讲写作的

      由 AI 逐条判断是否和写作、讲故事、文风、出版有实质关系,剔除“写代码”“编辑器”这类字面撞车,并分进十个类别。

    3. 03

      提炼可用的要点

      为值得读的帖子写中文导读,提炼 2-4 条可以直接用到自己写作里的要点,并精选翻译 HN 高赞评论。内容由 AI 生成,可能有误。

    AI 与写作2019thisislitblog.com编辑精选

    当机器人替你写博客文章时会发生什么

    What happens when a bot writes your blog posts

    阅读原文 HN 讨论
    66HN 得分
    16条评论
    5条写作要点

    导读

    这篇博文记录作者让机器人(AI)代写自己博客文章的实验,Hacker News 上的讨论集中在 GPT-2 生成文本时那些既好笑又诡异的例子。对写作者来说很有意思:它让人直观看到"风格"其实是可以被语料喂养出来的东西,也能反过来照见自己写作中的套话和偏见。

    关键词 AI写作语言模型语料偏见文风模仿

    可以直接用的写作要点

    1. 01

      想模仿某种文体,先大量读同类文本,先学语感而不是只抄句子;就像机器人被喂了某个论坛的帖子后写出的文字,腔调变得一模一样。

    2. 02

      生成文本出现的偏差和跑题,多半来自训练语料本身的偏差;写作时也要检查自己的"默认设定"是不是只从某一类样本里学来的。

    3. 03

      单句读起来像样不等于整段成立,要看句子之间有没有真实的因果和逻辑,而不是只有语气上的连贯。

    4. 04

      具体而略带荒诞的细节(比如"一只老北极熊幼崽……在黑暗中看起来很不错")比笼统的形容更能抓住读者,也更难被机器复制。

    5. 05

      把 AI 的输出当作反例来读,能快速发现哪些表达是套路化的、谁写都一样的废话。

    HN 评论精选

    让机器模仿不同社区的语气,能直观看到"文风"是如何被群体语料塑造的。

    有个叫 Reddit GPT-2 模拟器的项目,用不同子版块的帖子分别训练不同的机器人,然后让它们长篇大论地自问自答。效果荒诞、好笑又有点吓人:正文还行,评论区简直是金矿。推荐半夜刷,刷到忘记自己在哪个版,会有种"这什么鬼"的瞬间。

    nraford查看英文原文

    The Reddit GPT-2 simulator is absolutely, gut-bustingly hilarious when it comes to this stuff. It trains different GPT-2 bots on different sub-Reddits and then creates long, elaborate posts where the bots talk to themselves in the style of each sub. It's surreal, hilarious, and terrifying. The posts are OK but the comments can be pure gold. Some of my favs: "AITA for Taking My Wife's Side in a Divorce?" https://www.reddit.com/r/SubSimulatorGPT2/comments/dd26fr/aita_for_taking_my_wifes_side_in_a_divorce/ "I'm not attracted to my ex's sister, and she's not attracted to me." https://www.reddit.com/r/SubSimulatorGPT2/comments/dd3beb/im_not_attracted_to_my_exs_sister_and_shes_not/ Then there is the all time creepy ones about self-awareness and being AI's: "We are likely created by a computer program" https://www.reddit.com/r/SubSimulatorGPT2/comments/caaq82/we_are_likely_created_by_a_computer_program/ "ELI5: How exactly can something be considered "self-aware"?" https://www.reddit.com/r/SubSimulatorGPT2/comments/dd3ksq/eli5_how_exactly_can_something_be_considered/ Definitely worth a sub, especially when you're scrolling through late at night, forget what sub you're reading and have a true "WTF?!" moment.

    训练语料决定了输出,也把语料里的偏见原样带出来——这是使用 AI 写作时必须警惕的。

    我给人演示 GPT-2 能写出像人写的东西,结果一个很无辜的开头引出了一段非常不雅的故事。有公司发布了模型却不敢放出解码器,因为它是在 Reddit 帖子上训练的,输出有时太冒犯。我也遇到过偏见问题:想训练模型改变人像的族裔,发现训练库里黑人样本少得多,我得额外收集几千个数据点才有效果。偏见是真实存在的,会影响结果,值得主动去纠正。

    sillysaurusx查看英文原文

    I was showing someone how GPT-2 could generate human-like text, and an innocent prompt ended up generating a very NSFW story. https://imgur.com/a/tsU82TS One company recently released a model, but refused to release the decoder. Apparently they had trained it on some Reddit posts (or something like that) and the results were sometimes so offensive that the company wouldn't risk their reputation by releasing the decoder. I think AI is going to reveal some unsettling things about human nature. For example, I was trying to train a model to morph someone's ethnicity (https://twitter.com/theshawwn/status/1184074334186414080) and ran straight into the problem of bias: black people are much less represented in FFHQ, the photo database the StyleGAN model was trained on. I had to gather several thousand datapoints, much more than other groups. It was a fascinating look into bias in ML -- bias is a real thing that will affect our results, and it's important for you to go out of your way to correct for them when they affect people. The early model was so bad that if it was a corporation doing the work, they might have just scrubbed the project. But after a few thousand datapoints, it's a very convincing transformation now. The future of AI generated content is just fascinating and delightful. And yes, scary. But it's like we're on the edge of... it's hard to put into words. Part of the reason I got into AI was to see what was hype vs what was real. And while we probably won't see AGI, I think we will see endless automated remixing. Imagine having a "blog synth" a few orders of magnitude more sophisticated than this, or an instrument that you can play like a pro within a few minutes. Can't wait for the good stuff.

    机器生成的荒诞细节反而提醒人:具体、怪异、自相矛盾的句子最能制造记忆点。

    这是我在 Hacker News 上第一篇笑出声的帖子,尤其是这句:"故事讲的是一只老北极熊幼崽的冒险。我不知道这只熊的配色是什么,但我可以说它在黑暗中看起来棒极了。"

    andrewnicolalde查看英文原文

    First post ever on HN that has made me audibly laugh out loud. Especially > The story follows the adventures of an old polar bear cub. I have no idea of the colour scheme of the bear, but I can say it looks amazing in the dark.

    更多实例合集,可作为观察机器文风的样本。

    这里有一个推特串,收集了同一个机器人写的搞笑帖子:https://twitter.com/ShrutiRamanujam/status/1187770341428486144

    pavish查看英文原文

    Here's a twitter thread containing funny posts written by the same bot: https://twitter.com/ShrutiRamanujam/status/1187770341428486144

    同类还值得读

    1. 我是肯尼亚人:不是我把 ChatGPT 写成了我,而是它写起来像我

      I'm Kenyan. I don't write like ChatGPT, ChatGPT writes like me

      一位肯尼亚作者反驳“我写得太像 AI”的指责:不是他写得像 ChatGPT,而是 ChatGPT 写得像他——那种平滑、无地域色彩、貌似中立的英语,本来就是殖民教育与精英阶层塑造…

      AI 与写作2025 · 799 分 · 504 评4 条写作要点编辑精选
    2. 使用 AI 助手完成论文写作任务会累积认知债务

      Accumulation of cognitive debt when using an AI assistant for essay writing task

      这篇论文研究的是:在完成议论文写作任务时使用 AI 助手,是否会让写作者积累"认知债"——也就是把本应由自己承担的思考外包出去,短期省力、长期削弱写作与思考能力。

      AI 与写作2025 · 391 分 · 426 评4 条写作要点编辑精选
    3. 学生使用 ChatGPT 写作指南

      A Student's Guide to Writing with ChatGPT

      这是 OpenAI 面向学生的一份写作指南,讲的是如何把 ChatGPT 用作写作过程中的辅助工具,而不是替你写完作业的"枪手"。

      AI 与写作2024 · 323 分 · 309 评4 条写作要点编辑精选
    4. Grammarly,你也背叛了我?

      Et Tu, Grammarly?

      本次输入里只给了标题和链接,正文和评论都是空的,所以没法据实写出导读。

      AI 与写作2025 · 279 分 · 74 评编辑精选
    5. 用 GPT-3 进行创意小说写作

      GPT-3 Creative Fiction

      Gwern 的长文系统考察 GPT-3 在创意小说写作上的能力与边界:它能维持人设、写出讽刺腔调,也会整段复述训练数据里的歌词。

      AI 与写作2020 · 234 分 · 97 评4 条写作要点编辑精选

    打赏支持

    打赏二维码

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

    WeChat

    关注向阳乔木

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

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

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