🇺🇦 Go for two :) – Telegram
🇺🇦 Go for two :)
1.15K subscribers
22 photos
3 files
189 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
Download Telegram
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.
👍8👎1
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
13%
i don't care
🔥3🦄3😡2👎1
🤣18💯11🥱1
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:

[""]
😁4
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!)
🔥9👍21💘1
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

😭😭😭
🦄11🤡6🤪3
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.
🫡81
Nice satire article https://www.justfuckingcode.com/ 🙂 Kinda true in many directions 🙂
👨‍💻2
Hey k8s/containers users!

Go 1.25 not yet released but will be container aware of GOMAXPROCS https://tip.golang.org/doc/go1.25#container-aware-gomaxprocs
🔥13