锻造与Lisp
Blacksmithing and Lisp

原始链接: http://funcall.blogspot.com/2025/04/blacksmithing-and-lisp.html

低碳钢锻造有着令人惊讶的多功能性。它在室温下坚硬而强韧,但在加热后却易于加工。锻造师用锤子轻轻地塑造炽热的金属,享受它易于修正的特性——失误很容易重新加热并纠正。 一个巧妙的技巧是定制钳子以达到完美的契合:加热现有的钳子直到它变得柔软,然后用锤子将它们围绕着冰冷的工件敲打成型。这让作者想起了Lisp编程,在那里你可以定制语言本身。 最初钳子的问题通过一个自举过程得到解决:制作简单的钳子(两根用铆钉连接的棍子),握住一端,塑造另一端。锻造通常涉及创造专门的工具,这是一种递归的,“元循环”的方法。 虽然高温存在轻微烧伤的风险,但反射神经会很快适应。学习避免去抓掉落的热物也是一个重要的教训。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 铁匠技艺与 Lisp (funcall.blogspot.com) 8 分,来自 082349872349872,2 小时前 | 隐藏 | 过去 | 收藏 | 2 条评论 kazinator 22 分钟前 | 下一条 [–] 事实是,当你用软化的钳子将工件敲打成型时,它们会变成括号。正是这一点让你想起了 Lisp,而不是你事后编造的关于延展性的解释。Lisp、爵士乐、合气道和(现在)铁匠技艺。 回复 gsf_emergency 21 分钟前 | 上一条 [–] 思想也能替代体力过程。https://youtube.com/watch?v=TxaYKSNSwcM&lc=Ugyd0nsXGVFj9tYNo... 回复 加入我们 6 月 16-17 日在旧金山举办的 AI 初创企业学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:
相关文章

原文

One of my hobbies is blacksmithing (not ferrier work). Mild steel is an amazingly versatile material. It's very strong and hard at room temperature and it gets soft and easily workable when you heat it up. You use a hammer to move the metal once it is hot. You don't have to hit it very hard, just firmly. Hot metal is a very forgiving medium. If you make a mistake, simply heat the work up and try again. You rarely encounter mistakes you cannot recover from and you have to throw your work away.

A blacksmith uses tongs to manipulate work that would otherwise be too hot to handle. You don't want to drop a piece of hot steel, so you'd like your tongs to be a good fit on your work. Find some tongs that are an approximate fit and stick them in the fire to get good and hot. When they have softened, put the hot tongs around the cold workpiece and tap them into shape with your hammer. Voila! Custom tongs.

When I first saw this trick I was quite amused. It reminded me of Lisp programming — you can work on your problem, or you can customize the language to fit your problem better. And, yes, I'm the kind of nerd that sees a blacksmith trick and thinks “Lisp!”

Another computer-sciency question is one of bootstrapping. Where do tongs come from? How do you make tongs if you don't have them? This isn't too hard. A simple pair of tongs is basically two sticks with a rivet. You can shape half a pair of tongs (a single tong) by holding one end while you work the other. It will take a bit of time for the end in your hand becomes too hot to hold.

A good part of blacksmithing is creating ad hoc tools in pursuit of the end goal. You fairly often recur and create tools that help create tools. Metacircular blacksmithing.

The downside of working hot steel is that it is quite hot. You will get burned, but usually only mildly. Your reflexes take over pretty quick when you touch hot metal. Then you learn early on that if you drop something, you do not attempt to catch it.

联系我们 contact @ memedata.com