主页 | Web版 | 订阅 | 归档 | Feed

GopherDaily

20250914

每日一谚:Keep your main package small


Go技术生态

“包管理器是万恶之源”:一次来自Odin语言作者的灵魂拷问
“包管理器是万恶之源 (Package Managers are Evil)。” 这句石破天惊的论断,出自Odin语言的创造者Ginger Bill最近发表的一篇博文。在一个npm install、pip install、go get已经成为开发者肌肉记忆的时代,这无异于一篇挑战整>个现代软件开发基石的“檄文”。

【Go系统编程】02 文件系统:用 Go 精准操控文件元数据与目录
今天,我们将深入文件系统的这些“内幕”,揭秘 Go 是如何让我们像操纵数据一样,精准地操纵文件的元数据和目录结构。

放弃时间管理,拥抱状态管理:一个中年程序员的真实感悟
最近在X上看到一个观点,让我深有感触。这个观点就是:放弃时间管理,做好状态管理。 这和我作为一名中年程序员的实际操作,简直不谋而合。

软件工程的永恒法则:《代码大全》作者访谈给我们的三大启示
二十年前,Steve McConnell 的《代码大全》(Code Complete 2nd) 以其近 900 页的体量,成 为软件工程领域一座难以逾越的丰碑。二十年后,它依然是无数工程师书架上的必备经典。在一场深度的访谈中,McConnell分享了这部巨著背后的故事、对职业发展的深刻洞见,以及对 AI 时代的冷静思考。

Go channels to solve interface impedance mismatch
Learn how Go channels can solve a particular form of interface mismatch common in application development.

Go有多快?在智能电视上模拟数百万个粒子
挑战,使用golang模拟数百万个粒子,支持多人游戏,仅限CPU,兼容智能电视。

UTF-8 is a Brilliant Design
本文探讨了 UTF-8 编码的巧妙设计,它能够表示数百万个字符,同时向后兼容 ASCII。文章解释了 UTF-8 的工作原理,并提供了几个示例,以展示其兼容性和效率。此外,文章还提到了 UTF-8 Playground 等相关工具。

云原生技术

Some notes on (Tony Finch's) exponential rate limiting in practice

Humanoid Robots: The Scaling Challenge - IEEE Spectrum
It takes more than building a humanoid robot to build a humanoid robot product.

神奇的系统思维
系统思维承诺给我们一个从头开始设计复杂系统的工具包。但它失败了,因为它忽略了一个重要事实:系统会反击。

开源维护者的“说不”指南
在廉价代码时代,维护一个开源项目最难的部分之一,就是对一个好主意说“不”。用户提出了一个新功能。它设计良好、有用,而且没有明显的技术缺陷。然而,答案却是“不”。对于用户来说,这可能是令人困惑的。对于维护者来说,这是一个必要的管理行为。

我对 Gleam 的初步印象
我在使用 Gleam 进行一个小项目的前几个小时里学到了什么。

许多难题Leetcode问题是简单的约束问题
对症下药。

Hashed sorting is typically faster than hash tables
Hashed sorting is typically faster than hash tables. The article benchmarks and explains the reasons behind the performance of hashed sorting compared to hash tables. It highlights that sorting, when well-tuned, outperforms hash tables, especially in large datasets. The article focuses on memory bandwidth efficiency and presents the results of benchmarks performed on an M2 Pro. The author also discusses the robustness of radix sort by addressing potential performance degradation on non-uniformly spread data and proposes a solution by sorting by hash(key) rather than key itself. The article explores the differences between Swiss Tables and the tuned hash tables, including single-table vs. metadata+data, cacheline alignment, and load factor. The discussion includes parallelization and explains when to choose hash tables versus hashed radix sort. The author also mentions applications and advantages of hashed radix sorts, highlighting its impact on performance.

AI

MCP-Agent: 如何构建可扩展的深度研究代理
“了解MCP-Agent如何通过简单的编排、外部存储和可扩展的工作流程为深度研究代理提供支持。在GitHub上开源。”

Claude Memory: 一种不同的哲学
Claude 记忆系统的工作原理,它与 ChatGPT 的区别,以及这些方法揭示了什么。

流行工具与项目

docker/mcp-gateway
docker mcp CLI plugin / MCP Gateway

XTLS/Xray-core
Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses.

v2fly/v2ray-core
A platform for building proxies to bypass network restrictions.

hteen/apple-store-helper
Apple Store iPhone预约助手

JanDeDobbeleer/oh-my-posh
The most customisable and low-latency cross platform/shell prompt renderer

cli/cli
GitHub’s official command line tool

SagerNet/sing-box
The universal proxy platform

docker/mcp-registry
Official Docker MCP registry

encoredev/encore
Open Source Development Platform for building robust type-safe distributed systems with declarative infrastructure

grpc/grpc-go
The Go language implementation of gRPC. HTTP/2 based RPC

livekit/livekit
End-to-end realtime stack for connecting humans and AI

milvus-io/milvus
Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

caddyserver/caddy
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

traefik/traefik
The Cloud Native Application Proxy

openbao/openbao
OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys.

syncthing/syncthing
Open Source Continuous File Synchronization

OJ/gobuster
Directory/File, DNS and VHost busting tool written in Go

tailscale/tailscale
The easiest, most secure way to use WireGuard and 2FA.

ollama/ollama
Get up and running with OpenAI gpt-oss, DeepSeek-R1, Gemma 3 and other models.


编辑:Tony Bai

编辑主页:tonybai.com

GopherDaily项目:github.com/bigwhite/gopherdaily

Copyright 2019-2024 GopherDaily