Episode 511
511: Terminals, Remote Sessions, No More Watches!
April 20th, 2026
49 mins 43 secs
About this Episode
In episode 511 James and Frank dig into audio gear (why impedance matters and the pros/cons of hardware DSP and headphone high‑power modes), explore GitHub Copilot CLI's new Remote Sessions for mobile access to your local dev environment, and reveal a clever hack: MIDI‑over‑USB turns modern iPhones into reliable wired controllers for embedded hardware and robotics. Tune in for practical tips, safety notes on power/latency, and real‑world developer workflows.
Follow Us
- Frank: Twitter, Blog, GitHub
- James: Twitter, Blog, GitHub
- Merge Conflict: Twitter, Facebook, Website, Chat on Discord
- Music : Amethyst Seer - Citrine by Adventureface
⭐⭐ Review Us ⭐⭐
Machine transcription available on http://mergeconflict.fm
Support Merge ConflictTranscript
James 00:00
Welcome back everyone to Merge Conflict, your weekly developer podcast. It was free ice cream cone day at Ben and Jerry's today, but this was recorded last week. So if you're listening now, Frank, it's already gone.
Frank 00:09
Oh. Hi, James. You always tell me, you told me about the burger deal like days late and the world. we would record a whole episode on the burger deal. And now you're not telling me about the ice cream deal. It's not like I have access to Ben and Jerry's, but you know, could have, could have gone off island.
James 00:25
Could have made the voyage off island to get the free one scoop ice cream cone. Heather and I did make the voyage to the Ben and Jerry's, which is very close to the house.
Read Full Transcript Hide Full Transcript
Frank 00:34
Ooh.
James 00:34
So relatively, well, relatively, like we just like a two minute drive and we get a little scoop and there's a big line.
Frank 00:38
Okay.
James 00:39
And I was like, I got it.
Frank 00:40
Yeah.
James 00:40
I got a cone, a little cone, a little scoop. It was very cute. A non-dairy ice cream. It was very good. And it's free. I'll take it and then they're like, thank you for your business. And I was like, we have never come here, but I'm glad we did for the free ice cream.
Frank 00:51
And you never will again? Just next year when it's free Tiny Cone Day again?
James 00:56
I wouldn't say, I mean, I'm i'm more of like a gelato person if I'm going to get ice cream. But then additionally, i mostly get like low carb keto ice cream if I am going to get it in my opinion.
Frank 01:03
fancy.
James 01:10
don't know.
Frank 01:12
I love ice cream, but I haven't had it in years. It's one of those things I just don't allow myself to have. But if someone just jammed like some frozen yogurt in my face, I'd probably swallow it. I probably came out wrong.
James 01:26
Here's the ice cream. Get it get it down. All right.
Frank 01:28
you
James 01:28
um We missed our lightning topics episode last week.
Frank 01:32
Oh, how embarrassing. When neither of us can count? When was the last time you counted something? i You know, the truth is, i just don't look at our episode numbers. But i'm I'm terrible on the production side.
James 01:42
Mm-mm.
Frank 01:44
I blame you completely for that mistake.
James 01:47
You're welcome. And i blame our listeners for not writing in and giving us more. No, just kidding.
Frank 01:54
Stop it. Stop it.
James 01:54
Blame all of you
Frank 01:55
No, we love you. We love you all.
James 01:57
No, no, no. I think it's been fun. We do get a lot of great listener feedback and questions. And usually what we do is we roll those up into a lightning topics or things that we don't think are really going to take like a half an hour or 45 minutes. And we pump out a lightning topics where we're trying to cover every topic, about six of them, usually in about five to six minutes each. And usually I pick three and Frank picks three. And we're going to see where this goes. Now, I do want to start off with we have quite a few, uh,
topics around audio today.
Frank 02:25
Ooh.
James 02:26
And I first want to say how that, Frank, can you read can you read this for me?
Frank 02:26
Okay.
James 02:30
Can you read this?
Frank 02:31
Well, my internet connection is terrible, so all I see is blocky blur, blocky blur. Was that Sony, though? Did I catch a Sony logo there somewhere? It is a Sony.
James 02:42
you see it?
Frank 02:43
No, I just see blue. But, um...
James 02:45
says throw pro pro-fessional
Frank 02:48
Sony good. Professional.
James 02:52
headphones.
Frank 02:52
I see. Is that French?
James 02:56
Professionnel. ah Okay. Why are we talking about the headphones? Okay, so I have these Sony MDR 7506s, which I've had since February 1st, 2017. This Herrera headphones, nine years, on my ears, and I have even replaced the cuffs, the little cushion, cuffy things in here twice because, you know, they're on your head all day and they get little gross, right?
Frank 03:11
Pretty good. Oh. They get gross.
James 03:23
said Boom. And we were talking because I have this new Elgato XLR dock MK2, which has a bunch of new crazy built-in effects into the hardware. And it has direct monitoring finally, which I can't live without.
Frank 03:36
Ooh.
James 03:39
And it also has a high power mode. And I was like, on high power mode? when I hit that, I said it up. It says optimizes volume and clarity for high impedance headphones. And then I immediately asked Frank Kruger, what does that mean? And if it's talking about frequencies and impedances and volumes and probably things that are in iCircuit, then Frank is the person asked.
Frank 03:54
but yeah Okay. Well, I have to put a little disclaimer. Although I'm an electrical engineer, I'm not an audiophile. I don't keep up with the biz and the trends and the what's normal and what's not normal. i can define the terms and I can tell you what I think. And I guess we can just start there. So impedance is a fancy word for resistance, which is a fancy word for resistance. how much current you get when you apply voltage to something. Impedance is more sophisticated. Please please email James. it It has everything to do with frequencies. um It has to do with capacitance and inductance. So you've you've heard of a resistor.
You've heard of a capacitor.
James 04:49
Yes. It capacits.
Frank 04:51
you've You've heard of an inductor, maybe?
James 04:55
It inducts.
Frank 04:56
It index, yeah. It's often used in motors. it Turns out you can combine all those things into one thing called impedance. Doesn't matter. But it's so it's a nice shorthand that electrical engineers use. We like to simplify the world into all sine waves and resistance. And to do resistance with sine waves, we call it impedance. It's nothing. It's a simplification for a world when we didn't have computers.
Buy high circuit. You won't have to deal with any this. But the nuts and the bolts of it are um all speakers, including the little speaker in your headphones, um have kind of a native resistance to them. Technically an impedance, who cares? um And the manufacturer is kind of, it's up to the manufacturer to say how much resistance that speaker is going to have. If you've ever put analog speakers on a stereo, often on the back of the stereo, it would say, like, please put 45-ohm speakers on here. Please put 65-ohm speakers on here. The electronics for the thing producing the analog audio It has to put a voltage out on that line. It doesn't know what range of voltages to put out there unless it knows, OK, the thing I'm going to pump power to is, let's say, 60 ohms. And therefore, I know if I put three volts on it, then it knows I'm not going to do the math, but it's going to get 2-ish amps across the thing. And that can translate to power and all that kind of stuff.
What it really means in a practical sense, though, is when you buy something that produces audio and you have something that projects that audio, you really want to match the impedances for what they were designed for so that the the thing generating the audio is outputting the right voltages for the thing broadcasting that audio, turning that electricity into sound waves. So.
James 06:49
That's pretty cool. Yeah.
Frank 06:50
Yeah, so when someone says high impedance, that just means it's it's not standard. Like, you know, most consumer electronics, you go to the store, you buy some headphones, they don't, no one really knows what impedance headphones they're getting. That's because there's just roughly a standard out there, you know, most headphones. And this is where I'm just going to make up numbers. I'm sorry, everyone. I'm not an audiophile, like I said.
But you know somewhere between the 40 to 60 to 70 ohms is usually what a speaker is sitting at. So there's just kind of a standard out there. And so when you go to the store and you buy some headphones, you don't have to think about it as long as it's you know vaguely within that range. The thing pumping audio to it, your Walkman, your 1980s Walkman, it's going to output the right voltages for it. So when they say high impedance, that means you're a weirdo. You're using something weird, James.
James 07:39
ha
Frank 07:41
And we we need weird voltages for your weird headphones.
James 07:45
well luckily you don't these are 65 ohm so they're little bit higher as far as the other ones in the series there was like a 25 a 50 and a 65 but these are 65 so they're totally normal i don't need to turn it on it's totally good um yeah it's kind of crazy built in to they updated this so it actually has a bunch of um Like all hardware effects on the board. So I was like a low cut filter and expander compressor and equalizer like on on board, which is very nice.
Frank 08:05
That's
James 08:10
yeah.
Frank 08:12
Yeah, doing that stuff in hardware is really nice because, um I mean, nowadays with digital computers, you can totally do that on the digital signal. But audiophiles love their analog. And, you know, there's there's definitely a coolness and in some literal ways a coolness to, like, how it shapes the audio. And you don't get the little, like, tiny little stair steps that audiophiles say they can hear, but you possibly cannot hear. There's absolutely no way you can hear that stuff. Sorry, every audiophile out there. But, you know, analog's cool and doing that stuff straight in hardware is super cool, though I have a feeling, James, they're still doing it digitally. Everyone still does this digitally and then they just have a little amplifier that converts that digital signal to an analog signal.
James 09:00
I'll definitely have to look to see exactly what they're doing. Yeah, they do have some software effects, but then, you know, with software, you always get potentially some lag going on there as well. So, um, but yeah.
Frank 09:09
And you don't want you don't want to do that ah high power out mode if you don't have high impedance stuff, because what you're doing then is jamming too much power through them, quickening how quickly you'll go deaf, because all our ears are a finite resource, and you can use them up for sure.
James 09:21
Yeah.
Frank 09:25
um And you'll just be um You'll be at the ed edge of what the speaker was designed output. So you'll start to get like the crackleys and the yeah the pops and the the bad sounds because you're just jamming too much power through.
James 09:41
power yeah and it's the same too for your um microphone right so your microphone if it's a condenser mic you're going to need
Frank 09:41
speaker is just an electromagnet, which is just an inductor. Yeah, 100%. Yeah. hundred percent
James 09:52
some phantom power. This is a dynamic mic, so I don't need it. it's turned off automatically. This is my first dynamic mic that I have.
Frank 09:59
Yeah.
James 10:00
Yours is a condenser mic. So yours is on.
Frank 10:03
Is it?
James 10:04
Yes, definitely is.
Frank 10:04
excuse I actually, it's funny that you mentioned that because I just bought the cutest, tiniest little microphones I've ever seen in my whole life.
James 10:05
It definitely needs it to be powered.
Frank 10:13
I'm doing a little embedded systems project. And I just bought the cutest little microphone. James, if I can get it out of the plastic bag.
James 10:23
You got this.
Frank 10:25
a Here it is. i don't even know how to show this. It is so tiny, itsy bitsy little guy.
James 10:30
oh Oh, cute. Wow.
Frank 10:33
And
James 10:33
That's a microphone.
Frank 10:35
it is a microphone and the analog to digital converter that convert and it actually does compression on it.
James 10:41
Wow.
Frank 10:44
So it'll generate not MP3, but maybe like AAC. I forget which codec it has built onto it. But there is a full analog to digital. the amplifier to step it down, then the analog to digital, some cleanup filter stuff, and then some compression filter stuff all on the tiniest little package ever. I love modern elect electronics. I bought like six of these for $10.
James 11:08
That's crazy.
Frank 11:08
It's just, the world is amazing.
James 11:08
And if you're, if you're listening, Frank held up in his hand, basically something that was the size of a penny, a us penny or so, I would say about penny dime even, and, and it had a few little nuggets on it and, and a little green board and it was very cute blackboard, whatever it was.
Frank 11:15
A dime, yeah, smaller. Yeah.
James 11:23
And he has all this stuff on that is crazy.
Frank 11:24
Yeah.
James 11:26
I mean, there's like, yeah, everything can be compressed, compressed down nowadays.
Frank 11:28
Yeah, I'm doing a little, making like a little AI agent and I needed a microphone and I just loved how tiny and small it was.
James 11:33
Nice.
Frank 11:36
Building my own dingus.
James 11:36
We're, Did you just get that on Amazon? Where'd you get it from? Wow.
Frank 11:40
Yeah, I just got it on Amazon. That's where you get all the cheap parts. I'll try to find it for you while we're chit-chatting.
James 11:47
All right, well, let's go to another topic. I will, since you got the most that you describe all the new things there, let's talk about, ah The terminal, let's talk about CLIs and shells and all these good things. Actually, i'm going to start on the reverse of my list, I think, which is a new feature in the Copilot CLI.
Frank 11:59
Okay. okay
James 12:05
I believe it's also in Cloud Code as well. i'm not sure about Codex, but it is called Remote Sessions.
Frank 12:13
Oh, can I just interrupt? I'm so happy if we're discussing this because I saw some tweets about it and the tweets just went right over my head. So this is another, ah good segment, my favorite segment, James explains modern AI stuff to Frank, because it's it's hilarious when this happens.
James 12:29
Okay, imagine a world, Frank, where you're coding, you're at home coding on your machine, your Mac Mini, it's sitting there.
Frank 12:31
Oh no, I'll try. It happens.
James 12:39
like, hey, this is cute. You're off coding, you're in the the Copilot CLI, and you're like, I got to go to the store. I got to go get a coffee. I'm going to go watch TV.
Frank 12:53
Yeah, it's on YouTube.
James 12:54
Now, you can't you you can't just pick up that Mac mini and bring it with you.
Frank 13:02
Yeah, you're right. yeah Now i'm I'm taking it as a challenge, but I get what you're saying. No, it's it's actually just buried in a bunch of old males, so I definitely can't do it.
James 13:12
or Or for example, maybe you don't wanna bring your entire machine with you wherever you're going. right if you have a big laptop, of a big laptop i don't want to bring my entire machine.
Frank 13:18
Yeah.
James 13:21
What if you could carry on that session that you have or spin up a new session in your CLI and access it remotely on the go and have a full two-way conversation? Basically think of turning your CLI, your GitHub Copilot CLI into a remote agent that you could access anywhere, but that CLI is running on your machine, which means you have access to all the stuff on your machine.
Frank 13:34
Oh. Oh.
James 13:47
A second use case would be me. I have my little Mac mini here that I have on the side where I'm but building tiny clips and others like Swift and iOS Maui applications. You know what I need is all the build tools for iOS and Mac applications. But I spend 98% of my time on a Windows machine for work and personally, like, as well. And on my iPhone, wouldn't it be cool if I could be, like, at work, but just, like, basically remoting through, like, a ah remote terminal into it?
Frank 14:10
Mm-hmm. Got that.
James 14:17
Now, the question is, what does that remote terminal look like in a remote session? Well, it looks like a basically... GUI website that is showing you the terminal output and has an input button and you can change between modes or on your mobile phone, you can just see the entire session going, right? For all intents and purposes, like if you were to have booted up a a GitHub Copilot coding agent, you would get that session where you could steer and you could tell it stuff.
You basically get that, but instead of it running in the GitHub Copilot cloud agent runtime, which would be like a Linux box somewhere in the clued, it is just connected to your machine remotely running and executing commands and doing back two way back and forth when it needs to prompt you.
Frank 14:45
Mm-hmm. Mm-hmm. Love it. um This sounds like, okay, so so for the old Unix people out there, this is totally achievable. The old-fashioned way is you spin up an SSHD, Damon. ah You get a Tmux or a screens session going, and then you can do all this stuff anyway. But i love it when they integrate all this stuff. It's the anti-Unix philosophy of not small tools working together. How about one tool that does everything, like an integrated development environment?
James 15:29
Yeah.
Frank 15:31
We'll just call it that. No, it's good. um Because that scenario actually happens to me a lot. Because I find with a lot these AIs, there's a lot of five to 10 minute down times as it thinks in a loop and then rethinks in a loop. And it has to keep thinking in a loop. And even when you start to do multitasking, It's not unreasonable to get like three, four of these things going in loops and then you're still staring at a progress bar and it's time to go watch TV. I'm just kidding.
No, I'm not kidding. So I actually, I kind of dig this feature. I will check it out. You you kind of, I'm kind of excited for the iPhone part. Because I feel like that's a feature that a lot of these tools are neglecting is the mobile story.
James 16:12
Yeah.
Frank 16:18
Where like you know since these things are just taking prompts and doing something and I'm watching progress bars, the phone's an ideal place to manage all that. And I find it kind of hilarious how few of these IDEs actually have good mobile solutions.
James 16:28
Yeah.
Frank 16:33
So I'll actually take in a special look and see how it handles that scenario. And isn't it very inception-y that it's a console app running in a web app?
James 16:38
Yeah, take a look. Exactly.
Frank 16:43
Breaks heart.
James 16:44
So the cool part today is in public preview just came out this week or last week or when you listen to this podcast. I don't know when exactly it's GA, but you can ah get access to in the CLI, say slash remote, or you can do copilot dash dash remote and it would just start a session. You get a QR code as well. that You could scan from your phone. ah The cool part is it's available in the web directly. so you could open that website on your mobile phone. Now it is going to be available inside of the GitHub mobile app, which I think like you said is like the most ideal place.
You can test it out today, but you need to be on the test flight build, which you can just download the test flight build with the GitHub app and get it.
Frank 17:17
Mm-hmm.
James 17:19
And what's really neat about that to what you're saying is that that really opens up the world because then, you know, you can do stuff on the GitHub mobile site, but the the web, the mobile app is really super optimized. it's like a native app. You're going able to do everything in there, merge, see code, jump around, do all that stuff. And and that's going to really powerful coding environment that you have to be able to like take things over the the hurdle and and things like that.
So I'm really excited for that because I agree with you. Today, I'm already going into the mobile app, spinning off new tasks to the cloud agent, but now I just want to be able to do these things.
Frank 17:53
Yeah.
James 17:56
Now, of course, the missing piece is can you build and then run my app and then can I like you know see it running on my desktop? That'd be cool too, but one day.
Frank 18:05
Well, I think the desktop is an important place because all these cloud agents, they're very cool and I love them for the multitasking or whatever, multi-whatevering, multi-agenting. But um they're all stuck in these Linux environments. And I'm a Mac developer and there's no access to Xcode and the Swift compilers or anything like, especially in the cloud, you're paying 10x for a Mac operating system, but they don't even offer it. So who cares? um So i I love cloud agents, but I do find them very limiting because they just, they don't have the correct development environment for me. And it's frustrating. So I like the idea that this kind of turns my local development environment into something remotey. So I hope that they're taking advantage of that. And I feel like the world is going towards some bad, dark directions where like we're starting to sandbox the environments, the dev environments. And those sandbox environments don't have access to all the tooling I have installed on my machine. And I'm getting nervous about this future where we're not taking an advantage of my local resources.
And so this this seems like, ah for me, a step in the correct direction.
James 19:08
Yeah. Yeah, I like it a lot just for the fact, like we were talking about is I might still use a lot of the cloud agents even on my Mac apps. But what I want to end up having to do is
Frank 19:19
Sure. Yeah. Mm-hmm.
James 19:22
like do all those so I can like parallelize it. And then I'll go to my CLI where I have a remote session and connected it to my Mac and I'll say, Hey, this PR was just open. Do a code review, do build, x you know, build, do all the test verification, bingo bango. Right. Cause I often see that where I'm spinning up the cloud agents cause it's just very convenient, pull it down. And then like the build fails or i' like, oh wait, oh, and like, and you know it can figure out it, it can figure it out, but it it's a way better to just actually run the build on the local machine.
Oh, it's so, all right.
Frank 19:50
Yeah. well's it
James 19:52
Um, all right.
Frank 19:53
yeah
James 19:54
Oh, go ahead.
Frank 19:55
Oh, no, no. i was just It just gets into that environment because you know there's the co-pilot setup steps.
James 19:59
Yeah.
Frank 20:01
And like it's it's hard to build up that ideal environment.
James 20:02
Yeah.
Frank 20:04
And I don't do that for every single one of my projects. Whereas my dev machine, it's set up. It's ready to go. Just use it.
James 20:10
It's good to go. Yeah. Just use it.
Frank 20:11
Yeah.
James 20:11
You know, it's good to go. All right. Let's get back to music. What else are you doing on your iPhone?
Frank 20:14
Ooh. Well, it's music adjacent, James.
James 20:19
Hmm.
Frank 20:19
Can I put a scenario in front of you? I don't even know where to begin with this.
James 20:22
You can. can
Frank 20:24
But let me say, my problem is I have an iPhone. And I also do a lot of embedded systems programming where I want to talk to other hardware than the iPhone. I have sensors. Like silly little microphones I buy on Amazon and motors and all sorts of other weird stuff. And I like doing embedded systems development. So you have a little microcontroller and it's talking to little pieces of hardware and all that. But a real problem with the iPhone is there is no way for the iPhone to physically connect to another computer and talk to it.
Have you ever really thought about it? Like, you remember the old days where people made like credit card scanners for the iPhones for doing like POS systems, and they plugged into the audio jack because that was the only way to really add hardware to your iPhone.
James 21:09
Yeah. Mm hmm.
Frank 21:19
um and then they took away the audio jack so you can't even do it that way and that was an analog interface you know it's not even a digital interface so you have this brilliant piece of hardware this brilliant computer they cannot talk to any other computers without using wi-fi obviously wi-fi is out there bluetooth is out there you can talk digitally but anyone who's at been in a um an em noisy environment knows just how flaky or if you have something that's under acceleration like a robot wi-fi doesn't work well um this doesn't so i've always been a little bit sad that i can never actually add hardware to my iphone but then europe came and europe made apple put usbc connectors on the iphone
And then Apple, with their good willingness, their their generosity toward all of humanity, decided to not just make it a USB-C port, but make it a functioning USB-C port where you could actually plug in a mouse and a keyboard.
James 22:06
That's correct. Hmm.
Frank 22:21
I'm like, oh, isn't that interesting? So we can actually add some hardware to this device, but it's a mouse and a keyboard. Those those don't really inspire me as an app developer. But it got me thinking one day, I'm like, what other hardware does this USB-C port support? Don't say that 10 times quickly. And all with this goal of I wanted to be able to talk to other hardware with it. And I'm having a little chat with Copilot.
James 22:48
Yeah.
Frank 22:50
Copilot and I were just hanging out at the beach, having our talking computers as we do. And I'm like, hey, what other protocols do you think works with the USB-C connector on these iPhones? And it's like, well, probably not this, probably not that, probably not this. And it's like, but you know what does work is MIDI. Do you remember MIDI, James?
James 23:09
Oh dear, yeah. yeah Mm-hmm.
Frank 23:11
MIDI is the protocol that like synthesizers talk and drum kits talk and all that. Anyone in music knows MIDI. They probably hate MIDI.
James 23:19
Hence, hence, hence my, you know, understanding like a lot of the Korg machines and things like this.
Frank 23:19
okay
James 23:24
I was thinking about that.
Frank 23:25
Yeah.
James 23:26
and in fact, I remember like my 3ds, which actually have one here. There was a Korg like a synthesizer drumbeat machine where you could put in different things.
Frank 23:34
Yeah.
James 23:34
Yeah. Super cool.
Frank 23:35
Sweet. Sweet. Yeah. What is it? Musical instrument digital interface? Something like that? It's the digital interface part that I'm a little bit interested in.
James 23:42
Yeah.
Frank 23:45
Because I know a bit about the MIDI spec. The MIDI spec is not a spec. It's really just a transport protocol. It's like, here's the byte format for how to send data over a wire. And here's what's important. Bidirectionally. It can send data in both directions.
James 23:58
Ooh, that's cool.
Frank 24:00
I'm like, what are the chances that Apple would actually support me just building a piece of hardware, having it talk MIDI, and then being able to plug it into my phone? And James, I kid you not, it works.
James 24:15
Really?
Frank 24:15
I can actually buy like a little embedded computer with a USB port on it.
James 24:15
Wow.
Frank 24:21
I can program that USB port to talk the MIDI protocol, which is like from the 70s or something it's the most trivial simple protocol in the whole world no big deal and there's a midi over usb standard if you implement the midi over usb standard and you plug the little device into the little phone james all a sudden i have a digital interface that the phone can talk to any hardware basically send any data all within the midi spec but who cares it's fine and all of a sudden i have a high speed digital interface to external hardware from my phone that does not require any apple lawyers if anyone's ever tried to develop actual hardware for the phone of course you can do it you could always do it but you had to have lawyers and you had to have the hardware development kit and it was specifically you go to the apple website for this and they're just like don't don't bother if you're just a normie don't bother if you're just a developer you can't handle this but you can handle this jay like there's core midi built into the os writing a midi client for an embedded piece of hardware is trivial as long as that hardware has a usb port on it like a real hardware usb port not some fake garbage serial thing
James 25:32
Yeah. Oh. Hmm.
Frank 25:34
um And you put those two together and all a sudden i have a digital interface to my phone that doesn't require Wi-Fi, doesn't require any wireless protocols. It's a fast, reliable, basically zero latency. It's over a wire digital call. And I haven't been so excited for a long time. I love it because any app can use it. nothing Nothing special required. Isn't that cool?
James 26:00
Interesting. okay So name, it's it's a name like a use case now in which you could use this. So you can develop like an app that then does some stuff and then send some stuff to this other thing.
Frank 26:10
Yeah. Yeah. So let's say, hypothetically, someone developed a lawnmower that is able to move about their property. And let's say, hypothetically, they want to run some advanced neural networks on it to do some digital image recognition because Apple's got some amazing neural processors on the phone and some beautiful cameras and some localization stuff.
James 26:31
true yeah slap a phone on the lawnmower
Frank 26:35
So the scenario I'm going for is the iphone is the iPhone is the brains, the eyes, the everything. And the embedded stuff is the the low level motor controls, reading sensor data.
James 26:47
yeah that's cool that's cool
Frank 26:48
And you create this bi-directional channel between the robot and the smart thing. So now I can just plug my phone in and my phone can take control of that robotic core. ah There's a million other scenarios like interfacing any hardware to the phone is now trivial. That's the scenario I'm going to use, though, is to make the phone control actual robots.
James 27:12
That's cool. That's cool.
Frank 27:13
It is.
James 27:14
Yeah.
Frank 27:14
It's super cool. And yes, I know you can do it over Wi-Fi.
James 27:15
Super cool.
Frank 27:17
I get it. But Wi-Fi is flaky. Trust me.
James 27:19
Yeah.
Frank 27:19
Especially when you have something rotating a giant cutting blade.
James 27:20
don't want to use Wi-Fi. No, it's like...
Frank 27:23
it's It's scary.
James 27:24
i got I got one of the smart locks, the Eufy locks or whatever, and like I had it connected. It's it's only 2.4 gigahertz, so I connected it to my strictly IoT 2.4 gigahertz band, and it was like super flaky, like what's something with the range, the signal.
Frank 27:38
Yeah.
James 27:40
The batteries died really quick. I was like, all right, fine.
Frank 27:42
Yeah.
James 27:43
Connect to the combined 5 and 2.4 gigs what and because it's stronger boosted or whatever, and now it's fine.
Frank 27:46
Yeah. Right. Yeah.
James 27:50
It doesn't even make any sense.
Frank 27:50
right
James 27:51
the The wifi router is right here and the door is right there. It's just like, dude, it's like, come on.
Frank 27:57
And your door is not accelerating up and down hills and going 0 to 20 in 3 seconds.
James 28:01
No, no.
Frank 28:03
like It's in a very stable Wi-Fi environment. All the wireless protocols have acceleration problems.
James 28:07
Yes.
Frank 28:09
Anytime you accelerate the object, the transmitter or the receiver, you'll get breaks in the communication.
James 28:11
Yeah. Yeah.
Frank 28:15
And for dangerous things, that's not good.
James 28:15
I mean, just walk around. just walk around your house and you'll see like up and down this and that as you're like, guys it worked, that foot didn't work as well.
Frank 28:20
Yeah. Dropping packets left and right. Yeah.
James 28:25
Yeah. um
Frank 28:26
So this this really excites me because I can actually connect hardware that I love building to iPhone apps that I love building.
James 28:27
Yeah.
Frank 28:32
So my two favorite worlds can talk to each other efficiently and reliably now.
James 28:37
Wow. Well, let's talk about some other hardware, but in this world, the hardware that's gone missing.
Frank 28:38
Yeah.
James 28:42
Frank, at the same time, we're gonna take our left wrists We're gonna put it on camera. So you're gonna like punch up.
Frank 28:49
Oh, this is going to be embarrassing.
James 28:49
Ready?
Frank 28:51
Okay.
James 28:52
All righty.
Frank 28:52
Yep. Ready, James. Ready.
James 28:53
Three, two, one. Well, you got nothing on your wrist either.
Frank 28:58
It's empty.
James 28:59
oh my gosh.
Frank 29:00
Nope.
James 29:01
Is there something on your right wrist? Oh my gosh.
Frank 29:04
Nope.
James 29:04
Wow. Okay. Well, wow. Crazy. Interesting. Well, what well
Frank 29:08
I know what you're going to say, though. Yeah. That's why I didn't want to do it.
James 29:11
very fascinating.
Frank 29:11
We are...
James 29:12
Well, go ahead.
Frank 29:13
Neither of us is wearing jewelry.
James 29:15
So if, if you were, if you're listening, Frank and I both held up our wrists at the same time and there was nothing on it.
Frank 29:15
Neither of us have cuffs on. We are very plain men.
James 29:26
There's no jewelry, no accessories, and specifically no Apple watches. Now, I don't know what's going on in your world. Frank Krueger maybe said Apple watch fell into the bottom of the lake, but, um, Heather and I decided to make a conscious decision about a month ago, um encouraged by a few other, other friends to drop our Apple watches.
Frank 29:39
Too close.
James 29:47
In fact, my Apple watch is now a $55 Apple gift card because I've traded in and I've sent it off as gone all the way into the Apple store return return to sender.
Frank 29:52
Oh, well wow, you really dropped it. You dropped it all the way into the Apple store. Oh, darn. This is a sensitive topic for me. So I want to hear your reasons for dropping it. But I'll say my reasons are I just don't find much utility in the watch when I'm just sitting around home. um For me, the watch becomes mostly a burden because all it's doing is notifying me. and I hate notifications. Anyone who's ever tried to contact me knows that I hate notifications and I turn them off very ruthlessly. um i just don't get it. I i just i get the same amount of spam as everyone else, but I seem to be more sensitive to it. I just can't stand any form of notification. And if I want to know the time, I just look out a window. like It's fine. every Every screen I look at has a clock on it now.
um So I still use the watch when I travel because that's the time where I don't really want to pull my phone out of my pocket all the time, but I just want to check something super quick. I do find a small amount of utility in the watch, but I find overall Apple has just dumbed it down to such a level that it's just an annoyance device for me most of it. That's my excuse for not having it on my wrist.
James 31:10
pretty good. it's it's Heather and I both actively basically turn off as many notifications as we can. Right. You know, like you can really not mirror anything and not really get anything, almost anything you're going to get stuff.
Frank 31:24
But they find a new notification. Every software update, they find some other way to annoy you with some Apple ad.
James 31:29
It's true.
Frank 31:30
Hey, a new episode of Severance is out. I don't care, Apple.
James 31:36
ah You should care, but yes, I hear you.
Frank 31:37
Okay. Okay.
James 31:38
Yes. ah No, I think for us, I pretty much don't really use the watch faces for anything. ah Like i have like the weather, i had the weather on there. Mostly what Heather and I were using the watches for were just tracking fitnesses and workouts.
Frank 31:54
All right.
James 31:54
Yeah.
Frank 31:55
Fair.
James 31:55
So we would close our rings and we didn't really use the watch for anything else. We never used any of the apps on it. We never really use any of the notifications on it. Maybe the tides, which again could just be on my phone because it should have the tides, not like it's mystery science theater over here.
Frank 32:07
Tides are cool. I know. I'm sure there's a million widget apps out there for you.
James 32:13
Yeah, we never used any of the other things on the way we use the, we never really use the walkie talkie feature. We never really use any of the other stuff.
Frank 32:21
That never works.
James 32:22
That never works. Exactly. And he never notifies the other person because they have the notifications off. So it's like this chicken and egg. So I decided like, is this bringing value and joy in my life? Because what we ended up finding was, are we artificially just being like, okay, like every time we go a walk, was like, start your watches. Okay. And your watches, like make sure you stand up. Like I'm already standing. I'm already doing stuff. I'm already working out. already doing these things.
is it actually giving me that extra motivation ah to do more?
Frank 32:48
All right.
James 32:49
And I think the answer is pretty much no, because we are already walking Millie every single day. I'm already riding my bike almost every single day. I'm going to do those things anyways, whether I have the watch on or not. So I did an experiment for ah few days and i said, I'm just going to take it off. And Heather's took hers off for a week or two. um And I was like, cool, I'm going to i'm just gonna send it in got rid of it boom.
One less thing to charge, one less charger to bring, bingo bango, and it's gone.
Frank 33:15
ah yeah fair enough
James 33:18
i never watched i never wore watches before this. I will say, after a month, I do am now trying to look for the time on my watch. So I don't know if I'll get another watch or not, but you know, my phone is with me at all times.
Frank 33:28
oh interesting no no
James 33:32
So there are a few occasions where I'm like, ah but I'm not finding myself, Oh, how many calories have I burned today? Oh, how many times have I stood today? Oh, how many times? And that's what I was, it was artificially inflating those numbers of like importance to me where I'm already doing those things. So, yeah.
Frank 33:49
I'm going to call that healthy. I don't know. For me, I find why going for a walk or a jog is a nice break from technology. So I am a aware i still like to do, like run what do I use, RunKeeper? Is an app? Yeah, I think I use RunKeeper. um And that's like force of habit. And I just like that because, you know, I'm dying out there. I want something to regard my exertions. But um' it's funny, I never did the health tracking on the watch because it wouldn't sync properly with the phone and that as an engine drove me nuts. The way the phone, you start an activity on the watch and it wouldn't start the activity on the phone. And I'm just, it was so maddening that I i stopped wearing it just because of that bug. i was like, I can't handle that bug. But I'm going to say overall, I'm just disappointed that Apple nerfed that device completely by never allowing developers to write watch faces for it. I know we can put tiny little um complication rectangles on the watch faces, but they don't update very well. They update sporadically.
You can't animate anything. I find Apple's watch faces overall to just be ugly. um've I've tried them all. I've been using the watch since pre-beta. I was invited to... Apple to in one infinite loop to go program watches before they were even released. um Just it's one of those devices that just never worked for me. So I think I get where you're coming from. And sadly, I got to that point about five or 10 years ago.
James 35:25
Yeah. And I think the one missing important fact that I'm now don't have on my body is other sort of emergency features of the Apple watch, such as like heart, like heart attack sensing. And i think that's what like one of them, because of your heart rate goes and spikes up.
Frank 35:46
I get it. But the false positives, there's just so many false positives.
James 35:49
There's also,
Frank 35:52
If I was having a heart attack, I'd be like, well, it's probably just a false positive because that's what it does.
James 35:56
Yeah, guess. I mean, it'd be good to know. Fall detection. It'd be, you know, fall detection. If I'm on a bike, I fall, it calls Heather.
Frank 36:01
I know when I fell, James. Okay.
James 36:03
you know, I mean, I do know if I fall. So, but i never I've never tested those features or had to, fingers crossed, knock on wood, right?
Frank 36:05
Trust me, I know when I fall. Yeah. Yeah.
James 36:11
So I do feel like there's all these other like features of emergency features that could be nice. But then if my phone's on me, it should probably also know too, like in general, if I'm doing some fall or crash detection. Yeah.
Frank 36:22
And I'm being a little facetious. Like I said, I do wear the watch when I go to the mainland because the mainland is a dangerous, scary place and I need all the protections I can get. So I still put the watch on in those times.
James 36:30
There you go.
Frank 36:33
But when I'm around the house, I just don't get any benefit from it.
James 36:37
Yeah. And we always have, we always bought like the intro level one. So we bought the series three originally and then the SE two. it's like, we're ever buying like the, the the upgraded ones. So I think it was a good experiment. It several years that we had them and and traded them in and got value back from them.
Frank 36:51
Mm-hmm.
James 36:53
So I'm interested if other people, I know a few other people in my life who's have finally dropped the watch cause they're not like getting the extra value out of it. And And it's like one more thing to worry about all the time. So interesting what happens down the road with these watches. But a lot of people have them.
Frank 37:07
Yeah.
James 37:07
That's for sure.
Frank 37:08
And I should say, I'm not even against wearables. I think that there is a market for wearables somewhere. I think watch just wasn't, it for me, and it hasn't been the right thing.
James 37:14
Mm-hmm.
Frank 37:18
And for me, it's not notifications. I don't want notifications. If if there's going to be a wearable that I actually wear all the time, it's got to not have notifications, specifically not have notifications on it.
James 37:30
Yeah, I think so. um All right, we got a few minutes before to dinner.
Frank 37:32
Yeah.
James 37:35
Let's think about back to the CLI. I'm going to talk about Windows Terminal a little bit here, Frank.
Frank 37:38
Oh.
James 37:40
um
Frank 37:42
Is that?
James 37:42
You know, Terminal runs shells and then the shells run commands.
Frank 37:48
DOS.
James 37:50
seal
Frank 37:50
DOS, command.exe. Yeah, I remember DOS.
James 37:52
Command.exe. Yeah.
Frank 37:53
C colon backslash batch basic.
James 37:53
Yeah.
Frank 37:57
I remember. are you did they advance between DOS 5? What version of DOS are they up to?
James 38:02
No, no, the windows terminal, you know, you have terminal on Mac on windows. You also have terminals on the windows terminal.
Frank 38:10
It's called command.exe.
James 38:10
Um,
Frank 38:11
It's a subsystem.
James 38:13
um, no, not CMD. That is the command, um, prompt.
Frank 38:18
Terminal.
James 38:20
the
Frank 38:20
It's a whole subsystem. That's how fancy it is. I know.
James 38:22
It is, but
Frank 38:23
So they they've adopted the Unix philosophy. They've added terminals since command.exe. But command.exe is a classic terminal properly on the operating system.
James 38:29
that is correct.
Frank 38:33
And the reason it's always been in a janky window is because it's not actually running Win32. It's actually a full different subsystem. It's a weird, weird cool feature of Windows, in fact.
James 38:42
Now you can run CMD from inside the Windows terminal as well.
Frank 38:48
just to get the whole inception thing. I'm sure you can put that in a web page and then get it onto your phone.
James 38:51
Correct. Well, the Windows terminal, imagine if like the Mac terminal was amazing. And then you'd have windows terminal and be on windows because basically, you know, Kayla worked on windows terminal as on my team now.
Frank 39:00
Yeah, stop it. Right.
James 39:09
And we did a live stream, which was Kayla showing me how awesome the windows terminal is and how I can make my windows terminal better because I'm not a terminal person. I'm not a CLI person. i'm not a shell person. Now he's a lot of power shell as my default, but there's all sorts of stuff. Like I can have him boon to on there. I can have a, you know, CMD. I can have a you know cloud shell, I can have all these things. What's really powerful about the Windows terminal is that there is really advanced settings and sort of default um interaction models, appearance models, color schemes, a tab, there's like a whole tab menu, there's extensions, and then there's profile.
Frank 39:46
yeah
James 39:47
So every different shell that you have is a profile. So you have power, like Windows PowerShell, command prompt,
Frank 39:54
Me.
James 39:55
PowerShell itself, maybe the developer command prompt, ah the Visual Studio debug console, and Boon 2. um And then you can create these profiles though that launch certain things and then run commands. So I have a new GitHub Copilot profile that immediately launches into GitHub Copilot CLI using PowerShell automatically for me. So that'll load up my own my posh. Or for example, I might have a GitHub copilot that launches, but then launches into a specific folder of one of my projects that I'm working on. Like you might have an iCircuit profile, but it's all cascading um styles and settings basically.
So you can have a default, which is like, I want everything to use this color theme. I want everything to use these fonts, this font size, this weight, these glyphs, all these things, the cursor shape, the cursor color.
Frank 40:45
Yeah. yeah
James 40:48
all of the transparency, all these things, padding, and then you can override those on every profile. So you can easily reset and do these things, which makes it really nice in general that have like, here's the color scheme. You can have these custom color themes. They're all really good, light and dark theme. But the thing that she showed me today was two things. One is when I'm inside my tabs, Here, I can, there's this dropdown to do new and you can customize that dropdown to the order, to the preference of like how all of your different profiles show up.
Cause you might have a bunch of shells installed, but only want like one basically get a copilot or PowerShell and everyone use the other ones.
Frank 41:22
Oh, okay.
James 41:28
But I can have groupings and submenus that are customizable. So I can have like other shells and then it's a fly out of all these other things. Or here's my code shells, right? Or here's my code profiles for different projects. You can customize all of the keyboard command actions they are all highly customizable. But the thing that's really cool about this as well is that there are all these sort of advanced um options. So for example, if I have a terminal open with like six or seven different tabs with different profiles, like maybe I'm running PowerShell over here, I'm running just like.NET commands over here, I'm running like Copilot over here, and i'm running in boot over here.
If I close the terminal and I reopen the terminal, it'll reinflate all of the tabs and all of the history of the tabs automatically for me, which is bananas.
Frank 42:11
Yeah.
James 42:16
But better yet, the thing that blew my mind, that helps me so much is that the windows terminal, it actually allows you in one, you can have multiple tabs, but inside of a tab, you can have multiple shells going, so you can have split views basically, right? You could have like eight of them all in one window, but it's always complicated. because i'm like what's the keyboard command? What's this hold down to hold down this button.
Frank 42:38
right.
James 42:40
No, no, no, even better. You have an option. It's off by default and it's going to piss off the the terminal people by default, but you can right click. Anywhere on the terminal, you can do a find, you can duplicate tab, you can split the pane easily into different ones, or of course you can paste.
Frank 42:55
Yeah.
James 42:57
I know that the click is supposed to be paste. There's even a paste icon there, but it allows you to split, boom,
Frank 43:00
That's from command.exe, baby. Long live command.exe.
James 43:04
You can easily, boom, just put it over there. It's just like, this is the most craziest, most amazing.
Frank 43:10
Yeah.
James 43:10
And the Windows Thermal is not new, right? But there's like a history size, there's bell notification. It's like so customizable. But then also it has a beautiful GUI to actually do these settings and the settings make sense and they're applied instantaneous. Right. So like, if you're making changes, it immediately applies those settings across all of your open um terminal windows. And it's just like, makes so much sense. It's like, so cool. I'm just like, dang, like, how come all the, how come all of aren't aren't this way? I don't know.
Frank 43:43
Well, if that's kind of the joke that I want to bring up is like, I was trying to be funny in the beginning. I know I wasn't funny, but, um Windows never had a great terminal because it was a GUI thing. They wanted GUI apps in Windows. The terminal was old, shells were old, and they wanted to move away from that kind of DOS world. And so command.exe was a terminal and a shell all merged together into one crazy subsystem.
James 44:04
Yeah. Mm-hmm.
Frank 44:09
A terminal is just it a dumb terminal. It's just taking terminal codes. A binary byte stream, talk about MIDI, it's just as archaic as MIDI. And it's just rendering character glyphs at certain locations on the screen depending on certain command codes it gets over a serial protocol. So like back in the day, I used Putty because Putty was a much better terminal for Windows.
James 44:32
okay
Frank 44:33
But compared to the things you're describing now, it's funny how the Windows terminal, even though it's kind of It's old but new. It's relatively new, but it's old now because it's been around for a few years. But like they've outdone Unix. Unix is supposed to be the terminal shell world. Like I was mentioning TMux before. That's how you did split screen terminals or shells, technically, on Unix. All running over, it muxed multiple shells into one terminal session, blah, blah, blah, TMux.
James 44:59
Yeah.
Frank 45:06
And it's funny to see like Windows just outdoing Unix, basically. Like people make fun of the Mac terminal. I don't mind it. It has all the features i want. But it is funny to hear you go through all these features of Windows. I'm like, yeah, Apple really hasn't updated terminal since 1999, 2001, whenever os ten came out, i think. I mean, every so often there's a tiny little change in terminal, but certainly not the advancements Microsoft's making. So i I find that that's kind of the biggest joke is like terminals, the idea of terminals and the whole idea of like taking a serial protocol and then rendering it nicely and turning that into a development environment. That's a Unix thing.
And it's funny to see like Windows out Unixing Unix in this case. It's it's just what a topsy tur turvy world we live in these days, James.
James 45:56
And like everything's customizable backgrounds. You can have gifts, you can have like videos, you can have ah images, you can have like CRT scan lines.
Frank 46:01
Yeah.
James 46:04
You can have all these advanced like shader renderers on it.
Frank 46:07
Yeah.
James 46:07
Like it's every, everything's customizable. So when I opened the co-pilot profile, it has a custom icon, right? You can use asking, you know, or, um, um, emojis if you want to like it all just makes sense and then the cool part is you can hide stuff too so like i don't ever want to see certain things i just like hide it it's just like it makes so much sense they really thought about it and and they even have like terminal terminal emulation they have like all these other things it is wild
Frank 46:25
yeah You have to, that's the problem there because it is just a serial protocol that they're rendering.
James 46:38
mm-hmm yeah
Frank 46:39
Everyone and their brother has invented their own terminal protocol. And so like if I, Frank Kruger wanted to write a terminal app today, it's real easy to get started. You take a binary text stream and you render it to the screen, no big deal. But then you find out all the different terminal standards that exist and trying to make all those work together. And it becomes quite maddening in fact.
James 46:58
Yeah. Yeah.
Frank 46:59
um Miguel, ding um he wrote a beautiful terminal app for the iOS. um I am completely blanking on its name right now, but um he has he he implemented the full terminal from scratch, which is quite an endeavor, and you really have to know that world to do it correctly. And he he managed to do it. It's quite an undertaking to build a new terminal these days. Building a new shell. Any idiot can build a shell. Yeah. Because that's just taking in commands and doing something with it, like a CLI.
you know That's all a shell is. But implementing a terminal, you have to support roughly 50 years of computer history to implement a terminal these days. So that's cool.
James 47:41
Yeah. It's crazy. Anyways, it's super good.
Frank 47:45
Yeah.
James 47:46
You know, I, when I am on my Mac, it is the, probably the number one application that actually miss because it is extremely good.
Frank 47:52
Oh.
James 47:54
Like, and I haven't found anything else, any other terminal. Cause you know, I just use PowerShell on my Mac inside of termin inside a terminal.
Frank 48:02
That's fine, yeah.
James 48:03
So I use PowerShell everywhere as my shell, which is great.
Frank 48:04
Right. Right.
James 48:07
But the terminal itself,
Frank 48:09
Oh, OK.
James 48:10
leaves a lot to be desired. You know, a good example is this, is I was at the GitHub Copilot Dev Days in Portland and it was one of my first in-person conferences, like doing a whole demo in the CLI, like in the terminal.
Frank 48:12
Yeah. um okay Yeah.
James 48:24
And you know what you need when you present on a not so great projector, light mode. And you know what is not very good at light mode? terminals like you really need to they love to be dark mode but built in to the windows terminals all these beautiful light theme terminal you know shells uh prompts and it just like boom it lit up it worked great and it was instantaneous and my poor friend christopher who is on a mac using the mac terminal he's like oh he couldn't do it i was like it's fine just like you know blow up the fonts big
Frank 48:52
ah yeah oh For the record, the the Mac terminal always started out in light mode for decades. And it was one of my
James 49:04
but trying to get it to change. I'm just saying it's like a pain in the butt.
Frank 49:06
it's It is funny, the settings system for the back terminal is archaic and confusing.
James 49:12
Oh my gosh, it's so crazy.
Frank 49:13
I've been using that i have been using that terminal for many years now and I still get confused. I'm like, just turn up stupid color.
James 49:21
i know, like, oh, change the phone. Do I gotta close it?
Frank 49:23
They refuse.
James 49:23
i gotta open it What do gotta do?
Frank 49:24
that They're like in the backwards compatibility thing. They just refuse to change how settings work.
James 49:29
One day, one day. All right, everyone. That's going to do it for this week's Merge Conflict. I'm going to eat some pizza. So until next week, I'm James Montemagno.
Frank 49:38
And I'm Frank Kruger. Thanks for watching and listening.
James 49:42
Peace.