https://gaultier.github.io/blog/how_to_reproduce_and_fix_an_io_data_race_with_dtrace.html
#dtrace #golang #bug
I know that #golang apparently doesn't "break API" but not sure how this feels any different.
https://github.com/purpleidea/mgmt/issues/822
Thanks to #mgmtconfig user karpfen for finding and fixing this before I even got to golang 1.25 !
(I love the golang language, but I continue to really detest the tools.)
Go: Format dates and times by just writing our reference date and time in your desired format! And the components of that reference just count up from one to seven! You don’t even need the docs!
Me: Great! So the reference date is something like 0001-02-03T04:05:06+07:00
Go: Hahahaha you’re so silly, what even is that? No, it’s 01/02 03:04:05PM '06 -0700
Me: The first of February?
Go: No, dumbass! That’s 🇺🇸 obviously 🇺🇸 the second of January!!
Me, wearily: And why is the time halfway through the date?
Go: That’s just how you always say the time! Like ‘I get off work today at six PM twenty twenty-five’
Me:
Go:
Coming up with this made me happy today:
```go
// random birth date
rnd := rand.Int64N(time.Now().Unix()*2) - time.Now().Unix()
bdu := time.Unix(rnd, 0)
return bdu.Format("2006-01-02")
```
"The narrative that derides other languages for being bloated, verbose, and overcomplicated, could one day well be turned upon Go, and I don’t want to see this happen, so I have a request. Go programmers need to start talking less about frameworks, and start talking more about design."
— Dave Cheney.
"The opportunity for all Go programmers to make our language a success hinges directly on our collective ability to not make such a mess of things that people start to talk about Go the way that they joke about C++ today."
— Dave Cheney.
A plane's flight recorder is of little use for determining why the plane has been late. Go's flight recorder, on the other hand, is perfectly suited for that kind of investigation!
https://newsletter.appliedgo.net/archive/2025-09-28-enjoy-the-flight/?utm_source=appliedgo-mastodon
#golang
https://newsletter.appliedgo.net/archive/2025-09-28-enjoy-the-flight/?utm_source=appliedgo-mastodon