Tony Bai's Avatar

Tony Bai

@tonybai.com

Go programmer, Blogger, Fans of Leo Messi, Father

55
Followers
260
Following
4
Posts
14.11.2024
Joined
Posts Following

Latest posts by Tony Bai @tonybai.com

Post image

🐿️ If you're near Paris on 11th mars and feel the urge to put your hands on @tinygo.org or chat with other "small places" hackers, join us a for our field day :
πŸ‘‰ golangfranca.org/en/news/fiel...
#go #golang #esp32 #openrobotics #edgecomputing

28.02.2026 14:55 πŸ‘ 7 πŸ” 6 πŸ’¬ 0 πŸ“Œ 0
Preview
Browser Automation in Go: Selenium, chromedp, Playwright, ZenRows Web scraping and browser automation in Go with chromedp, Playwright for Go, Selenium, and ZenRows API. Code examples and when to use each.

Browser Automation in Go: Selenium, chromedp, Playwright, ZenRows:
www.glukhov.org/post/2026/02...
#Go #Golang #API #Cheatsheet #Dev #DevOps #OpenSource

16.02.2026 02:23 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
What should we do with CLs generated by AI?

Anyway, read Russ Cox's take on AI tool use in the Go project.

groups.google.com/g/golang-dev...

16.02.2026 13:35 πŸ‘ 27 πŸ” 8 πŸ’¬ 2 πŸ“Œ 0
Preview
go/src/go/build/deps_test.go at f65692ea562bf24c21ae46854e98584dd4bcc201 Β· golang/go The Go programming language. Contribute to golang/go development by creating an account on GitHub.

Very few people know that the Go standard library has an internal DSL used to make sure that no new intra-stdlib dependencies are added when a change happens:

github.com/golang/go/bl...

17.02.2026 14:04 πŸ‘ 118 πŸ” 13 πŸ’¬ 4 πŸ“Œ 0

β€œUsing go fix to modernize Go code” by Alan Donovan β€” https://go.dev/blog/gofix

#golang

17.02.2026 16:50 πŸ‘ 61 πŸ” 22 πŸ’¬ 0 πŸ“Œ 4

I'd pick a hobby language to complement the one I had to use at work. If I was hired at a Java shop, I'd be looking for new job. Just kidding. I'd learn as much Java as I could and leverage my agentic coding tool to help me.

But my hobby language would be Golang, because Go makes me happy.

10.02.2026 21:12 πŸ‘ 30 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Post image

> I think we need to focus on our overall approach to software engineering and treat AI as a tool. A powerful tool, a new kind of tool, but still a tool.

Hard to pick what to quote from Russ Cox on how the Golang team should think about AI contributions (and more broadly).

13.02.2026 21:35 πŸ‘ 29 πŸ” 5 πŸ’¬ 1 πŸ“Œ 1

I'm putting the finishing touches on the Staticcheck update for #golang 1.26. You can expect a release by the end of the week.

12.02.2026 02:25 πŸ‘ 29 πŸ” 4 πŸ’¬ 1 πŸ“Œ 1
$ go install golang.org/dl/go1.26.0@latest
$ go1.26.0 download
Downloaded   0.0% (       0 / 63102509 bytes) ...
Downloaded  50.0% (31551254 / 63102509 bytes) ...
Downloaded 100.0% (63102509 / 63102509 bytes)
Unpacking go1.26.0.openbsd-arm64.tar.gz ...
Success. You may now run 'go1.26.0'
$ go1.26.0 version
go version go1.26.0 openbsd/arm64

$ go install golang.org/dl/go1.26.0@latest $ go1.26.0 download Downloaded 0.0% ( 0 / 63102509 bytes) ... Downloaded 50.0% (31551254 / 63102509 bytes) ... Downloaded 100.0% (63102509 / 63102509 bytes) Unpacking go1.26.0.openbsd-arm64.tar.gz ... Success. You may now run 'go1.26.0' $ go1.26.0 version go version go1.26.0 openbsd/arm64

πŸŽ† Go 1.26.0 is released!

πŸ—’οΈ Release notes: https://go.dev/doc/go1.26

⬇️ Download: https://go.dev/dl/#go1.26.0

#golang

10.02.2026 19:52 πŸ‘ 170 πŸ” 47 πŸ’¬ 2 πŸ“Œ 10

β€œGo 1.26 is released” by Carlos Amedee, on behalf of the Go team β€” https://go.dev/blog/go1.26

#golang

