00:00.60 James Welcome back everyone to Merge Conflict, your weekly developer podcast. Frank was talking, talking about frequencies. Frank, why do my lights flicker? 00:09.70 Frank A little thing we like to call aliasing, James. So anytime you have two frequencies, the chances of them, and they're near each other, so say like 60 hertz to flash an LED on and off, and let's say 60 hertz to take photos to make a video. Those are the same frequency, but the chances of those clocks being perfectly in sync and the chances of them being in phase with each other, so them actually doing the on-off cycle exactly at the same time, it's next to nothing. 00:40.46 Frank Not happening. So what you get is sometimes constructive interference and sometimes destructive interference. And it's really all over the place because the phases are are mismatched, so it could be either. Or if you're at a a harmonic of one or the other, so one's at 30 hertz, 60 hertz, 120 hertz, think powers of two, powers of 10. That's where the harmonics show up. 01:03.19 Frank Basically, they're just out of phase with each other. um And so you're going to get bright spots and dark spots, and people give it all sorts of names in engineering. It's just called aliasing. Whenever you're putting two two waves on top of each other, you get constructive and destructive interference. 01:20.95 James is ah with this Is this same principle applied to CRT monitors? Because in CRT monitor world, like you know if we CRTs, cathode ray tubes, 01:33.62 Frank Cathode ray tube. 01:33.66 James kath catoid rate ray tubes 01:35.55 Frank You nailed it. That's good enough, man. I mean, more than most people know. 01:38.90 James there was like consumer CRTs and also like pro CRTs, which also like handled them better. 01:44.41 Frank Yeah. 01:45.30 James But often you would see this in older news reporting or on TV or like home videos where you'd take a ah video and then you'd see this band. You couldn't even see anything that was on CRTs or i think even like early monitors as well. 01:53.44 Frank Yeah. 01:55.94 James Is this the same exact thing? 01:58.02 Frank Yes, it is. um But there's different things going on with a catheter ray tube. So ah CRT's TV was usually sent something like at 60 hertz, but interlaced. So it'd send the even scan lines and then the odd scan lines. 02:11.56 Frank And then on top of that, it's drawing from the top to the bottom with interlacing. So that's why you would get the moving interference pattern. 02:16.58 James Ah. 02:20.00 Frank Because if it's out of phase and you have something like a digital rolling shutter camera taking pictures of it, they're always going to be out of phase with each other. But that out of phaseness shifts over time too. And that's why you get the fun like band slowly scrolling through CRT. Basically, I mean, it's it's a fundamental problem in all electronics where digital didn't solve anything because you're still taking something at an instance in time and not doing something at another instance in time, thus setting up a frequency. thus requiring perfect phase matching. So to get rid of it, and you totally can do this, you just match the phases. 03:00.70 Frank So you can match your camera's capture phase to the TV's refresh phrase. So when the TV, the CRT is going back to the top scan line, you know not to take a picture and then you wait for the TV to get through a full set of scan lines, which is weird because it's interlaced, then you take a picture. 03:07.39 James Hmm. 03:20.02 Frank And so you could actually, with good electronics, synchronize your camera to the TV. And you do that with a wire. And that's what the professionals did. So it was possible, and it still is today, possible to synchronize all this stuff. 03:33.62 Frank But honestly, no one buys that equipment anymore. The other trick you can do is just minimize the a phase and out of phaseness. And I was mentioning that to you. 03:44.72 Frank You just do something that's not a harmonic of each other. So if you have 60 hertz you're recording at, ah flicker your LEDs at 97 hertz or something weird. 03:57.05 James Hmm. 03:57.62 Frank So the constructive and destructive interference are just... more random looking basically and therefore just the problem is it sets up a pattern and people are really good at noticing patterns so when you have the interference at the same rate all the time it just looks weird but if you like go high go slow and you can do that for leds or go super fast go to 250 hertz refresh rate you just wouldn't see it 04:03.11 James Hmm. That makes sense. 04:22.42 James That makes a lot of sense. You talked about something we're going to do almost like a crash course in 80s and 90s technology because it's just unknown anymore. 04:29.50 Frank ah 04:30.76 James So talk about CRTs, talk about scanlines. You also talked about something very fascinating, which is interlaced a monitors and and and and and and at TVs. 04:37.53 Frank h classic. 04:43.35 James Now, when I used to go look for a TV back in my day, there was this distinguishing factor. was like a lot of TVs were like 720, like early on. Well, most of them were 480. But... um 04:53.11 Frank It's actually higher. 04:53.69 James but 04:55.12 Frank It's more like 530, but yeah. 04:56.56 James 530. Yeah. Um, and the original TVs weren't, you know, so they weren't 16 by nine ratio. They were a four by three ratio as well. Or they weren't were they, I think they were four by three 05:05.62 Frank Yes, they they were. You're about broadcast TV. So the signal is broadcast at 4x3. 05:11.03 James broadcast. 05:11.67 Frank Something cool about CRTs that a lot of people don't think about, it's an analog system. You can drive that ray at all sorts of different ways. There's nothing saying that ray has to go across the screen, down a little bit, across the screen, down a little bit. 05:21.37 James Hmm. 05:26.42 Frank That's just convention. The broadcast signal is actually commanding the little ray gun. There's a little ray gun in there. Go pew, pew, pew. And it's telling it yeah it's telling it what to do, like move down, draw this image, move down. 05:34.42 James Doo doo doo. 05:40.74 Frank So you could actually broadcast. You could broadcast any aspect ratio. You could broadcast different densities. That's why I said it's closer to 530 than 480, because it was really what was the broadcaster doing. 05:54.53 Frank Now there are standards in broadcast. NTSC is a broadcast standard. PAL is a broadcast standard. So There's a difference between what the technology can do and what the standard says to do. 06:06.11 James That makes a lot of sense. and And interestingly enough, I do think that a lot of ah television, normal television, broadcast television drives a lot of like why we have TVs a certain size and the certain ratios they are. 06:18.94 James And as a reason why we don't have, you know, 22 by nine or 21 by nine, which would be like a, what a lot of, uh, um, um, film, film and movies do right. 06:27.11 Frank Movies. 06:29.85 James Um, different mm-hmm. 06:30.11 Frank Anamorphic. 06:32.53 James that's why my dad would always get upset. 06:32.62 Frank That's the lens. 06:35.50 James He would just buy this big, nice, you know, brand new TV. It's beautiful. 06:40.66 Frank Ah, yeah. 06:40.68 James And then you play back a Blu-ray, right? And those are physical things you'd put into thing and a playback. And then there'd be these bars on the top and bottom. 06:47.06 Frank Oh. 06:48.28 James He's like, I didn't pay to put these bars. And he'd be like, I'm going to zoom in. And there's like a fit. 06:52.25 Frank Yeah. 06:52.48 James You're like no, don't do that. What are you doing? Right. And then, you know, it's this whole thing. 06:54.43 Frank Well, To really age myself, i really wrote I remember when the HD standard came out and I was rolling my eyes back because they didn't adopt the film standard. The film standard is a lot more widescreen than... 07:07.15 James Mm-hmm. 07:07.40 Frank um whatever you want to call it 1080p or whatever the hd standard ended up being that aspect ratio 16 by 9 uh anamorphic is way wider than that and it wasn't four by three which is what computers are it was just this new made-up aspect ratio that was chosen for god knows what reason a bunch of standards people decided that's the new stupid aspect ratio and it was frustrating because you go out and buy this expensive TV and you still get the black bars. 07:35.84 Frank You still can't watch your anamorphic movie on a standard TV. 07:38.53 James Oh, yeah. 07:39.55 Frank Now, the dirty, the actual, something a lot people don't know, even anamorphic, even movie, they're all over the place. It could be two to one. It could be 2.1 to one. It could be 2.2 to one. It's all over the place. It really depends on the lens and the actual film stock that ah touch director of photography chose. 07:59.36 James Yeah, that director has a lot of power there, and that's why i actually like a lot of movies that are filmed with IMAX film, which is a very expensive film, but they're also shot in 16x9, so if you watch The Dark Knight, they are, yeah. 08:10.43 Frank Is that right? i didn't know that. 08:12.60 James So you... 08:13.55 Frank Okay, cool. 08:14.39 James if If you watch The Dark Knight, because it has to do something with the IMAX scale, like how they do the IMAX. 08:19.50 Frank m 08:19.93 James If you watch The Dark Knight, the IMAX scenes fill your TV, and then it goes back to the 21 by 9 or whatever that ah that he wanted. 08:25.75 Frank That's funny. Yeah. 08:29.02 James Yeah. 08:30.13 Frank Oh, I didn't know that, actually. um Yeah, IMAX is cool. like It's a physically larger film, too. So like talk about resolution. It's an analog world, but there's still resolution. There's a number of little silver particles that can jam onto a piece of film. And that actually dictates the resolution of film. So I know IMAX is a higher-density film, and it's a physically larger plate. 08:51.77 James Yeah. 08:52.75 Frank Yeah, it's pretty cool. IMAX is cool, but I guess there's a reason it's more expensive. 08:56.77 James It's very expensive, but it's very, very beautiful. That's why they're usually shorter movies because they're very, very expensive and they're usually nature documentaries because sucking in the natural surroundings with that high resolution that it can pull in gives you such a vibrant and if you're, if you're there, right. 09:02.23 Frank Mm-hmm. Mm-hmm. 09:12.11 James And you, you, uh, combine that with like Adobe Atmos or something like that. It's just like stunning. But I want to bring back to the interlaced because back in my day when I was buying TVs, there was a there was something you had to pick between. 09:23.12 James You had to pick between a standard set, which was 1080i compatible, or a little bit more expensive set, which was 1080p compatible. 09:32.48 Frank P-P-P. 09:32.73 James ah Progressive. Progressive scans versus interlaced scanning. So... 09:37.11 Frank I like how that's just become like a standard now and just what we call the vertical resolution. We just put a P at the end. like that There will be a future where absolutely no one knows what that P ever stood for. And it's just what we say for the vertical resolution of the image. 09:50.41 Frank I do it myself. 09:50.53 James That's 09:51.11 Frank I say like 820p. Because you're just trying to tell people that's the vertical resolution. 09:56.76 James that No, that is true. i mean Actually, like you know when you do 2K, 4K, all these other things, right like they've just gone that big because it's like two... it's I think that 2048 doesn't... 10:07.86 James i think that's what it is. doesn't like ring enough you know or whatever it is. are But people do say like when when people are talking about like video games a lot, they'll be like, oh, this that nine nine sixty pure this is at one or is another very 10:13.10 Frank Yeah. 10:21.30 James common common one as as well i mean my my monitor right now 10:21.65 Frank Yeah. 10:26.62 James I have the ability I'm doing, ah do weird, weird resolution. So my monitor is 3440 by 1440. So it's like a, don't know, the or it's the ultra wide. 10:37.00 Frank 1440, okay. A lot of monitors. I mean, nowadays, they're they're fewer, but 1440 became quite the standard there for a while. 10:44.44 James And it is a 12.5 to nine ratio. And then I'm currently running it though at a, uh, still 21.5. five to nine ratio, but I run it at a high DPI, which is 2048 by eight 58. 10:59.74 James For some reason that's because for some reason I like things big because I'm, I'm old and I need, I need to close captions for everything and I need everything to be big Frank, but can you describe also interlaced versus progressive? 11:01.70 Frank Yeah. 11:05.90 Frank Yeah. 11:10.02 James You described interlaced very good, but let's remind the folks one more time. Um, just for here. 11:13.39 Frank Yeah, sure. OK, so but let's start with the opposite. Let's let's start with a perfectly progressive system. 11:19.00 James Hmm. 11:20.75 Frank Film. Film is the perfect medium because what all you're doing is you're putting an image in front of a light source and you're blasting a lot of light through it so that it shows up on a wall far away. And naturally, physically, if you don't count the time it takes to actually move the slide down, you're getting a frame all at once. So your little eyeballs are registering an entire frame all at once. so that's progressive. Interlace is quite different. um You are drawing the even and odd scan lines at two totally different times. 11:56.81 Frank So on the first pass, you might draw the even scan line. So row 0, row 2, row 4, row 6. You do that. And you leave a gap. You actually leave the old image up there. And so if you've ever seen like a VCR that's out of tune or a bad Netflix rip of something, you can sometimes see scan line mismatches where you're getting a part of the old frame and a part of the new frame together. at The trick being when all that system is working right and you draw the odd scan lines and then you draw the even scan lines, the human brain is so mushy and so flexible and so good at just doing its own little interpolation algorithm that it's fine with just blurring all that together. 12:41.75 Frank The benefit being um you get to show frames a lot faster. So like I said, broadcast TV is actually 60 hertz. Now we record the video at 30 hertz because because it's coming in at a scan line, you're only getting half of the frame in 1 60th of a second, then the second half of the frame in 1 60th of a second. Therefore, it takes 1 30th of a second, 30 frames per second to get the whole frame. So you'll often hear like VHS and all that stuff is 30 frames per second. It's not 60 frames per second interlaced. 13:15.88 Frank 30 frames per second, progressive. Progressive just means it's going to wait until all the scan lines came up using a little thing we call memory. It's going to put that into a graphics memory region. And this ah this is a lot easier easier, obviously, with digital systems. 13:33.43 Frank I'm not even sure how to do it with an analog system. It's probably possible. Let's not talk about it. But you store the first half of the frame in memory, and then you blurt it all out in the second half of the frame. Thus, you are reducing it. You're reducing the frame rate to 30 hertz. 13:51.06 James that's cool yeah i think that uh it's fun growing up in this era because you know i progressed with video games as they went from think my original nes if i remember had it hooked up to a old crt monitor but it didn't have any like red white inputs at all on it. 14:15.46 Frank Okay, yeah. 14:15.76 James It only had an ah RF input. So ah RF for like antenna. 14:18.54 Frank Sweet. 14:19.36 James So I actually got a um, it's like an adapter. That's an ah RF adapter that converts one signal to an RF signal to go into the TV. And it's like a little prongs. That's my earliest memory of doing that. 14:29.35 Frank Yeah. 14:30.93 James Um, in general, uh, I assume it's radio frequencies for ah RF. Is that correct? 14:35.20 Frank Yeah. 14:35.65 James Yeah. 14:35.79 Frank And most specifically, it's broadcast frequencies. So that little device is just pretending to be the airwaves out there. 14:39.94 James Uh, 14:43.85 Frank it's It's literally pretending to be an antenna and broadcast TV. And I want to be clear, when I'm saying broadcast, I mean literally like they are blurting this stuff out into the ether. And all you got to do is stick up a metal rod and you can get TV. 14:53.53 James Yeah. 14:56.66 Frank Yeah. Who knows if that'll exist in the future. But so that little device was it was it's it's kind of backwards, right? Because it's coming out of an Atari, which is a perfect, perfect little digital signal. 15:11.25 Frank All it wants to do is control a monitor, but it can't. So it actually has to encode it. um It's almost a modem. It's basically a modem. encode it into a broadcast packaging where color channel separated from the brightness channel. They can multiplex some audio onto that too. 15:31.38 Frank And then it's sent at the standards NTSC or PAL. And then the TV receives it. It has to decode it then to drive the little ray guy and to drive the speakers and to present an image to the person. So that little ah RF box was basically a modem, but for video stuff and not for raw data communications. 15:55.48 James Yeah. And they had it. So I'm pretty sure like the little prongs that you'd be basically do like TV antennas, but they also had like ones, the most common one would be like a co-actual that comes out, which has been around with us forever, by the way, the little coax cable is doing its own thing. 16:09.43 Frank And the reason for that is Cable decided to mimic the broadcast encoding also. So there really wasn't much of a difference between Cable and broadcast, or then you are physically using a Cable instead of yanking it out of the atmosphere. um I'm pretty sure, at least for quite a while, Cable just used standard broadcast encoding. 16:33.79 James Yeah, that's so super fascinating. And because, yeah, just like going through this era, like I just figured it out not knowing exactly what it was doing, but now reflecting back, like it's crazy to think like that little tiny like gray box. 16:40.77 Frank I love 16:46.44 Frank him. 16:46.68 James was doing like pure magic and like the magic, like it was magic to me, but I didn't realize it was magic. 16:50.16 Frank Yeah. 16:51.52 James So i'm like, oh, this is just a plug. I plug in. Right. But actually like the complexity of the situation is like really advanced. 16:54.00 Frank Yeah. 16:58.70 James It's really doing cool technology that like we don't need anymore. Well, maybe we need for some things, but if you're plugging in old stuff, but it's crazy to even think that you can't even really get a CRT monitor anymore to even try this stuff. 17:01.89 Frank Yeah. 17:05.75 Frank Do you remember? 17:08.74 James You know what i mean So hard. 17:09.56 Frank But it's fun. 17:09.62 James Yeah. 17:10.72 Frank It's fun. i want to get that back to that, but I have to ask the standard question. Were you channel two, channel three, or channel four person? Because you could choose that on that little but 17:16.90 James What was channel two? 17:18.71 Frank Oh, you're weirdo. 17:18.78 James Two. 17:19.60 Frank oh Always three. Three for life. 17:21.62 James Right in the middle. Yeah. 17:22.90 Frank ah 17:23.58 James Uh, I was channeled. I was channeled too. remember one of them having yeah toggles on as well. as like crazy. and And it's really cool too, because you know I went through the era of, and I'm sure you did, which is like, Hey, we have this ah RF adapter. 17:35.58 James Okay. Now we have coaxial cables. Now we have component cables, right? And then we have HDMI cables. Now we have these like super high speed, but that's even just for just the video and obviously the audio as well. 17:45.90 James But then there's also optical cables. We're literally shooting like light. 17:48.73 Frank Yeah. 17:51.45 James through a cable. 17:51.70 Frank To make a light. 17:53.11 James What's that? 17:54.43 Frank We're shooting light to make light. It's it's really weird. 17:57.66 James Exactly. And then to make sound, you know, because coaxial, you know, for the for the optical, it's like, boom. 18:01.05 Frank Yeah. Yeah. 18:03.48 James It's like wild that this stuff comes together. 18:07.81 Frank I want to go back to CRTs, though, because I think there there there was always going to be a use for these puppies because in so many ways they are so simple and fun. 18:09.53 James Hmm. 18:17.37 Frank um Because anyone who's got into electronics a little bit, you learn how to actually control a CRT yourself. So there's a little magnetic coupler, little electromagnet on the side that handles the lefty righty. There's a little electromagnet on the top that handles the upy downy. And when you learn how to control the lefty righty upy downy, you realize all you're doing is moving this array electron beam ray beam. It's a catho cathode cathode. Cathode just means it's the direction of travel of the electrons ray, meaning we're shooting array of electrons tube because the whole thing needs to be in a vacuum so that it basically doesn't catch fire and burn your house down. 19:00.53 Frank Don't break that tube, OK? It's a cathode ray tube. um Electrical engineers learn how to control those two electromagnets, and then you can start doing something called vector graphics. Instead of doing everything by the scan line, let's say you want to draw a triangle. triangle You can start at one at our vertex, move the ray continuously to the next vertex, move the ray to the next vertex, move the ray to the next vertex. 19:24.73 James Yeah. Yeah. 19:26.46 Frank And in that case, going back to the beginning of this, you get no aliasing because we are not going scan line by scan line by scan line, anything like that. We're not doing frames per second anymore. 19:37.40 Frank We are drawing a perfect, perfect little triangle on that screen. And electrical engineers learn how to do this because that's how oscilloscopes work. And electrical engineers learn how to control their oscilloscope. And that's how actually the first video games were made. They were drawing the graphics directly, vctor proper vector graphics. 19:58.87 Frank And sorry, um I could talk about this stuff forever. The neat thing about, and if you go look at um old Soviet... 20:03.58 James Like asteroid. Look at asteroid. 20:05.69 Frank Yeah, exactly. Asteroid Space War. ah The Soviets did this beautifully with their arcade machines. A lot of their old arcade games were actually vector graphics. A few in the US also, but at some point we switched over to Scanline and broadcast kind of stuff using these ah RF adapters. 20:14.98 James Hmm. 20:22.08 Frank But super cool old Soviet stuff used to do all the vector. And they're gorgeous. Absolutely ah beautiful to look at. 20:28.24 James Oh, yeah. 20:30.09 Frank The original Star Wars game. If you've never seen an actual video game done in vector graphics on a CRT, you are missing out. 20:38.23 James Yeah. 20:38.32 Frank You got to find one. 20:39.19 James And was it TIE Fighter? I think it was 3D vector graphics, if I'm correct, right? the Like the original, original one? 20:46.26 Frank ah Yeah, but no, that's, you know, it was just called Star Wars, as far as I know, and it was a Death Star trench run. 20:47.19 James Was that what was that the original one 20:51.32 James Maybe it was just Star Wars. 20:53.45 Frank i think maybe you got to shoot down some TIE Fighters initially, but the trench run was the big coup de grace in that game. 20:59.12 James Yeah. 21:00.60 Frank um TIE Fighter, the video game, was a full, that was a 3D engine scanline based on a real digital monitor. You have to look up 21:07.79 James I might be thinking of my Star Wars. Yeah. 21:10.26 Frank Yeah, the original Star Wars game. But look up one called Space Wars. It's usually regarded as the very first video game. And you'll see if you can find good screenshots of it. 21:19.63 James Yes. 21:22.12 Frank They don't even do it justice. Like, you need to see one running someday. 21:25.43 James Yeah. Well, and that's why like, you know, we used to be able to go down to the Living Computer Museum in Seattle, which doesn't exist anymore, unfortunately. 21:30.87 Frank h 21:32.35 James And they had some of that old tech there. 21:33.09 Frank I didn't know that. 21:33.82 James And I'm sorry. 21:33.95 Frank You're breaking my heart, James. Right now, you're breaking my heart. 21:35.53 James oh 21:36.23 Frank That was a great museum. 21:36.70 James Well, Well, you know, RIP Paul Allen, but one of his things that he did want to do when he passed was like kind of give back and do all this stuff. But I do think it's like a, definitely a shame when it closed under in the pandemic. 21:48.00 James It was one of the coolest museums ever where they had like old supercomputer. 21:49.10 Frank Okay. Yeah. 21:52.30 James We talked about it in the podcast. We've talked about it on this podcast and 500 episodes. 21:55.60 Frank I love it. 21:55.90 James We've definitely done. 21:56.54 Frank They had an old Cray. 21:56.70 James You could actually that a Cray, you could teletype in, you could teletype remotely through their, well, you got like log in, like through the computer, like you'd spend on their supercomputer. 21:58.84 Frank They had a PDP-11. Oh. Sweet. ah 22:06.82 James Anyways, Super cool, been there many times. um Absolutely. I mean, you should just pay people to like keep these things running, which is like hard. 22:16.78 Frank Yeah. 22:17.30 James Yeah. Old tech. 22:17.85 Frank And some of the old engineers, the best part of going to hang out, sorry, we're just reminiscing, but it was fun to go back into that old computer room and just talk to the old engineers working on it and just, yeah, just talking about old tech, talking about old tech forever. 22:32.44 James ah attack Talking about old tech. I like that. um That's what we do here. 22:35.58 Frank Yeah. 22:36.96 James Well, ah I find this all very fascinating because um I've just kind of, you know, been reliving some of that retro stuff over the last few years. 22:46.65 Frank Yeah. 22:47.00 James We've talked about with different retro video games. I think about, you know, have a little game and watch. I was just at the Nintendo Museum in Japan and just reliving some of that early stuff. It's like so cool to kind of go back on. and i think that I feel really humbled to live through this era of TVs and games and some of this technology that's obviously standardized now. We have like these huge crazy TVs everywhere and it just kind of is what it is and he's super confused in our pocket. But we have to live through this generational, multi-generational shift, right? You think about like the NES coming out the you know, before I was born. 23:27.29 James Yeah, right, right around when I was born. And, um, Living up to those eras is like, it's it's so cool to kind of see that technology change. And we get to see cell phones change too. 23:37.56 James We lived through that era. I think it's, I mean, now we're living through a new era that's hyper accelerated. I think what's fascinating to bring it back to AI is like, we're in this very fascinating, you know, hyper, but I think there's like, it's cool to remember some of this stuff. 23:45.59 Frank Oh, no. 23:53.40 James Cause I was just watching digital foundry shots of digital foundry. And they were talking about somebody this year, they put it in their top 10. The reason why this came to topic, it was a master system, which is like pre Genesis, um, Sega, they released like a new game this year, uh, for someone did. 24:09.18 Frank crazy love it love it 24:09.29 James And it's just like absolutely stunning and beautiful runs at super high frameworks and doing crazy Sprite stuff. And just, I think you just obviously run on your computer, but like, I think they like actually made the cartridge you could put into original master system. 24:21.24 James Cause you can do that. 24:21.50 Frank totally doable totally doable yeah i know it's like 24:22.62 James And it's like, It's wonderful. and they're like, it's all looks beautiful. But if you run on a CRT, even more beautiful. You know what i mean? like you you have you Like you were saying, can experience it, right? 24:33.50 Frank Yeah, and and it's funny because um i recently got into a little bit of emulation myself, and i knew in the back of my head that people had been doing a bunch of pixel shaders to try to emulate old CRT systems. 24:45.51 James Yes. 24:47.82 Frank um 24:48.22 James Yep. 24:49.05 Frank I have to say, was a little I was so excited for it. I'm like, because I know what those looked like. you know i I might even have a CRT left around because I love them. um I definitely have an old oscilloscope. 25:00.66 Frank And I was so excited for it. I have to tell you, James, I was a little bit disappointed. i don't think any of the pixel shaders I had that came with the emulator that I was using did it justice. There's like a bloom that happens. 25:12.22 Frank There's a misalignment that happens. 25:12.47 James yeah 25:13.82 Frank And I think they were all kind of missing it. What they were doing was exaggerating the interlacing, which... I felt was very cruddy because the whole point is if you're emulating a CRT correctly, the interlacing should not be that profound. 25:28.72 Frank It should all blurry blur together because what happens is the ray comes by, it hits that phosphorus screen in the front, it glows when those electrons hit it, and then that glow falls off. 25:29.11 James yeah 25:40.45 James Yeah. Yeah. 25:42.49 Frank But it takes time for that glow to fall off. 25:43.02 James Yeah. yeah 25:44.69 Frank And so there's an after image on those alternating lines that are being drawn. And that's what the pixel shaders are trying to do, but i just they're they're not nailing it. 25:56.43 Frank They're not nailing it because there's there's bleed. If the ray is slightly misaligned, it might be hitting one of the other scan lines. Or what it really is, there's a lensing effect. Like toward the top, it hits more scan lines. 26:08.09 Frank At the bottom, it and hits more scan lines. Usually the horizontal is fine. um And then there's the after image that has to be represented. The after image is different, whether it's hitting the red, the green, or the blue part of that phosphorus tube. 26:22.31 Frank And so I would love for anyone listening who's super into emulation, let me know what what are the best best pixel shaders out there? What's the best CRT emulator that you've seen out there? 26:33.11 James Yeah. 26:33.45 Frank Because Although I love this stuff, i I stop myself every day from writing my own CRT pixel shader, but oh god, what in these times it's going to happen? I'm just going to have to sit down and write like a physics simulator of a ray beam hitting a phosphorus screen. 26:47.54 James That'd be cool. I, my favorite part was you're describing the turn on experience. Also the turn off experience is the same, but in reverse, right? You get like this. You know, and it's like you you see this very, you know, an iconic scene where like the the thing turns right and then I kind of it slowly like it's like the life is very slowly being drained from it. 27:03.29 Frank Yeah. 27:07.24 James It's just got this aura. 27:07.45 Frank oh 27:08.32 James It's almost got a hue to it. Yeah. 27:11.13 Frank Yeah. 27:11.67 James so 27:12.14 Frank Hmm. 27:12.31 James um 27:12.89 Frank Okay. 27:13.78 James yeah 27:14.14 Frank Well, I reckon so you were saying CRTs are dying and you're probably right. You're probably right. If you go out and buy digital oscilloscope right now, it's going to come with an LCD screen. But if you go to junkyards, if you go to garage sales and you happen across a little CRT, I don't recommend getting a big one because they get big and heavy and ugly and terrible. 27:32.02 Frank But if you find a little black and white TV or a little color screen, just pick it up and put something fun on it. You know, like pipe pipe your HDMI cable through 30 different dongles until you get to a yellow composite cable and then jam that in. 27:39.37 James Yeah. 27:47.10 Frank Or if you want the real terrible stuff, go through the ah RF modulator. And encode that puppy to broadcast, decode it back from broadcast on that TV, because that introduces its own artifacts, its own bleeding and its own stuff. 27:59.87 Frank So like, not only do you need the CRT pixel shader, you need the ah RF modulation in there to really distort and the whole image to look as beautiful as it did in the 80s. 28:11.18 James I totally agree. All right. Well, that's going to call it for this one. James and Frank, look at old technology. Well, catch us next week. Next week will be our last podcast of the year, 2025, because this will come out with one before Christmas. that will come out the one before the New Year's. So catch us for our 2025 year in review. We'll we'll break down our... 28:33.27 James Biggest wins, biggest lose losers, biggest in-between mids, whatever they are. We'll see what they are. I don't probably just be fun stuff. And we may even talk a little bit about holiday hacks, but I've shipped so much code. 28:43.96 James i don't know if I need a holiday hack anymore. i Actually, maybe I need to put the trim Trimly app. 28:47.10 Frank You're all hacked out. 28:48.47 James The Trimly app is going up to the app store, people. 28:51.22 Frank wo Track your weight. 28:51.70 James My goal is get it. Track your weight. It's ready. I've i've mostly been... 28:56.12 Frank New icon. 28:57.80 James Ooh, great progress. 10 entries long. i' just got an award. Nice. um I've mostly been figuring out, this is the last thing here. we got a little award. lot of user feedback from one person, Scott Hanselman. 29:08.95 James Mostly been figuring out notifications. 29:09.23 Frank Nice. 29:13.37 James Um, so the, I want to do daily reminders. So there's a little holiday hack. I've been mostly figuring out the default that they implemented them. Copilot implemented was just using the repeatable. So you set it, it repeats it. Good to go. 29:30.07 James Problem is that if you log your wait for the day and you have an eight o'clock and you have reminder for nine you like for it to not set it. 29:30.69 Frank Mmm. Mmm. 29:37.02 James In that case, you can't reuse repeatable because you can't just like cancel the one in for today. You got do it later. um So I've been using Opus to try to figure out the best mechanism to track this out. And it is mostly like saying like, let's schedule the next two weeks of notifications. 29:52.28 James And then if they, if they cancel it or if they and add their weight, then cancel all of them, add one that starts the next day and then go from there. So it's kind of what I've added it to do, but it's a little, and then ideally what I would do is like the last one would be like, don't forget like last reminder. 30:03.29 Frank Interesting. 30:09.86 James You know what I mean? Like, would that be ideal? 30:10.62 Frank Yeah. 30:11.38 James But that's the only thing i can think Yeah. 30:12.42 Frank There's an alternative way, but yeah, okay. 30:14.17 James yeah But anyways, that's been my one struggle, but I think it's pretty close and you know, things like that. 30:19.21 Frank Cool. 30:19.62 James We'll see, but all those Swift data, all the stuff seems to be working. So I'm excited about it. So, uh, it'd be nice to get it up on the apps. so I got new i icons, everything like that. So we'll give a final update and see if we do it by the new years, but that is going to do it for this week's merge complex. 30:27.67 Frank Yeah. 30:33.73 James So until next time I'm James Montemagno. 30:36.60 Frank And I'm Frank Kruger. Thanks for watching and listening. 30:39.96 James Peace.