text stringlengths 0 1.49k |
|---|
**Marc-Antoine Ruel:** Yeah, one of the reasons I decided to start my own stuff instead of contributing upstream directly is that actually I didn't know what I wanted, and I didn't know how it would look like, and I felt that I really needed to experiment a lot. If you look at the history of the commits, you go back in... |
So at the beginning, most of the work was soul searching up to a point, where I really wanted to explore all the different kinds of designs and see the ones that I felt were the best ones. For example, the registries - there's a lot of small registries, and these registries really help, for example, to have a domain-sp... |
I don't know if in the end people will actually think it's a good thing, but I think it is, so I decided to do it. I feel that it's of neat, because afterwards you don't program for a specific board anymore. That's one of the things I really like - all the boards are really abstracted away. You just have a string for t... |
\[43:59\] That's the only string you need to change to be able to run on a different kind of hardware. I felt it was pretty neat, because you don't need to reference packages that are board-specific. They are there if you want to use them, but you're never required to use them. That was one of the key points I really w... |
**Erik St. Martin:** So you had mentioned you were playing with some other things for hardware-based projects, too... I forget what episode it was, but a few episodes ago we had talked about [GoKrazy](https://gokrazy.org/), which was an interesting way of creating Go applications and just deploying them out to your Ras... |
**Marc-Antoine Ruel:** It's kind of an impressive project. I played with it a bit. Periph sadly doesn't work on it yet. I tried to commit on fixing it, but I didn't. But there's a lot of challenges on this project, because you obviously need to write a ton of code to make it work. But I really like the idea of just get... |
So that's a very interesting route. My big question is is it going to be able to attract enough developers to be able to make it into a fully supported platform? If it can for dedicated devices, it's very neat, because at first it implements the developed partitioned mechanism that is used in Chrome OS and also used no... |
So that's basically the mechanism it uses. I think it's something that is the way of the future, basically. It's just that implementing the way of the future takes a lot of work. I really hope that it's going to become more popular. |
**Erik St. Martin:** CoreOS also does the two partitions where it upgrades the kernel into one, and then switches them and fails back. |
**Brian Ketelsen:** Actually, they use Chrome's update system to do that. |
**Erik St. Martin:** That's true, yeah. |
**Marc-Antoine Ruel:** Yeah. Actually, it's also based on ChromeOS. Chrome OS is a great operating system, you know? [Chromium OS](https://www.chromium.org/chromium-os) |
**Erik St. Martin:** Carlisia, is your Chromebook purchase sounding better and better now? |
**Carlisia Thompson:** Yup. \[laughs\] |
**Brian Ketelsen:** Is that called -- what's the name of that update system? Omaha - is that right? |
**Marc-Antoine Ruel:** I'm trying to recall... Good question. I forget... I recall the server code, but yeah... I'm trying to recall what's open source and what is not. \[laughter\] |
**Brian Ketelsen:** Secret thing, secret thing... You know what I ran into on the internet two days ago? I was doing my typical late-night surfing through GitHub thing, looking for interesting projects to star and talk about on the show, and I ran across a fork of CoreOS that Jessie Frazelle maintains, and it looks ver... |
\[48:06\] That is crazy, because CoreOS - it's got Chrome's updating system, but it's Gentoo in the background... So it's really powerful how you could build the whole OS just by changing a couple of config files and rerunning a script and waiting a couple hours. |
**Marc-Antoine Ruel:** Yeah, but my main feature request for ChromeOS would be to be able to run Docker images. That's kind of aligned with the idea. I think it would be a great idea, but I failed to convince the leadership to get that... |
**Brian Ketelsen:** Just build our own. |
**Marc-Antoine Ruel:** I could... \[laughs\] It's more work. The foundation there is really good, and that's a very interesting project. It's funny, because right now I'm using a MacBook Pro, and the only reason is that it's the only laptop where you can connect three different monitors to it. That's literally the only... |
So one thing I would really like is that actually one of the sister projects, which was named [Skia](https://github.com/google/skia-buildbot/tree/master/skolo/raspberry-pi) I don't have much details to give but one, which is really nice. What they did is they boot the Raspberry Pi from the network. I don't know if they... |
That's actually one thing I would have liked to do with gohci, because then I would lose the problem of persistence on the workers, but then I would have to do it for a lot of different boards, and it's work... And work is hard. That's the problem I'm facing right now. |
**Erik St. Martin:** So one other cool thing that you were working on was actually in kind of like a VI clone in Go, and now it's in Rust, but... How did that turn out? Most all of us wish we could get rid of Vimscript and just write a new Vim. |
**Marc-Antoine Ruel:** Yeah, I hate Vimscript with a vengeance. I don't know, it's just a horrible language. I love Vim Go, but I cannot make any sense of Vimscript otherwise than that. |
**Erik St. Martin:** I feel for [Fatih](https://twitter.com/fatih) for the amount of Vimscript he has to write to make it work. |
**Marc-Antoine Ruel:** Yeah, it's incredible work... Oh, my god. Actually, I've been experimenting with that six or seven years ago, and that's something I have in the back of my mind, but I knew that it was a lot of work to try it out. Basically, I wanted to do an experiment. The experiment basically was to have a cli... |
\[52:03\] The reason I wanted to do that was my feeling was "Well, then you can just `go get` all the plugins you want", and you make the plugins as out-of-process plugins, and you just communicate with the plugins with -- I was using net/rpc with gob encoding, but the idea was you make sure that the interfaces fit or ... |
The idea is that you use reflection to enumerate all the methods in the interface, and if it references a struct, you also go into these structs and hash all the public members of the struct, and you recurse until you go to the end and you have only basic types. Basically, you hash each of the names and the types, and ... |
I started experimenting on that, and then out-of-process plugins and things like that, but the problem is that I forgot to actually work on the editor part. So basically, the editor part was really crappy, but the rest was really great. And then [Raph Levien](https://levien.com/) started working on -- so basically I na... |
Basically, the thing is that he actually knows how to write a text editor unlike me so he started writing it and it's pretty amazing. The core idea is slightly similar, except that it's in Rust... But the thing is that he's using JSON-RPC instead of a binary format, and the thing is that the encoding in JSON is trivial... |
**Erik St. Martin:** I wonder whether [gRPC](https://grpc.io/) would be a good option as well, because they have support for a number of languages now. |
**Marc-Antoine Ruel:** Yeah, but I don't recall if we looked at it, but I would have stuck with JSON-RPC too, because the thing is that most of the time it's local net. I mean, you're running the frontend and the backend on the same system, so bandwidth is not too much of a problem. Then there's the performance of the ... |
\[55:59\] So in practice, it's simpler to use JSON-RPC, and because of that, it's simpler to do it in languages like using Node.js, or things like that. I think I will use the same idea; I wouldn't use gRPC because of that. |
**Erik St. Martin:** gRPC would be fun though if you could have a UI on your local box, and then just post the server-side somewhere else. Because if you're going client-server, they don't necessarily have to be on the same host, right? |
**Marc-Antoine Ruel:** Yeah, I think it's actually a goal. I haven't tried it personally... I would have to try it out, but I think it's one of the goals to be able to do that. For example, actually one of the nice advantages of doing the way it's done right now is that actually the frontend could be a web page, basica... |
**Brian Ketelsen:** That would be really nice, I would enjoy that a lot. |
**Erik St. Martin:** Having a web based editor? |
**Brian Ketelsen:** No, just having the server being a different machine... I could have a Linux desktop or Linux headless server running all of my code, but the editor be on Windows or Mac. |
**Erik St. Martin:** Or your Chromebook, or... |
**Brian Ketelsen:** Yeah, absolutely. |
**Marc-Antoine Ruel:** Yes, I think it's basically the route to the future. I don't know, it needs to happen, basically... It just needs to happen. I just need to get out of Vim, eventually. That's really something that needs to happen, eventually. It's funny, for example I'd get to a Raspberry Pi, I want something tha... |
**Erik St. Martin:** Okay, so I think we are just about out of time... One thing we like to do at the end of every episode is we do something called \#FreeSoftwareFriday, where all of us give a shoutout to a project or a maintainer - and it does not have to be Go - of an open source project that makes our lives easier.... |
**Carlisia Thompson:** I do. It's called [docopt](https://github.com/docopt/docopt.go). I think it's called docopt. |
**Erik St. Martin:** That'd be my guess, too. |
**Brian Ketelsen:** Yes, it's docopt \[doc-opt\]. |
**Carlisia Thompson:** docotp \[doc-opt\] - I knew there was something there that I wasn't doing right. I just thought it was a really well organized project. I love that when you fetch the arguments you specify right there if it's supposed to be used as a boolean or string... I might use it next time I need to do a CL... |
**Erik St. Martin:** That's really awesome. How about you, Brian? Did you have anything? |
**Brian Ketelsen:** I do. I played a couple days ago with wxGo, which is a wxWidgets wrapper for Go. We've been bemoaning the lack of GUI capabilities in Go for a long time, but this repository which is at [github.com/dontpanic92/wxGo](https://github.com/dontpanic92/wxGo) is incredibly complete and works beautifully. I... |
I was really impressed. It's nice to work with as far as writing evented window-management things Go, and very complete. No panics, no crashes, no runs, no drips, no errors. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.