text
stringlengths
0
1.49k
**Brian Ketelsen:** No, and that makes it easier to read.
**Dmitri Shuralyov:** Yeah, you can see everything that happens. It's all right in the code in front of you; there's no necessity to jump into, maybe there's a macro #define, or something else, or maybe an operator has been overloaded... None of that. You just know that it's exactly what you see.
**Carlisia Thompson:** Yes. And you are a maintainer for the Go language, right?
**Dmitri Shuralyov:** I'm -- let's see, what's the right word for it...? I'm a contributor, I believe. So I contributed to the project. I do have the reviewer maybe bit, so I can review code that goes in, but of course, they have it so that -- there's always like a package owner, so that person has to make the final ca...
**Erik St. Martin:** So we're probably running short on time a little bit... Do we wanna jump into projects and news? I know there's one particular news item that we need to make sure we cover...
**Brian Ketelsen:** Absolutely.
**Dmitri Shuralyov:** Sounds good!
**Erik St. Martin:** Okay, so we should start off with the most important thing, which is there is security releases - [Go 1.9.1 and 1.8.4](https://groups.google.com/forum/#!msg/golang-nuts/sHfMg4gZNps/a-HDgDDDAAAJ). If you are running 1.9 or 1.8, please update. I think it was like two different security issues those s...
**Brian Ketelsen:** \[44:13\] Yeah, one of them was `net.smtp`, and the other was a nested Git vulnerability; if you tried to check out a Go package into another Git repository, you could cause a code execution exploit.
**Dmitri Shuralyov:** Yes, don't `go get` packages you don't trust until that update... And probably not after, either.
**Erik St. Martin:** Yeah, you probably shouldn't trust those anyway. Almost every language has that, because there's execution that takes place, like `go install` something.. You don't have control over--
**Dmitri Shuralyov:** Right. Actually, Go is better is a sense because when you `go get` something, it only does the download, the checkout, and then also maybe it builds it, but it doesn't actually run any of that code until you `go test` it, for example.
**Erik St. Martin:** Yeah, but you could have generators and things like that with build \[unintelligible 00:45:04.09\]
**Dmitri Shuralyov:** Right, so unless you `go generate`, you wouldn't be executing any of their code.
**Erik St. Martin:** I guess that's true, too.
**Dmitri Shuralyov:** So this bug was really the only way to have somebody where you could `go get` and be compromised. As far as I know, there's no other way to do it.
**Erik St. Martin:** Alright, so interesting projects...
**Brian Ketelsen:** [Skylark](https://github.com/google/skylark) was released this week, and that looks interesting because it's a light version of Python, but it's written in Go, and it looks like it's gonna be used for [Bazel](https://bazel.build/), which is Google's build tool, to replace the original version of tha...
**Erik St. Martin:** There was a new [Lua interpreter](https://github.com/milochristiansen/lua) too that came out in Go.
**Brian Ketelsen:** There was.
**Erik St. Martin:** I have to pull up a link... I'll make sure it's in the show notes, but there was a couple a few years ago that I remember using... But yeah, I had seen something come out, there's a new one.
**Dmitri Shuralyov:** This one I think it's targeting Lua 5.3, which is one of the more recent versions, and I think the previous ones have maybe been through that, so that's the exciting part... Because most people actually wanna use the later version.
**Erik St. Martin:** Nobody wants to use old languages...
**Dmitri Shuralyov:** Well, they currently changed a lot between the point releases, so it's almost like a new major version actually.
**Erik St. Martin:** Yeah, I actually haven't kept up with Lua too much. It's interesting, because earlier in my career I used a lot of Lua, now not so much.
**Brian Ketelsen:** So the question for you is why did you -- oh, somebody already posted the link in our Slack. These guys are on it! \[laughter\]
**Erik St. Martin:** Yeah, I was just pulling up the link, too...
**Brian Ketelsen:** So why did you use a lot of Lua, though? What was the thing, what was the problem you were solving with Lua? For me it was scripting inside NGINX with something like OpenResty...
**Erik St. Martin:** Yeah, so there's that, but then there's also things where in your application you might have some sort of DSL, you need to create rules, engines or something like that, and maybe you don't want to have to build your own things, so you just kind of support Lua.
And I know video games use it, too.
**Dmitri Shuralyov:** Yeah, that's where I've seen it used most. That was a while ago, but it was one of the best use cases for it, just scripting everywhere.
**Erik St. Martin:** It's just super fast to embed in something and give somebody close to a real language to work with, and there's pretty easy ways to sandbox it where the code they execute doesn't really have access to the full implementation.
**Brian Ketelsen:** \[48:08\] I would love to see some code examples of a Go application that embeds a Lua scripting language to do stuff. That's my open challenge to you, internets. Send me an example of that. I wanna see it.
**Erik St. Martin:** Now I'm gonna have to come up with something. I'll think of something.
**Brian Ketelsen:** You don't have to make up one, I just wanna see a real life application.
**Carlisia Thompson:** Not a fake one, Erik. A real one.
**Dmitri Shuralyov:** If they exist.
**Erik St. Martin:** Alright, so another cool tool that I saw come out - I'm guessing the name is called Colly (the dog). It's at [github.com/asciimoo/colly](https://github.com/gocolly/colly). It's like a web scraping utility written in Go, and you can kind of visit links and things like that. That looks really cool. B...
I wonder whether we're gonna get some Capybaras and things like that built on top of that.
**Brian Ketelsen:** That'd be cool.
**Erik St. Martin:** So aside from that, in full disclosure, I have not watched this full video yet - I've been traveling a bunch - but Tyler Treat gave a [talk](https://www.youtube.com/watch?v=DJ4d_PZ6Gns) at StrangeLoop titled "So you wanna go fast?", and that was actually pretty interesting, getting into the \[unint...
**Brian Ketelsen:** Yeah, I'm the same - I watched some of it, and it looked really good.
**Carlisia Thompson:** I'm definitely gonna watch it.
**Brian Ketelsen:** I've not watched all of it.
**Erik St. Martin:** He is super smart, so I assume the rest of it is also good.
**Brian Ketelsen:** Yeah, based on his historical blog posts and other talks, it's probably guaranteed to be a great presentation, so... You won't do yourself any harm by watching it.
**Erik St. Martin:** Too much travel -- and see, I just went to drop the link in the channel, and Florin is already on it.
**Brian Ketelsen:** Yeah...
**Erik St. Martin:** Why does everybody even need us for anymore...?
**Brian Ketelsen:** Freakin' [Florin](https://twitter.com/dlsniper)... \[laughter\]