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

GopherDaily

20250808

每日一谚:Stop excessive DRYing, sugaring, and abstracting if it makes your code harder to understand for newcomers.


Go技术生态

想用Go复刻“Claude Code”?那你得先补上TUI这一课
使用Go进行TUI应用开发的简明教程

Agents Need Tests Example
代理需要测试。Dolt 是唯一具有内置测试引擎的 SQL 数据库。Dolt 是代理的数据库。本文将通过一个示例来解释这个概念。

云原生技术

MCP 恐怖故事:供应链攻击
了解 mcp-remote 中导致凭证泄露和跨 AI 开发环境的远程代码执行的关键 OAuth 漏洞。

发布 k0rdent v1.0.0:大规模管理分布式基础设施,利用 Kubernetes
我们很高兴地宣布推出 k0rdent v1.0.0,这是一个里程碑式的版本,巩固了我们对在多云环境中统一可观察性和成本优化的愿景。

Thorsten Ball on Technical Blogging - Write that blog!
Thorsten Ball, tech blogger and book author (“Writing An Interpreter In Go” and “Writing A Compiler In Go") shares his writing philosophy and tips in this interview.

在 2025 年停止使用错误的 CNI:Flannel vs Calico vs Cilium
当我第一次构建 Kubernetes 集群时,我甚至没有考虑过 CNI。我只是想让 Pod 之间能够互相通信。 所以我选择了默认的 Flannel。 它运行良好。 它很简单。 有一段时间,我认为这就足够了。 但是后来我想做更多的事情:执行网络策略,添加加密,并真正查看我的集群的网络内部发生了什么。 突然间,我意识到了一些事情:您对 CNI 的选择不仅仅是连接 Pod,它定义了您的 Kubernetes 集群实际上可以做什么。

Building Bluesky Comments for My Blog
I hate disqus too much.

Why Building Billing Systems is So Painful
本文探讨了构建计费系统的复杂性。文章首先介绍了计费的基本概念,包括订阅、按座位计费等模型,以及这些模型带来的挑战,例如试用期管理、升级和降级处理、多币种支持等。接着,文章深入讨论了基于用量的计费模式,指出其对实时使用跟踪、高摄入量处理、定价模型适应性和数据模型灵活性的要求。文章强调了计费是业务的生命线,是基础设施的关键部分,并且需要组建一支技术与财务领域兼备的团队。此外,文章还强调了在计费团队中明确优先级、建立清晰的领域模型以及避免“祖父条款”的重要性。最后,文章鼓励将计费视为一种战略资产,以推动公司增长和成功。

我们本不需要lockfiles
Lockfiles 是一个完全不必要的概念,它在没有充分理由的情况下使事情复杂化。依赖管理系统可以并且也在没有它的情况下正常工作。

AI

在 OpenAI 办公室预览 GPT-5
几周前,我受邀来到 OpenAI 总部参加一个“预览活动”,我必须签署一份 NDA 和一份视频发布弃权书。我怀疑这可能与 GPT-5 或 OpenAI 开放权重模型有关......果然是 GPT-5!OpenAI 邀请了五位开发者:Claire Vo、Theo Browne、Ben Hylak、Shawn @swyx Wang 和我自己。我们都被提前访问了新模型,并被要求花几个小时(有报酬)来试验它们,同时由专业的摄影团队拍摄。最终的视频已经上传到 YouTube。不出所料,我的大部分编辑都与海鸥的 SVG 相关。

GPT5简介

Gemini CLI GitHub Actions: AI coding made for collaboration
Today, we’re introducing Gemini CLI GitHub Actions. It’s a no-cost, powerful AI coding teammate for your repository. It acts both as an autonomous agent for critical routine coding tasks, and an on-demand collaborator you can quickly delegate work to.

逐步指南:为 Claude 代码准备您的代码库
本综合指南将向您展示如何设置 Claude 代码,只需三个步骤即可理解您的整个项目,从而最大限度地提高其效率和上下文意识。

流行工具与项目

netbirdio/netbird
Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.

ray-project/kuberay
A toolkit to run Ray applications on Kubernetes

openai/openai-go
The official Go library for the OpenAI API

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

golang/go
The Go programming language

minio/minio
MinIO is a high-performance, S3 compatible object store, open sourced under GNU AGPLv3 license.

jesseduffield/lazygit
simple terminal UI for git commands

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

maximhq/bifrost
The Fastest LLM Gateway with built in OTel observability and MCP gateway

grafana/pyroscope
Continuous Profiling Platform. Debug performance issues down to a single line of code

grafana/alloy
OpenTelemetry Collector distribution with programmable pipelines

modelcontextprotocol/go-sdk
The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google.

go-playground/validator
💯Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

open-telemetry/opentelemetry-collector-contrib
Contrib repository for the OpenTelemetry Collector

dstotijn/hetty
An HTTP toolkit for security research.

istio/istio
Connect, secure, control, and observe services.

cert-manager/cert-manager
Automatically provision and manage TLS certificates in Kubernetes

open-telemetry/opentelemetry-go
OpenTelemetry Go API and SDK

RezaSi/go-interview-practice
Go Interview Practice is a series of coding challenges to help you prepare for technical interviews in Go. Solve problems, submit your solutions, and receive instant feedback with automated testing. Track your progress with per-challenge scoreboards and improve your coding skills step by step.

php/frankenphp
🧟 The modern PHP app server

cloudflare/cloudflared
Cloudflare Tunnel client (formerly Argo Tunnel)

containers/skopeo
Work with remote images registries - retrieving information, images, signing content


编辑:Tony Bai

编辑主页:tonybai.com

GopherDaily项目:github.com/bigwhite/gopherdaily

Copyright 2019-2024 GopherDaily