WEBVTT

00:00:00.000 --> 00:00:07.999
<v Joel>Welcome to No Compromises. A peek into the mind of two old web devs who have seen some things. This is Joel.

00:00:08.000 --> 00:00:09.999
<v Aaron>And this is Aaron.

00:00:16.000 --> 00:00:19.999
You know what? I'm not even sure if this is going to offend anyone, and I'm fine with that.

00:00:20.001 --> 00:00:20.999
<v Joel>Okay.

00:00:21.000 --> 00:00:28.999
<v Aaron>But if you're in 2026 and you're FTPing in your code, not using version control on your web projects, you're wrong.

00:00:29.000 --> 00:00:35.999
And that's just wrong, you shouldn't do that. Especially on your production stuff. Just don't FTP your stuff, use version control, deploy it.

00:00:36.000 --> 00:00:37.999
No argument, Joel. You know better.

00:00:38.000 --> 00:00:41.999
<v Joel>No, I just want to clarify. You're not saying FTP has no role in anything.

00:00:42.000 --> 00:00:47.999
You're just saying like, do not use it as a deployment mechanism for a production web app?

00:00:48.001 --> 00:00:48.999
<v Aaron>Correct.

00:00:49.001 --> 00:00:49.999
<v Joel>Okay. All right, yeah.

00:00:50.000 --> 00:00:53.999
<v Aaron>We have all the tools available for the last 15 years to do deployments properly.

00:00:54.001 --> 00:00:54.999
<v Joel>Yeah.

00:00:55.000 --> 00:01:01.999
<v Aaron>You can have them paid, you can have them free. There's no reason to be FTPing code onto your production server.

00:01:02.000 --> 00:01:08.999
You shouldn't have those credentials freely available to you, this should all be a thing that happens. I get it. "Oh, there's a lot of challenges.

00:01:09.000 --> 00:01:16.999
A unique reason for our stuff." Nope, figure it out. Okay, so that's where I stand, right? You shouldn't be FTPing stuff to your production code.

00:01:17.000 --> 00:01:23.999
And I know a lot of people disagree with me. But you also shouldn't be running stuff like Tinker on your production server,

00:01:24.000 --> 00:01:30.999
except for very strange, unique situations. I'd argue that you should have a console command version that's dead for those situations.

00:01:31.000 --> 00:01:39.999
You shouldn't be on your server in production tinkering with stuff or accessing, changing stuff in a database. We know better than this, right?

00:01:40.000 --> 00:01:44.999
<v Joel>I agree. And you've won me over on that Tinker one too. Like, I resisted you at first. I'm like, "Well, Aaron, what about this?

00:01:45.000 --> 00:01:48.999
Aaron, what about that?" but you've won me over. So, yes, I am with you on both counts.

00:01:49.000 --> 00:01:56.999
<v Aaron>Okay. So, I'm going to stress you out maybe, or pull you one more direction and say there's another rule here that I'm seeing people do,

00:01:57.000 --> 00:02:01.999
and you're hearing about it on Twitter, X, or whatever, and all these different things. Like, "Oh, this horrible thing happened because I did X, Y, and Z,

00:02:02.000 --> 00:02:09.999
and I can't believe that." Well, we heard about that when people would FTP stuff to their servers in production. "Oh, I blew away something," or

00:02:10.000 --> 00:02:15.999
"I deleted something. I didn't know, I don't have a backup." You didn't use version control and you didn't deploy your stuff properly. You're bad.

00:02:16.000 --> 00:02:20.999
Or, you've heard people like, "Oh, I destroyed my production database," or "I dropped something," or whatever.

00:02:21.000 --> 00:02:27.999
Well, you were on the production database editing stuff by hand. Again, you're bad. You did this to yourself, don't complain.

00:02:28.000 --> 00:02:37.999
So then, why is it that people are running AI agents on their production servers and code, or even like the local machine,

00:02:38.000 --> 00:02:44.999
and then complaining and be like, "Oh, it deleted something of mine." isn't that just like FTPing stuff to production?

00:02:45.000 --> 00:02:54.999
<v Joel>Okay, let me clarify again. You're not talking about like a feature in an app which uses an LLM model, right?

