本文永久链接 – https://tonybai.com/2025/10/17/detect-charset-in-go 大家好,我是Tony Bai。 在上一篇关于 Go 语言 string 与 rune 设计哲学的文章发布后,我收到了许多精彩的反馈。其中,一位读者提出了一个极具现实意义的后续问题:“既然 Go 的世界以 UTF-8 为中心,那么当我们从外部系统(如老旧的文件、非标准的 API)接收到一段未知编码的字节流时,我们该如何是好?Go 生态是否有...| Tony Bai
Happenings this Week I’ve been reading (and re-reading) The Expanse series—highly recommended if you like smart, gritty sci-fi. (The TV show holds up, too.) Since it was my birthday yesterday, I decided […] The post MAS Happenings – September 16 2025 first appeared on Minnesota Astronomical Society.| Minnesota Astronomical Society
The much-anticipated NNSF kicks off tomorrow, and for those who can’t make it up there Cherry Grove Observatory is hosting a member star party on Friday night.| Minnesota Astronomical Society - Minnesota's amateur astronomical society
本文永久链接 - https://tonybai.com/2024/01/06/the-2024-review-of-go-programming-language 2024年底,由于感染了甲流,我在家卧床休息了两天,原定于2024年进行的Go语言盘点写作因此被迫推迟。不过,我始终相| tonybai.com
本文永久链接 - https://tonybai.com/2024/12/17/go-1-24-foresight-part2 在上一篇文章中,我们介绍了即将于2025年2月发布的Go 1.24版本在语法、编译器和运行时方面的主要变化。本文将继续承接上文,重点介绍Go| tonybai.com
本文永久链接 - https://tonybai.com/2024/12/16/go-1-24-foresight-part1 自2020年底撰写《Go 1.16版本新特性前瞻》以来,四年转瞬而逝。在这段时间里,每当Go的大版本开发进入新特性冻结(freeze)阶段,我都会为| tonybai.com
Learn how to integrate SQLite with Go using the C API provided by the language, focusing on key operations like opening and closing the database, preparing statements, and binding parameters.| Happiness Machines