上次在内部技术分享会上(HoRain云团队),我把 JavaScript 异步编程从事件循环到 Promise、async/await 串讲了一遍。分享结束后不少同事反馈,说很多零碎的知识点终于被串起来了。我写 JavaScript 快十年了,从早期用回调处理 AJAX 请求,到后来 Promise 普及、Generator 过渡,再到 async/await 成为标配,踩过的 ...
异步编程,尤其是 Promise 和 Async/Await,是 JavaScript 开发者绕不开的核心话题。不管你是刚入门前端的新手,还是天天和后端接口打交道的“老油条”,只要写 JS,几乎都会碰到“数据还没回来,代码已经往下跑了”的尴尬局面。这篇文章我想从一个常年写异步代码的人的角度,把 Promise 和 Async/Await ...
最近由于 pi 通过 codemode 引入了 MCP 的调用,再次引发了关于 codemode 的讨论。其实在过去一段时间,随着基模能力的提升,codemode 已经成为了生产级 coding agent 的事实标配。 Codemode ...
前两天 Claude Code 更新了 Mod 功能,允许用户自定义自己的界面,而大家也都知道,我有些很棒的癖好...于是,我就搭了这个....哎年少不知雨姐好,错把 xx 当成宝 本文我会带着大家一步步地去构建这么一个语解 ...
A screen that calls an API every time you type into a search field can be built with just a few lines of fetch. However, the ...
When working, there are times when you encounter "waiting time" that you cannot do anything about yourself.You ask someone ...
I examined a multi-agent chat runner to understand why pressing Stop can leave replies visible, messages saved, and later ...
An agent skill is a packaged capability that extends an AI agent with a specific, production ready behavior such as data access, automation, or domain logic. Skills give agents secure, structured ways ...
Learn how NodeJS helps small businesses automate admin, connect apps, and cut hosting costs, plus the limitations and security risks to plan around.
Middleware as an architecture pattern: the same idea in Express, FastAPI and Redux, how it relates to Chain of Responsibility ...
Try out Glyph Cluster by Stealth. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Learn how to build, secure, and deploy a Cloudflare Workers API in 12 steps, with Wrangler, KV, Durable Objects, rate ...