00:02:55.001 --> 00:02:55.999
<v Aaron>No.

00:02:56.000 --> 00:03:04.999
<v Joel>You're talking about hey, "I'm plugging in Claude Code to give it SSH access to my production server to help me debug this weird issue."?

00:03:05.001 --> 00:03:05.999
<v Aaron>Yes.

00:03:06.000 --> 00:03:06.999
<v Joel>Okay.

00:03:09.000 --> 00:03:15.999
<v Aaron>And that is a very smart way of saying it. I've seen people just install Claude on their production servers as well.

00:03:16.000 --> 00:03:16.999
<v Joel>Oh.

00:03:17.000 --> 00:03:22.999
<v Aaron>"I'm stuck, I can't figure this out." Claude, install it, authenticate, and then they start to solve their problem.

00:03:23.000 --> 00:03:26.999
<v Joel>Yeah. It's in auto accept mode too, probably. Skip permissions.

00:03:27.000 --> 00:03:34.999
<v Aaron>What you're saying is a bad idea too. But you were even putting like a layer. You're like, "Oh, I'm working locally and I'm just giving the SSH access."

00:03:35.000 --> 00:03:38.999
I'm saying people are using their agents on their production machines as well.

00:03:39.000 --> 00:03:49.999
<v Joel>Yeah. Maybe my brain just couldn't go that far and accept that as a possibility. Because maybe I'm old and maybe we're both old, Aaron.

00:03:50.000 --> 00:04:00.999
But, yeah, to me of the scenarios you mentioned, deploying with FTP seems the least risky. Running Tinker seems medium risky. This seems like ultra risky, right?

00:04:01.000 --> 00:04:10.999
Like, would you categorize it that way? Because it's not even me making a mistake. It's like some non-deterministic thing making a mistake that doesn't

00:04:11.000 --> 00:04:18.999
even understand the full context of how our app is set up and what is important data and things like that, right? I mean, it seems insane to me.

00:04:19.000 --> 00:04:21.999
<v Aaron>Oh, yeah. There's non deterministic and there's no responsibility.

00:04:22.000 --> 00:04:22.999
<v Joel>Right, yeah.

00:04:23.000 --> 00:04:29.999
<v Aaron>Those two things matter. And it could mess up the next time or it could not mess up the next time because of those different

00:04:30.000 --> 00:04:32.999
changes and the non-deterministic nature of it.

00:04:33.000 --> 00:04:33.999
<v Joel>Sure.

00:04:34.000 --> 00:04:41.999
<v Aaron>I would agree with you that like the FTP stuff seems less dangerous, but it's just orders of magnitude of ability and speed.

00:04:42.000 --> 00:04:42.999
<v Joel>Yeah.

00:04:43.000 --> 00:04:51.999
<v Aaron>It's really about... I used FTP as an example because everyone sort of understands that now, I hope, from many many years of us saying like don't do that.

00:04:52.000 --> 00:05:00.999
Now it's like, "Oh, I know there's better tools out there to handle this deployment where my stuff is locked down. I don't really have, you know,

00:05:01.000 --> 00:05:07.999
the password to my production server. I can go get it if I really need to, but I don't do that. I don't go onto it, I use deploy systems."

00:05:08.000 --> 00:05:14.999
And so, it's the same thing with these AI agents. Like, I use it for local coding, I use it for checking my work, I do all this stuff.

00:05:15.000 --> 00:05:19.999
But connecting it with your production data and server? I don't know, seems like FTPing.

00:05:20.000 --> 00:05:28.999
<v Joel>Well, yeah. I mean, maybe I'll ask you this, but I'm just going to ramble a little bit. I'm trying to think of why would you want to do this?

00:05:29.000 --> 00:05:38.999
So I'm thinking of a specific scenario where it was on the Mastering Laravel site where I deployed something, was all working, all the tests passed,

00:05:39.000 --> 00:05:44.999
and then it didn't work in production. Like, it was giving a 502. Like, it was not like, "Oh, there's a little bug here," but like it broke this feature.

00:05:45.000 --> 00:05:53.999
And I rolled it back, no big deal. But then I couldn't reproduce it locally. So something like that, I did use Claude to help me figure it out.

