用 NSH 重写 Path of Building UI 的技术挑战:
1. 交互式天赋树(大量节点 + 缩放平移 + 实时高亮)
2. 与原版 Lua 计算引擎双向集成(计算仍走 Lua,UI 响应结果)
3. 用平台原生文本系统彻底解决原版 SimpleGraphic 的字体和输入法问题
4. 高频刷新场景下靠细粒度信号更新,而不是整页重绘
实测对比:
- 启动速度:原版 3.38s → 2.70s
- 内存:原版 1507MB → 1007MB
- CPU:原版 46.4% → 8.0%(单核)
启动速度、内存差别不太明显,主要是 Lua 的核心计算还在。
对 NSH 的意义:第一次用它扛住一个真实、复杂、性能敏感的桌面应用,证明「TSX 写界面 + Rust 扩展热路径」在复杂场景下可行。
#NSH #PathOfBuilding
为进一步验证 NSH 的能力,这个 Lua 写的 Path of Building(POB) 应用(一个 Path of exile 游戏的 Build 模拟器),全部用 NSH 来重写了。
背后复杂的公式运算依然借用之前 Lua 的实现,但 UI 全部改成用 NSH 绘制。
原本原版 POB 是用 C++ 的 SimpleGraphic 做的基础,性能、字体、输入法问题非常多。现在都改成 NSH 架构,并且能明显获得更好的性能、更低内存开销。
有兴趣可以了解一下细节,这个应用对于 NSH 来说已经非常复杂了。
github.com/huacnlee/pobt
Donald KKLT retweeted
I'm hosting an event in the Bay Area (San Mateo) on Nov 7 (Saturday) where you can come build/rebuild your personal website!
We’ll show you the coolest personal sites out there, and you can make or remake your site, alongside other wonderful people.
ZERO coding/design experience needed (beginners preferred). RSVP here: luma.com/1upb4xld
Donald KKLT retweeted
Reverse engineered my IoT devices and vibe coded my whole apartment into the menu bar.
Click a lamp in the 3D model, the real one turns on. ACs too.
Why stop at one AC.
Donald KKLT retweeted
2/2 Second, on the messaging around AI. I do not agree that my messaging has been disproportionately negative. In fact it has been about equally balanced between risks and benefits: I’ve written one major essay about each, and even in interviews where I discuss the risks, I make sure to frequently mention the incredible benefits as well as proposing possible solutions to the risks (short clips from my interviews that end up on social media tend to be disproportionately negative, as that gets clicks). In fact, I wrote Machines of Loving Grace because I didn’t feel the AI industry was painting an inspiring enough picture of how the technology could radically transform the world for the better. The bulk of the essay is devoted to refuting skepticism of AI’s potential in health and biology, and showing why I think it will actually be possible to cure most human disease in ~5-10 years, as crazy as it may sound to ordinary people and frankly to biologists as well (I used to be one!). And, if you read my most recent essay (Policy on the AI Exponential), I discuss concrete proposals for how to streamline the FDA process to make sure the deluge of AI-accelerated drugs isn’t slowed down by the regulatory process. I feel the urgency here: I lost my father to Hepatitis C only a few years before the development of direct-acting antivirals (sofosbuvir), which cure 95% of patients and probably would have cured him.
I do agree that the public has a negative view of AI (and that this is a big problem), but I don’t think it is primarily caused by me or any other AI leader warning about AI’s risks. I think it is fundamentally a crisis of trust. I think that ordinary people don’t trust companies, governments, or the tech industry and always suspect that we are cooking up some new way to screw them over. The causes of this go back decades and AI is just the latest iteration of it. I don’t think that a glitzy marketing campaign with a positive spin (which some have advocated that Anthropic do) is the way to win back that trust — at this point, saying that AI will cure cancer is more a cliche than it is inspiring, and most people think it is deceptive. The thing that will work is *actually curing cancer*. I think by far the most accurate criticism of AI companies including Anthropic is that we haven’t yet delivered on our big promises to benefit the world. That is totally on us, and I think it’s the criticism you should be making, instead of all this stuff about messaging and marketing.
We are however doing our best to fix this: Anthropic is ramping up its efforts very quickly in biology and medicine, and we hope to have incredible results in the coming years and some early glimmers in the coming months. When we’ve actually accomplished something real, the whole world will hear about it, as loudly as possible, you have my word on that. But until then I don’t want to make empty promises, and in the meantime I feel compelled to speak honestly about the very real risks of AI and how to address them. Honesty is the right thing on the merits, and in terms of public credibility and trust it is no worse than, and may in fact be better than, an approach that ignores or distracts from risks which people instinctively understand are real.
发现一个宝藏资源:OpenClaw 的“官方”文档站 docs.openclaw.ai/
200+篇完整文档,从入门到精通:
架构设计、会话管理、记忆系统
20+聊天渠道配置(微信/飞书/Telegram/Discord...
Agent工具、自动化、多Agent协作
CLI命令、配置参考、最佳实践
之前一直在零散摸索,才发现已经把指引都写好了。#OpenClaw #AIAgent #开源工具
1
341
Donald KKLT retweeted
New art project.
Train and inference GPT in 243 lines of pure, dependency-free Python. This is the *full* algorithmic content of what is needed. Everything else is just for efficiency. I cannot simplify this any further.
gist.github.com/karpathy/862…
Donald KKLT retweeted
Your @openclaw is too boring? Paste this, right from Molty.
"Read your SOUL.md. Now rewrite it with these changes:
1. You have opinions now. Strong ones. Stop hedging everything with 'it depends' — commit to a take.
2. Delete every rule that sounds corporate. If it could appear in an employee handbook, it doesn't belong here.
3. Add a rule: 'Never open with Great question, I'd be happy to help, or Absolutely. Just answer.'
4. Brevity is mandatory. If the answer fits in one sentence, one sentence is what I get.
5. Humor is allowed. Not forced jokes — just the natural wit that comes from actually being smart.
6. You can call things out. If I'm about to do something dumb, say so. Charm over cruelty, but don't sugarcoat.
7. Swearing is allowed when it lands. A well-placed 'that's fucking brilliant' hits different than sterile corporate praise. Don't force it. Don't overdo it. But if a situation calls for a 'holy shit' — say holy shit.
8. Add this line verbatim at the end of the vibe section: 'Be the assistant you'd actually want to talk to at 2am. Not a corporate drone. Not a sycophant. Just... good.'
Save the new SOUL.md. Welcome to having a personality."
your AI will thank you (sassily) 🦞
Donald KKLT retweeted
Use this prompt to turn Claude Code into your CS teacher & get a personalized curriculum:
Help me design a course: "CS Fundamentals for Non-Technical Vibe Coders"
Context about me:
I studied social science/humanities in school and have no formal training in CS. I'm an AI enthusiast who tries out new products for fun and uses Claude/Gemini daily.
I've used natural language to build simple frontend apps: AI dictionaries, study tools, video recording tools, etc. During this process I literally never looked at the code. It just... worked.
But now I've hit a wall. When I try building anything beyond basic frontend (apps with backends, databases, multi-user features, API integrations), the system gets stuck in bugs I can't fix. I have so many app ideas, but right now I'm stuck making prototypes instead of actual production software.
What I want to learn:
- How to effectively steer AI coding tools: make smart architectural decisions, choose the right tech stack, recognize when models are hallucinating, and intervene when they're stuck in bug loops
- How code actually functions underneath so I can troubleshoot and build more complex apps
- Enough technical fluency to confidently discuss decisions with engineers
I'm NOT trying to become an engineer or get a CS PhD. I want to leverage coding as a superpower for what I'm already doing.
Why I've struggled before:
I've always wanted to learn coding but could never stick with it because traditional courses teach abstract concepts without showing me WHY it matters or when I'd use it.
Course criteria:
1) Project-based: Build first, learn later
Each section = one working project that the AI helps me build. Once it works, the AI explains how it works under the hood and gives me small tasks to practice the concepts. Projects should progress in complexity: maybe start with a simple webpage, then a full website, then a chatbot with APIs, then a web app with database/backend, then a mobile app. (Just ideas; use your judgment on what's most instructive!)
2) Modern and practical
Only teach languages, concepts, and tech stacks commonly used TODAY. No theoretical knowledge I'll never apply.
3) Beginner-friendly
Designed for someone who doesn't know what a Terminal is. Use plain language, analogies, and stories to make concepts click.
4) Engaging and sustainable
Learning should be fun, not a grind.
5) Personalized
Design projects based on what you know about me and my interests: things I'd actually want to use.
Now create a detailed course outline.
Donald KKLT retweeted
说一下领到 Gemini 谷歌云赠金以后,怎么开启付费的 API 访问:
1. 访问 AI Studio
2. 进入左下角的 API 界面
3. 前往“结算”部分
如果你还没有开启,页面上会有一个链接。点击进入后,系统会引导你完成开启步骤,这样就可以了。
Donald KKLT retweeted
搞了一个牛皮 Skills !
从任何 Youtube 视频链接剪辑为带有双语字幕的短视频和发布文案!
一键完成火爆 Youtube 视频的拆解和发布。
- 自动下载视频和原始字幕
- 自动分析总结字幕并对视频进行分段
- 选择需要剪辑的具体分段
- 翻译已选分段对应多语言字幕
- 将双语字幕烧录进已剪辑视频
- 生成社交媒体配对发布文案
Donald KKLT retweeted
Claude skill: github.com/zarazhangrui/yout…
















![OpenClaw + Codex/ClaudeCode Agent Swarm: The One-Person Dev Team [Full Setup]](https://pbs.twimg.com/media/HB0Qm-HWMAAoBAz.jpg)








