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

GopherDaily

20250822

每日一谚:Idiomatic Go Code is Simple to understand, Easy to change, Mostly Direct and Concrete and Abstract enough to be composable


Go技术生态

解锁CPU终极性能:Go原生SIMD包预览版初探
今年6月份,漫长的等待终于迎来了曙光。Go Runtime 负责人 Cherry Mui提出了在Go标准库中增加simd包的官方提案#73787,这才过去两个月左右时间,Cherry Mui就给我们带来惊喜!其主导的SIMD 官方提案迈出了决定性的一步:第一个可供尝鲜的预览版实现已登陆 dev.simd 分支!这不再是纸上的设计,而是开发者可以立刻下载、编译、运行的真实代码。

介绍 gomjml:面向 Go 开发者的 MJML
gomjml 是 MJML 电子邮件框架的 Go 本地实现,使 Go 开发人员的响应式电子邮件设计更快、更容易。

使用 Go Blueprint 构建生产就绪的 Go 服务
了解 Go Blueprint 如何改变你的 Go 开发工作流程——从繁琐的样板项目设置到在几分钟内交付生产就绪的微服务。

slog 的命名恰如其分
作者分享了从 go 的 log 包切换到 slog 包的经历,并描述了在使用过程中遇到的问题,包括格式化字符串的问题、调试消息的处理以及与 syslog 的集成问题。总结了 slog 的一些设计原则,如默认值和可编辑性。最终,作者开发了一个 hacky wrapper,用于处理 log 和 syslog 之间的消息,以满足其需求。

Commit Messages That Write Themselves
“提交消息自我编写”你好,最终的 🌴 暑假 🌴 正在您的收件箱中!在本期中,我将结束人工智能系列,并期待再次发送常规期刊!

云原生技术

Building an AI Tutor with Model Runner | Docker
Get inspired to build an AI tutor with this proof of concept project designed to reduce context-switching and improve the dev experience with Model Runner.

代码评审指南
我审阅别人的代码已经有一段时间了,确切地说,已经超过了二十年。 如今,我大约 50-70% 的时间都花在以某种形式审阅代码上,而这是我除了系统设计之外的工作。

Rust 的核心
这篇文章探讨了 Rust 语言的核心,强调了其设计中的各个概念如何协同工作,以及学习 Rust 时需要同时掌握的复杂知识点。文章认为,虽然 Rust 学习曲线陡峭,但其特性之间的内在联系使其成为一个强大而富有表现力的语言。

使用 Podman、Compose 和 BuildKit
作者介绍了使用 Podman、Compose 和 BuildKit 的经验。由于 Docker 与 nftables 配合不好,并且作者更喜欢无根 + 无守护进程的方法,所以使用了 Podman。文章介绍了两种使用 Podman 支持 Docker Compose 项目的方法以及它们的缺点。最终,作者开发了一个名为 Bakah 的小工具,用于将 Compose 项目转换为 JSON 描述,从而实现更灵活的构建方式。

如何在 Kubernetes 中轻松地将入口迁移到网关 API
将网关API控制器和入口控制器链接到一个端点 问题 网关API迁移指南中描述的迁移步骤在我看来有点天真,尤其是在多租户或企业环境中使用gitops方法时。这种方法适用于小型设置或那些可以容忍停机时间和临时问题的环境。在企业环境中,这不容易接受。

技术深度剖析:Isovalent 负载均衡器
Isovalent 负载均衡器通过 eBPF、Envoy、GitOps 工作流程和深度可观察性提供高性能的 L3–L7 流量管理。以下是技术深度剖析!

AI

在概率时代构建 AI 产品
AI 将产品从确定性功能转变为概率系统。 这需要扩展旧的模式(SLO、漏斗、孤立的财务),并根据轨迹、最小可行智能阈值和数据作为公司运营系统进行推理。

初级开发人员不会过时:如何在人工智能时代蓬勃发展
初级开发人员的角色正在发生变化。如果你正处于职业生涯的这个阶段,这里有一些方法可以让你跟上并脱颖而出。

Google Gemini CLI Cheatsheet
This cheatsheet provides a quick reference for installing, configuring, and using the Gemini CLI, with a focus on users authenticating via a Gemini API key.

流行工具与项目

GoogleCloudPlatform/microservices-demo
Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.

edoardottt/cariddi
Take a list of domains, crawl urls and scan for endpoints, secrets, api keys, file extensions, tokens and more

aaPanel/BillionMail
BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

projectdiscovery/nuclei
Nuclei is a fast, customizable vulnerability scanner powered by the global security community and built on a simple YAML-based DSL, enabling collaboration to tackle trending vulnerabilities on the internet. It helps you find vulnerabilities in your applications, APIs, networks, DNS, and cloud configurations.

prometheus/node_exporter
Exporter for machine metrics

moby/moby
The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

aquasecurity/trivy
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more

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

argoproj/argo-cd
Declarative Continuous Deployment for Kubernetes

rancher/rancher
Complete container management platform

keploy/keploy
Unit, API & Integration Testing Agent for Developers. Generate tests, mocks/stubs for your APIs that actually work!

hashicorp/terraform-provider-aws
The AWS Provider enables Terraform to manage AWS resources.

samber/lo
💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)

influxdata/telegraf
Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.

trufflesecurity/trufflehog
Find, verify, and analyze leaked credentials

etcd-io/etcd
Distributed reliable key-value store for the most critical data of a distributed system

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

GoogleCloudPlatform/kubectl-ai
AI powered Kubernetes Assistant

nats-io/nats.go
Golang client for NATS, the cloud native messaging system.

urfave/cli
A declarative, simple, fast, and fun package for building command line tools in Go


编辑:Tony Bai

编辑主页:tonybai.com

GopherDaily项目:github.com/bigwhite/gopherdaily

Copyright 2019-2024 GopherDaily