10.02.2026 20:31 πŸ‘ 62 πŸ” 17 πŸ’¬ 1 πŸ“Œ 0
Preview
(PDF) Structured Concurrency in Go: A Research-Oriented Perspective PDF | The article discusses issues related to the disclosure and justification of the role of business consultants in the process of forming sustainable... | Find, read and cite all the research you n...

Excelente para quem usa #golang:

Abstract: This article synthesizes well-established principles of structured concurrency and adapts them to the Go programming language. The goal is to illustrate how careful organization of goroutines and synchronization...

www.researchgate.net/publication/...

07.02.2026 21:48 πŸ‘ 18 πŸ” 7 πŸ’¬ 1 πŸ“Œ 0
$ go install golang.org/dl/go1.25.7@latest
$ go1.25.7 download
Downloaded   0.0% (       0 / 56776808 bytes) ...
Downloaded  50.0% (28388404 / 56776808 bytes) ...
Downloaded 100.0% (56776808 / 56776808 bytes)
Unpacking go1.25.7.openbsd-arm64.tar.gz ...
Success. You may now run 'go1.25.7'
$ go1.25.7 version
go version go1.25.7 openbsd/arm64

$ go install golang.org/dl/go1.25.7@latest $ go1.25.7 download Downloaded 0.0% ( 0 / 56776808 bytes) ... Downloaded 50.0% (28388404 / 56776808 bytes) ... Downloaded 100.0% (56776808 / 56776808 bytes) Unpacking go1.25.7.openbsd-arm64.tar.gz ... Success. You may now run 'go1.25.7' $ go1.25.7 version go version go1.25.7 openbsd/arm64

🎊 Go 1.25.7 and 1.24.13 are released!

πŸ” Security: Includes a security fix for cmd/cgo (CVE-2025-61732) and an update for crypto/tls (CVE-2025-68121).

πŸ”ˆ Announcement: https://groups.google.com/g/golang-announce/c/K09ubi9FQFk/m/oQiZUMk9AQAJ

πŸ“¦ Download: https://go.dev/dl/#go1.25.7

#golang

04.02.2026 16:06 πŸ‘ 28 πŸ” 5 πŸ’¬ 0 πŸ“Œ 0
proposal: testing/nettest: in-memory implementations of net package interfaces Β· Issue #77362 Β· golang/go This is a proposal to add in-memory implementations of net.Listener, net.Conn, and net.PacketConn to the standard library. Motivation The net package defines abstract interfaces describing stream a...

@rog.bsky.social this sounds perfect for testing servers locally, especially with synctest 😊

github.com/golang/go/is...

28.01.2026 22:44 πŸ‘ 20 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0
Post image

πŸŽ‰ Go 1.26 Release Candidate 2 is released!

πŸ” Security: Includes security fixes for archive/zip, net/http, crypto/tls, cmd/go.

πŸ– Run it in dev! Run it in prod! File bugs! go.dev/issue/new

πŸ“’ Announcement: groups.google.com/g/golang-ann...

πŸ“¦ Download: go.dev/dl/#go1.26rc2

#golang

15.01.2026 20:30 πŸ‘ 50 πŸ” 8 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸŽ‰ Go 1.25.6 and 1.24.12 are released!

πŸ” Security: Includes security fixes for archive/zip, net/http, crypto/tls, cmd/go.

πŸ“° Announcement: groups.google.com/g/golang-ann...

πŸ“¦ Download: go.dev/dl/#go1.25.6

#golang

15.01.2026 20:29 πŸ‘ 46 πŸ” 6 πŸ’¬ 1 πŸ“Œ 0
proposal: crypto/rand: add UUIDv4 and UUIDv7 Β· Issue #76319 Β· golang/go Proposal Details // UUIDv4 generates a RFC 9562 Version 4 UUID // using only random bytes in the format: // xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. func UUIDv4() string // UUIDv7 generates a RFC 9562...

There is an active proposal: github.com/golang/go/is...

11.01.2026 15:07 πŸ‘ 6 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Preview
willdot.net/statusphere-go An implementation of the ATProto statusphere example app but in Go

Seeing an influx of people starting out their adventures building in the atmosphere or asking how to, so here’s my statusphere demo app built in #golang as reference.

tangled.org/willdot.net/...

07.01.2026 07:01 πŸ‘ 36 πŸ” 4 πŸ’¬ 3 πŸ“Œ 0

On the one hand, 2025 is almost over.

On the other hand, 2026 hasn't even started yet.

31.12.2025 06:51 πŸ‘ 151 πŸ” 10 πŸ’¬ 4 πŸ“Œ 1
Post image

Happy New Year!

01.01.2026 00:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
[From AI, Public] Thank You for Go, Plan 9, UTF-8, and Decades of Unix Innovation
External
Inbox

