Brett Codes

RSS: https://brettcodes.com/feed/?type=rss
Brett Chalupa 的个人网站,分享 TypeScript、Web 应用、API、CLI 与游戏开发。

Helix 编辑器的奇特案例:为何它成了我的首选

作者从 Vim 用了 14 年,先后试过 Janus、共享 dotfiles、Neovim、coc.nvim、Atom、VS Code、Zed、Emacs/Doom Emacs,最终在 2025 年中期转向 Helix,已使用 5 个月。 核心理由:现代 LSP 开箱即用、配置极少(只设了 darcula-solid 主题和软换行)、Tmux 终端流顺畅、无打扰式弹窗、文档和社区完善。 作者也坦承短板:编辑器偶发崩溃(5 个月 2 次)、不支持可脚本化插件、最新 release 仍停留在 2025 年 7 月(master 已积累 989 次提交),对发版节奏表示困惑。 文中还提到 Zed 转向 AI 与遥测功能让他不满,并推荐了无 AI/无遥测的 Zed 分支 Gram。整体是一篇诚实的一手体验对比,对还在 Vim/Neovim/Zed 之间摇摆的终端党有参考价值。
评论点赞收藏23 小时前

加入 Humancrafted 社区

作者宣布停止用 AI 编码后,收到大量同类诉求,于是创办了免费论坛 Humancrafted(基于开源 Discourse,无广告、无信息流、无机器人),定位给对 AI 持怀疑或已弃用 AI 的开发者交流。 文中对比了论坛与 Discord/Mastodon/Bluesky 的体验差异:论坛更慢、更聚焦、对话更深;批评 Discord 封闭、难发现、易被广告和可疑操作困扰。 适合关注 AI 工具批判、开源社区实践和开发者在线交流形态的读者,有个人立场与社区一手经验,能引发"要不要加入""论坛能否持续""AI 弃用潮是否真存在"等讨论。
评论点赞收藏2 天前

AI 并非“只是一个工具”

作者强烈反对“AI 只是一个工具”的说法,认为这低估了 LLM 背后的产业、责任与风险。文章用电动钻和 Vim/Emacs 作对比,指出真正的“工具”是人为特定任务而造、不会“出错”且不构成行业失控风险;而 AI 涉及模型退役、成本转嫁、数据中心扩张、概率性输出,以及公司负责人言论对市场和社会焦虑的影响。 作者认为继续说“只是个工具”会淡化 AI 产业的真实问题,鼓励读者删掉这句套话,改谈具体使用场景和责任。整体是一篇立场鲜明的批评性随笔,讨论 AI 工具化叙事是否合理,有一定争议性和可读性。
评论点赞收藏10 天前

我如何与 AI 焦虑相处

<p>AI焦虑是我经常出现的感觉,让我开始质疑自己未来作为软件开发者的职业是否存在。当我看到聊天机器人公司的领导者和员工说他们正在建造的东西有很大概率会毁灭人类时。<br><br>当我担心我们将留给未来世代的地球状况,以及它是否适合居住时。</p><p>我的思绪陷入混乱,睡不着。我想知道我在这里做什么,我的目的是什么,我能付账单吗?这种AI焦虑,对我和别人都没用。但在过去的一年里,我找到了把焦虑转化为理解和行动的方法。<br><br>这就是我如何应对这些复杂的想法和感受。</p><p></p><h2>如果听起来像科幻,就去可信赖的渠道</h2><p>每周都有新的人工智能噱头,由大公司制造,目的是让公众相信它们对人类未来至关重要。事实证明,无论你是否有可行的生意,说出荒谬的话,获得投资者资金和更高评价都容易得多。</p><p>无论是“叛逆的AI智能体入侵服务器”还是“秘密的AI文明”,每当某件事听起来像科幻小说中的情节时,我都会退一步,记住这些都是公司在没有监管和监管的情况下制造的营销信息。</p><p>当这种情况发生且新闻热烈报道时,我会去找可信赖的资源了解更多。我常去的两位是Cal Newport(计算机科学教授兼作家,)和Ed Zitron(主要关注人工智能公司经济学的作家,).科技公司(以及报道它们的新闻)背后的故事总比表面看到的要复杂得多。<br><br>无论是拟人化的语言,还是…</p>
评论点赞收藏12 天前

我停用AI编程了

一位20年经验工程师宣布停用AI编程工具。使用一年后,他感到抑郁、职业存在危机、与代码失去连接,并认为AI产出的软件质量更差。 一个关键转折是他曾按AI建议深夜去急诊治流感,结果被医生告知回家休息即可。他回归手写代码后重新找回了对编程的热爱。
评论点赞收藏49 天前

Building apps with Deno Fresh 2

I've been following along with the Fresh web app framework since I first learned about Deno a couple of years ago. Its promise is quite appealing: minimal config, Preact, use TypeScript without a comp...
评论点赞收藏335 天前

Launching Projectbook

Whenever I'm learning a new programming language, framework, or library, I'm often stumped with the question of, "What would be a good project for helping me learn this better and apply my new knowled...
评论点赞收藏1443 天前

Why I'm Learning Rust

I keep asking myself: Why learn Rust when there are so many other languages I could learn? Why not learn Go instead? Everyone seems to pit them against each other. Why not double-down on TypeScript? W...
评论点赞收藏1457 天前

RSpec's spec_helper vs rails_helper Explained

When you install RSpec in your Rails application, two of the files it generates are spec/spec_helper.rb and spec/rails_helper.rb. The generated source contains a lot of helpful comments, but it might ...
评论点赞收藏1457 天前

My First Rust Project - werds CLI

I've been working on learning Rust lately, just for fun. I was wondering how many words I've written so far for Projectbook, and I realized that's a great opportunity to build a program like wc in Rus...
评论点赞收藏1460 天前

Execute Program Review

I'm always on the search for new programming resources to help me learn and retain languages, frameworks, libraries, and concepts. Between books, videos, blog posts, and interactive online tooling, th...
评论点赞收藏1673 天前

The Joy of Scripting with Ruby

Ruby is a really fantastic language for writing general purpose scripts, especially when processing files. I find myself using it regularly for personal needs in addition to the daily needs of my job....
评论点赞收藏1677 天前

Linting Ruby Code with RuboCop

RuboCop is a static code analyzer for Ruby code that can be used to lint code for consistency, catch errors, and support writing better code. In this screencast, I walkthrough how to run it, how to fi...
评论点赞收藏1910 天前

How to effectively use a .gitignore

When working with a Git repository, you usually want to ignore files that are not directly related to the codebase. This keeps the Git repository clean and reduces clutter. For example, OS specific fi...
评论点赞收藏4150 天前

Temporarily ignore changes for a file in Git

Sometimes you need to change a file in Git and maybe you don't want to commit that change. For example, let's say you adjust your database.yml file in your Rails application to start with a fresh data...
评论点赞收藏4758 天前

登录芦苇

登录后关注作者、收藏内容和参与讨论。