Kevin: Hello my friend and friend and welcome to general musings. My name is Kevin and here I talk about whatever is front of mind for me in any given week usually in some way that's related to front-end development and This week we are definitely going to be staying on topic Getting into AI and stuff like that But I do just really want to quickly say welcome back to everybody who is subscribed to this whether it is on the YouTube channel or via podcast form I have been away for a little while. I've been on my main channel and doing other things, but I've been really busy I had Smashing Conf as well as a workshop with Smashing and I also had CSS demystified going on and launching that and all of that is done. I'm very happy about that. And so we're back here at General Musings and I just want to say thank you for returning Or if you're a new viewer or listener, then welcome aboard. ⁓ This week, as I said, I want to be talking about AI and some of the things around it and some thoughts I've had about it recently. ⁓ Based partially on some news that's going on and some things that have been happening in my mind. I do want to caveat by saying that there's legitimate concerns about AI that are outside of what I'm going to be talking about today. Environmental concerns are a very big problem that should be taken very, very seriously. And as well as just the impact it's having on the job market and everything else, though, I think those are potentially being blown out of proportion. think companies are went through over hiring stage that they've scaled back from, and now they're in a waiting stage more to figure out what's happening. And so the market is crap. ⁓ 100 % realize that AI is partially responsible for that, but I don't think it's necessarily taking jobs, though in some industries and or some types of jobs it might be. ⁓ But I think we'll talk more about how there's the potential for job creation as well in a bit. And there's some trends in certain areas where that is definitely happening. ⁓ But yeah, that's not what I want to be talking about specifically today. The first thing that I want to be talking about ⁓ guess we'll sort of lead into that with ⁓ ⁓ feels like ⁓ tools that we have ⁓ LLMs ⁓ ⁓ or at least greatly ⁓ barriers of entry to things, right? It's ⁓ this frictionless environment, which I think I talked about a bit. If I'm going to put a post by ⁓ couple, two posts actually, one, I think it was Dave Rupert ⁓ the second one. was by their name is escaping me. I'm trying to remember it on the spot. I can picture them in my head. Anyway, there'll be two articles linked down in the description talking about why friction is important and removing a friction with these tools can often be a negative thing. ⁓ But yeah, I think that when you're lowering, I'm a big fan of like democratizing skills where we can. And I think LLMs and these AI tools appear to do that to a very great extent. But I think a lot of it's actually an illusion. And in a way, because they've made things like, say you have an idea that you want to prototype, that prototype could have taken a long time to build. The MVP or whatever, right? It took a team of people, it might be a small team, but it'd take a couple of weeks to build it, and now that same group can make it, or maybe even one person can do it on the weekend. And that's not nothing. It's kind of crazy when you come to think about it. And a lot of people think, ⁓ that's amazing. I don't actually have to do any of this stuff anymore. On my YouTube channel, my main channel, I still laugh a little bit because people are clicking into the video. They're just like, why would I do this when I can just get AI to write this code for me? yeah, that it is a legitimate question, I guess, but I don't get why they're clicking on the video if they don't care about the content. But anyway, ⁓ The problem that happens with all of this is that when we, I'm sure people that are listening have run into this, where if you start asking, is that when you start asking the, you just start vibe coding your way there, You're trying to just get through and make something happen. It can quickly run you into a situation where you run into problems and you don't know how to fix them. And the reason you don't know how to fix them is because you've waded into the waters that you're not familiar with. And this is where that lack of friction and this like, this illusion of lowering barriers comes in. where we feel like, ⁓ it's building these things for us. I don't have to understand the back end of how all of this works. And then all of a sudden the back end's not working properly and you don't know enough about it to even prompt it to fix things. Or just because you didn't know enough about how the project was gonna grow, that it's built the project in a way that isn't really scalable in the way that you were hoping it would be. Past that MVP or past that prototype that you've built. And it's, and that, know, and the AI through the prompts that you've given it, because you didn't know any better or without the context that it needed in the first place to perhaps do a better job has painted itself into a bit of a corner. And it's not its fault. It's just, you know, iterating over code and figuring out what it thinks would be the best thing. I'm using the word thinks very deliberately right now. It's not actually thinking, but you know what I mean. And yeah, you you run into these problems where you can't fix them and you can't get out of them because you don't know the subject well enough and part of is the marketing of these. These are, you know, AI tools are marketed as something that does that type of thing for us. They can just ⁓ make, ⁓ be to things that we don't know how to do. ⁓ And at first it ⁓ seems to do So it's easy for us to fall into that trap for sure. ⁓ But whenever you at the real success stories ⁓ of people using in really ⁓ interesting ways or ways, ⁓ it's usually people actually are experts in what they do. So when you hear of companies that are building a tool over a weekend, these things aren't being created over in the weekend. It's a little bit of the fallacy of the passive income that you can make from things, right? Where these people spend 20 years developing something and then have built it up to a place where it becomes sustainable. And they're like, oh yeah, I work four hours a week now. And it's like, yeah, but it took you... 20 years of 80 hour weeks to get to that point. And it's a little bit like this where you see these success stories of really interesting, cool products that are built, that are good, that work well, that don't have any of the pitfalls that maybe you'd associate with AI, they're being created by experts because the experts in the field know how to steer them. I think I know CSS pretty well. And anytime I've tried using... AI to write CSS, I can spot the mistakes it's making. And sometimes it's not even mistakes necessarily for like a code, you know, it has like a rule. And there's a couple of lines in there. I'm like, I get why it put it there, but it's not really necessary. And I know that in the long term, it could actually cause some problems with maintenance. And this can be from things like it's usually useless declarations, often ignoring things like inheritance, just because it doesn't really understand the bigger picture of things and how it should be working. Sometimes there's position relative on something that shouldn't really be there. And there's these little things that keep sort of getting mixed in there that I know I shouldn't be putting. But if I'm using these tools to create something using a language I'm not familiar with, it's going to be doing those same little things here or there that are suboptimal that I'm not gonna realize, because I don't know it well enough, and then I end up running into issues later on. I've also seen things from... ⁓ I think it was Stu Robertson, but I don't want to say for sure, but it was somebody who took their design system and basically tried to get AI to recreate it. And it ended up being much bigger. So like, they were losing a lot on the performance side of things because it went from being, I'm going to say the wrong numbers, but let's just say it went from being 10 kilobytes to 25. And it's not like the end of the world, but it's, you start losing these optimizations that somebody who knows what they're doing would be able to handle. if You know, they used AI to build their design system and didn't just let it do the entire thing. they'd be able to catch these things and sort of help guide it in a much better way. But somebody who doesn't know what they're really doing with it don't catch these things. And some people will say this doesn't matter. It gets the job done. You ship the code, whatever, as long as it's functional. But the thing that's into issues like the Pocket OS thing that I'm sure you heard about, if you didn't, I will include a link in the description. And if you haven't heard about it really quickly, was, I'm pretty sure it was the founder was vibe coding something and... managed to get Claude to delete, or they didn't manage to, Claude was making a change to something and part of that it was in a staging environment. and It deleted a volume on Railway, which was their database. And it turned out that that wasn't just for staging. That was the Railway database and it deleted the entire thing. ⁓ That was pretty, like that was production database gone. Right. And they went into panic mode. doing manual stuff to fix it. think Railway ended up actually helping them recover it in the end. ⁓ But obviously when it hits the news like that, Railway is not looking very good either. And even the, I think the founder said the The bigger mistake was in how Railway was doing things rather than Cloat itself making that assumption, if you want to call it an assumption, in what it was trying to do and thinking that it would be safe. But that raises questions on how the entire thing was built, right? And if you're allowing the AI to build these things in certain ways, and maybe this is something that a junior dev would also do, and that's possible. We've heard stories of people doing things like that in the past, though usually there's a PR along the way that hopefully someone's gonna catch, that obviously that wasn't happening here. ⁓ But yeah, and the big story of this was like how the code, they asked like why it did this and the, the AIA, the clode was like, ⁓ well, I made an assumption and then I actually went against what you told me to do ⁓ in sort of like verifying things and don't guess or whatever. But you know, it becomes this like, again, this problem where we're, I'm for promising I can't say that word. We're acting like these things are conscious and they're not. Right. And so I guessed it's like it did what it seemed to be a smart thing based on its training data that obviously didn't work. ⁓ And I think the big issue is once again, the case of somebody trusting the AI to do more than what it was probably should be doing ⁓ or knowing more than what could actually ⁓ do without being an expert that and knowing whether ⁓ what it was doing. And think it was very automated too, ⁓ just to say the caveat a little bit, but ⁓ the whole project shouldn't have been built in a way that should allow for something like that to happen. And when we're relying on our AI tools to build a lot of this for us, that's the type of thing that happened. Whereas if an expert had built the project from the ground up, I really think that it probably would have not been in the situation where that type of thing could have even happened in the first place. And this is really where, and I think that's just a really nice highlighting of a situation for where if we are using tools that feel really powerful in domains that we don't fully understand, instead of closing gaps, or it feels like it's closing gaps until you run into the situation where everything's burning down around you and you don't know how to fix it. And to me, that's not even like my most worrying concern about all of this. There's so many stories of vibe coded things going wrong, security issues all over the place, including, was it Claude again? I think it's Claude has the security checking thing that then got like cracked or whatever it was. ⁓ didn't read too much that one, but ⁓ it was kind of ironic ⁓ anyway. ⁓ But ⁓ think, yeah, I think those of things are just. where people are trying to use a tool that in ways where it's marketed to them so you can't fully blame them, but the tool's not really up for the jobs But I think what worries me more instead of people using these tools in ways that aren't really working the way they'd hoped for them to work or misusing them maybe potential knowledge gaps are being created because people are feeling like they don't need to learn things as much. And again, I'm seeing this on YouTube comments. I think we're just seeing it in general where it's like, just ⁓ let the do that instead. Again, don't think AI is gonna be taking jobs away. It's gonna be changing jobs and what our jobs are potentially. when you start running into situations people really think the AI can just ship things for us or build like the MVP or the prototype and then go from there, ⁓ it does mean people are learning less than they were before. if you're not learning ⁓ things because you're just letting AI write them for you ⁓ and not fully understanding what's going on, ⁓ there's a lot of people doing that, then there's going be less and less people who actually know what's happening with things. ⁓ that's a really big problem. And I'm not saying this is a blanket statement because I don't think everybody's doing this, but I do think it is quite prevalent. And I think it's even at companies that are encouraging this type of behavior of just burning through tokens to make stuff happen. ⁓ you're basically making this whole range of junior engineers who don't know really what they're doing, not building up their skills on being able to code or necessarily even understand the code. They're building up the skills to prompt their way through things. And you hopefully have a few senior devs that are actually looking at the pull requests and making sure things make sense before anything happens. Right? That's the idea. But then what happens when those senior devs leave and some of those junior devs have to step into those spots so if they're stepping into those rules and they don't know the code base very well, because they haven't really been looking at it And they don't necessarily know the languages that they need to know for that code base in a ⁓ deep enough way to be able to do these checks and everything else. then what happens? And that's just if you're, someone leaves, But I could also see this becoming a wider industry level issue as well ⁓ as this shift continues to and I think ⁓ people will say like, well, it's getting much better. And obviously they are. ⁓ The tools are improving. I know you can get them to like, you know, multiple agents all working with each other and doing ⁓ whatever you want to with them. And that has changed how things work with them and that's completely fine and they're going to continue to improve but those improvements are going to be more and more incremental. I think that's a very important thing to always remember. But the other thing is like they're not going to innovate and they're not going to do anything new, right? Just it's literally impossible based on what they or how they're made. But that doesn't mean they can't be used for innovation. It just means that we need the humans behind them to be able to use them as a tool to be able to innovate. And once again, that just circles back to being an expert and knowing what you're doing and using it as something that can, you know, do a few extra things. I've heard, there's all the stories about how they've been used in science and other things to make breakthroughs, but these breakthroughs are being made by the people, not by the AIs. And it's being made by the people who know how to ask the right questions and to get it to... go through certain types of data and they're probably also much more, maybe I'm wrong on this, but I don't think they're using these LLMs. ⁓ They're not the publicly available ones. They're using things that are very specifically trained on the types of things they're doing. That would be my assumption. I don't know enough about it to say for sure. But yeah, if you're giving it to somebody who's already very talented at what they do, I could easily see how you can make the argument that they are fantastic tool for productivity, for innovation, and for other things for that person. And it's still the humanity behind it that's making all of this happen. Whereas these days, what seems to be happening is this like, perifalation of so many AI vibe coded tools, and it's like the... where people are just vibe coding AI vibe coding tools, right? Like all these AI automations and other things that are being vibe coded that is just like, you're getting like levels of AI building on top of each other to create more more slop. it's, don't think I get why it's happening and it, they're new ish, right? I guess like they're starting to get big more and more of a reach. They're starting to reach more of this. easy entry to make it feel like everything they're doing is just magic and it can make all of my ideas come true and so we're able to just start pumping out crazy amounts of things with them and again there's so many concerns about why that's a bad thing from a lot of different arguments that some of them I mentioned off the top and just for the amount of like slop that's there the copyright issues everything else around everything there but yeah I think that over time hopefully We start seeing, I don't think any of that's really gonna go away sadly, but I think over time, hopefully we start to see the importance of how these tools can actually be used in meaningful ways and gear ourselves more and more towards that rather than just trying to automate everything. Because I don't think that's ever really what is going to happen. And in my own world, the less we use it and the less it's there would probably be for the better, but I understand. It's one of those things that bridge has been crossed. ⁓ Though I will say, I don't know what's gonna happen at one point when the VC money runs out, because eventually some of these investors are gonna wanna return on their very large investments. It doesn't help that it's a little bit of the snake eating its own tail because you have like Nvidia who's investing in them, but it sort of makes its money back as that just pushes the price of the cards up and you need more. You know, they're sort of investing in their own company. So those not necessarily, but like a lot of these AI startups, even like, you know. But a lot like open AI, the one anthropic and what's the other one, whatever all the other ones that are starting up now like. I don't know how sustainable their models, their business models are. ⁓ I don't know if one of them is being, you waiting just to get bought by Apple or something else as it matures more or what the situation is. You have Meta just burning through like billions of dollars on a pretty crappy tool as well. But yeah, there's insane amounts of money being spent on all of this that I'm curious what happens. At one point there might be a domino that falls and who knows where things go from there But that's a topic for another day. For now, I think that's about all I have to say on this. I'd love to know what your thoughts are. So if you're listening to this on YouTube, just leave a comment down below. And if you're listening to this in your podcatcher of choice, then Blue Sky, go to the YouTube video and leave a comment there. I don't know the best way to leave comments. think Spotify takes comments, but I never look at them. I do apologize if you've been commenting there. And yeah, that's it for this week. Once again, CSSD Mystified has launched. So if you're interested in that, I'll put a link to it in the description as well.