πŸ‡ΊπŸ‡¦ Go for two :)
1.18K subscribers
22 photos
3 files
187 links
Telegram channel about tricks and engineering practices in the Go programming language over a cup of coffee β˜•οΈ.

author: @a_soldatenko
personal blog: https://asoldatenko.org

#golang #go #kubernetes #debugging
加ε…₯钑道
For all GO haters :) https://juli1.substack.com/p/why-i-fell-in-love-with-go

Nice quote and summary:
>Technologies like JavaScript or Go are like a good burger: it’s an option that the majority understand and choose regularly. It may not be the most elegant option, but it does the job and allows us to focus on problems that matter.
What do you think if I start posting not only about Golang, but some related topics like k8s/containers?
Anonymous Poll
50%
Yes
20%
No
16%
Strong Yes
14%
i don't care
TIL: strings.Split returns [""] if s does not contain sep and sep is not empty πŸ˜…

package main

import (
"fmt"
"strings"
)

func main() {
fmt.Printf("%q\n", strings.Split("", ","))
}


Split returns a slice of length 1 whose only element is s:

[""]
After releasing go1.24, we can manage tools as dependencies!

Here is very good step by step article about how to do it https://www.alexedwards.net/blog/how-to-manage-tool-dependencies-in-go-1.24-plus

Also it includes example how to add tools to seperate go.mod file (TIL!)
Channel name was changed to Β«πŸ‡ΊπŸ‡¦ Go for two :)Β»
"Programming Is Like S*x: One mistake and you have to support it for the rest of your life." β€” Michael Sinz

😭😭😭
Interesting approach by Russ for finding bugs by diff code coverage profiles between faing and success exectuon:

https://research.swtch.com/diffcover
Classics https://status.redhat.com/

> Quay.io has been moved to read-only mode while we work to implement a fix. During this time Pulls will continue to work, however, Pushes will be disabled until a fix is implemented. There is currently no timeline for Push restoration.

> The issue has been identified. A primary key in the database has reached maximum value. We are currently working on validating a fix.
Nice satire article https://www.justfuckingcode.com/ πŸ™‚ Kinda true in many directions πŸ™‚