talk
Playing Snake in Your Browser’s Address Bar: When the Internet Was Still Fun
Playing Snake in Your Browser’s Address Bar: When the Internet Was Still Fun. Open Chrome, type https://demian.ferrei.ro/snake# into the address bar, and y。
talk
Playing Snake in Your Browser’s Address Bar: When the Internet Was Still Fun. Open Chrome, type https://demian.ferrei.ro/snake# into the address bar, and y。
talk
浏览器的地址栏除了输入网址还能干什么?——玩贪吃蛇. 浏览器的地址栏除了输入网址还能干什么?——玩贪吃蛇 当一个十年前的疯狂创意重新走红,它揭示了互联网正在失去的东西 打开Chrome浏览器,在地址栏输入 https://demian.ferrei.ro/snake# ,然后 你就看到一串奇怪的符号。 是的。
tech
Go Officials Revisit Error Handling — Why the New Syntax Is Still Stuck Recently, the official Go blog published a post titled On | No syntactic support for error handling. Contrary to the community’s anticipation for a breakthrough in syntax, the article took a step back—revisiting Go’s long and
tech
This article explores best practices for developing Go applications in Kubernetes, focusing on the different stages of a Pod’s lifecycle and the role of Kubernetes termination signals. Properly managing these phases ensures smooth application shutdowns, preventing data loss or disruptions to user experience. By mastering lifecycle management, teams can
tech
Explore an in-depth analysis of Go's garbage collector, covering the evolution from concurrent mark-sweep to the groundbreaking Green Tea GC. Delve into key issues such as high concurrency bottlenecks, inefficient memory access, and CPU overhead, while discovering how per-span batch scanning and ad…
tech
本文深入解析 Go 语言垃圾回收(GC)机制的设计与不足,从并发标记-清除、内存局部性问题到高 CPU 占用,透彻剖析了 Go GC 在高并发、大内存场景下的挑战。文章重点介绍了最新的 Green Tea GC 优化方案——通过 span 批量扫描提升内存访问效率和多核扩展性,实现部分场景下 GC 耗时降低 35%,为极限性能优化和未来硬件加速提供了新思路。关键词包括 Go 垃圾回收优化、Green Tea GC、并发GC、高负载场景等。
talk
软件工程师的身份危机 by Annie Vella. 原文地址: https://annievella.com/posts/the-software-engineering-identity-crisis/ 我们很多人选择成为软件工程师,是因为我们在亲手 创造 事物中找到了自我价值——而非仅仅管理或监督已有事。
tech
Discover the hidden pitfalls of gRPC, including inefficient protobuf code generation, language-specific quirks, and steep learning curves. This article dives into challenges like dependency management, subpar editor support, and documentation issues while highlighting community tools for microservi…
tech
本文深入解析了gRPC在现代Web开发中的优势,从使用Protocol Buffers实现的数据传输优化(可减少高达50%流量)到严谨的API契约带来的代码自动生成、类型安全与文档同步,再到流式通信和跨语言支持的实际应用,详述了gRPC如何推动HTTP/2/HTTP/3革新。文章还探讨了gRPC与REST兼容的转码方案(如gRPC-Gateway、gRPC-Web、ConnectRPC、Twirp)及丰富的工具生态(如Buf CLI、第三方插件),为追求高性能、低延迟与微服务架构优化的开发者提供了实用参考和未来趋势预判。
tech
网页图标(Icon)那些事. 昨天 涛叔的博客 发布了一篇关于友情链接的博客,我毛遂自荐向涛叔请求添加友情链接。涛叔很快回应了我,并且在邮件中友好的提醒我,可以给博客添加一个 favicon(icon) ,这样方便RSS订阅用户快速的区分博客。当时我心想 favicon 是什么?(后端程序员伤不起) 后面我咨。
tech
This article explores the importance of favicons in web design, covering usage scenarios, setup methods, size requirements, and format choices to enhance user experience and site recognition.
tech
Go 标准库提案:更优雅的 HTTP 内容协商 背景 在 Web 开发中,HTTP 内容协商(Content Negotiation)是一项重要的机制,它允许客户端和服务器就响应内容的最佳格式达成一致。例如,手机端可能希望接收 JSON 格式的数据,Web端可能想要XML格式的数据,服务端可以在一个接口中提供多种数据格式。客户端通过 Accept 请求头表达自己的偏好,服务端根据这些偏好选择最合适的格式返回。 具体内容可以参考RFC9110 比如在下面的例子中,使用Gin框架自己实现的内容协商 。在一个API接口中返回了JSON和XML两种格式。 package main import ( "net/http" "github.com/gin-gonic/gin" ) type User struct { Name string `json:"