text
stringlengths
0
2.35k
**Linus Lee:** Yeah, so I actually started out in the web world. I learned to program doing JavaScript and HTML web stuff, and then Go was sort of my way to figure out how to do lower-level (I guess) backend programming. I had dabbled into things like Python and Ruby before, but I wanted something where I could have a ...
**Angelica Hill:** Awesome. How about you, Sebastian? How did you come to us?
**Sebastian Spaink:** Yeah - well, it was love at first sight. The moment I saw that Gopher mascot, I was like, "Let's do it. This is it. This is the language for me."
**Angelica Hill:** Me too! I had no idea what it was, and I was like, "I just... That Gopher."
**Sebastian Spaink:** Right. It was all I needed to convince me. Before, I was working with Python and C++, and it was kind of the same thing, where it was just like -- it felt a bit much doing the C++ and C stuff, and then Python was good, but it felt a bit messy, and I really liked Go's opinionated way of doing thing...
**Angelica Hill:** And no one really wants a Python plushy. A Gopher is so much nicer. \[laughter\]
**Sebastian Spaink:** Right.
**Linus Lee:** Before I came to the conference I was talking to one of my co-workers and he asked me, "You're going to this GopherCon thing... What is GopherCon about?" I was like, "You know, it's for all the people who love gophers. We just talk about gophers for four days."
**Natalie Pistunovich:** \[08:09\] Not showing off or anything, but here's the one from Singapore.
**Angelica Hill:** I was gonna ask. That's what I was just about to ask; I was being like, "I've not seen that purple, and I want it."
**Natalie Pistunovich:** It has a tale from the famous count in Singapore.
**Angelica Hill:** It's gorgeous. Okay, awesome. So we've heard about your start...
**Natalie Pistunovich:** Yeah, are you all still working in Go now? And how long, actually, have you been doing this?
**Linus Lee:** I could take a stab at it... So I've been using Go in one form or another for at least 2-3 years, I think, between when I wrote my first Go project... I've written Go professionally a little bit; I've squeezed into some projects here and there that aren't what you'd call production products, but that are...
One of the nice things about Go is that we value stability a lot, so if you write a thing and it's not maintained daily for a few months, it doesn't break over time... But most of my usage of Go has been on side projects, on things like the thing that we're gonna talk about today, but also other things, like little cha...
**Daniela Petruzalek:** Yeah, I can go next. Unfortunately, I'm almost like -- I'm trying to think of the best way to say this but I barely wrote any kind of Go code in production. I spent about (I don't know) one year back when I was working at GoCardless, but that's about it. And most of my "career" in terms of Go de...
**Natalie Pistunovich:** That's super-interesting. That is unexpected, but that's cool. Sebastian, how about you?
**Sebastian Spaink:** Yeah, I guess I've had the good fortune of being able to work with Go now professionally for the past year, InfluxData, working on the Telegraf project. It's been fantastic. Because before that it was also just kind of dabbling with it, and just whenever I could, for projects. Technically, for a h...
**Break:** \[10:29\]
**Natalie Pistunovich:** Speaking of career, Sebastian, would you like to tell us about your fun project in Go?
**Sebastian Spaink:** Awesome! Did you 3D print that?
**Natalie Pistunovich:** For everybody who is listening in but not watching, I have a little 3D printed gopher that I received from a colleague in a previous company... And he 3D printed it. I don't think he planned to print gophers, I don't think his team works in Go, but he is a fan of the mascot, so that was a nice ...
**Sebastian Spaink:** Yeah, that's awesome. I should have brought some myself, that I 3D printed... But unfortunately I've got nothing to show off here; I guess you'll have to wait for my talk tomorrow. I've got some screenshots of them. So during quarantine one of the craft projects I started was 3D printing, and the ...
So they've got this whole thing called OctoPrint that helps monitor and remotely-control your 3D printer, and I was kind of looking at ways to extend that using Go. But yeah, it's been fun. It's not like I'm writing the firmware for the 3D printer or anything, as far as Go was concerned; it was kind of like building ar...
**Natalie Pistunovich:** Yeah, that's not an obvious choice, to choose Go for 3D printing, for the modeling.
**Sebastian Spaink:** Yeah, which is actually pretty cool. I wasn't aware that you could do it either, because I was mainly using Blender and common open source projects for 3D modeling that use user interfaces... But there is a package out there that you can create 3D models using Go, and yeah, it was pretty cool. It'...
**Linus Lee:** And you're already talking about spheres and just building shapes out of spheres and it reminds me of what I built when I was looking and building ray tracers. And the sphere is just the simplest shape to write a ray tracer for, so you start just building scenes our of only spheres, and everything -- you...
**Sebastian Spaink:** Yeah, so what we output is an STL file, and it's like the standard format file that you're gonna do in 3D printing. It's a file format that describes the geometry like a bunch of triangles... It's like magic, but they use something called signed distance functions to define the primitive shapes in...
**Angelica Hill:** So how many times did you have to reprogram it if you actually got a beautiful gopher? Because I would assume you had a few interesting-looking shapes, that may have resembled a gopher, but may not have been a gopher.
**Sebastian Spaink:** Yeah, making its eyes and its pupils look like an actual gopher shape - that's tricky. But I think I got something that looks like a gopher. You've got your iconic mouth and teeth, and then you're like "Bam! It's a gopher. Done." It's a sphere with eyes, and a square, but that's all you need. The ...
**Daniela Petruzalek:** I must say, I really admire anyone that can do 3D modeling. This is such a thing that my brain can't process. That's why when I go to my hobbies, I only do 2D things, because my brain just can't process a third dimension. I really admire that. Looking forward to seeing your talk, how it works.
**Sebastian Spaink:** \[15:57\] Yeah. I did cheat and use Blender to make it sexier-looking than the spheres, but... Yeah, it's definitely my first thing I've ever 3D modeled before. Usually, I'm also just working on the 2D space; it's definitely more comfortable.
**Angelica Hill:** And did you use Go because it was the best language to do this, or because you write Go anyway, or did you think about using other languages, try it out, before settling on Go?
**Sebastian Spaink:** That's a good question. No, I chose it because I wanted to write in the language. Because technically, Python is what OctoPrint, that software I mentioned, is written in, and that's the ecosystem... There's a lot of Go community work around it, but I was like, "No. I'm gonna against the stream, do...
It's pretty nice to work -- you know, just all the benefits of using a Go binary that you can send around easily, and don't have to worry about Python versions, and setting virtual environments...
**Natalie Pistunovich:** Interesting. You can cross-compile to all the different 3D printers.
**Sebastian Spaink:** Right.
**Linus Lee:** Is there anything that using Go allows you to do that you wouldn't be able to do with Blender? I guess you could programmatically generate a bunch -- like, if you want a grade of spheres you can programmatically generate it... But yeah, what have you experimented with it that would be hard to do in Blend...
**Sebastian Spaink:** I am pretty much a novice as far as 3D modeling is concerned, so the reason why I used Blender to finalize the gopher -- because I couldn't really figure out how to make a nice hourglass shape for the gopher... You know, that perfect body, so it wasn't just to spheres attached to each other... \[l...
I mean, right, you could send your blender files, share those as well, but I felt like the learning curve was also a little bit easier; the fact that it is just Go, and just defining shapes, while using the user interface for Blender is tricky. There's definitely a steep learning curve there. Have you used it before? H...
**Linus Lee:** I have personally not. I've looked at it... I had some friends -- my roommate in college was a mechanical engineering major, and he dabbled in it, he would make some stuff for me occasionally, and I always thought it was cool. But again, because of that learning curve, when you look at someone's computer...
**Sebastian Spaink:** Yeah, I definitely recommend it.
**Angelica Hill:** I feel like I need to go buy myself a 3D printer now...
**Sebastian Spaink:** I also recommend that.
**Angelica Hill:** ...and give it a go. \[laughter\]
**Sebastian Spaink:** Yeah, and there are surprisingly consumer-friendly as far as the price and the setup is concerned. You'll need space, I suppose, is the biggest thing. And patience.
**Angelica Hill:** I'll just put it right in the middle of my lounge. It will be the centerpiece... And I'll just continuously churn out gophers.
**Sebastian Spaink:** That's the ideal setup. That's how it works on my house.
**Angelica Hill:** Yeah. \[laughter\]
**Linus Lee:** A thing that you alluded to earlier, from another question, was the debug cycle, which I imagine is a little slower than just running the code. I guess you can run it and look at the model inside Blender, or something like that... But do you ever have like a hardware debug cycle, where you print it and y...