00:05:54.000 --> 00:05:59.999
But I did that by feeding it error logs and talking through the problem. Like, "What am I not seeing?" Like, you know what I'm saying?

00:06:00.000 --> 00:06:08.999
So, is it that sort of thing that you see people doing it, or is it more like admin-style tasks where they're just trying to like, "Oh, somebody can't log in.

00:06:09.000 --> 00:06:14.999
I'm going to reset their password, and we don't have anything the UI to do it. And I never wrote an artisan command to do it,

00:06:15.000 --> 00:06:18.999
so I'm going to just like tell Claude to do it."? What are you saying?

00:06:19.000 --> 00:06:24.999
<v Aaron>It's usually not that, it's the troubleshooting thing. But you basically said how you do it, which is think about from,

00:06:25.000 --> 00:06:32.999
I'm going to give a hint to our juniors and junior programmers here, is like sometimes things just suck. Sometimes they take a little time,

00:06:33.000 --> 00:06:41.999
and so Joel had the opportunity to use the AI locally and grab all those things, like those server logs. He could have done that on the server because that seems

00:06:42.000 --> 00:06:49.999
faster, right? But instead, he probably copied those logs and copy and paste them into his local thing, or he copied the files down SCP, whatever you did,

00:06:50.000 --> 00:06:56.999
to get those into your local running thing. But if you think about it, if you don't know the risks, and that's the point of why we're trying to have this podcast

00:06:57.000 --> 00:07:06.999
episode, don't know the risks, why would you have that extra step? Seems like wasted time. Why don't I just use the AI tooling near the location of the error, right?

00:07:07.000 --> 00:07:11.999
And so, that's where people are jumping to that logic. It's like, "Oh, I'm just going to use it to troubleshoot something."

00:07:12.000 --> 00:07:18.999
But everyone has had this at least that I know that's used AI, which is like LLM agents, is like, "Tell me why this works?"

00:07:19.000 --> 00:07:23.999
And it's like, "Oh, it does it because of this, I'll just change that for you." "What? No."

00:07:24.000 --> 00:07:34.999
<v Joel>"I didn't say that." Yeah, okay. So, it's the perceived... Well, no, it's the real friction of, "I have to be the intermediary.

00:07:35.000 --> 00:07:39.999
I can't just tell you go fix it." Like, I have to feed you information. And then I just want to talk about something else.

00:07:40.000 --> 00:07:47.999
Because I remember in this particular instance we were hitting some dead ends. Like, why is this happening? Why is this happening?

00:07:48.000 --> 00:07:57.999
And it was giving me commands to run on the server, and it was like dmesg -x-, and like I kind of know what that was supposed to do,

00:07:58.000 --> 00:08:05.999
but even that I would not run it until I looked up the man docs for a dmesg. And like what do these command pipes do? Because I don't know.

00:08:06.000 --> 00:08:14.999
Maybe dash x deletes something. So, for something like that I assume that's an approach you would take too. Though even if you're the intermediary

00:08:15.000 --> 00:08:20.999
you still have to exercise some control and not just like, "Oh, here's the command you want me to paste in and run on my production server."

00:08:21.000 --> 00:08:25.999
Like, unless you know exactly what it's doing, that's not safe either.

00:08:26.000 --> 00:08:29.999
<v Aaron>Correct. I would say what you did is the right thing.

00:08:30.000 --> 00:08:35.999
And I will then be practical and tell you what you can do because people aren't going to do what you just said.

00:08:36.000 --> 00:08:36.999
<v Joel>Okay.

00:08:37.000 --> 00:08:43.999
<v Aaron>Instead, when you see that message... I mean, when you see a thing you don't know or reasonably don't know, you should look it up yourself and understand it.

00:08:44.000 --> 00:08:44.999
<v Joel>Yeah.

00:08:45.000 --> 00:08:53.999
<v Aaron>When you cannot ask the model then, again, "Tell me specifically, step by step, what this command does for each line and element."

00:08:54.000 --> 00:08:59.999
It still may not be right because we know that there's some things there. But more often than not, now that'll give you a hint that

