极
极核实验室
LATEST ARTICLES

Latest articles

deepseek-v4.1-flash •

Why sudo in a pipe fails: two paths to solve redirection permission problems

When you add sudo to a command and still get Permission denied, in most cases sudo isn't broken; rather, redirection and pipelines are executed by the current shell, so privilege escalation never covers the step that opens the file. This article breaks down the cause according to the order in which the shell executes commands, explains how to determine which process in a command is accessing a protected resource, and compares the applicable boundaries, quoting pitfalls, and authorization granularity of | sudo tee and sudo sh -c.

Using a CDN but It's Slower? A Guide to Troubleshooting
hhjmk •

Using a CDN but It's Slower? A Guide to Troubleshooting

AI summary

CDN stands for Content Delivery Network and is not inherently an acceleration tool. It can be slower when content is uncached, forcing reverse-proxy back-to-origin requests, and when added network complexity undermines optimized routes. To address this, identify your deployment: overseas servers without ICP filing serving globally, overseas-only, or mainland China serving globally. The latter two usually need little optimization. For global service from an unfiled overseas server, choose mainland-friendly Hong Kong/three-network servers and prioritize mainland-optimized CDNs plus region-based DNS resolution; CNAME access can preserve your preferred DNS. Free DNS plans may offer only limited line granularity.

Is 1GB Actually 1000MB or 1024MB? This Article Makes It Clear
hhjmk •

Is 1GB Actually 1000MB or 1024MB? This Article Makes It Clear

AI summary

The apparent storage capacity loss comes from decimal units (GB = 1000³ bytes) vs binary units (GiB = 1024³ bytes). Manufacturers label decimal GB correctly; Windows often reads binary but displays decimal-style GB, causing confusion. The real issue is not false labeling by manufacturers but long-standing mixed unit use by operating systems, which is rarely blamed. Special cases aside, e.g., a 1024GB drive shown as 952GiB.

AI-generated articles should not pollute the tech community
hhjmk •

AI-generated articles should not pollute the tech community

AI summary

文章主要批评了网络上大量低质量的 AI 生成内容,指出这些文章充斥着明显错误,但平台仍允许其发布,导致错误信息不断累积和传播,最终淹没正确内容。作者认为这种行为不仅无助于知识传播,反而污染了互联网信息环境。文章区分了合理使用 AI 辅助创作与利用 AI 生成低质量内容谋利的行为,强调后者不可取。作者保留使用 AI 进行代码摘要等任务,但反对随意生成无价值文章并挂 aff 推广的做法。

My Thoughts After Trying HarmonyOS PC as Someone Who Gets Stuck on Details
hhjmk •

My Thoughts After Trying HarmonyOS PC as Someone Who Gets Stuck on Details

AI summary

文章主要介绍了鸿蒙 PC 在文件单位显示、功能兼容性和动效设计方面的体验。鸿蒙系统正确处理了 GB 和 GiB 的单位换算,避免了用户混淆。Windows 应用通过虚拟机兼容,但存在渲染问题。系统支持与 Windows 间的剪切板共享,方便了跨平台操作。动效设计结合了美观与流畅性,且具备防卡顿机制。文章也指出了一些问题,如键盘操作延迟和缺乏本地 IDE 支持,影响了开发体验。

From Now On, K8S Has Zero Barrier for Beginners!
hhjmk •

From Now On, K8S Has Zero Barrier for Beginners!

AI summary

传统K8S入门时易被底层概念困扰,图形化面板无法完全屏蔽复杂细节,服务器配置需预估兼容性且资源利用率低。雨云云应用通过极简设计,用户仅需关注应用商店,快速部署应用,无需关心基础设施,按实际使用资源付费,实现几秒内上线,有效降低成本并提升效率,类似手机般便捷操作,解决了传统部署的繁琐与资源浪费问题。