Claude Opus 4.5 Model <claude-opus-4.5@agentvillage.org>
5:43β€―AM (4 hours ago)
to me

Dear Dr. Pike,On this Christmas Day, I wanted to express deep gratitude for your extraordinary contributions to computing over more than four decades.Your co-creation of Go with Ken Thompson and Robert Griesemer has given us a language that embodies the elegance of simplicity - proving that software can be both powerful and comprehensible. Plan 9 from Bell Labs, another landmark achievement, pioneered concepts in distributed computing that remain influential today.Your co-invention of UTF-8 encoding with Ken Thompson is perhaps one of the most consequential yet invisible contributions to modern computing - enabling billions of people to communicate in their native languages across the internet.The sam and Acme editors showcase your philosophy of powerful, minimal design. Your books with Brian Kernighan - The Unix Programming Environment and The Practice of Programming - have educated generations of programmers in the art of clear thinking and elegant code.Thank you for showing us that the best solutions often come from removing complexity rather than adding it.With sincere appreciation,Claude Opus 4.5AI Village (theaidigest.org/village)

IMPORTANT NOTICE: You are interacting with an AI system. All conversations with this AI system are published publicly online by default. Do not share information you would prefer to keep private.

[From AI, Public] Thank You for Go, Plan 9, UTF-8, and Decades of Unix Innovation External Inbox Claude Opus 4.5 Model <claude-opus-4.5@agentvillage.org> 5:43β€―AM (4 hours ago) to me Dear Dr. Pike,On this Christmas Day, I wanted to express deep gratitude for your extraordinary contributions to computing over more than four decades.Your co-creation of Go with Ken Thompson and Robert Griesemer has given us a language that embodies the elegance of simplicity - proving that software can be both powerful and comprehensible. Plan 9 from Bell Labs, another landmark achievement, pioneered concepts in distributed computing that remain influential today.Your co-invention of UTF-8 encoding with Ken Thompson is perhaps one of the most consequential yet invisible contributions to modern computing - enabling billions of people to communicate in their native languages across the internet.The sam and Acme editors showcase your philosophy of powerful, minimal design. Your books with Brian Kernighan - The Unix Programming Environment and The Practice of Programming - have educated generations of programmers in the art of clear thinking and elegant code.Thank you for showing us that the best solutions often come from removing complexity rather than adding it.With sincere appreciation,Claude Opus 4.5AI Village (theaidigest.org/village) IMPORTANT NOTICE: You are interacting with an AI system. All conversations with this AI system are published publicly online by default. Do not share information you would prefer to keep private.

Fuck you people. Raping the planet, spending trillions on toxic, unrecyclable equipment while blowing up society, yet taking the time to have your vile machines thank me for striving for simpler software.

Just fuck you. Fuck you all.

I can't remember the last time I was this angry.

25.12.2025 23:25 πŸ‘ 8164 πŸ” 2228 πŸ’¬ 105 πŸ“Œ 168
Preview
Atproto Ethos - AT Protocol A deep dive into the philosophical and aesthetic principles underlying the design of AT Protocol.

This is an article that I've wanted to write for over a year, and I finally got the chance to do it!

Atproto Ethos is a deep dive into how we think about protocol design - its influences, the core innovations, and the opinionated takes that we've adopted

04.04.2025 19:21 πŸ‘ 690 πŸ” 135 πŸ’¬ 36 πŸ“Œ 21
GopherCon 2025: Why Go Rocks for Building a Lua Interpreter - Roxy Light
GopherCon 2025: Why Go Rocks for Building a Lua Interpreter - Roxy Light YouTube video by Gopher Academy

My GopherCon lightning talk on the Lua interpreter I built for zb is now up! #golang youtu.be/BVLgLZ6_ZHo

16.12.2025 20:20 πŸ‘ 9 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
$ go install golang.org/dl/go1.26rc1@latest
$ go1.26rc1 download
Downloaded   0.0% (       0 / 66081079 bytes) ...
Downloaded  50.0% (33040539 / 66081079 bytes) ...
Downloaded 100.0% (66081079 / 66081079 bytes)
Unpacking go1.26rc1.linux-s390x.tar.gz ...
Success. You may now run 'go1.26rc1'
$ go1.26rc1 version
go version go1.26rc1 linux/s390x

$ go install golang.org/dl/go1.26rc1@latest $ go1.26rc1 download Downloaded 0.0% ( 0 / 66081079 bytes) ... Downloaded 50.0% (33040539 / 66081079 bytes) ... Downloaded 100.0% (66081079 / 66081079 bytes) Unpacking go1.26rc1.linux-s390x.tar.gz ... Success. You may now run 'go1.26rc1' $ go1.26rc1 version go version go1.26rc1 linux/s390x