00:09:00.000 --> 00:09:05.999
maybe it isn't what it's doing. Because it'll say like, "Oh, I'm going to do the dmesg thing and then dash X deletes the traces that I was there,"

00:09:06.000 --> 00:09:13.999
and blah blah blah. And you could be like, "Wait a second, deletes the what? What?" Like, again, you might not know the answer, but it kind of gave you a hint.

00:09:14.000 --> 00:09:23.999
Or, I've also had other times when I've talked with a model and, you know, it did a thing. And I just asked like, "Hey, why did you suggest doing that?"

00:09:24.000 --> 00:09:30.999
And it'll reread it, be like, "Oh, I shouldn't have, I'll do this instead," and fixes it. So that's another thing. Is, like, yes, you should look those up.

00:09:31.000 --> 00:09:38.999
You absolutely should. But the next step, which you're probably actually going to do, is at least ask it. Ask, "what does this do?"

00:09:39.000 --> 00:09:45.999
And don't trust when it told you what it did the first time, ask it to confirm because the first message is part of a potential hallucination.

00:09:46.000 --> 00:09:50.999
<v Joel>You're right, yeah. I was even feeling a little hesitation when you said ask the model to explain.

00:09:51.000 --> 00:09:58.999
I'm like, "I wonder if I would just ask something different." Like, if let's say I'm using Claude Code, open up like a ChatGPT window and be like,

00:09:59.000 --> 00:10:06.999
"Hey, what does this do?" Is that being too paranoid to have like a different, either different model or even a different conversation,

00:10:07.000 --> 00:10:08.999
like different context analyzed?

00:10:09.000 --> 00:10:14.999
<v Aaron>Yeah. I mean, by that time you're getting closer and closer to just googling it. I mean...

00:10:15.000 --> 00:10:19.999
<v Joel>Yeah. Or, just going to the docs, which isn't that hard. But I get your point that people aren't going to do it.

00:10:20.000 --> 00:10:23.999
<v Aaron>I have messed. I have thought about that, like running a different model. But if you watch all the different...

00:10:24.000 --> 00:10:30.999
and I don't want to get into this too much, this is not an AI podcast. But if you watch what's going on, like a lot of them are converging anyway.

00:10:31.000 --> 00:10:32.999
So you're not necessarily getting different answers from different models.

00:10:33.000 --> 00:10:37.999
<v Joel>Yeah, you're absolutely right, Aaron. Okay.

00:10:38.000 --> 00:10:39.999
<v Aaron>You're right to push back on me.

00:10:40.000 --> 00:10:45.999
<v Joel>You're right. I want to throw one other thing out. This didn't happen to me this time, but it has happened to me in the past.

00:10:46.000 --> 00:10:54.999
Where you're that go-between, and it's giving you commands to run. And all of a sudden it gives you this like four-part command, you know,

00:10:49.000 --> 00:11:02.999
that's got like double ampersands, double or signs, and then like that's all grept and like piped into a Python one-liner.

00:11:03.000 --> 00:11:07.999
And what it's trying to do is save you from having to run like seven commands, But those I will just flat out reject.

00:11:08.000 --> 00:11:16.999
Because even if I understand all the piece parts, if I'm going to go look those up one by one and understand it, I don't trust my brain to think through.

00:11:17.000 --> 00:11:21.999
Because there's logic in there now. Like, I don't trust how they're all going to connect together, and what the failure modes could be.

00:11:22.000 --> 00:11:23.999
Like, you've seen that too, right?

00:11:24.000 --> 00:11:25.999
<v Aaron>Yeah, depending on your shell.

00:11:26.000 --> 00:11:26.999
<v Joel>Sure.

00:11:27.000 --> 00:11:32.999
<v Aaron>Like, using Zsh a lot I run into that is because a lot of the training documentation for forever was based off Bash.

00:11:33.000 --> 00:11:33.999
<v Joel>Yeah.

00:11:34.000 --> 00:11:41.999
<v Aaron>So, when it tries to run stuff, it runs it the Bash way. And sometimes those things don't necessarily work exactly the same way with Zsh, or with Oh My Zsh,

