Get Human-Readable "Time Ago" in TypeScript
A simple TypeScript utility to display relative time like "5 minutes ago" or "2 days ago" from a given timestamp.
🧩 为什么在你的 VS Code 扩展中从未调用 resolveWebviewView
A subtle but critical issue that can break your sidebar webviews silently. Here's how to fix it. I recently spent hours debugging an issue that should have taken five minutes to identify. I was...
在构建VS Code扩展时,必须在package.json中指定视图类型为“webview”,否则视图不会调用resolveWebviewView(),可能导致功能缺失,调试困难。

为什么Redis失去朋友,而Valkey赢得了支持
You highlighted How a license change triggered an open-source revolt, why major Linux distros are dropping Redis, and how Valkey is stepping up as the quiet hero developers didn’t know they...
由于Redis更改许可证,开发者信任度下降,多个Linux发行版开始放弃Redis。Valkey作为开放源代码的替代品,获得社区支持并逐渐受到认可。开发者们开始关注软件治理和许可证问题,Valkey有望成为未来主流选择。

20250517
今天第一次来上海的 Blue Note这种 Club 式的演出场地我还不是很适应。但是边喝酒边听 Jazz 才带感啊。 4/24 第一次听 Brad Mehldau,应该是 ChatGPT 给我推荐的和 Keith Jarrett 类似的音乐家。非常喜欢下面这张专辑,于是上闲鱼买黑胶。没想到一搜就搜出了 Brad Mehldau Trio 五月在国内 Blue Note...
今天在上海的 Blue Note 俱乐部观看了 Brad Mehldau 的演出,贝斯手 Christian Mcbride 表现出色。此外,发现了一家性价比高的酒店,成为我看演出的首选。
Makefile比《毁灭战士》还要古老,为什么我们仍在使用它们?
It’s 2025. we’re building apps with AI copilots, deploying to the edge in seconds… and still debugging tab errors in Makefiles. Introduction: welcome to the year 2025, where some tools just won’t...
到2025年,尽管AI工具层出不穷,传统的Make工具依然存在。其复杂的语法和空格、制表符问题易导致错误。虽然CMake和Ninja等现代替代品出现,但因Make的轻量和广泛兼容性,仍被广泛使用。开发者需根据项目需求选择合适的工具,Make并不适合所有场景。

为什么每位开发者都需要一个编码日志:不,你的记忆不够用
your brain’s cache isn’t as big as you think it’s time to log your journey like a true dev hero Introduction: memory leaks in real life You ever look at a piece of code and think, “Who the hell...
开发者的记忆有限,保持日志有助于记录解决问题的过程、决策和经验,避免重复错误。日志不仅促进个人成长,也助力职业发展,面试时可提供具体案例。通过简单的习惯和工具,开发者能提升工作效率和思维清晰度。

Linux如何改变你对技术和问题解决的看法
You're capable of more than you realize. That nagging feeling that you're just scratching the surface of your potential in tech? That instinct is right. And the path to unlocking that potential...
Linux不仅是操作系统,更是技术掌握的关键。通过Linux,你将从被动用户转变为主动创造者,解决难题,提升自信,真正理解技术的意义。每次挑战都是成长的机会,开启技术自由之路。

15条不可打破的软件工程法则,反复挑战我们
Because writing code is easy until humans show up. Introduction: the gravity of coding laws and how we still fall Ask any senior engineer about the “laws” of software development, and you’ll get a...
软件开发的法则揭示了编码的复杂性和人性因素,列出了15条法则,如摩尔定律和扎温斯基定律,强调开发中的常见错误和挑战。开发者需接受复杂性、管理期望、避免功能膨胀,并保持代码简洁。最终,进步比完美更重要,开发者应在混乱中找到共鸣。

为您的Arbitrum智能合约构建Web3前端(无需框架)
👋 Intro So, you’ve deployed your first smart contract on Arbitrum Sepolia. Congrats! 🎉 Now what? It’s time to build a simple frontend — no React, no Vue, just HTML + TailwindCSS + JavaScript —...
本文介绍了如何在Arbitrum Sepolia上构建简单的Web3访客簿前端,使用HTML、TailwindCSS和JavaScript,用户可以提交姓名和留言,并实时查看区块链上的消息,通过MetaMask签名交易与智能合约交互。
