In this episode of the Elixir Mentor Podcast, I chat with Tristan Kildaire, a systems programmer who works on low-level projects including his own programming language. We explore LoRa radio technology, Reticulum mesh networking, and how Elixir can revolutionize IoT development. Tristan explains the fundamentals of long-range wireless communication using LoRa, which operates in unlicensed spectrum bands and enables low-power, long-distance data transmission perfect for IoT applications. We discuss Reticulum, a cryptographically-secure mesh networking framework that works across heterogeneous networks from radio to Ethernet, providing resilient communication even in challenging environments. The conversation covers practical applications in smart metering, home automation, and security systems, along with an introduction to the Nerves project for building reliable IoT systems with Elixir. Tristan shares insights on why Erlang's fault-tolerant design makes it ideal for IoT applications, discusses IPv6 advocacy, and explains how Phoenix LiveView enables web development without JavaScript. We conclude with a lighthearted discussion about AI-assisted programming and the concept of "vibe coding," imagining a collaborative Elixir project built entirely through AI assistance. This episode provides valuable insights for anyone interested in radio technology, mesh networking, or IoT development with Elixir. Connect with Tristan: - Website: https://deavmi.assigned.network/ - LinkedIn: https://www.linkedin.com/in/tristan-brice-velloza-kildaire/ SUPPORT ELIXIR MENTOR - Elixir Mentor: https://elixirmentor.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Secure your Elixir apps with paraxial IO. From code analysis and bot defense to dependency checks, they've got you covered. Elixir first design with GitHub integration. Elevate your security at paraxial dot IO testing. What's up? I'm Jacob Blitzo, your Elixir mentor, and welcome to another exciting episode of the Elixir Mentor Podcast. This is where we discuss everything related to Elixir, from interviews with enthusiasts, pioneers in the
community, to innovative projects and libraries shaping Elixir's future. Today, I'm welcoming Tristan Kildare. Did I screw that up? No, no, it's. OK, cool. I feel like I did. So he's a low level systems programmer who recently shared experiments with Laura Radio technology and Reticulum Mesh Networks. And I'm sure if I butchered any of that. Tristan, welcome to the show. Thank you so much for joining
me. I'm excited because I'm about to, this is going to be just me learning a lot of new stuff and I'm excited for our conversation. Could you give like just a brief introduction of yourself? Sure. So Tristan Kildare, I'm at least at this stage do a lot of low level programming, didn't necessarily know I'd get into it. I kind of knew from a little bit of a little bit of background. I've done like a lot of work in Java and stuff like that,
especially for the day job. That's basically what I do. And I work on a lot of basically IoT related sort of things, smart metering. So that's kind of just my work background that then also leads into what my actual interests are. So socket programming, networking, big fan of that. It's basically what I love to do. And then you're on the side. I there's kind of those two factions. It's like the networking side. And then there's also the more lower level stuff. So I'm also kind of a big
programming programming language guy. So one of my biggest hobby projects is actually a compiler that I'm working on for my own language. So it's a little bit of a summary of me, but I hope that gives a bit of a taste for where this could go, you know? It does. That means he's a lot smarter than me for sure. And maybe a lot of our listeners. What is what is your language? Do you want to talk about that a little bit? OK, so you could take a guess what the name is. You always got to name it after yourself. So it's of course it's it's Tristan or T Lang.
OK, so that's the name. But if you're wondering like you know OK what paradigm is. It I was going to say like T Sharp, but Oh well. You know, that's actually, that would have been a brilliant. I mean, I am sharp. So I mean, what can I say, you know, But yeah, no, it's so it's, it's something that I and it, OK, let me start off with this, like this, the language exists. It's not just an idea that I've written down somewhere. So I have an implementation for it. I've been working on it for about like the last now it's maybe, I think it's five years now.
I started working on it just on and off back during university. But the language itself is basically just think of C but with object orientation modules, a package manager, that's a big one. And and then The thing is like, Oh well, is it C++ just. And like, no, it's actually something you can read with your eyes without having to gorge the mouth. So that's where it fits in, I guess. But it's, you know, it's still an ongoing sort of thing. Still working on it but.
That's awesome, Very cool. I don't even know where I would start if I was like I'm going to build a language. I did. Honestly, I would just, you just start somewhere like you are. The only training, so to speak that I had for compilers was, you know, like during university, there's always a compiler course. They give you like a little simple grammar for language to implement. And it's like, go ahead, do this. You got a month to do it or something. So I mean, that's the only experience I have. But that was for a very simple language as you could imagine. You know, they don't give hard stuff to second years. So I got a little bit of
experience there. Then I sat on my idea for about a year. You know, procrastination kills everything. And then I just after like some time I'm like, damn, you know, if I don't do anything about this now, I will never do it. So I just started with you start at the bottom and you just hold your way up and you just keep throwing new features at it. That is good. You do have to just start, right. Everything that I've made any success and I've started and it didn't, it doesn't start Smithley. No, it doesn't. It doesn't. You're always happy that you started it right?
Oh, definitely. I think the the big thing is my main, my main thing that like sort of put the wall between me and actually doing it. So as I said, procrastination. But for me, it was like, am I good enough of a program? And like, The thing is, I had already worked out how I'd implement everything in my head. But yeah, I am like doubting myself that I wouldn't be able to start it at least. So yeah, I mean, if there's any advice there, just whatever it is you want to work on, just start. Like, you know, there's you don't get points for not starting. Let me put it like that. Yeah, well, what's funny is like, I always wanted to start a
podcast, but I already was doing like YouTube tutorials for a year and I was like, dude, I don't have enough time to edit that stuff 'cause it takes so much time to edit. Even like if you pick up all these tricks to like edit your mistakes quicker and things like I'll throw a clap in there so the audio bar just like skyrockets and be like, I gotta go cut that. But I was like, I can't start a podcast 'cause I don't have time to edit it. And then I just started doing it live and I was like, yeah, just get me live. So every dumb. Thing I say is. Broadcasted to the world.
Yeah, that's, and I think it's, you know, it's the other thing is the more you hold it off. There's also, even if you could argue that you were, you reached a point in your programming career where you're like, OK, I know everything. I don't need to procrastinate because I know immediately how everything's going to work. There are some things you also just don't know that you'll only learn when you actually start and you get input from others. So it's actually beneficial to start even if you have no idea, you know? How to go about that? I forget. I forget how to write simple syntax all the time. So like I learn new things every day.
I so I, I like got really excited because the topic of this, it's a little out of my realm, but I think it'll be a good conversation, right? Because like you're kind of a hardware guy, IoT guy. I so like my background. I used to do like manufacturing automation and things like that. So I did that for 10 years, but now it's been, I'm aging myself here, but it's been almost 10 years since I've been in that world. And so I always have like a
curiosity to get back into like IoT stuff and then. Especially like, I guess you did it such a long time ago, you're probably wondering what the current, you know, sort of technologies are and where things are. You know, I can imagine. Yeah, and then like when you just hear updates of the Nerves project and things like that, it's just like, oh, I should just play around. And then I was like, I like, I was like, I don't even know, like what Laura is, right? And I started like looking into it. I was like, dude, like long range radio. That would be a fun project.
Like 'cause I live in the mountains so I could. Just it's perfect. It's ideal. Yeah, yeah. So I could do like some fun IoT project. And so yeah, I'm excited about this. And why like before like we dive too much in, let's like just start like super basic. Can you tell us like first what like Laura is? And am I saying it right? And then what is Reticulum? Sure. So it's actually you've ordered
it perfectly. It makes sense to start with Laura first. So Laura, as the name, it's a bit of a contraction of long range. Yeah, just basically like. Radio waves essentially, right? Effectively, yeah, it, it operates, I think if you're in Europe at least you know, in terms of where the regulatory bodies say it should operate. So in Europe it's normally on like 400 megahertz. So there's like an allocated area where you can do all your Laura stuff. In South Africa it's like 800 megahertz. So it's, you know, it's sub gigahertz, you know, but in any
case, it's basically a, so it's two things. It's, you know, a part of the spectrum, but then it's also where the long range part comes in is the I guess the more impressive part. So it's, it's two things. It's effectively A scheme, A proprietary scheme used to encode data in a way that works well for long distance transmission. So you could try, there are other technologies that work on the same part of the spectrum
that don't necessarily perform as well both in, you know, maybe data rate, you know, how fast you can send data and also the the distance you can send. So lore is kind of like a sort of, I guess the leader in that sense. And it's also very low energy. So, you know, the example you gave with, you know, up in the mountains over there, you're not going to take an electrical cord all the way up there. You know, you wanted to put it on some piece of hardware, maybe a battery or solar cell, but you don't want the consumption for the power to be high. So it's ideal for those
situations. And it's also the actual radio modules themselves are just very cheap. So it's it's like the go to technology, I'd say for, you know, sensor networks and maybe like remote controllers and and those sort of things. That's cool. Are you, are you currently are do you use like those antennas? I'm guessing with your day job if you said you do like meter. Yeah, so the not yet. So with the the stuff that I'm
working with currently at my day job, none of it yet is Laura based. They are, you know, they are smart meters, you can get that do use it because it kind of makes sense. But the ones I'm working with currently just use like normal cell networks. So like you know, 3G or some of the newer ones use LTE or I think they call it NBIOT. It's kind of like the same thing but not, but those are a lot more, you know, higher, higher bandwidth. But also with that they also consume more electricity. Not a problem for a smart meter
because it's always connected to the grid. It's a little bit problematic maybe in South Africa because the grid doesn't always work. It just turns off sometimes. So maybe Laura's helpful there, you know, there, there could be an argument to be made there, but you're currently for the day job. We don't use it. So it's all this Laura sort of stuff that I've been doing has come more from my hobbyist sort of side, you know, just tinkering around with things. Yeah, well, cell makes sense for like commercial purposes. Too. No, you definitely if you. Have towers, right? You're not in the. Middle of the infrastructure.
As well. Yeah, take advantage of always being connected, right? No, definitely. And that's the thing there's it's a they, they wouldn't it. So with the meters as well, it depends what you're doing with it. Laura is a good match. If you know you just want to remotely control it, turn it on or off. But if you want to pull a bunch of data, like a week's worth of telemetry information, then Laura probably isn't the best option. Then a cellular network actually does work really well. And then as you said, you know, there's already cell towers like at least 100 of them where I live in the area.
So like, you know, coverage is there, you don't have to bold additional infrastructure. So from the company's side, it's kind of a no brainer. I'm. Always curious, why do I see like meter trucks driving around like they have to like be within a OH? Yes, yeah. So I think I've never seen one of those in South Africa, but I am aware at least in the US and depending on you know, who installed the meters. So with those ones, I think those are the, I'm going to probably call them and look, my metering like knowledge is only two years, not two years old. It's two years young.
You know, I've only been working for two years in this industry. But from my knowledge, those are effectively what I'd probably refer to as like the first age of smart meters because effectively it the implication of having a truck drive around means that they can't transmit that far. So effectively they're going by pinging it and then they respond with whatever, you know, the the amount of units that have been consumed. And then they can take that back to their office and then run that on the tariff. And then from there they can build a customer.
So that's most likely. And hey, you know, if it ain't broke, don't fix it. You know, I guess the guy that drives around enjoys his job, but, you know, so that's probably where that comes from, yeah. I would be I would be brain dead after just like a day of work. No, yeah. I mean, well, maybe I mean in the future it would be kind of odd if they like make the car like self drive itself. But at that point, if you invest that much money, just like upgrade the meters at that. Point. That's true, right? Like. Yeah, just put in a a little cell broadcaster or whatever you would do.
So I think that's what that is. The what I've also seen is they are the newer meters, some of them. And this kind of plays into the whole sort of mesh networking thing. There are also other brands where what they do is if you have like a person living at house A and then B and then down the block C and the person that's house C is the only one that's near a cell tower. Then the meters actually form like routing paths between each other. And they can actually move data from A through B all the way to C and then back to the actual network. So, yeah, there's a lot of
different IS, you know, you can think of any technology and they've probably used it for smart metering. So there's, there's a lot of like sort of diversity of use cases over there, you know? That's cool. And then so like Reticulum, that's mesh networking, right? What is it in particular though, what is like Reticulum? Like what does it give you? Is it a framework I what is? It so it's yeah. So I'd say it is a framework and we can start at that point. So, and it's what it, you know,
we can maybe compare it to conventional networking like, you know, IP based networks. And you know, what does IP give you? It doesn't really give you much. It gives you a way to route packets and that's it. You know, you run stuff like TCP and UDP on top of it. And then on top of those you run something else. And then at the end of the day, you're watching, you know, memes on YouTube, you know, that's kind of like the, the flow of everything. So Reticulum replaces a part of that. It doesn't necessarily support all the stuff above it, but it's first and foremost it's a
protocol, so it helps route data from one place to another. I think a place where it differs, 2 places where it differs with conventional networking is that there's cryptography is like an intrinsic thing to it. Like stuff has to be encrypted or else it will not work. There's a lot of benefits to that other than the obvious ones like privacy. One of the, I guess, important points is that on the Internet currently, there's existing
networks. There's a lot of, how can I say, human trust required for things to operate correctly. And now it depends, I guess, how you define it. But effectively on Reticulum, you need less of that. So you can prove, for example, that you own a given network on Reticulum and you know, you can also verify against that. So you can't have somebody hijack your network and have traffic actually routed to them instead of you. So that's one sort of AII think a less thought of sort of
benefit of it. Then the other thing is, you know, trying to think about how all the Laura stuff comes in and those things. So it's also designed to work on some of the slowest like bit rate networks that are out there. I I saw a measurement once from the creator that it can run at like 9 bits per second, like some bizarrely low data rate. Now might not be that nice to use it that data rate, but it's usable. And that's impressive, though. Well, for some people, I mean,
that's like, you know, that's like sliced bread, you know. But yeah, so it what it's what it does is it's able to work on very low powered hardware. So that's where Laura kind of comes in. That's why normally when you talk about Reticulum, it's always mentioned next to Laura and. But yeah, I can also work over your normal existing infrastructure, existing networks, and it can route all between these. So you can create a heterogeneous sort of, you know, hodgepodge of this network, very fast Ethernet connection with a,
you know, a link that goes over Laura. And you can put all of these things together with cryptography built in. So it's all secure and like permissionless. And then, yeah, you have a network that you can effectively use and then where the framework comes in is, or you can bold applications on top of it. So they are obviously, you know, chat applications, things for sending files. I think there's an implementation of like SSH that you can use on Reticulum. So you can, you know, log into a machine and control it.
And yeah, I've seen yeah, a lot of things. No, it it's, I think they, the, the creator of it, he put quite a lot of effort in to designing it, of course, but then I think he created quite a few demo applications because it's very hard to convey the use case of a network without showing somebody. Hey, look, you know that thing you used to be able to do on your network, you can also do it on ours. So yeah, that's I think a good summary of what particular is. So mesh network with cryptography and it can work on incredibly low bit rate
networks. And between radio, Wi-Fi, whatever it may be, so. It's really cool. Yeah. So you're not, you're not married to one 'cause there are similar projects, but they, they only work on a given like, you know, they only work over Laura, which it's not really good for adoption, something like that. And it's also not even a technical requirement. There's no reason that, you know, they have to do that these things, if it can work on the lowest bit rate network, it can obviously work on a higher one. So yeah, it it meets I think at
least my standard of it actually has to be usable and as as far reaching as possible. So yeah. We have a a pretty good question actually for low power devices. How is encryption and decryption part of Reticulum carried out? Is it? Is it expensive? So it's, so there's various ways you can run Reticulum. There's sort of, and I'll just go over these kind of briefly because it is important to mention you can run there's two
versions. There's a Python version, which is probably like, you know, raising some alarm bells now how these people are running Python on embedded devices that can't perform well. And then there's a version of it that they've, I think re implemented in C++. And you know, in terms of the C++ 1 that that version basically you can run it on, you know, like you get like ESP 30 twos quite common chip for IoT projects. I haven't played with those ones directly. I've played with Reticulum in a slightly different mode where
you don't do the encryption on the device, you use the device, the little embedded device, you know, the low antenna and everything. You use that simply as the actual network interface. It does have to be running software that Reticulum can use that's they've created software that actually runs on it. So in that case, I haven't, I haven't tested the fully C++ version which runs just on the device. So it's kind of like a, you know, you're using the little ESP 32 to receive the data and transmit, but the encryptions being done on Ross V Π or an X86 machine like a laptop or whatever.
So I've seen rather good performance, but I've heard from at least people on you know. I can't verify this, I'd need to do it myself, but I've heard that it performs pretty well on the embedded devices itself when you're running the stand alone version. Both in terms of I think the encryption works fine performance wise and there's also a lot of data storage involved. That's another thing we could probably talk about because the network was also designed for I'd I'd say what's a, what's a good way to put it? So you can imagine with Laura,
you know, you're not going to be sending, you know, MP fours or MP threes across at least very quickly. It's going to take some time. I mean the last Test I did was try to send like APDF took about like 2 minutes or so take. Me back to the dial up days. And. Napster, you know. And the thing with this is that what you end up with is there's sort of two things you always need to take into account when you're doing mesh networking.
There's your bit rate and then it's OK, how fast can you make it for the user. But then there's also protocol traffic, you know, the all of the reticulum nodes need to be able to announce themselves so that other nodes can, you know, pick up that announcement and bold a routing table. And one thing that reticulum is sort of bolt around is I guess it's it's sort of the assumption that the nodes aren't going to move around that lot. They're not going to be very mobile in a certain sense, because what that implies is if you, you know, if you take one of those lower radios with you
and you're running reticulum, you moving around and you, you know, let's say you drive a kilometer down, the network will adapt. And within that time frame, it shouldn't be a problem. But if you have something that's continuously moving like, you know, between A and BA and B, you can imagine what that does. It generates a lot of announcements and so they've basically bolted around the assumption that when you have an announcement, kind of assume that it's going to be there for a long time. So they actually store this information on disk and they
also do the same on the embedded version of reticulum. So basically my point is, is that it's ends up being a lot of stuff that they end up storing and even the embedded devices, they handle it, you know, without a without a, an itch. So it's, yeah, I'm actually quite amazed it works. Well, it wouldn't be very performant to have like a truck driving around with an antenna. Sending it, you know, it depends. It depends. The example I was giving it, it's kind of hard to pull off in
real life because you know you can pull it off by doing a simulation like with Docker or whatever, where you know you continuously send announcements and have a jump between. Oh, I see what you're saying. Like, because it's actually quite physically hard to like. Yes, I mean, unless you're yeah, yeah, physical positions, yeah, unless you're a transporting example. Well, yeah, I mean, and that may be a thing soon, who knows. But yeah, I think with the truck example, no, that would work fine because, you know, you have to think about it like you're connected to this one. It does radio measurements to figure out, you know, once the signal drops between drops below a certain amount, it's basically
always sending announcements. So whichever 1 gets picked up and measures, you know, I guess with a has a better estimation for a route, that one will be used. But you're, as you said, the truck is not going to be moving at lightspeed. So even in scenarios like that, I think it's fine. It's, it's more the reason I bring up that example about, you know, flipping between the two really quickly is that at least on misconfigured networks that does happen sometimes. So if that does happen with your reticulum network and a lot of your links are going over Laura,
then you might have a problem. But it's unrealistic. That example, I think it's not, you know, it's not going to physically happen if you're driving around in your car with it. And I've done that before. Actually. It looked a little bit weird. You know, I'm kind of walking around this like really posh neighborhood with an antenna and, you know, like, all of the housewives are just like looking at me. I'm like, chill, it's fine, guys, it's fine. I'm not gonna interrupt your, you know, your sports game on your TV. It's fine. I would assume you're trying to like sniff my Wi-Fi and I'd chase you off it. I did look like that when I was walking around, but then also felt like a little bit of a bad
ass. So I'm like, Nah, this is cool man. They're fine with it. You know, They don't really. Know what do they what do they call those hardware like pineapples? The Wi-Fi pineapple is quite a common 1. I don't think there's anything of interest to sniff where I live. Maybe there's some like damning evidence against somebody that's supposedly very pious in the neighborhood, but other than that, not much going on yet. So there's not much to sniff. Do you have a like a, a particular project that you're working on right now with this
stuff or is it just all just kind of like bench play? Are you building anything there? There is, so there is some, there is bench play sometimes, especially when I got into the reticulum stuff, there was like kind of learning a lot about it. So obviously, you know, in the garage I've got this nice like you know, Pinewood or there's a Pinewood. No, it's whatever that cheap, really cheap wood is. That's it's not even real wood. You know, I've got that all over there. But I can't believe that like. Press it or whatever. Yeah, basically, yeah, You know,
like all the off cuts, you know, and they press it down. And so I started off with the reticulum stuff. That was my first sort of like little, you know, bench project effectively. That then quickly turned into like I wrote like a bit of a few blogs on it. So I had a little bit of a blog series on how to set all the stuff up. Now that stuff is still running in the garage. I do intend to actually get a nice bigger antenna that I can mount on the ceiling or on the roof. So that's where that's going. So that's kind of like an ongoing sort of, and there's
other people not necessarily in my town, but in the next town over that are also interested in, you know, playing around with the stuff. A lot of the the ham radio, you know, the radio amateurs that those sort of guys are very into it as well. So there's a bit of like an intersection over there I think. So I'd say that's one of the projects that's kind of like an ongoing thing. And then other stuff related to wireless networks. There's also some more higher bandwidth stuff that I'm playing around with, with Wi-Fi and everything that doesn't really
have much of A direction yet. But I am writing a bunch of stuff on it kind of along the lines of, you know, building your own networks, a bit of a guide on how to do it. And also always kind, there's always like an aspect of the cryptography aspect to it because there's a lot of stuff you can do these days build very dynamic but also secure networks. So yeah, there's a few projects it's kind of hard to get into because I don't know where they're they're going to end up, but they're some of them I guess are like educational, they're going to end up probably in some PDF that are published or something.
So. Yeah, no, that's cool. That's the best way to learn though. No, definitely. You know, I guess you write down all the stuff where I found my problems and everybody gets to see it. You can learn from it. So yeah. Do you have to be like with like ham radios? At least in the US you have to have a license to operate them. Is that? A yeah, it's, yeah, it's the same in South Africa. I don't have my license, but thankfully I'm not doing anything on those frequencies, so that's fine. But it what I was more getting to is that there is a a crossover between so the the Laura stuff is on an unlicensed
band so you don't need any. OK, that's what I was gonna ask. I was gonna ask about the same concept. Yeah. No, no, you don't. You don't need to get a document from some guy in a suit. It's pretty easy to just stop, Stop I've. Always like the ham radio stuff intrigues me, right? But I've never done it 'cause I just, I don't want to be like paying an extra tax and license for something. So yeah. I assume, yeah, it's, I assume, yeah, it's I, I, I at least I'd hope. I, I think I'm assuming it's a one sort thing.
The only benefit I could see, at least for me, would be there's a lot of stuff you learn for the exam you take a lot of antenna theory and stuff and that stuff. I, I mean, I could do that without the license. I could just go learn it online, but it it would be nice to kind of test my knowledge on that, I mean. I would still I would be curious to do it. What's like cool about it with to me is when you hear about like, you know, if weather, weather conditions are like perfect, you can get these guys talking like around the world to each other. And or they do that other thing where they do, what's it called a moon bouncing where you bounce signals off of the moon.
OK, Yeah. Yeah, there's a lot of cool stuff they do. Yeah, so that's cool. I there just needs to be more hours in the day so I have time for all these. Like side. It's always you. Know. Just work keeps me too busy these days. You know, it's The thing is, I've, I've figured with, and this is something that it's, it's interesting because I've, there's a lot of things that interest me. And I think the more you get better at something, it opens up a lot of doors to other avenues you could go down.
And you know, I've actually realized like, damn, there's only 24 hours in a day. I've actually got to choose what to do and what not to do and some things I'll probably will never get to doing. And it, it, it kind of sucks, but it's also, it's kind of like the curse of knowing a lot of things. It's that you need to kind of triage them, you know? You know, like I used to always be that person where I was like, if I just had one idea, one good idea to build a business, that's all I need and I would do it. My problem is now once you have a good idea and you like start
spending time working on it, your your brain just messes with you and you start getting thousands of good ideas and then you don't have time for all your projects. It's always like that. You get distracted. One of the things with me, especially when I'm doing a lot of programming, I'll be working on one thing and then I'm like, I need this functionality and it either doesn't exist in a library or the library that does do it doesn't do it the way I want. Oh, then you end up going to code that library and then and now you maintain that and then that thing, you know, needs something else and then you do
that and then you actually forget how you got there in the 1st place and like, oh, that's how I was using it. So it happens. It happens. Yeah, it's, it's a curse, right? It's just like, it's so you can't focus to finish anything. It's just to taunt us. It does, you know, I and The thing is, I, the the reason why I'm always hesitant to call it a curse, even though it feels like it sometimes is because I remember the stage in my life when I was very young when I understood nothing about computers. I was like, they're magical. They just work. And there's a there's a part of
it that's a little bit sad. It's kind of, it kind of sucks when you understand how they work because you're like, damn, they're not magical. They're kind of just, they're actually very simple, but a lot of simple things put together that makes a complicated system. Which makes it really impressive that it works so. Well, it does. It does, right? But it does suck. My childhood memories were like, oh, this thing's so magical. I want to be Bill Gates when I'm older. Now, not so much. I don't know if I really want to be him. But, you know, now I know about computers and stuff. And it's, you know, it's a, it's a, it's an up and a down. You know, I think the, The thing
is that now, you know, later on when you learn these things in life, you're able to at least create something with it and maybe inspire somebody else. So, you know, I think it's a, it's a, it's a positive, even though it does come with its downsides of distractions and. Yeah, well, like I'll always like if I have really good ideas and now I just like broadcast them to the world and I tell. Somebody else can do I. Can, because I hope someone else does it right. It's always like everyone that's worried about other people stealing their ideas. It's not gonna happen. I've had really good ideas that I've put out there and no one's built it yet, so. Yeah, I mean, dude, if you need
something like, like some library for an application you're writing, you just go like, I don't know, Twitter or wherever you go, just be like, damn, it's a real pity nobody's written this yet. It would really suck if somebody stole this idea and you just give them like a whole entire like spreadsheet of how everything needs to fit together and then you hope somebody takes. Yeah, implementation plan like Go. Yeah, I've got some pseudo code and everything. Yeah, it's like almost done. Oh, that, that's funny. So one thing that I know you haven't really touched base on,
but since this is the Elixir Mentor podcast, I thought it would only make sense to talk about these things, like the IoT things, but like bring in why like Elixir is a good fit for these kind of projects. And then we can talk about the nerves project a little bit. I'm not that versed, so it just depends on how well you're familiar with it. But what is your opinion? Like first of all, what brought
Elixir onto your radar? Like how do you even know that I exist? I'm curious. So what the back story to how I know you exist? So let me start with the elixir side. Maybe is elixir I've heard of, I read a little bit about it and then like, I don't know, my mind just went like I was, I don't know, something happened and like there was a space of two years and now I'm back here. Maybe this is a sign I need to actually learn Alexa and it is tempting, but in terms. Of how to come on, I know a guy that has really really good
basic tutorials. Yeah, I wonder if he's, you know, I wonder if his tutorials are like on YouTube or something. I should check them out maybe. Yeah, they might be. They might be. I wonder if I'm speaking to him even. Yeah. So I think at least let me put it like this. So I there's there's sort of two things. There's the how I've sort of come to appreciate at least what Elixir can do and why it is tempting for me to learn it. And then, yeah, in terms of your podcast, I think the first time I came across it was so that
guest, Isaac, the fellow Greek programmer, he, he and I, I don't know how we connected on LinkedIn. Honestly, I don't know how I connected with most people on LinkedIn. It just happens, you know, it's like it just connect, connect, connect. It's one of those things, you know, I don't, I don't have any. I deny a lot of like, venture capitalists and Oh yeah. It's always, it's always, yeah. And also like if I get a JavaScript developer that's on like a no just I I don't do that. You know, I feel for those guys.
I used to be 1. No, you know, honestly, like if you're a good program, it doesn't matter what language you do it in. Honestly, I I think at least try learn a bunch of different languages. But it's, you know, it's just a bit of like a, a, an old joke. Maybe it's getting old. It's OK, I make fun of PHP developers too. And PHP isn't even that bad these days. No, it's not like I've seen people bold like. Correct me if I'm wrong, I heard that somebody bold like a desktop app using it like. Apparently you can do that now. I don't know how, but, you know, anyways, but yeah, so I, I came across, so I, I befriended or
electronically befriended because I've never met him, but I met him on LinkedIn and he, I don't know how he actually got into Elixir originally. I think, you know, he was doing a bunch of stuff. I think he might have left from one company and gone to another. It's kind of like, you know, restarting, trying to like reinvigorate his sort of programming life. And I think he might have come across your podcast at some stage and he really got into Elixir. And then he started sharing that stuff with me and I was quite impressed. I mean, like he showed me a bunch of stuff like Phoenix Live
View and I'm like, wait, you can code a website without touching JS? That's wild. Like that is actually wild. And I was very impressed with that. Well, you still do for the animations. But like, that's such a tiny thing. But you know what? The thing that impresses me with it is that what you get is so it's so much and you can, it's almost, I've always had this dream of like, I don't know how to describe, but like coding on the back end where you just, you code everything there and then somehow you can get it on the front end. It just blew my mind. And I saw how he was able to
build a whole entire management interface for one of these companies. Isaac's tuning in right now, he just said. Oh, is he? Oh, well, yeah. Well, you know, So yeah, I know. It's. It impressed me what he was able to accomplish so quickly with it. And it also like hardly ever looked like anything ever broke, like it just kind of worked. And if he had to debug something was very easy. So I was impressed. Like I hadn't touched Elixir yet. I still haven't, but I'm getting tempted to now. But I've seen a lot of positives from it.
And that's how I've kind of come to, you know, sort of learn a bunch of things about it on the side. And it does offer, you know, like this isn't like, I'm not like an Elixir shill, but it offers stuff that do. You not know what podcast you're on. Oh, sorry. Let me just. OK, just hold on. Let me just get my brain shake. Dude, I love Alexa. There we go. No. So what what impresses me about it is, you know, a lot of the time, and I'm gonna use the word, the R word rust. OK, Now, the problem with rust
is that I'm gonna be real with you. It makes programming unfun. And I don't know how you can do something unfun for your whole life. Is it because of the language or the community? Dude, I don't know how. You said that live on YouTube. Dude, you, you're gonna your, your subscriber count's gonna drop now. Dude, you've lost one. Like you've you've. You lost one Rust developer. But yeah, so I think for me, the, the, the, the comparison I'm trying to make is that a lot of times people be like you, I
want to get into functional programming. And what if a language you end up learning, it's kind of like, it's just luck which one you. And like, they're basically all the same. But with Alexa and like the whole sort of like reliability stuff with like the supervisors and the supervisor trees and all of that stuff. I haven't seen that in another language. And I, I mean like built into the system. There's a lot of ways we can do similar things with external systems. And I, I think a lot of people know about that, but having it all, you know, they're all pros
and cons of it, but having it all built into the singles, a single sort of unified system, it does make a lot of other things easier. It also means that whenever you interoperate with some other elixir package that you're getting, you know, it's got those guarantees, you've got the guarantees for your application. And so that kind of, you know, started getting the sort of cogs turning in my head. So I think that's how I've come to sort of, you know, it's, I'm reading up about it now and especially with nerves, you know, I can see kind of how it all fits in.
I think we're gonna get you right in some Elixir code soon. I can feel it. I can see, you know, Isaac has tried to convince me and I I just think I needed this podcast to do it. So I think sometime this year, you know, maybe I'll return for another, another episode as an. Well, like really if like not even getting into the nerve stuff yet. Just like the concept of, you know, Erlang, right? Just the telecommunication, how the supervision tree works like, like, you know, lightweight processes and it's just very resilient.
So you can have like your mesh network, you know, you can have nodes crash and automatically restart without taking the whole network down. Like there's a lot of benefits though. I think it. Would make things fun. That's kind of where I've seen like the whole, when you look at like the history of Erlang, for example, the whole thing they always talk about is like, yes, using it for electronic phone, electronic switching systems like ESS. And that's I think why maybe it feels like it's taken so long for me to notice the
applicability of Elixir to like IoT is that there's kind of a gap, I think with like, what can I say, like IoT and like it's actual like usefulness. Telephone switching systems, obviously, you know, they started off manual, then they went to electromechanical and they went fully digital and they had to be very reliable because the phone system had existed prior to that. It wasn't them creating something for a problem that doesn't exist. They had the problem and reliability, you know, phone calls coming in, OK, if a process for drops, restarting
it, and they're somewhat independent, you know, one phone call doesn't have much to do with the other one. So you can kind of do that sort of thing. Then there's kind of a gap, you know, like maybe I don't know when IoT started becoming a thing. I mean, it, it started off, at least for me, as a bit of a meme. You know, people like, yo, my kettle's connected to the Internet. I'm like, OK, cool, bro. I mean, like, I don't know why you'd need that, but whatever. But now it's moved into a, there's actual use cases for it, smart metering and those things. So now we're moving into an area where there's a lot of devices
doing meaningful work and maybe everybody has one and. A lot of devices that I don't understand why they're connected to the Internet, but. But they are, you know, So I think from that point of view, it's like now it's very applicable. And I can see just as Erlang made sense for the phone switching system, a lot of the ideas there are present in the IoT world when you're dealing with a lot of devices. So I think Erlang naturally fits into their and as I said, there's you can always do these
things outside of the language, whatever. But like in the real world, I'm talking hobby programming aside, you want to start writing something as soon as possible. And Alexa gives us stuff like, you know, at the beginning, you get all of these guarantees and it's kind of a no brainer for companies that are doing this sort of data processing and networking and in this sort of manner to use it. So, you know, I think it has a unique sort of value proposition there that other languages just simply don't have. Yeah, yeah, I agree. And like every time I prepare
for like someone that has worked on a nerves thing or they talk about any IoT stuff, I just want to think about like, what's the little side project I can start and get my hands on hardware again? Because like there's something really cool and like, there's a level of like complexity added once you start messing around with hardware versus just software. Like like, yeah, I write code that goes on to hardware, but I don't really ever have to think about making hardware like talk to each other or flash a
physical light or whatever it may be or broadcast a radio signal. Like, so I'm just always so tempted. I need a a good little side project to start playing around with to get my. Hands. Hey, I think, you know, I think it's one of those things where if you want to start off, you just start off with like the most basic thing that's out there. Write some Alexa code using nerves or using our circuits, the one library for doing the GP I/O on Raspberry Pi's. Just blink an LED. That's the first thing you can do. And then, you know, move that to like a little button you push
and then soon before you know it, you'll have a button that you push and it, I don't know, turns your kettle on. I don't know, it does something. There we go. Makes you coffee and it you. Know. I made AI took a Raspberry Pi once. This would be like 10 years ago. And I made like an LED analog clock kind of thing. So I took like a, a Metal Gear. So I worked in manufacturing in the manufacturing world. So I always had like, you know, old gears and things and I drilled how many LEDs did I put around this thing?
I think I had like 120 LEDs and I drilled holes for every single one all the way around this like metal sprocket and I had like what was what I enjoyed the most was I think I I was like very limited to outputs, right? I think I only had like 4 or 8 right and I have 120 LEDs that I want to individually control. So that was fun. Like I started playing around with like, like actually doing like kind of like binary counting through an analog or through an on off switch, I
guess you would call it. But so that was fun and I made a little clock in it. It worked. It didn't keep time perfect, but it it worked. You know what they say with clocks that if they're even if they're broken, they write twice a day, so. That's true, very true. Well, unless it keeps moving. Oh, that, yeah. Then it's it's never right. Yeah, I guess. Well, it depends what time zone you're in. If you just travel the world a little bit at wall. That's true. There we go. But yes, like, that was fun.
I think like a radio project would be fun. That would be cool. I think the thing, the thing that makes those projects fun is that you end up doing something outdoors, you know, I mean, do you can do radio stuff indoors, but it's kind of boring. It's like you've got these radios that can do such a long distance and putting them next to each other. So it's and there's a lot you can do. Then it's like it ends up doing, you know, you start doing stuff in the hardware, like the enclosure for it, how you're gonna power it and the software, which is also, and then there's a lot of other things, like, I mean, whatever it is that you end up doing with it, it's like, OK, well, I need to maybe ensure that like, you know, it still
works even if it powers down and then powers up later, 'cause it's, it's, and that's why I say it's a perfect fit for Elixir 'cause there's all of these unreliability things, you know? I I remembered the problem now why I never want to get back into it because it makes you have to buy things like. Yeah. You get into IoT. Now I need a 3D printer because I have to make custom cases for all my hardware and boxes that I. Put in the elements I've I've somewhat offloaded that. I have a friend that I studied with in a few towns away.
He's like my 3D printer guy now. So thankfully I have a fix but. Nice. Yeah, if I if I didn't have that it, it can become and it's not even just that it the enclosures of course in the 3D printer, but it's like the parts you need. Yeah, you can rack up a ball quite quickly and it's not stuff that you can really find second hand necessarily because when. You find a second hand. Normally broken, you know. I had Peter Olrich, John a couple times, but one of the our conversations he wants to build like a a self sailing like IoT
sailboat that could go over the Atlantic. And so he was talking about that and then how he also now needs, I think he might have a 3D printer, but it's just like all these things that just adds. Oh, well, the, the sailboat aspect is the, you know, like you might be mentioning the the 3D printer part, like, I mean, is this like a human like life-size sailboat or it? Would be small like. But it. Has to be big enough to survive the ocean. That's true, because I was going to say like, hey, man, the price concern it, the pretty printer
ain't the problem. Yeah, man, the sailboat's going to be the real kicker. That's true, yeah. Just buy a full size sailboat and throw some servos on it. Yeah, easy, easy, you know, and maybe a person, a backup person, just in case something goes. On just so you don't crash your sailboat. Oh. Man, well, that might be a nice way to get an insurance payout, so you never know. Yeah, you know, my boat crashed itself. And then Brian Carterella with Dockyard, he's into, he sails a lot and has like a, he races
sailboats and things. And I know he has some, I think he has a nerves project where they do like live data collection of like airspeed, water speed, all that stuff. I don't know that much about it, but it sounds like a pretty cool project. No, it does. I think the that's the thing, you know, if you, once you start integrating it with something sort of real world, then it gets a lot more interesting because it's, you know, I think it's, it's interesting to be able to control something, you know, especially if it's like a maybe a miniaturized sailboat.
It's something physical. And it's kind of a lot of the time I feel with programming, you always feel that you're kind of trapped in this virtual world. It's like, yo, you're writing software that runs on a computer and it doesn't really get out of that like confined space. But when you start doing stuff with IoT, quite quickly does, and that's when I think it gets very fun. Challenging, but fun as well. Well, like when I used to do like machinery stuff, it was really cool. Like you're timing a physical machine that builds a product and then you like see your work accomplishing a task, which is
really cool. It's cool. No, definitely it is. It is, it's, you know, I mean, I think I have a friend that he does some stuff with like a computer vision, like on production lines, you know, detecting anomalies and stuff. And it's, it's actually, it's, it's very impressive. I mean, it's, it's just wild to see what you can do. You know, you take your normal in your average factory and you know, what people used to manually do. Now you're able to do all these complicated things. And like you said, the whole thing like precise timing and it sure, at the end of the day, you
get something that's like almost a perfect product. It's, it's for me, that's the magic, you know, because I don't understand all of it. So I I think it's very magical, but I do think even for somebody like you that does understand it, it still is very impressive. Well, it's wild. So like I would rebuild like hydraulic systems with like vector drives and servos and mechanical elements of anything mechanical timing like cams and all that. It is so complicated and like way over my head.
Like I'm impressed that we have engineers out there that just understand that like because it gets really complex and you have very simple solutions, but everything like size matters and but like you have, you know. And the margins row, yeah. And the margins you have to operate in terms of timing. And that then goes down the whole other route of like, you know, real time operating systems, all of those sort of things. It's, it's, it's very interesting and it's, yeah, it's, it's something I haven't
looked at that much, but it's I think I could go down around the hole with it. What I was saying is like, I ripped out all these mechanical things and put things that you can trigger exactly when you want them to do it, like a servo, a PLC, a programmable logic controller. Like these things were so simple to me versus the systems I was replacing. And then like the cool thing was like when you have things that are mechanically timed right, like a hydraulic pump just always runs.
So you're just always wasting energy, but you're only like using the machine at certain times of the of the process. And what the coolest thing for me was when we like monitored electricity, like power consumption, when like you're only firing things when you need them. We like, we took like 99% of wasted power just from not
running a pump constantly. And like seeing things like that are really cool. And those are like kind of like things, at least like when I started, I was young, I didn't even think about that being like such a positive. And then, you know, the accidental aftermath of it is it's a cool, it's a cool thing to see. No, it is. There's a lot of there's so there's, I think there's a lot of things that you before you get into something like a big system that you just take for granted. Like no, it just, it just works
that way, you know, But when you look at it, it's like, no, there's a lot of effort that's been put in to make these things also optimal. And sometimes in ways that it's just, it's very impressive. I don't know how they do it, but you know, those engineers, they're pretty smart. I can say that. Yeah, I'm one of those. I'll always say I'm not. I'm smart enough to use really smart people's creations. Exactly. That's perfect. That's perfect. So should we talk about nerves and what it is and how like you
could apply it to like IoT? Yeah, sure. So I, I actually prepared some notes, you know, for this. I thought, I thought I was going to get this question because. This is how we suck you into elixir. We make you talk. I know this is, this is how it happens, man. This is the gateway drug, so to speak. And it's going to happen. I can see it. Yeah. So I think, I think with, and there's a few things I want to cover about nerves that actually really impressed me. It's obviously, you know, it's an elixir. It's more than a framework, I'd argue, but it's a framework for
doing a lot of kind of, and it's like a framework from start to finish. So we start at the top portion. You're writing some code for IoT and Alexa, and you're doing it because you know you get all the benefits for reliability like we've discussed in the examples. What nerves does that sort of surprised me because I wasn't expecting it, was that it provides a whole entire tool chain for obviously coding whatever you need to code. It includes a whole very secure
deployment model so that you know, obviously you're going to throw these devices out in the field. You need a way to, you know, you're not going to go all the way there and travel with another SD card, you know, to update the firmware. You want to be able to do it online and then you need to be able to do it securely. So from a there's also a lot of cryptography involved in that. They even developed from one of the talks I was watching a hardware security module, a little chip. It's actually used to store the cryptographic keys and you can put that on the back of a Raspberry Pi. So they've thought this whole thing through from the deployment side and then logs, you know, obviously you know,
you check in on these machines to make sure that your code is running fine. And then the other aspect that also sort of is important and that I think is maybe under appreciated is when you're doing embedded stuff, a lot of the time you need to install, and this depends on what platform you're deploying to. So if you're deploying to a machine that's an ARM machine or a mooks machine or risk V, whatever it is, the normal process is you need to install all of these packages, this whole tool chain for a whole entire different platform. You need to have this like God,
God ugly, like make file that links a bunch of other things and does all of this stuff. And you know, it's a headache, I presume, you know, and what Nerves does, does that impresses me is that you just type in a single command, you tell it what your target platform is like, hey, I want to deploy to the Raspberry Pi. It then goes ahead, packages everything up for you, creates an image file that you can then flash to the SD card. And then where the magic really happens is you put this SD card into your Raspberry Pi and you
know it's going to be able to run your code. It has all of that. It can be managed on a web interface. That's Nerves runs. They have a cloud hosted one, but you can also run it on premise. And you know, we've been talking a lot about like, you know, failures during runtime, but what about failures in terms of your storage where the firmware is actually stored, the actual code itself. And they have this really interesting mechanism. It's kind of like it's not unique. They didn't invent it, but it's basically your code gets
deployed on a writable partition A and then there's another partition B and it always points to A. And then when you want to upgrade your code, it will write it into partition B. Then it switches over to that if everything checks out. So it'll perform, you know, like a checksum over it and you always have the other partition to roll back to because that's another thing that you know, you need to obviously take into account is, you know, you need to upgrade. Sometimes you also need to roll back so you don't just have runtime reliability provided by
Alexa and and the VM. You also get sort of reliability at the lower level as well, which is also important because you know if your firmware doesn't. Boot, I was going to say it's kind of like node clustering where you have no downtime between, you know, a massive distributed system, but it's. Yeah. Just, you know, a partition essentially. Yeah. And then the other downtime, right, no downtime effectively. And if something does go wrong, there is a way to at least like maybe 5 second downtime, you can at least revert it to the old partition, reboot and you're up
and running again. And the other thing that's also quite important is that, so there's that a partition and B partition for your, the user code, let me put it like that. And then the, the sort of, you know, the Elixir platform and the, the other code that's of and then the operating system and all of that is on a read only partition. So there's a third partition and read only for obvious stuff so that you know, it doesn't by mistake get written to by your application. So they've really segregated these things at that level to make it reliable, reliable. And then you're also writing Elixir on top of it.
So you're getting runtime reliability. So yeah, it's like a for me, it's a no brainer. And it's also easy, as I mentioned on the command line, a little few commands you type in and you can generate an image file and flash it and you know it. It is that simple. You go online, you see the tutorial videos, It's it's brain dead, Yeah. It's really cool, yeah. It's impressive, it's impressive. See, I mean, just for the reason to start an IoT project, because you can still write Elixir. Like, yeah, see, you don't know this yet, but you're about to.
You're never going to want to write in another language. Once you start, I, I, I feel it, I feel it coming. I, I, I'm getting the, you know, I'm starting to, you know, like you, you sort of have things you grew up with where you like. So maybe that isn't true anymore. And like slowly it's fading away and in comes the new knowledge of Alexa. It's like, maybe this is the way to do programming. So, you know, I'm, I was convinced by the nerves thing. Let me put it like that because I, I want to do a lot of these projects and it solves a lot of the hard things that normally kept me away from doing it. And well, you know, it's also got Alexa and you have to write
Alexa when using it. So it's probably a good way to get me to, you know, you, you've cornered me very well. I've seen I've, I see what you're doing with this podcast. You, you, you're getting me to, to write Alexa. So it's good. It's good. Yeah, but we'll be there. I, I can't, I don't want to publicly announce anything because I don't know if it's like a secret project, but I, I talked to a guy that is like doing a really cool startup using nerves and microcontrollers and kind of like distributed. I'm not going to say the product, but it's like basically
like out in nature or not nature, but the real world, the wild where people live and interact, but like they're creating really good. Like, I mean, what we'll call it's not even close to this. But like imagine just like vending machine kind of things that can all communicate and talk and all using nerves and microcontrollers and all solar powered and it's like just your. Own perfect project, honestly, yeah, but it's all really. Cool. And I believe it's like a very well funded startup at this
point, which is really cool. And now that reminds me that. That's that's what I like to see because I, I feel like there's a lot of there's like sort of things where you can write something in a language and you're doing it just because you want to learn the language, which isn't a bad thing, but it is impressive when you see a company that's like, we're actually going to put time into this one. We're going to do it in Elixir. We're going to use nerves, you know, no matter what it takes, even if we have to, you know, on board new developers and they need to learn Elixir. It's, it says a lot when they're using, you know, something like
this on a large scale, I think. Isaac said that he's been trying that for two years now. I keep saying I'm going to learn Elixir and then I'm like oh I started learning Ocaml by accident so I need to like stop learning other languages. Oh, it just keeps happening to me. Gustav Meyer said he's pretty attached to dealing. It'll be a miracle to get him away from that. Oh, yeah, yeah, I do that. You know, but this is a good thing. I choose very at least esoteric languages relative to what's popular and, well, in my vision.
And I don't mean this as like a in a in a bad way, but like, for me, Alexa fits into that. It's, let me put it like this, it's not Java and that's a good thing. That's a good thing. Dude I dropped out. I started a masters program and all they were teaching was Java and I dropped out because it was just slowing down my education. Dude, you couldn't take, you couldn't take the abstract Singleton bean factory, static Boulder, you just, you couldn't handle it anymore. I couldn't. It was bad. I actually was like, I was like, I don't actually think I know how to program or want to.
I think it it gives, I think it does it. Java does give partial brain damage and it is you can't recover from it. So get out when you can, you know? Well I have PTSD just from like. Well, I mean, if you're wondering, if you're wondering why I am the way I am, it's the severe trauma caused by doing Java so. I was wondering, but now that actually. The answers are all yeah. That answers a lot of questions. Every, Oh, now things check out, but you're so just getting back to the, to the Alexa stuff like it would, it fits my sort of like niche of learning languages
that are quite different. So like D Lang, whenever I bring it up, they're like you programming D What is that? Like C but worse? And I'm like, no, dude, it's just like, you can look it up like it's a language And you know, I, I did it because I thought it was interesting. I did Ocaml a little bit because it was very different. And Elixir has something to offer that I haven't done yet. So I, I can't promise anything, but I do now. Do you think I'm going to, I'm going to be a bit of a Elixir programmer myself, you know, like, what can I say? I think it. Sounds possible that there's a
turning point, it's been reached, and then Isaac said if we can't get them with nerves, I don't know what will work. No, that's true. It it checks everything. It's literally everything I want. But it's an elixir, so I have to, I have to do it. I have to do it. And then we have LXD, he said. Watching this as a Java developer. I'm sorry buddy. Hey, well, it takes one to know 1, you know, what can I say? I look, I Java isn't all right. It's like, you know, like it's like your grandmother, like you can't change her ways and she's wholesome.
Like, you know, you don't want, you don't want to. You just want her to be the way she is. And she tries to like, you know, do stuff that's a little bit new age, you know, like the equivalent in Java is like adding, I don't know, virtual threads and like all these other things, functional features. But at the end of the day, Java. One of my first like side project things that I did was I actually wrote like a web scraper with Java and it was hideous but it worked. I can imagine because normally with web scraping my go to from just experience when I because I
took like a data science course at university, I think like we used like scrapy scrap eye, the Python line I mean. There are probably better solutions, but I was like kind of going with. I was trying to learn Java because at the time that's when I was learning it. And you were trying to like it as well. You know, you're trying to do something like, I can like it. I like, you know, what you were trying to do with Java is basically, I can fix her. You can't fix it. And she's broken, man. You just can't, man. Like just get out whilst you can, man. But Elixir? Before she kills. The lovely lady, yeah, but Elixir, she's a lovely person.
So, you know, you got to make a choice, like you choose which way to go. But you know, I think, I think, you know, I can see myself doing something Iotish with nerves. And I think, look, it's I when I want to learn a language, I have to do something interesting in it. I'm at least now I'm not a person. Like I'll read the documentation. I like understanding the nitty gritty details, but I need something to kind of convince me or to like, you know, I need to build something. So I think it's yeah, maybe it's fate. It's all. Right, let's start thinking up, guys.
Give us ideas, nerves, projects. Yeah, as you said, they, it's what we discussed, it's what we discussed earlier. It's the whole you giving ideas for people to do it. No, they need to give their ideas so I can do it for them. Yeah, time to turn this around, guys. Give us your $1,000,000 ideas that you're not doing anyways. Come. On I will donate the money. Maybe not, but. Yeah, don't say that if you if you make money, run with it, man. Maybe I'll start my own podcast, who knows. You should I, I mean, I think they're fun.
It's it allows me to be lazy, like everyone will be like, that doesn't make sense. Podcasting's hard. Like you have to go out of your way to find. Yeah, but I don't have to read about what anyone's working on. I just be like, oh, I heard you're doing something cool. Come on. As a. No, that's true. And you get the other person to do 90% of the talking that you know it's true. It's actually a no brainer. Yeah. And then like, I jump in every once in awhile with really dumb questions and it's perfect, you know? What is, what is a radio Tristan?
It's like good question. Thanks for asking man. Exactly. Well, like, like, for instance, like Laura, like I had, no, I mean like I, I like, obviously I can Google things and I like, I understood that like the concept of it. But like, I don't know, like, like is there, if you were to build like a legitimate project,
like say something that you wanted to monetize with radio broadcasting mesh networks, is there anything that comes to mind? Like, is there any really cool use case that you'd you'd want to tackle? You know, it's, it's hard for me because I've always been, when it comes to like building these things with mission networking, I've always been a guy that likes building the under the sort of like infrastructure itself and then assuming people would use it for something. But if I was to build something like an, an application, a use case, OK, my, my use case is
they, there's no way you could monetize this. It's just stupid. But you know, I have ideas of like, I don't know, tying like 50 sirens and a bunch of like really bright lights, like on top of like the roof or something and then being able to trigger it from anywhere in the world. It's a nuisance. It's like a stupid toy. But that's probably what I'd end up doing. You know, The thing is, I, I don't have, I'm terrible at business ideas. Like I'm a, I'm a, I'm like an the, I'm the code guy. But I cannot, for the love of me come up with good ideas.
OK, I'll give you 1, though maybe this is a common one. It's not anything special. By the way, don't feel bad because we haven't gotten any ideas in the comments. So all these. Guys. OK all. Those guys listening, all these guys listening are just code guys with no ideas apparently. They do. They're quick to chime in, hey, about Java, you know, but like as soon as there are some ideas, hey man, they just, they don't got anything. They get crickets. I think an interesting project and this is kind of one that's yeah, it's realistic I think is, you know, if you have an irrigation system at home, the
first thing you can try and do is, you know, don't instead of going out spend a bunch of money on all in one solution. You know you get a bunch of and I actually have some parts to this so I actually know where this is going. I've I've bought myself like an 8 relay controller that I can wire stuff to My idea was to wire them to the solenoid controllers for the sprinkler system we have at home yes, they're connected to Raspberry Pi yes, I could put nerves on them. I know where this is going now so. We got them guys.
We got. Them we got dude, I ran into that that was a mousetrap. I I, I took the bait. But yeah, I think something like that is it's an easy thing to do It has an immediate like obvious benefit. You can control your sprinklers from the toilet. I don't know why you do that, but you could or from your bed, which is more likely. A lot of people, you know, they a common thing, at least where I am, is like, you know, you'll be in bed and then you want to turn the sprinklers on so that you know, it, it does something at 6:00 in the morning, you sleep and then when you get up there, you know, you don't go outdoors and get sprayed by water. So, you know, yeah, I, I think
something like that. And I know it sounds very simple. It's not as it's not like very luxurious of an idea, but it's a simple one and it's easy to get started with and it teaches you the fundamentals. If you buy, you can buy one of those relay controllers online. You they interact with the Raspberry Pi using GPIO. There is a circuits library on Alexa for interacting with GPIO devices. So you know, you hit the ground running like very quickly and then, you know, you just. I'm buying a Raspberry Pi in some sense. Oh, you got to do it, man. You got to.
I'll actually like after, after the show, I'll actually send you a bunch of like links to the things I've bought. And then, yeah, you can put the two and two together and. We're building something between the two of us. We're both going to build something definitely I you know what I always wanted to do and I've never done it, but I always thought it would be really cool to do like private security systems for like very niche reasons, right where you can't afford to have like a well known company that could like have
vulnerabilities and things. But like it would be cool to have like like automatic shutting, like shutters and like safe rooms and like all these things, but like wired in a way that like it's or connected to you have like ways to and it's, it's an interesting thing something like. That because, you know, there's a lot of sort of inputs you could have to a system like that and it's very event driven. So it's like you could have something outside where, you know, you get those laser beams, like they're basically virtual
trip wires and you could have that as a trigger and that feeds something into your system over the network. And then you have like a central thing running that's written in Elixir. And you know, these events flow through like a effectively a flow diagram of different things. And they can trigger other events like, you know, shutting, closing the shutters or, you know, closing or opening the garage door. So there's a lot of use cases there. And there's also, as you mentioned, it's, you know, I'm also very when it comes to like sort of secure security in your house. I'm very, I'm very against the
commercial options for like cameras and stuff like that. I don't care how much AI and cool stuff it does, dude. I don't trust people like I don't. Even like like the Ring cameras and stuff, you guys are putting these in your house and just letting Amazon just Jeff Bezos freaking VPN ING in and checking you out. It's it's the weirdest thing. I mean like even for. Me like and I'm like, look, I'm not a Luddite. I just I just choose not to buy these things, but like an Amazon Alexa home on manic. It's like all kinds like yo,
man, the FB is in my walls. They're listening to me. I'm like, but then you went out to buy the thing you talk to. I mean, I mean. My problem is though, they're just using. This and listening anyways. So that's the other thing. Like I even me, I'm a bit of a hypocrite. Like, my phone's right next to me, You know it's right? Yeah. For intents and purposes, it's listening to me. So, yeah, and that gets back to the thing we said, you know, before the show. I'm trying to, like, declutter my life. So maybe the phone will disappear as well. You know, actually in the case of it I, you know. So I do. Have one device that I really. Like I have a like one of those
August locks, so it opens with your phone. It's Bluetooth. I should like hijack their hardware and reprogram it to work better with like or like I do like a you could do. Something maybe where you capture using Wireshark, you can actually log the Bluetooth traffic and you know, you could hope that it's like it's probably encrypted or something like that, but you could maybe figure something out. You know, there's always, there's always a GitHub repo with some, some person in some obscure place in the world has like reverse engineered this for
their specific use case. And then you find their code and you use it and it works. So yeah, I think, but you're getting back to the project side of, of, of doing things. It's kind of like home automation ish, sort of security stuff. I, I think the sort of upside of also like writing it yourself is that you don't get all of the bloats with all the other systems. Like I feel like it's, there's a lot to, and I've been tempted with the home automation stuff, but I always think about, it's another thing I have to maintain in my home lab. And it's like if I just write something that's simple, I, I, I
deploy it using nerves, It, it does just that. I can update it when I need to. It won't do anything less and it won't do anything more, but it will do what it needs to very well. And I think, yeah, the, there's quite a lot of projects one could do around the house and do it in Elixir, of course. There you go. Yeah. You can make. Now so. What? You were complaining about network issues when we first were right before we got started? Oh, Oh, yes, yeah, so well, let's.
Talk about your your home network. What is? Yeah, let's talk. About that, let's let's talk about how I. Botched my initial joining for the call. No, So I don't even know. It might have actually worked after some time. But you said did I keep like rejoining and yeah, it was like like your side. It looked like you were. Disconnecting and. Reconnecting over and. Over I I was in and out. What can I say? No, so it's so I have two networks at home. One of them's IPV 4 or what I like to call network for geriatric people because it's
incredibly old and it's like not nice. And then there's IPV 6, which is like, I can't even say it's new. It's 20 years old. It's like maybe some people are going to say, oh, Tristan, it's such a joke. Nobody uses it. I'm like, I do. And then when I try and join a call like this, I, you know, I went before this, I went to shower and I was thinking, I should really, you like try and join this call over my IPV 6 network because I'm like, you know, you don't put something together in your home lab and then not use it. You have to, you know, you have to be proud about what you put together. And I'll, I had a thought. I'm like, you know, it's probably not going to work
because this site was, you know, video dot ninja, which we're using for this. I was thinking like, I don't know, you know, maybe, maybe it will work. You know, I was able to load it and everything. And then I go over to LinkedIn because I'm like, I can't see the other guy. Oh, where's where's my man Jacob? Where is he? And he's like, no, you're dropping in and out. And I'm like, I knew this was gonna happen. It was just gonna happen. So yeah, it's, it's normally down to the individual site. A lot of them support dual stack so they can work on V4 and V6. And I have a bunch of stuff that
I'm running at home that also lets me visit sites that only have IPV 4 connectivity. But even sometimes that doesn't work. I think the biggest culprit normally is everything works. But if if you code an application and you hard code IPV 4 addresses instead of domain names that point to those addresses, then the system I have for mapping between it, it's basically it hijacks the DNS and does a bunch of Nat. But if you're doing like just a raw IPV 4. So what you're saying is on my like. Digital ocean droplets. I should set up the. You should check that option.
It says V6. Yeah, you should. You should join the club man. What can I say? You know, if I'm going to do Elixir, you're going to join the V6 club and then you can join. You know what? I'll even send you a screenshot and be like. You can, yeah. It's like proof. Yeah, I've done it. And then the. Best thing is you can join the smallest minority on earth. IPV 6 circle jerkers on LinkedIn which includes me. Basically people that just complain about IPV 6 not being deployed on some site. So, you know, and how many people are a part of this group. Me, some guy from.
Brazil and some guy from some Nordic country, it's like 3 people. Hey dude, a fourth member would be glad, would gladly welcome you. I mean, come on. Like it's, it's a little bit lonely out there, man. I mean, it's the comment sections. It's we're not winning, dude. I could say we're not winning, man. That's funny, Isaac says. We need to connect you to Lars Wickman. I've tried. I've been trying to get Lars on here. He's, he's very busy though. He's, he's very involved in the nerve stuff. I think that would be the.
What is the? Is it? Beams. What is the what is that podcast? Beam Radio maybe? Yeah, Beam Radio. Because that's with. Why do? I always blank on names when. I'm live, but you have. Alex. Kotmos, Bruce. Tate and I think Lars is on there. I feel like there's other names and I'm blanking on them right now, but it's a pretty good
podcast. No, I think it would be. I think what you need to do is, you know, you need to get yourself at a rosary pioneer, start doing something with it and then get that guy on. Because I think that would be, and even for me, it would be a sort of, you know, I've just skimmed the stuff on nerves and I've got a good idea of where I could start with it. But it would be very interesting to kind of see also where it is now because I when I took a look at it, I took a look at like a talk about nerves from a few years ago and I want to try to get Justin Schneck.
On or. I think that's his name. What was that? I think he yeah, Justin Schneck. I think he's. Let me Google him. Yeah, he's part of the Nerves project as well. He would. Be a good guest. But yeah, I got to start like getting messy and breaking things and then because that then you then you have, you know, all the questions. You can ask, you know. So it's, yeah, exactly I had to be.
Prepared with dumb. Questions. We're like. OK, so how do I embed Elixir on this microcontroller? I tried to get started but I didn't. You know. The the answer to that from him or both basically. Like did you read the documentations like oh I guess we should change change the? Question how do I read the documentation but I'm under from what I've. Seen it looks because a lot of the times when they when they
did the demos of nerves on a bunch of like talks that are presentations they would go step by step through their actual own documentation and it looks like I I cannot stress it was incredibly easy I was actually I was as I said I was astounded at doing a lot of the stuff it's not it's not the coding part the coding is easy it's the putting everything together building this image having this whole system for managing it the deployment model being able to remotely deploy and upgrade it's like yeah I mean I don't I've never seen a project that does
all of those things at once with a single command to like set it up so that is nice that's cool it's different they put it like that and I. Love good. Documentation. See. That's another reason. To come over to Elixir, I would say like the majority of our very like you know the your daily drivers, all the documentation is amazing and and. Elixir. In Phoenix like though, like you'll never have better docs in your life other than like. Stripe documentation is probably
top tier of documentation I think. I think the if I'm to get started, I. Really the thing that's really drew me to Alexa and like got my interest originally was probably probably Phoenix live view or that Phoenix or the live view aspect of of Phoenix. So I'm probably going to start there. And I think that's a good way. I mean, come on, like when you learn a language, it's like, yo, I'll make a little web app or whatever. Oh, for sure. You know, I admit Phoenix Live. View is the first time I enjoyed being, well, like I never, I, I never wanted to do any web front end because I just I hate it. And then Phoenix Live view is
the first time that I actually did like web front end and it was fun. But like I do, I think I I came from. IOS and so I was an. IOS developer for a very long time and I enjoyed that kind of front end work, but I just always hated web and then your web is it's not. Web was never designed to be like. Let's be real, it was never. Designed to make apps you know it was meant to be when you HTML is like a document language. I mean it's like akin to running macros in a Word document. It's we had really shitty
options when the Internet came. Right. And they just made the available options work. And then it just, and I mean, think of the things that. Yeah, I think of the things that went by the wayside. I mean, if do you, I mean, I grew up with like, you know, Adobe Flash Player, you know, like Macromedia and those were good days. I'm gonna be real. There's a lot of nostalgia involved with that. But then there was, I think Microsoft had like silver lights. I mean, I don't want to say I'm showing my age. But I mean, that was like a project that just died like as it got started.
And then I think the real OG was like, if you remember, like Java applets or like Active X, all of those things, you know? Yeah, you always get. A warning, it's like you're running this. Code it could do something to your computer. Now we run JavaScript and I guess it's fine, you know, the sandbox and everything. But I, I think it, it turned out good. The standardization of stuff like I'm happy that Flash is gone because now you can write web apps at work and everything. But I I'd agree every time I've done any web related stuff, it's it doesn't feel nice. I.
Think if you're used to it. Then it's then it's all right. But it can definitely, it can be done better and in a way that doesn't require us scrapping everything, which is the Phoenix approach basically. So if I'm going to get started in a serious web project and you know, I want to learn Elixir, of course, then I'm going to start there because I really do not want to touch. I don't want to touch. I want to touch as little as possible of like JS and like, I mean, you know, you mentioned animations and stuff, that's
fine, that's fine. But everything else I want to be able to just code in my IDEI don't want to have to load additional plug insurance and then see my Skype, my RAM usage skyrocket because it's like running the latest, I don't know, JS framework code somewhere. Like, yeah, I just, I want to code and then I want to, you know, go over to it and see my code deployed and see the buttons appear. Well, and let's be real, if you're building more. Of like admin dashboards and stuff, you don't need animations on that. You just need functionality. That, that was my yeah, that was my actual that. Was what I was kind of getting towards is I'm probably going to build something I'd like to
build something for, you know, controlling the relays on that relay control I have that's my to be my starting point. So you know, it's not anything that. And The thing is you can still make it look nice. I mean you just Chuck some CSS, some Bootstrap, whatever exactly looks pretty good. One thing I am. Very happy about is AI is really good at CSS and like tailwind and all of that. So like, when I suck at building something that looks nice, the plot is there for me. I can imagine. Yeah, and that and that's great
cuz dude. Nobody. You know, you don't get a trophy for understanding CSS, but you gotta do it to get it right. And it is very difficult to get it right sometimes. So yeah, yeah. I mean, there's an easy win over there for whatever, you know, machine learning model you're using to prompt code your way out there. Don't, but don't vibe code. Don't vibe code too hard. Don't vibe code. Well, the problem is you end up just wasting your time. Waiting on responses. If you're trying to vibe code, you know, like I'll, I'll use it sometimes. To do like. Refactors and Polish up UI and
like something like maybe rubber duck with it but especially with Elixir it it's getting better but you can't have it do a lot of heavy lifting. You have to do very micro movements if you're going to use, you know, but. Yeah. I know a lot of. People are like. Fully on board. I'm trying to make it more of like a daily tool because I think it is like a very powerful tool. No, I, I, I think so. I just like I'm not.
I'm still I'm always on the. Fence. I'm always like, why am I doing this? I can just write this. Yeah, I think for me it's. Look, look, I'm and I think it changes with every generation. I always think that with programming, you know, like we're also spoiled for choice with, well, we can just instantiate objects and have garbage collectors, you know, so I can't be completely hypocritical. But there is an aspect of it to me, I think for the for the assistive coding, like you simply do not know how to do something. It's basically a better search
engine. It does that very well, you know, and that it's like, I'm on board with that. I haven't used it yet, but I've seen some people use it for those cases. I'm like, wow, that is that beats going on to Stack Overflow. And you know, Stack Overflow never helps you. You basically find a guy telling you you're doing it wrong and I'm not going to help you. I will say I do use it more. Than I think I Google things honestly because you don't have to page through anything anymore. No you don't. It alters it down and it it basically. Is figuring out how to explain it to you in a way that that's helpful.
So that's where I am with it. I think I wouldn't necessarily write a whole program with it because for me, the whole thing about programming and like learning how to program was, you know, it was a struggle when you begun. I mean, I, I know back in school I struggled with math, for example, and I'm not that smart. I know my degree might say mathematics on it, but I'm, I'm pretty dumb to be real. And with programming, you know, I had, I had to, I had to put a lot of effort into learning programming And it's not, it's not a thing of like missing other people program stuff and you know, they're doing it easier. I don't, I don't really care about what others are doing with programming in that sense, But it's like, I find I find
pleasure in programming. Like, I actually, I like the challenge and yeah, I don't see myself as a vibe coder. I mean, I got good vibes, but I don't vibe code, you know? So I yeah, one day, one day, we'll get you vibe code in too. One day. Oh no dude, you gotta see my first Elixir project. It's all vibe coded, man. Oh gosh, I will come to you on your podcast and I'm going to be like, can you debug it for me? It's not working, man. You told me you told me Alexa can do this. It's not working, dude. We. Did we did joke? I think it was Daniel Bergholtz
he was on and we were joking that it'd be funny to have like do like a, a live stream with like 4 developers on like a relatively large project. But we're not allowed to like write code. We vibe code it. So we like plan the project and then like the four of us, we all make commits and PRS to GitHub and we we do our features. If you. Saw I don't know if you follow like the. Primogen and all of those people online. Oh yeah, I like the prime yeah,
they did a similar vibe coding thing. You should definitely do an Alexa one. I would I would watch that like do it over a span of a few days book up. I think it would be awesome and to do it with like. A team. So like you discuss the features and then as you guys are all individually vibe coding, you just stream the conversation and then you do PRS for like you do code reviews and like hopefully like you code review, you code review when you do vibe coding. Nah, and we commit to master Man, are we thinking about that?
That's true. You're not allowed to turn it down. Are you? Yeah, there's. There's no code review man the. AI will code review it for you, but maybe it's no, I was going to say I think it's a it would also. There's also one other benefit to doing this in Alexa is the more you vibe code in it, the more better the model gets at doing vibe coding for Alexa. So it'll help people. So we'll have to think of like a really good project and. I think it'd be hilarious if I could get, you know, two or three other Elixir developers and we'd just build the project
live stream vibe coding, dude, that would we can drink coffee all day. Yeah, dude, definitely. I haven't just recently got new vibe coding sunglasses. So dude, you're halfway there. Why have you not started vibe coding? So. I think it would be. Such a fun I think. It would be a very entertaining stream. I think I was about to say when you put those glasses on, it's like. You know you know how to write stuff in Elixir, you put them on. I don't even know how to declare a variable anymore, so you can
just. Vibe code it. Yeah, it would be funny. And then like all all at the end to have it write deployment scripts and everything and take it out, take it live and and the other see if anyone hacks us. That as well, and also. The other interesting thing is. You know, you can write a bunch of stuff and you want to see when one of the actual, you know, processes crashes because you don't know with vibe coding, it's there's, there's two sort of things with vibe coding, there's it literally generates something with syntactical errors. OK, you know, it won't compile. That's fine.
But there are things that you can miss when you're vibe coding, which is the whole joke about vibe coding is that you're not using it as an assistive AI. You're literally taking everything verbatim. It says you can have like serious logical flaws in there that creates something that might crash now and then. And that would be, dude, you can vibe code with a lexer because it just restarts itself, dude. It just, it restores, man. It's gonna be dude. You wouldn't even know if your processes are constantly. Crashing. Really. You wouldn't dude. They could crash every 5 seconds and like if you do. Depending on what you vibe code, what the actual project is, you could do something like a a
voice server where you can like, you know, chat with fringe or something like that. And you yeah, like, oh, you know, and then you check in the logs. Oh, it seems to have crashed 1000 times in the last minute. It's like, oh, well, I didn't really. Yeah, much, you know, it doesn't even matter. Yeah. Just. Give it more GPUs. Man yeah, dude, literally it's like just throw more, more digital. Ocean droplets that it'll be fine, man, just scale it, man, just scale it, it's fine. It's crashing because we got a scale. It's not. It's not. Our code, we're not the problem.
There's no way Claude would have fucked us up for. Us no dude, it can't dude the AI is perfect man it's. It even dude, I even thanked the AI and I said pretty please my family dies if the code doesn't work. How could the code have problems in it, man? I mean, it's bulletproof, man. Yeah, but come on. Come on, put some trust. Put some trust. In the AI. Yeah. So maybe like you. Join you start Vibe coding with Elixir, and that's your first Elixir experience. We'll get Isaac on here. We'll get Daniel on here.
Yeah, that could. That could be. A. And it's also, yes, The thing is, it also could, you know, a lot of the times I feel with programming is you need to be another way of learning is having a bunch of stuff thrown at you and then looking at the code and being like, you know, because obviously if you've done a few languages, you can look at the syntax and you're like, OK, I see this is a function over here. But then you like like I can point to be like, hey, Jacob, what's that thing over there? How does that work? Oh, I have a good entertainment +2. You are the only one that does the code reviews. That can work though. Because then I can try and learn
something from and I'm like, well, you know, maybe it looks right. So you guys have to screen, you have to screen share. You have to screen share and talk about, talk it through. So I think guys, what we're looking at on line. Five, you see as The thing is, because I'd be learning Alexa at the same time it's like either I don't know what it's what's happening because it's an elixir and I don't know it that well yet or I do know but I have no idea what the vibes have created over here like what's going on? Yeah, that's true. You want to know like I mean I
think. Elixir honestly is really easy to read, especially if you're already coming from any programming background. So like, it's really easy to be like, oh, I understand what's going on. Like once you understand how pattern matching and the pipe operation, Oh yeah, no, I've done that before. No, that, yeah. Then you're like. Golden, because those are the only things. That kind of like throw you off if you don't really understand. Yeah, yeah. But I think this would be fun, I think. I'm gonna put a team of elite Vibe coders together and it's gonna be a last ring. Elite Vibe coders? Yeah, I found a guy just out of.
University. He's an elite vibe coder, man. Hey I'm in the same. I'm in the same camp. You know, I'm in the same camp. Yeah, hopefully you have cool sunglasses or you can't. Vibe code dude. I I got some, I got some Ray. Bans somewhere, but they they don't have vibes. You know, Ray Ray bans are too serious, man. That's like a that's like an old 70 year old like cobalt programmers like I got Ray bans. Well, if you're if, you're gonna roll with the ray. Bans you gotta have like the the yellow lenses, of course, so you
know. I'm coming up short, I just don't. Have them man, you know? I I got if they're too. Reflective. You're like almost too cool in a ray ban. Well, if they're too reflective, how can you see your screen? I mean like. That's like you can only vibe code so much. I mean, well, you don't have to see your screen. That's the point of vibe coding. Text to speech Text to speech using. Voice or speech to text and then it talks back to dude, I could be blind. It's you know that whole thing about what is it a blind man leading the deaf. This is like a vibe coder leading. I don't know the a non elixir programmer, something like that.
It could work though. It can work, you know. Yeah, I like it all. Right on that note, I think it's the best way to wrap this up with our vibe coding project. I think honestly, I think it would be a lot of fun. I got to figure out when I would have time because I feel like it would be like quite a few hours. It might have to be a weekend thing. I I think you need to, you know, get a good idea of. Get your team together and then decide like what it is. Are you going to do a game or like a web application? I think the IoT stuff can be
fun. The reason I say that is because you can do fun stuff in the real world with IoT, like you know, so you can do some goofy stuff, you know, with that. So I'd say maybe try to do something like that, throw some nerves into it, but your vibe code, the nerves are vibing. Like that's pretty good. The problem? The hard part with IoT. And like a bunch of remote people working on it is like having the hardware and the streaming. I think it'd be more entertaining if we can like compile and build something on our screens. But yeah, I think so.
Like, I don't know. I don't know. What it is it? Could be like an elixir game. That could be cool. That could work, yeah. And those end up normally. Being the funniest because you try play them through and you're like and they just suck. You're broken like I. Have no idea. What I'd be doing with like front? End stuff with with live view, but it could be fun. Yeah. I think an elixir game that could that. Would also be like a first like. I I don't know how big the elixir game dev community is, but not huge. I think there are games that
have. Been made with it. It's just it'd be difficult. It's an interesting sort of value proposition in the sense it's like. Yo, my character's process died. It restarted. The good thing is if we have Daniel on. He's kind of a front end, like he's a web guy. He knows his React and stuff. Maybe I could pull in Andrew Stewart. He's he's a front end guy. I think I have, I think I it, it'd be fun. Yeah, something front. Endy something like.
That maybe like web game, something like that. I think you could because it it also has good comedic values. So I mean, yeah, well, and then like me. Trying to do anything with front end is just always comedic so well you can do the stuff on the back end. You know, with you can ask the AI to and this is probably this is a scary one. Write me a schema for my ecto backed database and then it just comes up with the most bizarre, like SQL, you know, Oh, Isaac said. Someone's writing a Wow server and. Elixir, yeah, I've actually been following his project and it's
really cool because I I've made like really small game servers, but like the idea of like the mass multiplayer thing is really cool. Like that's like, I mean, that's just a really good picture, you know? It's, yeah, like the back. End. It makes sense, right? The the complicated part would be like the the live view piece of the game, but that it would be fun. Yeah. I think that's where you could fit in. You know you get a. Bunch of people that are really
good. At the front end and you do the back end for that. So you have a a multiplayer game effectively. And yeah, I think that would it it, it shows it off. Well, yeah, where I have that bookmarked somewhere. The the guy that built the Wow server has like a whole blog. Of course I don't. I am so bad. At organizing my bookmarks. It's ridiculous, but it's really good project. I I don't remember the guy's name, unfortunately, otherwise I'd give him a shout out. And has he, has he tested his
like? An actual World of Warcraft like client against his server for like that I'm not sure. I'll have to go through it and. Because it'll be interesting to know how he tests it, because that's kind of like, you know. Once you get it to a certain working like level, oh you know, it's quite interesting to play it. Isaac as a. Battleship would be a great. Game to build. 5 foot battleship. Yeah, yeah, yeah. That can work OK. All right, what's your idea? It's.
Gonna just be hours of nonsense. Of Idiocracy. But it'll be funny. It's the. I think it's the the getting started getting the initial. Code there, but then you know, you you tweak it a little bit. No, I think you can put a nice paddle. Well, it would start getting funny when you're like. Doing like small game testing and you have like all the funky bugs and things. That's when it would be fun and then trying to fix the bugs with vibe coding, you know, you vibe, you do you apply what you call a vibe. Patch a vibe thing, yes? All right, all right, well,
Tristan, it was awesome meeting you and talking and now I'm gonna wanna go do nerves and IoT projects, but I think we got you hooked and you're gonna start being an Elixir guy soon. All right? Dude, it's. Here, I'm here to stay. I I'm going to do it. You know, it's, it's on my To Do List my bucket list for this year. So, so everyone that said that they have to coming on as well. Everyone that said they have to keep. Track and make sure. You're making progress. Just follow them on LinkedIn. I linked it in the description so they can hold the the sort of
coals to my feet. And like, keep me on track to doing it. I will. I will. I will get started and I'll post updates so, you know, you guys can watch me. Yeah, definitely. Yeah. So thank you so much for coming on. I learned quite a bit. You know, it's radio frequencies and mesh networks. It's awesome. It's. Complicated, but yet. Simple, right? Got it. Always. It's a lot of simple components. Interacting together and then it becomes complicated, I guess.
Yeah, well, it's like last week I had. Andrea Leopardi on and he just wrote a network programming book and it's like the same thing. Like, you know, TCPUDP, like they're all very like simple concepts when you get down to like the nitty gritty. But then like the fact that they work so well and at scale is like it's complicated. I mean, I don't think it's easy. I think it's very difficult. But like conceptually, when it's explained, it's a very simple concept. No, Yeah, yeah, yeah.
I think it's just, you know, you can only. Hold so much in your head at a time, you know, you work on one component, but you don't necessarily know about the other one. So when you look at everything, it's like, wow, it's, it's overwhelming. I think that's actually really where the sort of complexity aspect comes in. It's like it's very hard to look at everything in the whole man. Everything's overwhelming like. I remember like. I used to think I knew. Everything like after like, I wanna say I was like 3 or 4 years into programming. This was a while ago.
But you get cocky, right? You think you know it all, you do. And then there's like I've had that, you know? You're at the What is the Dunning Kruger curve? When you're at the top of Mount Stupid there and then, then you realize how little you know. And then it stays that way, I think the rest of your career. It does. Yeah, I know it does. And it humbles you. It's a good. Humbling experience. I I'm proudly very stupid. Like, I mean, I don't know what to say. Like, you know, yeah, there's just so much out there, you know? Yeah. Well, like, I work with a bunch of. Really. Smart guys. And then I always have really smart guests on here.
And you just to be in a position to always be learning, I think is pretty awesome. And that's, that's something I always think about Like it. Would actually suck to understand everything Like where would it be boring? Just be it'll be boring like I'd I'd hate it. I I would actually hate it like so no, I think it's it's it's a pleasure not understanding. I actually never thought about it that way like. Just knowing everything. Imagine I I think if somebody was able to do that, they'd
probably. Be the most insufferable person ever because they wouldn't shut up. Which is the same as when you reach that point of when you think you know everything and then you get humbled. But if you stayed up there, no, it's not good. It's not good as it goes. Sudoku. Sudoku. That that might be too hard. There's too much like rules in that. Yeah, that's that is. Well, that's even better for the vibe. Coding because it's like it'll immediately screw it up most likely like I think like. Battleship is simple, right? Because it's like just a coordinate and everybody knows it, you know?
Everybody's playing it as a kid, you know? Honestly, tic tac toe is where I'm going. Like super simple. I'm pretty sure if you ask for tic tac toe implementation. It'll vibe code the thing in one go and you'll be done. Like I don't. I don't think it'll require that much. It sounds way too simple. Do you get you're you're making a game server? You have to have multiple dynamics. That's true. That's true. That's true. Yeah, because. Like the way I. Like I don't think I would want to build it like very simple, like I don't want one Gen. server doing all the heavy lifting for a single game. I want like every user to have
their own state, so their own Gen. server. I want the game to have a Gen. server and then, yeah, and then message passing between everything. And then you'd have to have kind of like a communication Gen. server. I think that kind of talks. I don't know, I'm probably overcomplicating it. Maybe the game server just has the user servers broadcast updates. Maybe that's all it is. I think something like that, but you know. Irrespective like as. Long as you, I think, look, it's
the the World of Warcraft example's nice because there's you know, we know you can have multiple users in a game like that with tic Tac toe. It's normally just two. So it would be interesting if it's something we can get a lot of some game. That's that's true. Battleship is kind of two as well. Yeah, I mean, you could look at something like. Some of those other board games, like, I mean, I don't know if you could do like Catan or whatever it is that are the wonderful little houses that you put around. Do something like that could be interesting. But I think something with a lot of actions in it would be more
interesting because, you know, if if characters can move around a lot, that means more network traffic, more messages to handle. And that's where stuff really gets interesting or falls apart because the vibes just, you know, aren't right. Yeah. Well this is hard so guys ideas for good? Multiplayer games where you're. Not limited like you can have as many users join. I think that's the that's the cool part, right? Yeah, like. Mass multiplayer. Concepts without too much complexity on the game logic, because I think that just that
can just get hard. You could also try one of those. What are they they used to? Be those games that you could like play, I guess like over telnet where it's like a one of those dungeon games where you like log in and you walk around. It's all text based, but you can have a lot of players logged in at at a single time And you know, it's doable as well, unless you want to do something with the web interface. But what I'm my my point is with that, that's nice because you have to have also something handling that that like basically terminal session connecting to the game server to render stuff. So there's a lot of ways how you
could play the same type of I mean, that could be cool too. I think like any front. End UI interface is going to be cool whether it's a terminal or web-based. Terminal is actually kind of cool because we don't do it a lot. Like when was the last time? Like I write like bash scripts and stuff, but I don't write like executables often that I'm Yeah, yeah, I think. And I think that could be interesting. Especially if there's like AI mean I've seen at least from the sort of Rust community, they've got a lot of nice libraries for
doing stuff in the terminal. So it'll be interesting to see if there's something in Elixir for that. And who knows, maybe vibe code the first Elixir, you know, console application helper library. So you can like make I have I have written like terminal based. Executables with Elixir, but I mean, they're like very basic, like prompt, yeah, yeah, Promptest, yeah, yeah, yeah. Yeah, yeah. I'm trying to, I'm trying to think there was, there's a local guy, Oh yeah, a local guy named Nathan at my elixir meet up,
which I've been slacking at. I I haven't been making it the last couple times, but he made like a very like basic like poker like I think it was just hold em, but he made like a multiplayer game server and like walked through the project and like poker's a cool a cool, but that's a good one as well yeah and he. Actually, he did it all on Live View. And then even did like Phoenix live view testing, which I'm really bad at writing tests for
my front end. So that's also a cool thing to do. We write a fully tested. Yeah, that's the other thing. Because you, you know you. You. Vibe the unit tests effectively for it or whatever, but I think yeah, it would be I think for for an idea like this, some at least has to be multiplayer, like a lot of users. Whether you do it on the a web front end or a terminal 1 is up to you. I think the web's a little bit easier to test or you could test the terminal 1 also easily and then the testing's an important
part as well. It's like, you know, you, you vibe code the tests as well. And then you actually see where it breaks cuz it's you wanna pick up the corner cases in those. Well, I've seen, I've seen really funny like so. I'll actually use Claude to write tests a lot for modules, but the problem is if the tests fail, it'll instantly try to just change the test to match the failure instead of fix the code. So like that. Like This is why vibe coding doesn't work guys. You just need to have like logic
behind everything that's happening. You'd be like, no that's so funny. That is not the one we want. But you did ask it you. Asked the AI agent. Fix the unit test what it is. That's true. It did fix it. It did fix it. Fix it. Properly. This time, please don't fix the test, fix the. Implementation of the code. Like a function? Is wrong, Yeah, but yeah, All right. Cool. Thank you so much, Tristan. We'll have to have you back on
once you have when I'm in Elixer Dev. Yeah, exactly. You know you are. Officially like the first non elixir guest that I've had on, you know, I thought as much I'm like this is a little bit. This is interesting. You know, like I told some of my friends who tuned in and I was like, it's kind of interesting, you know, I'm not yet, I said yet, though I did say I'm not yet an Alexa dev, but you're I'm happy to have been converted during this holy Alexa session of here. So I think, yeah, I, if I, when, if and whenever I do come back, I'm going to ensure that I've at least done something with IoT
and see, that's, that's all I'm here for. I. Just will bring people on as guests and sucker them into seeing the seeing the light. Yeah, I've seen the light, man. It's and it's. A it's a, it's a, it's a hue in purple, something like that. I've seen the light. Exactly. Purple color. Yeah, I mean once. You start writing Elixir, your walls just kind of turn purple. I I I was wondering like, I mean, does it get more? Intense. The more elixir you write, you can see mine's very like a yellow over here. Yeah. So you got some elixir to do?
Yeah. I don't know what this is over here. I don't know. Oh, you know what? This. Could be this, could be JavaScript, it could be. It's very yellow so I've got to change. That up, you know. That's that's my New Year's resolution. All right, awesome. All right. Thank you. Tristan and thank you everyone that tuned in. And yeah, I, I have to get some guests booked. So if you guys know any awesome people in Elixir space, reach out to them or me. And yeah, because I feel like I don't have any. Oh, I take that back.
I did just have someone book. I saw my notification. I just don't know when it is yet, but I just like, you know, fly by the seat of my pants and just get people booked. You know, just as I go. Oh, just as you go, man, and you end up with people like me and now you've. Converted somebody to Alexa so exactly. Well, I mean, The thing is I. Like anyone. Writing and doing cool. Projects you want to hear about it? No, you do like so it's I don't, I don't mind having non elixir people.
I mean, they're kind of gross, but then you get them converted. You're kind of yeah. When they're converted, then they're like you can. Join the club now man, you can Join Now, we'll let you you're. You're less gross. But all right, awesome everyone that. Tuned in. Thank you. Have a good weekend and we'll see you maybe next week if we get another guest booked. Boom.
Francesco Cesarini, founder of Erlang Solutions, and Allen Wyma, hosts of BEAM There, Done That, join Jacob for a live crossover of both podcasts. They trade origin stories, compare what the Erlang and Elixir...
Jason Cohen, founder of WP Engine and Smart Bear, joins Jacob to talk about his new book Hidden Multipliers. They dig into why engineers avoid marketing, the onboarding math behind SaaS trials, finding your ideal...
Filipe Cabaço, team lead on Realtime at Supabase, returns after two years to talk about his side projects: Vitro, a browser for every AI agent with a replayable timeline of what each one did, and Ampoule, which packs an...
Peter Ullrich returns to talk about Pushin.eu, the European GitHub alternative he's building in Elixir. Five months in, it has about 700 confirmed registrations after going viral on Hacker News, and Peter walks through...
Nathan Hessler, organizer of ExMex and RBQ Conf, is back four weeks out from ExMex 2026 in Austin. We cover MCing Rails World, how he picks speakers and keynotes for a single track, what running a Ruby conference taught...