text stringlengths 0 1.82k |
|---|
**Erik St. Martin:** That's right. |
**Ed Muller:** Yeah... So that was actually never used in production at Heroku. |
**Brian Ketelsen:** It was used in production elsewhere. \[laughter\] |
**Ed Muller:** Yes it was. |
**Carlisia Thompson:** What are you talking about? |
**Brian Ketelsen:** Doozer. Doozer was a spiritual predecessor to etcd, for example, or Zookeeper. It was a Go implementation of a distributed coordination system. |
**Erik St. Martin:** ...and with an implementation of Paxos distributed consensus protocol. That was one of the first distributed consensus systems Brian and I started using in the Go space. This is before etcd and Consul and all that good stuff. |
**Ed Muller:** I believe it's before Go One was even out. |
**Erik St. Martin:** Yeah, it was pretty early on. And I learned some of my Go idioms and anti-patterns from that codebase, too. |
**Ed Muller:** What's one anti-pattern that you learned from that codebase? |
**Erik St. Martin:** I believe that was one of the ones that was using channels for state. |
**Brian Ketelsen:** Yeah, and Doozer specifically - if I remember - had one great, big, giant select in the main processing loop, and that was definitely a big anti-pattern, too. |
**Erik St. Martin:** I could be wrong, but that seems like one of the earlier projects that I played with and started digging around looking for patterns. I could be wrong about that one, but I think that that's the one that I'm thinking of, Brian; it's that big select. It could be a completely different codebase, too.... |
**Brian Ketelsen:** Doozer's still around. I'm a maintainer still. |
**Erik St. Martin:** Is anybody using it, though? |
**Brian Ketelsen:** I don't know about that. |
**Ed Muller:** Wasn't Adobe using it at some point for something? |
**Erik St. Martin:** There was a couple people that were using it back then. I can't think of who they were now, but yeah... |
**Brian Ketelsen:** I think Bit.ly even used it for a while, but I don't know if they still are. Good question. |
**Erik St. Martin:** I still can't believe that somebody took it... Who did the Paxos implementation? Because I don't know whether I have the courage to do something like that. |
**Brian Ketelsen:** It was Blake and Keith, I think. |
**Ed Muller:** Yeah, I think it was Blake Mizerany and Keith Rarick. |
**Erik St. Martin:** I don't even have the courage to try and implement Paxos. |
**Brian Ketelsen:** It's awesome. I learned so much from that codebase. That was definitely the biggest project I had ever seen in Go at the time, and even though Keith and Blake today still say that there are things that they would do differently, there are things that might not be idiomatic, the vast majority of it w... |
**Erik St. Martin:** \[36:04\] I mean, let's be fair, too. That was 2011-2012, so a lot of people use channels for a lot of things. I think we're all still figuring it out as a community what the patterns were. |
**Brian Ketelsen:** How can you declare idiomatic if it's only been around for a little bit? |
**Erik St. Martin:** Right. So we can call things idiomatic or anti-patterns now, but we're referring in the past, when they weren't necessarily then, so... Yeah, that was probably one of the biggest and most complex projects that I had seen back then. It was inspiring, we used it for a lot of stuff. |
**Brian Ketelsen:** We did, and had a lot of fun with it, too. So we've covered the survey, we've covered... Oh, there is one question I had for you. I heard a rumor that the Heroku CLI tool isn't all Go anymore, that there's some hybrid, maybe Node in there. Is that correct? |
**Ed Muller:** The Heroku CLI is really 98% Node. Let me rephrase that. The target is for it to be about 98% Node. Right now the CLI is an amalgam of Go, Node and legacy Ruby. The Ruby bits are effectively being phased out for what is basically a Go bootstrapper that can easily be upgraded, that manages the Node parts.... |
**Brian Ketelsen:** Interesting. |
**Ed Muller:** There is something called HK that we had done, it's probably still on our repo. It's not maintained anymore, but that is a implementation of the CLI. That is purely in Go. While I myself personally would have loved if either HK or a rewrite of the CLI were done in Go (purely GO), I still think it was a g... |
**Brian Ketelsen:** Well, realistically, if it's solving the business problem there's no point in changing it just for the sake of changing it. |
**Ed Muller:** Well, so Node runs much better cross-platform than Ruby does, and hence the deprecation of the legacy Ruby in portions of the CLI, and the necessity to rewrite those portions in something, and Node was chosen. |
**Brian Ketelsen:** Fair enough. |
**Erik St. Martin:** Damian is actually in the GoTime FM channel and he pointed out ActiveState was using Doozer. |
**Brian Ketelsen:** We can count on Damian, he's like a walking Wikipedia. |
**Erik St. Martin:** He is. |
**Brian Ketelsen:** Shout out, Damian. Everytime we have a question, Damian has the answer. And when he's sleeping, there's no answers in the GO world. |
**Ed Muller:** Sometimes I feel that way, too. \[laughter\] |
**Erik St. Martin:** And Reddit. They get all his news from Damian. \[laughter\] |
**Brian Ketelsen:** He's probably the biggest contributor on the Golang Reddit. |
**Ed Muller:** It wasn't me that submitted this State of Go survey to Reddit. I'm pretty sure it was Damian. |
**Erik St. Martin:** It happens. It's the same thing with all the GopherCon announcements. We whisper it somewhere in the universe, and Damian is like "I got this!" |
**Brian Ketelsen:** I got this! That's pretty awesome. |
**Erik St. Martin:** Alright, so do we wanna talk news and any interesting projects any of us have come across? |
**Brian Ketelsen:** I've got a huge one. I just found it yesterday - I think they just released it yesterday, the SourceGraph Editor. Has anybody seen that? |
**Erik St. Martin:** That looked cool. |
**Brian Ketelsen:** Oh my gosh! Now, I'm not recommending it for full, real-time, all the time use, but let me explain what it is and I'll tell you why it's awesome first. It's a plugin for Atom or Vim, one or the other editors... |
**Erik St. Martin:** Sub... |
**Ed Muller:** \[40:07\] Sublime. You're right, thank you. A plugin for Sublime and Vim that allows you to... Well, it opens a browser window and then navigates to the definition of the symbol that you're typing, as you're typing it. So if you start to type fmt.prin, it pops up fmt.printline and gives you the definitio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.