text
stringlengths
0
1.82k
**Kelsey Hightower:** Right.
**Carlisia Thompson:** That's why it would be great for somebody to extract the examples of, "Well, these are the good things, the good ways that we found to write Go that turned out to be easy to work with." And like Katrina was saying in the last episode when she was here with us, she was saying that she found a bunc...
**Erik St. Martin:** I get what you're saying... Kind of look through and find the patterns and the anti-patterns and kind of document those so that people continue to do the good things, and at least stop doing the undesired things.
**Carlisia Thompson:** \[01:03:54.03\\\] Yeah. I'm thinking... Also, this would go for people who are veterans on the project, that have run into these things and could maybe contribute to the list.
**Erik St. Martin:** You know what's really interesting though, outside of the implementation details, the way it's written in Go, what Kubernetes does have really good documentation on is the conventions of the design of the system. It's easy to find -- like, if you're implementing your own object to be represented in...
**Brian Ketelsen:** This is the segment of the show where we like to give a shout out to free software maintainers and projects. The OSS maintainers are groups that make projects that you love; there are so many of them that make our lives easier, and it's something that's important to us, to give a shout out to the pe...
I'll start off today... I have actually two of them from Dave Cheney that I've been using a whole lot lately. His github.com/pkg/errors is a beautiful way to wrap your errors without losing the original error type. I know that there has been a little bit of talk about merging that into standard library - I hope that ha...
And then in the same GitHub repo, a package profile. If you wanna profile your application, there is no easier way to do that. I know Go tool pprof is very powerful, but not so easy to use. So thanks Dave Cheney for all of the awesome work you do for our community.
**Erik St. Martin:** And how about you, Carlisia?
**Carlisia Thompson:** I am going to mention this project that I found this week, it's a compilation of blog posts called... Oh my gosh! Where is the link...?
**Erik St. Martin:** Are you talking about the Golang Spec?
**Carlisia Thompson:** Yes, thank you. It's sort of like a walkthrough, but really short and I think really gentle too, on different aspects of the specification for Go. There are posts about initialization dependencies in Go, simple statement notion in Go, anatomy of a Go source file... So just little, short posts tha...
**Brian Ketelsen:** Nice. Erik?
**Erik St. Martin:** It's me?
**Brian Ketelsen:** It's you.
**Erik St. Martin:** So I've been knee-deep in Kubernetes the past couple weeks, so I don't have a whole lot new, but I'm totally gonna steal a package that made Brian's life much easier, which is this PID controller library that's written in Go. PID controllers take a target value, current value and then basically try...
**Brian Ketelsen:** \[01:07:58.10\\\] Yeah, you didn't have to write any calculus. That's at github.com/felixge/pidctrl, and if you wanna see our implementation of it, that's at github.com/bbqgophers/qpid, and there might even be some videos of my barbecuer over the weekend running from a Raspberry Pi using Go to contr...
**Erik St. Martin:** Yeah, this is gonna be really interesting as we expand out on it and do meat probes and dashboards...
**Brian Ketelsen:** \[laughs\] It's all a hundred percent Go, too. It's got Prometheus in there, it's running in Docker on all this great Go code. Good stuff.
**Erik St. Martin:** And then we deploy Kubernetes to it, right?
**Brian Ketelsen:** Well, I was thinking about that, you know? Since we were talking about this, one of the problems we have with the Raspberry Pi is the limitation of the number of things you can plug into it. But what if we federated the whole thing and made it a cluster of Raspberry Pi's? I happened to have like 20 ...
**Erik St. Martin:** Is it eating up a lot of resources right now?
**Brian Ketelsen:** Are you kidding me? I think I posted a screenshot of top running while both Prometheus and Qpid were running at the same time, and it was at 0.03, or something... Just no resources at all. We're not even touching what a Raspberry Pi can do with that.
**Erik St. Martin:** And you're already worried about needing to federate?
**Brian Ketelsen:** No, not worried. I just think, if you can, you should. \[laughter\] Go big.
**Erik St. Martin:** We're kind of catching you off guard here, Kelsey, but do you have a project you would like to give props to?
**Kelsey Hightower:** I'm gonna say documentation is the thing that is killing everyone. Ops, devs, everybody is being destroyed because of lack of documentation, period. We all spend this time reverse-engineering libraries as we find them, so I wanna give a special shout out to Ben Johnson taking time from some of the...
I think now people are starting to really learn what this stuff is, and as much as we like to use all these libraries, documentation is what really levels people up and gets them to the point where they can also start producing some of the things that we're giving a shout out to. So we don't often give enough credit to...
**Brian Ketelsen:** Awesome, that's a good one.
**Carlisia Thompson:** Couldn't agree more. Who's got the idiomatic Go thing there?
**Erik St. Martin:** I'm sorry, was that the...?
**Carlisia Thompson:** In the Projects and News?
**Kelsey Hightower:** Yeah, he just deep dives on what bytes are, and just different packages in the standard library, taking the time to detail how these things work. Not in a way that you would find in the standard library, but just in the way like from human to human communication. Like, "Here's this thing. Let's do...
**Erik St. Martin:** Yeah, and examples. Example code. Because you can see these things and not connect with it until you see an example of code somebody's written using a library or even a project in general.
I think that we are 10 or 12 minutes overtime, which means we should probably cut the show.
**Brian Ketelsen:** \[01:12:15.20\\\] Oh, man...
**Erik St. Martin:** Unless we all want to be hang out here all day.
**Brian Ketelsen:** Oh, man...!
**Carlisia Thompson:** \[laughs\] Another one...
**Erik St. Martin:** Well, you say you'll be traveling, right Brian? So you won't be at KubeCon.
**Brian Ketelsen:** No, I think I'll be in Amsterdam.
**Erik St. Martin:** I'll get to hang out with Kelsey. You'll be in another country.
**Brian Ketelsen:** But I'll be thinking of you.
**Erik St. Martin:** So now that you can feel a little more jealous that we have to end this show and I get to hang out with Kelsey and you do not...
**Brian Ketelsen:** Oh, man... \[laughter\] \[sighs\] FOMO>
**Erik St. Martin:** So I wanna thank everybody on the show... I definitely wanna thank Kelsey for taking time out of his busy schedule to come on the show and chat with us about all things Kubernetes. Thanks to all the listeners, to everybody who's listening live right now and has been interacting with us in the GoTim...
A shout out to Carlisia's employer, Fastly, for the CDN which will be leveraging for this show and all of Changelog's shows. Definitely share the show with any fellow programmers that you think might be interested. You can subscribe at GoTime.fm, and we are @GoTimeFM on Twitter. I think I've covered everything, so with...
**Brian Ketelsen:** Thanks, Kelsey.
**Kelsey Hightower:** Thank you guys for having me!
**Carlisia Thompson:** Bye! This was awesome!
• Caddy 0.9 release: complete rewrite of architecture and features