20251124
每日一谚:Write code that is easy to optimize, not code that needs to be optimized
霸榜GitHub一周!Google开源ADK for Go,彻底终结AI“炼丹”时代?
就在最近,一个名为 google/adk-go 的项目悄然开源,并迅速霸榜 GitHub Go 语言趋势榜长达一周之久!全球的 Gopher 似乎都在用脚投票,表达着同一个渴望:我们受够了“炼丹”,我们要回归工程!
【Go 测试之道】03 单元测试(下):HTTP 层的黑盒守护与依赖注入
Go 中数据竞争导致的百万种死法
作者分享了他在 Go 中遇到的各种数据竞争问题,并提供了修复方案和建议。文章首先介绍了数据竞争的概念,然后通过几个具体的例子,例如闭包中意外捕获外部变量、并发使用 http.Client、互斥锁的生命周期不正确以及对标准库容器的并发读写等,详细解释了数据竞争的产生原因和修复方法。最后,作者总结了避免数据竞争的建议,并提出了改进 Go 语言和 Go 程序设计的想法,以提高并发编程的安全性。
Spring Boot 开发人员何时应该切换到Go或Rust
You only live once, self host a NAT Gateway
作者探讨了在工程组织中实现自托管 NAT 网关的经验,重点关注了成本节约和性能提升。文章首先介绍了 NAT 网关的作用,以及为什么选择自托管方案,然后讨论了两种主要的自托管 NAT 网关的方案:Fck-NAT 和 AlterNAT。作者选择了 Fck-NAT,并在开发环境中进行了实施,结果显示 NAT 网关小时数减少了 50%,NAT 网关字节成本降低了约 70%。文章最后总结了自托管 NAT 网关的优势,并鼓励读者在适当的环境中尝试,以降低成本。
编译器和语言设计导论
这是一本免费的在线教材:欢迎直接访问下面的章节PDF。如果您喜欢实体书,您也可以在下面购买精装本或平装本。该教材和材料由Prof. Douglas Thain开发,是圣母大学CSE 40243编译器课程的一部分。
编译器将用高级语言编写的程序翻译成用较低级语言编写的程序。对于计算机科学专业的学生来说,从头开始构建编译器是一次必经之路:这是一个具有挑战性和趣味性的项目,提供了对计算机科学许多不同方面的见解,其中一些是深刻的理论,另一些是高度实践性的。本书提供了一个学期的编译器构造导论,使读者能够构建一个简单的编译器,该编译器接受类似C的语言并将其翻译成可工作的X86或ARM汇编语言。它最适合于在C语言方面有一些编程经验,并且已经修过数据结构和计算机体系结构课程的本科生。
好的工程管理是一种时尚
随着年龄的增长,我越来越思考自己是否在以正确的方式度过时间来提升我的职业生涯和生活。这也是你的公司在每个绩效周期都会问你的一个问题:这位工程经理是否有效地利用他们的时间来提升公司或他们的组织?令人困惑的是,根据我的经验,回答这些看似相似的问题却出奇地没有什么共同之处。这篇文章花了一些时间来探讨这两个问题,特别是在我们今天所处的奇怪时刻,管理者被告知他们在过去十年里做错了事情,需要采用新的工程管理模式,以便在行业的最新迭代中获得认可。
制作一门语言
关于使用 Rust 编程语言制作名为 Eldiro 的编程语言的一系列文章。还有 RSS 订阅源!
Data Contract CLI | Data Contract GPT
Data Contract GPT 用于与数据合同规范交互,以交互方式创建和修改数据合同。
我们暂停了一周的路线图工作并修复了 189 个错误
作者分享了他们组织如何每季度暂停所有常规工作一周,专注于修复小型错误,改进产品,提高开发人员效率,以及增强团队士气。文章详细介绍了“修复周”的定义、目标、成果、益处,以及如何成功运行“修复周”的方法,包括准备工作、时间限制、团队规模和游戏化策略,最后总结了作者对“修复周”的看法,认为其对产品质量、开发人员生产力和团队精神都有积极影响。
智能体设计仍然很难
我的代理抽象一直在意想不到的地方崩溃。构建代理仍然很混乱。SDK抽象在您使用真正的工具时会中断。缓存管理效果更好,但因模型而异。强化最终需要完成比预期更繁重的工作,并且故障需要严格隔离以避免脱轨。通过类似文件系统的层共享状态是一个重要的构建块。输出工具出乎意料地棘手,模型选择仍然取决于任务。
google/adk-go
An open-source, code-first Go toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.
traefik/traefik
The Cloud Native Application Proxy
milvus-io/milvus
Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search
fatedier/frp
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
fish2018/pansou
PanSou是一款高性能的网盘资源搜索API服务,支持TG频道和插件搜索。系统设计以性能和可扩展性为核心,支持多频道多插件并发搜索、结果智能排序和网盘类型分类。docker集成前后端,一键启动,开箱即用。 https://so.252035.xyz/
beclab/Olares
Olares: An Open-Source Personal Cloud to Reclaim Your Data
jesseduffield/lazydocker
The lazier way to manage everything docker
go-playground/validator
💯Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
containers/podman
Podman: A tool for managing OCI containers and pods.
open-telemetry/opentelemetry-collector
OpenTelemetry Collector
go-chi/chi
lightweight, idiomatic and composable router for building Go HTTP services
gin-gonic/gin
Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.
oauth2-proxy/oauth2-proxy
A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.
putyy/res-downloader
视频号、小程序、抖音、快手、小红书、直播流、m3u8、酷狗、QQ音乐等常见网络资源下载!
cloudreve/cloudreve
🌩 Self-hosted file management and sharing system, supports multiple storage providers
hashicorp/consul
Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
crossplane/crossplane
The Cloud Native Control Plane
moby/moby
The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
jmoiron/sqlx
general purpose extensions to golang's database/sql
influxdata/telegraf
Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
Masterminds/squirrel
Fluent SQL generation for golang
temporalio/temporal
Temporal service
opencloud-eu/opencloud
🌤️This is the main repository of the OpenCloud server. It contains the golang codebase for the backend services.
jackc/pgx
PostgreSQL driver and toolkit for Go
编辑:Tony Bai
编辑主页:tonybai.com
GopherDaily项目:github.com/bigwhite/gopherdaily
Copyright 2019-2024 GopherDaily