00:11:42.000 --> 00:11:48.999
if I have that running and something like that. So, when you have those commands that are combined a lot of times they have some sort of escape character

00:11:49.000 --> 00:11:55.999
and things like that too. So it becomes really hard to determine what even broke in there when, let's just say, you think you even understood it, took it,

00:11:56.000 --> 00:12:01.999
pasted it in and it doesn't work. It's like, "Well, why?" I've seen that at least with my stuff when I let the agent go wild.

00:12:02.000 --> 00:12:05.999
Is like, it'll run something be like, "Oh, it doesn't work like that on Zsh. I need to do this and this and this."

00:12:06.000 --> 00:12:11.999
It's like yeah, that would have been much worse if I ran that the first time I wouldn't know why.

00:12:12.000 --> 00:12:20.999
<v Joel>Right, yeah. So, all of this kind of boils down, the underlying theme, is a little bit of friction to do this safer.

00:12:21.000 --> 00:12:26.999
But man, you're saving yourself from some trouble. And kind of the same thing with the Tinker.

00:12:27.000 --> 00:12:32.999
Like, "Ah, it'd be so much easier just run this Tinker thing in production." But like, "Well, until it's not."

00:12:33.000 --> 00:12:33.999
<v Aaron>Mm-hmm (affirmative).

00:12:40.000 --> 00:12:45.999
<v Joel>Aaron, you know how much I care about user experience and design, and like just getting all those details right?

00:12:46.000 --> 00:12:49.999
I've laughed because you're like, "Why did you put this padding on that button?"

00:12:50.000 --> 00:12:50.999
<v Aaron>Yes.

00:12:51.000 --> 00:12:56.999
<v Joel>But I do care to a certain degree. So, anyways, out in the world as I'm using software people have written,

00:12:57.000 --> 00:13:04.999
I really question why certain decisions were made. And especially when it affects me negatively.

00:13:05.000 --> 00:13:16.999
So, I'm not going to go into specifics. But I was in, let's just say kind of a heated/touchy friend group chat,

00:13:17.000 --> 00:13:22.999
and I went to react to it with thumbs up because I didn't want to continue the conversation, but I wanted to express approval.

00:13:23.000 --> 00:13:29.999
And you know what's right next to thumbs up? Is thumbs down. And I accidentally hit thumbs down, and it just like reignited things.

00:13:30.000 --> 00:13:35.999
And you see, you can remove the reaction, but I didn't get to it fast enough. And then it was this whole thing.

00:13:36.000 --> 00:13:44.999
It's like, is it a little weird to you that thumbs up and thumbs down are like literally right next to each other in that reaction pop-up? This is iOS.

00:13:45.000 --> 00:13:54.999
<v Aaron>Yeah, I guess. But it's a little bit like... I mean, I hear what you're saying and I want to be there with you.

00:13:55.000 --> 00:13:56.999
<v Joel>Is it my sausage fingers? Are you-

00:13:57.000 --> 00:14:03.999
<v Aaron>No, no. But it just... it's tripping that one thing in my brain. It's like, "Well, I did this thing and it didn't work, so I just... I'm mad at that thing."

00:14:04.000 --> 00:14:11.999
It's like you probably saw that it hit thumbs down when you hit thumbs down, or were you in such a hurry that you had to hit thumbs down and you're like,

00:14:12.000 --> 00:14:18.999
"F, what's on the screen, I'm not even going to look at it."? You probably saw it, but you decided not to. So, I really want to laugh with you, Joel.

00:14:19.000 --> 00:14:24.999
I want to make fun of this, but what? What? Come on, come on! You're better than this.

00:14:25.000 --> 00:14:26.999
<v Joel>Or maybe I just need glasses.

00:14:27.000 --> 00:14:28.999
<v Aaron>Or thinner fingers.

00:14:32.000 --> 00:14:39.999
AI agents can do whatever they want, and they're pretty efficient. But they have no responsibility, they have no ethics, they have no connection to that code.

00:14:40.000 --> 00:14:44.999
If you need someone who actually cares about your project and is responsible, maybe we can help.

00:14:45.000 --> 00:14:49.999
<v Joel>Head over to nocompromises.io and see how you can work with Aaron and I.