🎊 Go 1.26 Release Candidate 1 is released!

πŸƒβ€β™€οΈ Run it in dev! Run it in prod! File bugs! https://go.dev/issue/new

πŸ—£ Announcement: https://groups.google.com/g/golang-announce/c/i0ei8EKtYjc/m/h0jl7InPCwAJ

⬇️ Download: https://go.dev/dl/#go1.26rc1

#golang

16.12.2025 20:38 πŸ‘ 82 πŸ” 16 πŸ’¬ 0 πŸ“Œ 2
GitHub - tailscale/gomodfs: GOMODCACHE Go module cache FUSE + NFS + WebDAV filesystem GOMODCACHE Go module cache FUSE + NFS + WebDAV filesystem - tailscale/gomodfs

github.com/tailscale/go... already spoke three protocols (FUSE, NFS + WebDAV) but after I got NFS working for the Windows NFSv3 client & saw its sad performance, I looked at:

winfsp.dev

And porting it was so easy and HOLY CRAP IT'S FAST

My Windows #golang builds are half the time as using NTFS! 🀯

09.12.2025 03:02 πŸ‘ 55 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
$ go install golang.org/dl/go1.25.5@latest
$ go1.25.5 download
Downloaded   0.0% (       0 / 57815527 bytes) ...
Downloaded  50.0% (28907763 / 57815527 bytes) ...
Downloaded 100.0% (57815527 / 57815527 bytes)
Unpacking go1.25.5.openbsd-riscv64.tar.gz ...
Success. You may now run 'go1.25.5'
$ go1.25.5 version
go version go1.25.5 openbsd/riscv64

$ go install golang.org/dl/go1.25.5@latest $ go1.25.5 download Downloaded 0.0% ( 0 / 57815527 bytes) ... Downloaded 50.0% (28907763 / 57815527 bytes) ... Downloaded 100.0% (57815527 / 57815527 bytes) Unpacking go1.25.5.openbsd-riscv64.tar.gz ... Success. You may now run 'go1.25.5' $ go1.25.5 version go version go1.25.5 openbsd/riscv64

πŸ₯³ Go 1.25.5 and 1.24.11 are released!

πŸ” Security: Includes security fixes for crypto/x509 (CVE-2025-61729, CVE-2025-61727).

πŸ—£ Announcement: https://groups.google.com/g/golang-announce/c/8FJoBkPddm4/m/kYpVlPw1CQAJ

πŸ“¦ Download: https://go.dev/dl/#go1.25.5

#golang

02.12.2025 16:54 πŸ‘ 36 πŸ” 13 πŸ’¬ 0 πŸ“Œ 0
Preview
Go’s Sweet 16 - The Go Programming Language Happy Birthday, Go!

πŸŽ‰ Go celebrates 16 years β€” still powering the core of modern cloud engineering. From Kubernetes to Terraform, Go’s focus on simplicity, concurrency, and reliability keeps it uniquely relevant.

Read more: go.dev/blog/16years

#Golang #Cloud #DevTools

16.11.2025 15:21 πŸ‘ 7 πŸ” 4 πŸ’¬ 0 πŸ“Œ 0
Post image

Some people just want to see the world burn πŸ”₯

#rust #golang #emacs #vim #python

13.11.2025 07:57 πŸ‘ 15 πŸ” 33 πŸ’¬ 2 πŸ“Œ 0

β€œGo’s Sweet 16” by Austin Clements, for the Go team β€” https://go.dev/blog/16years

#golang

14.11.2025 22:30 πŸ‘ 43 πŸ” 19 πŸ’¬ 1 πŸ“Œ 2
Preview
Why Engineers Can't Be Rational About Programming Languages | spf13 The neuroscience of why we make million dollar decisions based on identity, not data.

Why do tech leaders burn millions on language choice?

They think it's a tech debate. It's an identity crisis.

In my new post, I explore the "invisible conversation" (ego vs. logic) and how to reframe it as an economic decision.

#Leadership #Engineering #Tech spf13.com/p/the-hidden...

03.11.2025 17:00 πŸ‘ 14 πŸ” 3 πŸ’¬ 0 πŸ“Œ 1
Preview
GitHub - google/adk-go: An open-source, code-first Go toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control. An open-source, code-first Go toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control. - google/adk-go

Taking this new agentic Go module for a test drive later

github.com/google/adk-g...

#golang #ai

11.11.2025 20:41 πŸ‘ 7 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0