The Jack Benny program, transcribed and presented by Lucky Strike. The cigarette that's toasted to taste better. If you want better taste from your cigarette, Lucky Strike is the brand to get. It's toasted to give you the best taste. Yeah, it's the toasted cigarette. This is Don Wilson. I'd like you to listen to just the last part of that song once again. It's the toasted cigarette. That's one important reason the Lucky tastes better. It's toasted. The fine tobacco that goes into every Lucky is toasted to taste better. It's toasted. The famous Lucky Strike process brings Lucky's fine tobacco to its peak of flavor, tones up this light, mild and naturally good tasting tobacco to make it taste even better, cleaner, fresher, smoother. That's why we say this. If you want real enjoyment from your cigarette, make it Lucky Strike. If you want better taste from your cigarette, Lucky Strike is the brand to get. It's toasted to give you the best taste. Yeah, it's the toasted cigarette. The Lucky Strike program starring Jack Benny with Mary Livingston Rochester, Dennis Day, Bob Crosby and yours truly, Don Wilson. Ladies and gentlemen, tonight Jack Benny does his television show, but meanwhile we have a radio program to do.  It's early in the morning and right now he's in the midst of his walk. Oh, what a beautiful morning.  Ah, gee, it's nice walking this early in the morning. Nobody is up. Everything is so quiet and peaceful. Oh, he isn't that cute. That sparrow must be building a nest. He's gathering things for it.  Wait, he's not building a nest. He's wiping his eyes. The smog is awful today. It really is bad. How about it feels good going out so early? Everything is so pretty. I like living in Beverly Hills. Gosh, look at that. I haven't seen a horse and wagon for years. I'll never forget the first time I was driving my Maxwell and we passed a horse and wagon and my car scared the horse. Come to think of it, it scared the wagon too. The driver looks kind of familiar. I know that face. Sure, it's my farmer friend from Calabasas. How are you doing here at Beverly Hills? I'm on my way back home. Oh, what'd you come to town for? Yesterday I went down to the radio studio to appear on a new quiz program. Take your door milk at it. I've been on radio. A couple of months ago, my wife told me she'd like a Bendix on the farm, so I won one and brought it home with me. I bet that made her happy. No, I brought home the wrong Bendix. She wanted William. By the way, I meant to ask you something. I've never been in Calabasas. Pretty small place, isn't it? There's a special Burmer Shave sign for the town. What does it say? If you sneeze or blink or remove your glasses, you'll miss the town of Calabasas. Well, I better run along now. See you again. Yes, I'll always call me Rube. I better get home. Oh, what a beautiful morning. What whose house this is on the corner? Oh, it's Jane Russell's. She has such a high fence around her because she takes a sun bath every day. If I had the wings of an angel. There's Phil Harris's house. Yes, a nice weather vane. He put up on his chimney. An old crow. Why didn't he use a bird instead of a bottle? Well, I'd better walk a little faster. I'm getting hungry. I said that was really a good breakfast. I'm glad you enjoyed it, Mr. Billings. I sure did. Well, if you're done eating, maybe you ought to check this list with me. I'm going shopping. What do we need from the market? Ham, goods, meat, vegetables, everything. Let me see the list. One loaf of bread, five pounds of sugar. A bottle of ketchup, a box of corn flakes. Five pounds of flour, three boxes of jello. Jello? Yes, all these years we finally ran out. Hey, wait a minute. If you came over about the commercial, where are the sportsmen? I've asked them to wait out in the car, Jack. I want to speak to you about a personal matter first. Oh, what is it? Well, Jack, I don't like to trouble you with this, but I still haven't received my salary check for last week's show. Oh, gee, well, did you talk to my business manager? No, no, I couldn't. They're having a riot up there in the warden, cut off all communication. Well, maybe I can lend you some money till things settle down on the rock. Now bring the quartet in and let me hear the commercial. Jack, won't you come out to the car? They're all packed up. They're going away. It'll save a lot of trouble. Are they leaving for some place? Yeah. Well, all right. Wait a minute, Jack. Jack, what's that? Oh, next door, the Coleman's electric fence. Every time I come out of the house, it goes on. Hey, hiya, fellas. Boys, how about letting Jack hear your commercial? Yeah. Oh, we ain't got a barrel of money. Maybe we're ragged and funny, but we'll travel along singing a song. Strikes taste better. Fair lucky strikes are so much smoother. Your finest smoke, it is true. But then when you do it on the show, maybe you can get a little more bounce into it. And then that way... Jack, that's your phone ringing. Oh, my goodness, and Rochester isn't home. Excuse me, Don. I better run in the house and answer it. So long, fellas. Television program, you're watching now. Sorry, but I'm not watching television right now. Oh, I see. Well, did you look at television last night? Yes. Yes, I did. Would you mind telling me what programs you watched? Let's see. Robert Montgomery and Burns and Allen. Would you mind telling me all about them? I don't have a set. Gracie wanted... Oh, goodbye! I heard of that guy calling up and asked me to tell him about television shows. I get the craziest phone calls. If I didn't have such a good laundry business, I'd get an unlisted number. Maybe I ought to have my name taken out of the phone book anyway. Or at least out of the yellow pages. I wonder if everybody... Hello? Hello, Mr. Benny. How are you feeling? Fine, fine. It's a nice day today, isn't it? It sure is. If it's a nice day tomorrow, will you come and visit me? Visit you? Where are you? In jail. Now, Dennis, when you do your song next Sunday... Mr. Benny, aren't you excited or anything? I may be here for 20 years. Good, good. Now, Dennis, when you do your... Gee, aren't you worried?  You make up the silliest, most absurd things I've ever heard. And I'd be a fool if I thought for one minute... I gotta hang up now. We're going to lunch. Wait a minute, Dennis. Those marching feet. Dennis, you mean you're really in jail? No, Mr. Benny, I was only kidding. I'm at the studio. You see, we're making a television picture about a prison riot and I'm playing the part of an escaping convict. Dennis, what's happening? Dress rehearsal. Oh, well, then I better hang up. Goodbye. Goodbye. That must be some picture he's making. Well, I got a lot of time on my hands today. I don't know what to do. Maybe I'll go out to my golf course and, eh, I already did a lot of walking this morning. I'm a little too tired to carry all those clubs. No matter how much they tip me. Can't practice my violin. It's broken. It's too early to go to bed. I think I'll go to my library and read a book. There are a lot of books here. Most of them have been bestsellers, too. Not as a stranger, as a cane mutiny. Here's one. I looked and I listened by Ben Gross. Treadmill to Oblivion by Fred Allen. This sure is a funny book. You know what the strange thing? On account of that feud we had, so many people think that Fred Allen hates and despises me. Unfortunately, Fred happens to be one of those people. You hear some books I've saved from the time I was a kid. The Adventures of Huckleberry Finn. Tom Swift and his electric rifle. Oh, here's one that was given to me by my father. What every boy should know. I remember Papa gave it to me because he was too embarrassed to tell me about the birds and the bees. The bees go around getting honey out of the flowers. What's so embarrassing about that? Maybe I should have read the second chapter. Say, here's a book I haven't read. The Mystery of the Elephant's Graveyard. That sounds like an exciting book. I'll sit down and read this one. The Mystery of the Elephant's Graveyard. Chapter one. I decided to locate the Elephant's Graveyard. I was warned of the many dangers lurking in the heart of darkest Africa. So I took precautions. For the fierce animals, I had a powerful rifle. For the dreaded disease of malaria, I had a huge supply of quinine. And for the fierce natives who shrink human heads, I had my head sand-for-eyes. For our journey, we were hacking our way through dense when suddenly the native porter stopped and started a discontented murmur. He turned to my partner and said, What's wrong with the natives, Wilson? I don't know. I'll ask him. Uga-muga-nagila-wana-nula-angara? Nuga-nuga-mala-milala-hananawal. He says the men refuse to go any further. They're hungry. For 15 days, they've had no food or drinks. It was their own fault. I told them to join the diners' club. That's my farthest of the elephant's graveyard. Nawila-muga-lacuta-miwa-buga-bugo-narwa. Magua. He says it's a three-day journey if you go by the mountain route, but if you take the shortcut to the river, it's only two days, providing you don't run into the unfriendly pygmy tribes or crocodiles. Magua means all that? Yes, magua. Isn't there a bunabuna with it? Yes, magua. Uga-puna-lacuta-o-ga-nagalaba-wana-angara-buga-mawa-chichi-unga-makola-nula. If that means yes, I'll punch them right in the nose. He said, give me some Kleenex. This smog is killing me. He used to be a sparrow. The ladies are restless. We better get them some food and quickly, too. Okay, come on. Let's go hunt something. Come on, follow me. This looks like a good place to hunt. Careful now. This is undergrowth. Look out for those thorns. They're very long. Yeah. Ouch! Did you tear your shirt? I would have if I had a shirt on. Anyway, I don't mind. Why in the world would you take your shirt off going through this dense underbrush? Shirts cost money. Skin I can grow. Two glorious weeks in Africa. The water buffalo. He said, last you found me. Fortunately? I'm so glad. After all these days of traveling through this horrible jungle, hiding from the animals, avoiding the natives, fighting off all the dangers, now you've found me and I'm safe. Don't be too sure. Now tell me, what are you doing here in the jungle? I came to Africa on a scientific expedition with Professor Ludwig von Kraus. But his lust for power got the better of him. He has set himself up as king of a native tribe. He wanted me to be his queen, but I escaped. Nagoola Hillamawa. What's that? Major, we look for you many moons. We bring you this message. Wait a minute. I'm in the uncharted jungles of Africa. How did you ever find me? We find them your address in yellow pages. What's the message say? It's from the British Home Office in Equatorial Africa. It said, beware Professor Ludwig von Kraus. He's preparing to take over all of Africa. To the presence of the cruel, ambitious professor, he looked at us and said, I'm the king of Brazil, the inventor of atomic energy. And just this morning, I have made the great... What's that? The shame of the girl I will keep, but the rest of you I'm going to throw to the crocodile. Don't keep me. That would be a fate worse than death. Throw me to the crocodiles, too. Who is that? The crocodile. He'll be here for our line and sit on this throne here beside me. Wait a minute. Why do you want to kill all the men and just keep her? You better go home and read the second chapter. I don't make a move. I've got you covered with this gun. Look out. I didn't go through my heart. The doctors would be fatal to removal. So for all these years, this doesn't bother me normally. Everyone guesses... A fellow needs a friend. He needs a helping hand. And the hands of the big brothers have helped thousands of growing boys to find the way to a useful life. Since the first big brother movement was formed in 1904, to the many thousands of men who daily volunteer to help, I say congratulations for a job well done. If you are interested in being a big brother to some needy boy, write Big Brothers of America, Philadelphia 3, Pennsylvania. Thank you. Jack will be back in just a minute to tell you about his television program, which goes on at 7 p.m. tonight over the CBS television network. But first, the sweetheart of Lucky Strike, Miss Dorothy Collins. If you want better taste from your cigarette, Lucky Strike is the brand to get. It's toasted to give you the best taste, yet it's the toasted. Cigarette, they take fine. Tobacco, it's light. Tobacco, it's mild. Tobacco too. And it's toasted, yet it's toasted. Because the toasting brings the flavor right through. So to get better taste from your cigarette, Lucky Strike is the brand to get. It's toasted to give you the best taste, yet it's the toasted. Cigarette. Friends, your enjoyment of a cigarette is just as simple as that. If you want better taste from your cigarette, Lucky Strike is the brand to get. It's toasted to taste better. Naturally, Lucky's better taste begins just where you'd expect it to begin with fine tobacco. L-S-M-F-T, Lucky Strike means fine tobacco. And then that tobacco is toasted. It's toasted. The famous Lucky Strike process tones up Lucky's naturally good tasting tobacco to make it taste even better. Cleaner, fresher, smoother. So next time, get better taste. Get Lucky Strike. If you want better taste from your cigarette, Lucky Strike is the brand to get. It's toasted to give you the best taste, yet it's the toasted. Cigarette. What are you doing, Jack? Oh, I'm calling my writers. What do you want them for? I have to do my television show tonight, and I can't live my way out of Africa. What? Angara Nuku. That means he'll see you on television, folks. Don't forget to watch it. Yeah. The show tonight was written by Milt Josephsburg, John Tackaberry, Al Goldman, Al Gordon, and produced and transcribed by Hilliard Marks. Filter smokers, true tobacco taste, real filtration, famous Tarleton quality. They're all yours when you smoke Filter Tip Tarleton. Filter Tip Tarleton gives you all the full, rich taste of Tarleton's quality tobacco and real filtration, too. Because Filter Tip Tarleton incorporates activated charcoal, renowned for its unusual powers of selective filtration. Look for the red, white, and blue stripes on the package. They identify Filter Tip Tarleton, the best in filtered smoking. The Jack Benny program is brought to you by the American Tobacco Company, America's leading manufacturer of cigarettes.


Hey, everybody. It's Jay. I am back. My name is Jay Gordon. I am here today to continue on what I was discussing in my last stream, which is Azure Container Apps. But this time around, what we're going to be doing is configuring CICD deployments using an Azure Container Registry, bringing it all together, being able to do push to main deployments, if you will. We'll look at how we have revisions and we'll deploy our application. It's going to just take a little bit, I think under a half hour to do all this. So thank you for giving me some of your time. If you'd like to follow along with today's demo, there is the repository that I'll be working with. It's a really, really simple application. I basically just wanted to give us something that you could just use to quickly get started with. It's a hello world. It's nothing very special. As you can see, it's just a simple hello world that gives us a message on Port 880. Cool? All right. If you have any questions along the way, there is the chat. Feel free to put your questions in there. More than anything, I want to show you a great automated process of getting your infrastructure built for a container app. Container apps are great for microservices. You can put small applications on it. You can put large distributed applications. Today, we just want to work with something real simple and get it built. So let's quickly go over some of the things that we're going to be talking about what we're doing here.  They're also in the notes. So you can go check out the notes if you'd like to get all of this information as well. So we're going to create a resource group because we need a place to keep our resources that we're going to create for Azure. We're going to create an Azure Container Registry. We're going to create a service principal ID, so it creates some credentials, so that we can actually do a deployment from GitHub because things are going to run from GitHub actions in our CI CD process. We're going to build our container from this repository that we've got online. We're going to configure the Azure Container App Service, and then after that, we're going to go into the portal. We're going to set up CI CD to build on a push we may do to the GitHub repository so we make some changes, and then we can actually review and update revisions that are within this service. So I think we'll just jump into it. So one of the things that I'm going to be doing is I'm going to be working in Cloud Shell, and I've already, as you can see here, I've already downloaded the repository, and if you, let's just do a quick cat of app.js. If you see here, it's just pretty basic. It's starting an Express server, it's sending hello world, and then let's look at the Dockerfile, okay, so we'll just cat back our file. And you can see it's an old version of Node. It's creating a work directory, it's copying the package.json, it's doing a run of npm install, it's copying it, then it's exposing port 8080, which app service will then call and send over to port 443 with a fully qualified domain name. All right, so we talked about our steps, our first step is to create a resource group. And creating a resource group really, it's real quick, it's real simple, using Azure CLI, you can do it in the portal. But I'm going to just show you quickly how to do it right here. So az group create, then we're going to give our group a name, and I'm going to call it jagored demo, cool. And then location, I am going to go with Canada central. And the reason I'm going to be going with Canada central is that Azure App Service is in preview, and because it's in preview, it's only available in certain locations. You don't have to have your resource group in the same location as this preview, but I just doing it for some consistency. You could set these as variables if you wanted to, but I'm just going to do it like this because we're demoing it today. So you can see I've gone ahead, I've created my resource group. It is in my account under my main subscription because you can see here, here's the subscription ID, here's the resource group, jagored demo, location, Canada central. I haven't set up any tags or anything special, just created it. So the next thing we're going to want to do is we want to create a private container registry using the Azure CLI. And this is another thing where, create the resource group and then create the container registry. Another way where we could do this if we wanted to in the portal, but I am going to do this quickly within Azure CLI. So az, acr, because we're going to invoke the acr command, create, because we want to create a registry. We'll give it a name, and I'm just going to call it the same, jagored. And then we're going to give it the resource group that it's going to live in. And that will be of the same name, jagored demo. And remember that acr, it should be something unique. It needs to be a unique URL, or I should say domain name. So make sure you pick something unique. That's why I just use jagored demo. Okay, so let's keep going along. We need to set the SKU, the SKU specifies what the complexity, how if you want, or I should say the complexity of scaling this Azure container registry, which is just a private Docker registry hosted on Azure. And so if we go to SKU, I'm going to just use standard. There is a premium one, and that allows you to do things like managing your own keys for your Azure container registry. But we're going to just enable admin, which is going to just create a managed by this service, username and password, excuse me. It's always, we get typos when people are watching you, right? Like I mentioned before, if you have any questions, please put them in the chat. I'd love to hear from you. Also, if you want to get in touch with me on Twitter, at Jay Destra. So let's create this, okay? Oh, so it looks like I need to fix SKU, no problem. All right, so this normally will take a few minutes, we'll go through Azure Resource Manager, we'll tell it, we want to create this registry. It'll create it with this admin service and look, it's up and ready for me to use. What we can do is see here, we get the RJ sign back, we see our admin enable user is true, the location of our registry, which is in my subscription, the location it's in, which is Canada Central, the name, network bypass rules. And so let's go ahead, there's my resource group. Within my resource group, here's my container registry. So you can see it's been created, it's got its login server. We have our access keys here, if we need to use them for some reason, luckily I have them blocked, sorry you can't see them, but it is what it is. There's a bunch of different ways that you can use ACR efficiently. And one of those ways is to be able to do automated builds when you push something through, you push it to your main repository in GitHub, you can have it do it automatically, build and save it into your container registry that built image, we're gonna go through that process now. So let's take a look at our next step. We created our ACR, so we've got create resource group done, we've got create ACR, we need to create a service principle ID for our deployments. So this are gonna be some credentials that we need in order to be able to configure between GitHub and Azure so that we can actually run our deployment. And what I am going to do is create a service principle. And so, creating that service principle is AZ-ADSP, so Azure AD service principle is the commands we're gonna be invoking. Then we're gonna say create or our back role-based authentication that's gonna be able to give us our username and password we need. We can give this service principle a name just for identification purposes. And in this case, we'll just call it demo app GAGourd01 and then the role is contributor. And then we hit enter. And what it's gonna do now is it's gonna create this new role-based authentication under a scope of my subscription. Don't worry by the time you get to see this and use it, it'll already be expired. But what we get here are some important credentials that we're going to need. So I'm just gonna take these copy and I'm going to stuff them in an area in some scratch notes that I have. Okay, so we've created the service principle and if we take a look at it, we get the application ID that's associated with the service principle, the display name that we gave it, the name of the, or this is the app ID, I shouldn't say the app ID, excuse me. This is the client name right here, 4513baba, our password that goes along for our credentials and then the tenant that it lives within. All right, so I know it's a little more information than just building a container, but we need to be able to configure CI CD in order to do that CI CD creation. We need some credentials to be able to set up an authentication trust between GitHub actions on my GitHub account and here in Azure. So all right, we created our service principle and now we want to build the actual container that we're gonna be working with. And so I love the ACR service because it will handle the build of a container right within Azure. And so I've got the command written out. I'm gonna just copy it and paste it in here and then I'm gonna talk through what we can see here. So what we're going to be doing is using the AZ ACR, we're gonna invoke that extension within Azure CLI and then we're gonna do build. And so what it's going to do is it's gonna build our applications container image based on what I have here in the directory that I'm in. Demo app, that's my repo. It's gonna create an image called demo app is the repository and the latest revision is just gonna be the version number. I can call it V1, V2. It's not really important at this point. We just wanna have an image ready to go for when we build our container app. Registry, J-A-Gord demo, the one we've created before, the platform, Linux, you can use Windows if you want. And then what I'm specifying here actually, so I could give a local way of building it but I wanna build it off the place of the source of truth, if you will, which is the actual repository that I've stored everything in. And so you can see right here, I've given my URL. And so if I smack return, what's gonna start happening here is it's gonna start building this container image using the repository that we have, the Docker file that we have. And so it's gonna go through each of those steps that I showed you before, gonna build the Docker image using just node and then presenting port 8080, which is where our node server actually broadcasts to so that we can contact and add our application. So it's gonna go through the process of just building the container image, storing it, running any tests that might be in there. You can see expose 8080 and now it's saving it and now it's pushing up the image. It's a pretty standard process. I think it's a lot easier to be running it in Cloud Shell sometimes. And the reason why is that you're not having to do these builds locally and then push the image that you've created up to the ACR. Let's look, it's gonna automatically push it after we do this build process, all right? So while this is going on, let's take a look at what the next step is. And hey there, thanks for watching, appreciate it. Our image is created, registry right there. So let's go into the ACR here in the portal and we can scroll down to repositories. Within repositories we can see here it says demo app, which is what we've created. And then the latest tagged version is named latest. And so you can see here, here's the manifest with the Docker image, the creation time, the manifestation or manifest creation date. We've got all this information right here, okay? So let's talk about our next step. So we built our container. Now let's configure Azure Container app, the service itself. So I'm gonna do that in the portal just because I wanna show you step by step how we get this done. So we're gonna go to our resource group. We're gonna click create. And I'm gonna just type container app. And there we go, container app, there's the service. It's in preview. And so we'll get this product description, Azure Container apps built on a foundation of powerful open source technology in the Kubernetes ecosystem that extracts, excuse me, abstracts the overhead of infrastructure management orchestration. So it's a great choice for network services, APIs, event process, log running, background jobs, and more. So we can, and yeah, sometimes I have difficulties remembering Docker commands as well. So being able to use this simple AZCLI process of being able to build your images, it definitely helps streamline the process. But once we configure CI CD, we're not gonna have to run those commands anymore. And so let's get into that. So we'll click create here under the product page and now we're given the create container app Azure Resource Manager template creator, if you will. You fill in these, it creates a template that eventually gets pushed over to Azure Resource Manager and then creates the resources we need. So let's create the things that we need to create. We need to give this a name and we're gonna call it demo app, excuse me, JAGord demo app. That's the container application name. We can create an environment. The environment houses our log analytics and allows us to have a isolated space to be able to run our application. And so we create different environments and those environments represent kind of a gated off section. So I'm gonna call this one production and I'm going to keep everything in Canada central. Okay, so quick, let's go to monitoring. We need to have an ant log analytics workspace in a place to keep the logs for our environment specifically. So I'll go ahead and I'll pick this one that I created earlier workspace demo app. I will then click create. So now we have our environment created. When we go back to the portal, once this is all done, we'll take a look at it. So now next we'll go to app settings and you can see that there's a quick start image which gives you its own simple hello world that you can go ahead and utilize. And we went through that in the last stream I did, but this time we don't need to use that hello world container. We're gonna build our own. So we're gonna uncheck quick start image. And then what we're going to do is we've got some different image sources that we could use if we want. In my case, I've created an Azure container registry that we're going to be working with and you can drop it down and it'll say right there. The next, we can see the image that we want. And then the latest version is the tag that we've given it. We don't need to do a command override. We want it to start the way it is. CPU and memory, there's some different options that we're going to have access to and they're all charged based on how much CPU and memory that you're utilizing. I'm just gonna be using the most simple and basic one. Now application ingress settings. We can enable ingress so inbound connections that can actually come to our application. So we can specify whether we wanna have HTTPS ingress with TLS. So you'll get it on port 443. You don't need to create a load balancer. You don't need a public IP. It's all handled for you. So I'm gonna go ahead and click enabled. And now we've got this ability. So if we're building some microservices and we wanted this to be an internal, we can configure it within the virtual network and allow just access. But we're gonna be doing this as a publicly facing application. So we're gonna specify the target port and that's the port our container is actually listening on.  Sorry about that. Let me just gonna close it. So if we go back into our applications code, we can take a look in app.js. You can see it's listening on port 8080. It is the same in the Docker file, expose 8080. So that's the port that we're going to want to specify as our target port. Sound good? All right, we'll go and we'll continue. Now, if we wanted to create some metadata tags, we could do that here. We can name environment, production. We can give the specific resources that we want. All set. So now we'll click review and create. Let's see what I missed. Oh, forgot to give my container details and name. So we'll just call it jgord demo app. Always forget something. Click review and create. And so now it'll validate that all this is ready to go. We can download the ARM template locally if you wanted to, but I'm gonna go ahead and click create. And so now it's going to start the process of deploying our application into our resource group. It's going to take that image in the container registry and apply that into this container. So you can see it's created our workspace. It's creating our production environment. And then once it's finished creating our production environment, it'll create our container app service. And within that, it'll load the image and get everything online. So we're gonna give this a few minutes. And while we're doing that, I wanna share with you some documentation that I've got ready for you to go. So let me hop that into the chat for a few minutes while that's running. So we've got our quick start here. You can create a container registry using the information in that tutorial. We've got creating a service principle. We've got some information on how that's, and you can see our app building is moving along. If you wanna see a doc on build into play container images in the cloud using an ACR registry task, which is what we did. We've got some docs there. We've got all sorts of other information in the chat below. You've got some information in the show notes. And as you can see right now, it's created that production environment. It is creating this app within our resource group. So it's just taking a few minutes and we'll get to that. So while we're doing that, I wanna remind you all that Azure FunBytes is normally every Thursday. I have guests, but this year, I wanted to try to do more of these individual shows so that we can take a look at how to build different small parts of Azure infrastructure working together in the streams because I like to learn in public is the best way to put it. So let's take a look at our application URL. And here's our hello world. Let me make it bigger so you can actually read it. So here's our hello world. And as you can see, I've got a fully qualified domain name here in JDemo app, Purple Stone. These are just randomized names. If you really wanted to, what you can do is go ahead and configure DNS and have a specific username and password, or actually, excuse me, have a specific DNS name that you want everything to go to. So here, if we take a look, we can modify ingress if we want. We have secrets. So if we want to store and share secrets within here, we can create a secrets value. So add the key and a value that we can store within here. We can retrieve those. It's a little bit different than using key vault service. Here's the thing that we're going to be doing next. And we said that we were going to enable CICD to build on a push to the GitHub repository. So to configure that CICD, we're going to go into this continuous, this deployment section within the portal. And we're going to see, I've signed in as my GitHub account. So I've already authenticated. Next, I just want to select my organization. And so this is under mine, the JDestro org, the repository that we're going to be building this from. And you can see I've got a bunch, but we're going to be working with demo app. And then the branch that we're going to be building it from, main. All right. And so now we can show the registry settings of where I want everything. So I specified already my Azure Container Registry. I've got the image name set up right here. The image tag, what it's going to do is every time there's a commit ID given on GitHub, it's going to actually create, instead of using latest, it's going to use that image tag. It's going to specify the OS, which is Linux. The Docker file location. And in our case, it's just Docker file. It's just an example. You don't need to necessarily show that. And then here are our service principle settings that we created before. And so our service principle client ID is going to be the app ID. And so I've got that saved elsewhere. And I'm just going to pop that in there. The next part is the password that we need. And I'm just going to copy that, paste that here into service principle secret. And then the tenant ID we need. And that was the last line within our service principle information.  You'll show you what I'm... Here is the name, the password, the tenant. App ID is the client ID that we're going to be specifying. Password is the password we're going to be specifying. And the tenant ID is the tenant we're going to specify. Okay? So we're almost ready to start continuous deployment. We'll go ahead and we'll click start. Go to actions. We can see that we've created an auto deploy file. What is that? Well, it's a GitHub actions workflow. And if we go back to code, we go here to .github slash workflows. You can see we've got here and it's done this to the main branch. It's gone ahead and it's created a auto deploy file, which is a GitHub actions workflow file. It's in YAML. Let me make this a little bit bigger. And what you can see it's going to do here is trigger an auto deployment of container apps when you push to the main branch. Now, if you want it to push to other branches, that's great, we can do that. And I'll show you what happens when you do that. All right? So it'll check out the branch. It'll set up a Docker build. It'll log into the container registry. It'll use the registry username and password. It'll then build and push the container to the registry. It'll then next deploy to a container app and utilize our Azure credentials that we stored as service principles. Okay, the service principle information that we stored when we configured CI CD, okay? So it's gonna build everything based on this. If we go to actions, we'll see that it's gonna run through our build and deploy. So it's finished the build. You can see it's doing all those steps that we mentioned, logging in the container registry, building and pushing, and then after it's built and push, we'll be able to do our deployment. So right now we're here in deploy, it's set up the job, it logs into Azure. That's why we provided our credentials and then eventually it deploys to container app, all right? So it's gonna go through that process and eventually it's going to create a new revision. And revisions are different kind of slots within the Azure app, container app service. Let's close this, we don't need that. And you can see right now we've got a revision, the first revision that we have right here that's been configured. And so there's that ID that we mentioned before and you can see it's got its own application URL. That'll come up. So I'm gonna pop myself down here. That's gonna build, it takes a few seconds. But while that's going on, you can see we're waiting for this deployment to finish so that our newly created CI CD sets up everything, deploys it automatically to our container app service. So it's completed the job, it's deployed. Let's go back to revisions, refresh. And we see now we have a new version that's been up. And so let's take a look at the time, stretch this out a bit. And you can see this is the latest version and it's gone ahead and it's given 100% traffic to it. So we don't need to keep this revision, this is the original one that we created. We don't need to keep that active. We can just remove that one and now we're just using this. But if we wanted to go back, we could. All right, stop. What happens when I want to make a change? How does that CI CD actually start working? So let's go to code and let's go within code and I'm going to go to branch.  So we've created this new branch. We've got it right there, demo change. And I'm gonna go into app.js and I'm just gonna change this from, I'm gonna do all within the browser. We're gonna just go in here and we're gonna change this hello world to hello world from J. Okay, so we'll scroll down, we'll give the commit, just changing hello world output and then it'll commit directly to this branch.  So we've committed those changes and now let's go to GitHub actions. And you can see that it didn't kick off anything because it wasn't part of the main branch. Because we've got our workflow file set that it's only going to do builds based on new runs from that particular branch. So what we need to do is now compare and pull our request through a pull request. So we're gonna create a pull request here. We don't need reviews or anything so we're just gonna move these through this. We'll create our pull request, we've got our commit here and what we'll be doing is just going ahead and merging that pull request, confirm merge, okay? So we've confirmed the merge and now if we go back to the action section, you can see right there that here's our merged main branch that's gone ahead and begun that change. So it automatically as soon as we committed that change to the main branch, it's GitHub actions workflow new to kick off based on that trigger and start building our new application based on the changes, then it will build the container, push the container with that new GitHub ID as the version number and then it'll go through the process of then deploying that particular image and it'll actually then add it to a revision that we can work with. So let's go ahead, we'll go through the process, it'll complete the job from building and now it's going through the deployment process. So now our new built image that's gone through this whole CI CD process, it's been ready for deployment. So it'll go through the process of running this deployment, it's using our credentials like we did before. So it's not a big change from what you've seen so far in this demo, okay? All right, so we're getting real, real close to the end and those people who have stuck with me, thank you. I do appreciate it, you're wonderful, you're beautiful. I am thankful for you all to be here. So it's gonna go through this deployment process, it'll take a minute or so and then once that's done, we can go over here and take a look at the revisions that we've got. So we still just have the previous version that we were working with but once our other one is completed, let's go back to GitHub, okay? So it's gonna go ahead and finish publishing our newly created container app to, or I should say our newly created image into our container app, all right? So let's just give this a minute, all right? We're moving along, we're getting into this whole process, we're gonna be moving right along and finishing up our deployment. It just takes maybe three, four minutes to actually finish this, because we're only like a minute in, as you can see, a minute and a half. So the build process is fairly quick, the deployment process pretty quick. So it finished, there we go. So let's go over here to revisions. We'll refresh our revisions and we'll see now we've got a new revision version and what we can do is kind of use this as a preview of what we've built. And so if I go here to this particular revision, we'll see that there's no traffic push to it on the public side, but we've got a preview URL right here. So I can click on that preview URL and you can see Hello World from J. But if we look at the original version, it's still, let me grab the original version, excuse me. If we grab the original version of this application, you can see it's still running that initial image, it'll just take a second to bring it up, but it's still running the version that we were working on before, that standard Hello World. So we've got this version of the Hello World and then we've got our new revision. So what we wanna do is make that revision, the public version, the one that's 100% available. And to do that, we just go back into revision management and we can do kind of a blue-green deployment if we want to within here. We can specify, I won't say 80% of traffic to go into one and then eventually switch over the version completely. All right, so what I could do if I wanted to is I could say 80% here to this new version and 20% to the old version or vice versa. But in this case, I'm just gonna go 100 here, zero here and I can keep this active so that if I wanna revert back to it, I can. But I'm just gonna save and now the public traffic is going to start going to our latest built version because I've moved my revision there. And so it'll go through the process of reloading the image and there you go, Hello World from Jay. That's the CICD process, start to finish to create within Azure Container Apps. And so that's everything today that I wanted to show you Azure Container Apps using CICD deployments. There is a ton of docs that you can go through in the bottom of this video, in the show notes. And if you have other questions, you can go to me on Twitter, you can see it's right there, right there at JayDestro, go on there, reach out to me on Twitter. We will be back again on Thursday, Thursday from 11 a.m. Pacific, 2 a.m. Eastern till noon slash three, it's an hour long. I'm gonna be working with Rod Trent, who's gonna be talking to me about Azure Sentinel. So if you've watched this as a reported version, keep your look out on my GitHub, or I should say in my YouTube, you'll be able to watch that version that's coming up. Or if you're lucky enough to be watching live, you can watch it live. So just as a reminder, you can find me on Twitch slash Azure FunBytes. You can also get $200 in credit. If you don't already have an Azure account, go to cda.ms slash 219. And that's really about it today. I really appreciate you all sticking around and being part of this demo. I thought this was a lot of fun. There's a bunch of you watching it and I really appreciate it. I will see you next time. Thank you so much for watching and you have a great rest of your day. I hope your deploy goes great and your code compiles properly. Take care. Bye bye.


Hey, hello friends. Welcome once again to another session on real numbers. So, let us continue with our process and so far we have discussed Euclid division algorithm and its application we saw in finding out its HCF or greatest common divisor that is GCD of any two positive integers. In this session let us try and understand one more concept and the concept is that GCD or HCF be of any positive integers A and B, A and B can be expressed as a linear combination. Please mind these words. So, linear combination of two integers, two integers x and y. So, hence it is written here that the GCD can be expressed as x times A plus y times B where x and y are integers but this representation is also not unique. So, you have to you have to you know check that also. So, though we can express any GCD of any two integers as xA plus yB but you can actually express in such linear combination in multiple ways. So, we will see what does this linear combination mean first of all and then we will try to also see why is this representation not unique. So, let us take an example as we have already shown you the method of finding out GCD and let us now try to use those examples to show that every such GCD found was or can be expressed as xA plus yB. Now, linear combination is whenever you express any integer in terms of another two or another set of integers such that the powers of the two integers here, can you see the power here is one. So, here also the power is one such representation is called linear combination because for any expression in which the variables are having power one, the graphical representation is linear. So, the linear word comes from there and combination is we are you know combining some factor or some multiples of A with some multiples of B to get deep hence linear combination of two integers. Let us take examples and see. So, if you remember we had two integers first was 42 and the second was 30. So, and GCD of this. So, we learned GCD of 42 and 30 which we had figured out was 6, isn't it. Now, 6 can be represented as some 6 can be represented as some 42 x plus I am sorry 6 can be represented as 42 x plus 30 y and the idea is to find the values of find the values of x and y. Right, let us see how. So, 6 is 42 x and 30 y. So, let us start with our our lemma only. So, if you remember Euclid's division lemma, 42 was expressed as 42 is equal to 30 times 1 plus 12 that is how we started finding GCD. So, hence and then the next step was 30 was equal to 12 into 2 plus plus 6 and then finally 12 was equal to 6 into 2. Okay. So, these are the three steps in which we found out the GCD of 30 and 42 to be 6. Now, let us let us do back calculation, backward calculation and see how we can express 6 as a linear combination of linear combination of 42 and 30. Now, let me say this was 1 and this was 2. So, from the second last step that is a equation number 2. What you can do is you can express 6 as, so 6 can be expressed as see 30 into 12, sorry 30 into 1 minus 12 into 2, isn't it? This is simple manipulation. So, 6 is 30 into 1 minus 12 into 2. Now, what is what was 12? What was 12? 12 was 12 can be written from here and same expression can be written as 30 into 1 minus 12 I can write as 42 minus 30 into 1 into 2. Why? Because from here if you see from here you can see 12, 12 is simply nothing but 42 minus 30 into 1, isn't it? Now, simplify what will you get? You will get 30 into 1 here the first term and then 42 into 42 into 2, 42 into 2 minus 30 into, sorry minus and minus will become plus here. So, minus minus plus 30 into 1 into 2 is 30 into 2. Now, what we do? We club these 30 together. So, we get what? 30 into 3 minus 42 into 2. Correct? Now, if you notice closely we could express 6 as 30 that was my b into y. So, this is y here. So, the order doesn't matter and then this is 42 and you can express this. I can write here as plus here and then shift this minus sign here. So, hence it becomes 42 into minus 2. Okay. So, what did we learn? We learned that 6 can be represented as 42 into minus 2 plus 30 into 3. So, this is a linear, this is called linear combination. So, if you saw, 6 was the GCD of 42 and 30 and I expressed 6 as linear combination, combination of of 42 and 30. Here, value of x was minus 2 and y is 3, isn't it? So, this was my expression into linear combination. Now, how do we know that it is not unique? We can take a simple example itself and prove that it is not unique. Let us do that here. So, if you see 6, the same expression I am writing here, 6 into 42 into minus 2 plus 30 into 3. Okay. This was my linear combination. Can I do this operation where I am adding 42 into 30 and subtracting 42 into 30? Okay. So, adding and subtracting would not change the equation, but this I did purposefully. Why? Now, let us rearrange this term and write like this. So, this is the same thing can be expressed as 42 into minus 2 plus 42 into 30 here and then plus 30 into 3 minus 42 into 30. Now, if you see, I can take 42 common in the first case. So, if you take 42 as common, you will get minus 2 plus 30, isn't it? And then second, you take 30 as common and it is 3 minus 42. And then simplifying, you will get 42 into 28, 28 plus or 30, 30 into minus 39. So, if you notice carefully, I have got another set of x and y. So, this is x here and this is let me just write both of them together. So, what did we found out? In the first case, I found out this was 42 into minus 2 plus 30 into 3 and the same 6 can be expressed as 42 into 28 plus 30 into minus 39. So, if you see guys, the same 6 have been expressed as same 6 has been expressed as 2 linear combinations. Okay. So, what is the conclusion? Conclusion is, conclusion is GCD of A and B is equal to x times A plus y times B where x and B are integers and x and y pair is not unique. We can get we can get many such pairs. This is what is meant by expressing the greatest common divisor of any two positive integers as a linear combination. So, this is my linear combination of the integers itself, linear combination. I hope you got the essence of this video and thanks a lot for watching it. Thank you.


Listen to me, and I want you to understand that if you're not making the way you want to be worth, it's because you haven't created enough value for yourself. You guys need to know that if you're going to grow a life, you've got to make quick decisions. Now listen to me, you guys, imagine this. Solar guy, right? Any of these people that are in here. How much money do you make? How much is that money? Cell cards. How much money do you make? I'll give you guys a minute to make 7 figures this year. 7, not 6, 7. 7 cards. 7 people, not GMs. You say, where do they work? Dude, they're better than you. Does that matter where they work? Hey guys, what's up? It's Andy. Do me a favor real quick. Whatever you're doing, stop right now. Grab a pen, grab a piece of paper, write down my cell phone number. 918-210-254.<PHONE_NUMBER>. Whatever you're struggling with, whatever you need help with, you want to go to the next level, you want to go to the next gear. You want to make more money. I don't care what it is. You need more leads. Shoot me a text. Let me know what I can help you with. Let's get back to the video. What's their pay plan? It doesn't matter. If we gave you the pay plan, you wouldn't get it anyways. Okay? They're better than you. Listen to me. I want you to understand that. If you're not making the way you want it to work, it's because you haven't created enough value in yourself. Does that make sense? Yeah. When you fix that value deal, you're dangerous.  So, I would say we all finish tonight by doing one thing.  People say, don't lie. I think you should lie. I think you should say, who do you want to be? What's your future self? What do you want to look like? Lord, future self. What does she look like? Okay. Let's envision she's already here. Let's not say realistically she's going to take a year and a half or a year. Let's say realistically she's here now. All right. What would her habits be like? How would she eat? How would she work out? How would she treat her family? What kind of attitude would she have? Would she lie to herself anymore? Like, I'm going to get up at 5 o'clock and hit the snooze button and wake up at 7. No. That future person would not lie anymore. Okay? That person would make a commitment and stick to it. What would we do? We would envision that that future person you want to become, you're already doing that. I'm not waiting. And delusionally, I'm going to lie to myself and I'm going to believe that that person is here. You know what's going to happen? Instead of taking 10 years for her to arrive, she'll be here in freaking five months. And guess what? One day you won't be lying to anybody. Reality will kick in if you are that person. And by the way, that right there is how every successful person gets built.  And then when they get it, that's what they did. Go find another one. Oh, we're going to try and harm. I want you guys to be able to close anybody, anytime, any place on the phone or in person. It doesn't matter. You guys speak for a living. You better learn how to freaking speak. Okay? You guys talk for a living. You better talk so well. Everybody wants to hear you talk. I don't want you to just chop that mumble and blah, blah, blah. No, listen to me. We got to get over that. Now listen, in the beginning, you're going to sound like that. There's no way not to sound like that. Does that make sense? Okay? You guys say, well, when I'm by myself, I sound great. Listen to me. That's an excuse. Am I right? That is an excuse.  You don't know you're well enough. Because if you knew it well, if I was around a thousand people and they asked me for my date of birth, I could give it to you. I mean, you could waterboard me, hang me upside down, slut me. I could still sing in the ABCs. I know that. So if you knew your job like that, no matter what kind of pressure you're put on, you wouldn't even have to thank you become machine-like. Okay? So really, how great is your skill level? I want our level machine-like. Can't thank, sick.  You can do it in your sleep. That's the way I want you guys to be. You guess what? If you can break it here, you'll stop breaking out there. If you are fired, you might tap out on the street or tap out on practice. Well, you made it till the end of the video.  I've already got your next training video lined up and ready to go. Click on it before you do that. Like the video. Subscribe. Make sure you set your notifications. Every single day I drop out free F-R-E-E, free training videos for you. Click on the next video. And by the way, if you loved it, share it with a friend. Do that for me. Thank you so much. Let's kill it.


In last lecture we learned about the weak focusing we derived an equation of motion and this equation of motion was for the more particles motion when there is a dipolar magnetic field having some gradient in it and this combination of dipolar magnetic field and gradient leads to weak focusing. Now there are another and also we learned about the geometric focusing in which shape of the magnet which is known as sector dipole magnet due to virtue of its geometry it focuses in the horizontal plane. There are another types of focusing also available for the charge particle motion and those are strong focusing and age focusing and on the basis of strong focusing there is a principle namely alternate gradient principle in short age principle which is used to make charge particle optics in synchrotron and transverse lens so we will learn these things in present lecture. Now here we recall the focusing of light using the thin convex lens so just I draw convex lens which you have learned during your school courses that this is a convex lens and this is the optic axis and light ray when passes through this lens it bends the light rays to have a focus on a point this is the focal point so it has some bending here theta by which light ray bends during the passage of the convex lens so we also have to have such kind of bending for charge particles if we want to focus these charge particle fields so how this can be achieved we will see this now in charge particle definitely the control of trajectories is using the magnetic field and in magnetic field if charge particle passes the radius of curvature is this we have seen this formula again and again that radius of curvature is rapidly proportional to p and inversely proportional to magnetic field b now if there is a charge particle and if it is passing through a region where magnetic field b is applied then we can calculate what is the bending and that bending you can say that this is the bending by d theta and this is the radius of curvature r so d theta will be q by p dl this is just this is just dl by r and r is placed from here so in this case the total bending of the charge particle trajectory will be q by p and integration of b dl so this is the angle made by a trajectory under the magnetic field of the given length it is the magnetic field which we use for bending the particle trajectory and this is the length over which magnetic field is applied length over which magnetic field is applied b is applied so you can see here that alone b is not enough to decide the charge particle trajectories or angle in the charge particle trajectory rather than the combination of the magnetic field and over the length on which it is applied that is much more important means combination of magnetic field and length it is useful rather than only b so now we see the basic mechanism of focusing how we can achieve the focusing so suppose this is the optic axis in red color and a particle is coming on this trajectory and this is the magnetic element which we want to use as a lens magnetic element when it passes through this magnetic element the magnetic field and length of this element generates a bending theta 1 in the trajectory and trajectory passes through this point here the deviation in the particle trajectory from the design trajectory is x1 so if this happens for all the trajectories then we say this magnetic element is capable of focusing the charge particle rays so we draw another trajectory also which has larger deviation x2 than the previous trajectory then it has larger bending angle to reach the same focus point if we draw another trajectory having opposite displacement means displacement in the opposite direction to the design axis then again it has the opposite angle due to sign in the sign means if we say that sign of these angles are minus then sign of this angle is plus so now we can see by these trajectories that theta is directly proportional to x as x increases the required theta is also increases to send the trajectories on the focus point and if x changes its sign theta should also change its sign therefore now we have seen in the previous slide that theta is directly proportional to bdl d theta is directly proportional to bdl means this theta means bdl it should be directly proportional to x then focusing can occur so if this combination we are able to generate proportional to x then that kind of magnetic field will focus the charge particle in geometric focusing b was fixed because that is the dipole magnet so that was constant over the space however the length which the trajectory passes through the magnetic field has different for different initial displacement and then different dl or l needs to focusing and in the magnet dipole magnet if we introduce the gradient then bending as well as focusing is achieved that is known as weak focusing and in that case field index must be between the 0 and 4 for stable motion in both the planes can we separate the bending and focusing can we make a magnet which is having only gradient and no dipolar component in that case no bending of the design path will be there because dipolar magnetic field is absent and there is only gradient so focusing can occur this type of magnet will behave exactly the length as of the light optics so answer is yes we can do that if we can generate such kind of magnetic field in which vertical component of the magnetic field increases with displacement x from the design axis and the horizontal component of the magnetic field increases with the vertical displacement then this kind of magnet can be used exactly similar to the optic convex lens in the optics or concave lens in the optics now you can see here on the design axis we have x is equal to 0 and y is equal to 0 these are the coordinates on the design axis because on design axis itself defines the origin so x is equal to 0 y is equal to 0 these gives p x is equal to 0 and p y is equal to 0 for this case and p x is equal to 0 and p y is equal to 0 means there is no magnetic field on the design path means design path traverses this magnet without getting affected there is no effect of this magnet on the design trajectory and this is the case similar to the light optics that optic axis does not change when it passes through the convex lens or concave lens and as x becomes non-zero or y becomes non-zero there is finite magnetic field and this magnetic field is used to bend the particle trajectories which are deviated from the design axis and this angle of the deviated trajectory leads to the focusing this kind of magnet is known as a quadrupole magnet because this field can be generated if we have four poles rather than two poles now how these four poles will be erased we will see it now by by as a gx which was written so this is the graph showing the variation of by with x this is a simple straight line having some inclination with x axis and this inclination defined the gradient what is the gradient g now you can see that as x increases here x is increasing here the magnetic field also increases means the applied force by the magnetic field on the charge particle will also increase so as we go further and further from the design axis this is the design axis which is x is equal to 0 y is equal to 0 origin here is the design axis coming out of the screen and if particle is deviated along the x axis the more deviated particle feel more force means more bending and it is the design characteristic of the focusing as we have seen that if x is more theta should be more and if x is negative here is x is negative and here x is positive so in the case of negative because by is also has changed its sign so force will also change the sign and it will be in the diverse direction of that of this direction so now again if particle is deviated towards negative x it will get a force towards the positive x and if particle is deviated in the positive x it will get a force in the negative x so overall all the particles will feel a force which will send those particles towards the design axis it means this is the kind of focusing we are trying to confirm the particles towards the design trajectory now how the four poles are arranged these four poles are arranged in this manner this is a north pole this is a south pole this is again a north pole and this is a south pole these four poles make a quadrupole magnet this is the pole phase profile now like the conductor in the conductor the electric field line always meets a right angle in a ferromagnet surface the magnetic field lines meet at right angle so these are the magnetic field line which emerges from the north pole to south pole and due to symmetry here it is the north pole at this distance and similarly here is the north pole at this distance here south pole on the same distance and south pole tip here is also a same distance so due to this symmetry magnetic field will be zero at the center which is the desired characteristic of a lens and as we go away from the design trajectory you can see the gap between the pole faces is reducing and this reduced pole gap generates a higher magnetic field and higher magnetic field means more force so larger deviation in the particle coordinate will give a larger kick by this magnet now you can see here if we take four points say this is the point number one this is point number two and this is point number three and this is point number four so point one and two are having deviation along the x axis while point three and four are having displacement along the y axis now at this point the magnetic field line is in just this direction that is the tangent at this location on the magnetic field lines here the tangent is in this direction so magnetic field is in this direction you can see that when x is positive magnetic field is in the opposite direction when with the case of when x is negative the similar is the case for y axis that on the positive y axis and negative y axis the magnetic fields are in the opposite direction now if a particle comes here suppose and particle comes here on the point three and point four you can see if particle is coming it is coming out of the screen and magnetic field is in this direction so force will be v cross v so v is outside the screen v is in this direction so force will be in this direction similarly here because the magnetic field has the reverse direction then this place so force will also have reverse sign in the direction so force will be in this direction so force on a positively charged particle which is coming outside will be in this direction on the vertical axis so force is towards the design axis now suppose the division in the horizontal axis now you can see if you are taking the positive charged particle which is coming outside similar to the case of point three and four you will see that the direction of force will be away from the axis so this is not desired here means this type of quadrupole magnet is focusing in the vertical plane why it is defocusing in the horizontal but we have to live with it actually Maxwell's equations compels us to have dy is equal to gx and bx is equal to gy and due to this we have focusing either in horizontal plane or in vertical plane in the other plane there will be always defocusing so suppose if you swap the poles means north is swept by the south and south is swept by the north means we have rotated the quadrupole magnet by 90 degree then the focusing will occur in the horizontal plane and defocusing in the vertical plane means if we consider a single plane and we place two quadruples just rotated by 90 degree then first quadrupole if it is focusing then second quadrupole will be defocusing means we have a convex and concave lens combination similarly will be the case for the other plane here concave and convex combination will be here so using these two combination we can always make focusing in both the planes now what is the focal length of this lens this is the particle trajectory which is coming when it passes through this magnetic field it generates a bending angle theta and particle trajectory crosses from this point so for obtaining the focal length we have to take initial condition in which x prime is zero means this trajectory is making zero angle with respect to design axis means it is coming parallel to the design axis and it has certain deviation x and this is from where it cuts or it crosses the design path it is the focal length so due to simple trigonometry we can obtain the time is equal to minus x by 10 theta here I am taking this sign as a minus and in paraxial approximation where theta is small theta is small we can always have can have 10 theta is approximately here and this approximation is again used here so our focal length is x by theta x now from previous slides we can put the value of theta x in terms of b and l now here theta x will be q by p integration of b by dl and by for the quadrupole magnet as gx so it plays of by we can put gx so this will be gx dl and g it is the gradient so gradient will be constant for a given quadrupole magnet we have seen that in our this slide that this gradient is constant for a given quadrupole magnet because this is a straight line so gradient will not change only magnetic field will change so gradient is constant in the quadrupole magnet so this gradient is constant we can take it outside the integration so this integration will be q by p g integration x dl now if we take very very small length for the quadrupole magnet means g l is very small means we are talking about the thin lens approximation means dl tends to zero this is the thin lens approximation in thin lens approximation we can assume that x remains constant inside the magnet just you can see that this is a delta function where the magnetic field appears so just before the magnet and after the magnet x doesn't change only there is a change in the x prime which was zero earlier before the magnet it changed suddenly after the magnet and has theta x minus theta x in this case so x can also be taken outside the integration so this integration will become q by p gx integration dl and dl is just the integrated length of the quadrupole so this will be q g by p xl and this quantity gradient normalized by the momentum and charge is known as normalized quadrupole strength k so quadrupole's bending is equal to kxl we see this is a quadrupolar kick when kick is proportional to x here we can say theta x is proportional to x l and k are constant for a given quadrupole so as x changes theta also changes so theta is directly proportional to x in case of dipole magnet this theta was independent of x so this kind of kick is known as quadrupolar kick and by comparing this two equation this equation and this equation we can see that focal length is just minus one by k i minus focal length is for focusing for a diverging lens or concave type lens this will be positive so you can see a equation here trajectory here after a defocusing quadrupole this trajectory goes away from the design axis and in this case theta x is positive this is positive that's why focal length is also defined as positive in the diverging lens now suppose we want focusing in both the planes simultaneously one quadrupole it is focusing in one plane then it will be focusing in the another plane so for overall focusing in both the planes we at least require two quadrupole magnet so in any optics of charged particles you will always see that at least there are two quadrupole magnets in two quadrupole magnets in one plane if it is focusing and defocusing combination so for the other plane it will be defocusing and focusing combination so by properly choosing the strength of these two quadrupole magnets and the distance between these two quadrupole magnets you can see that these four trajectories can be focused means in both the planes we can get focusing and we may recall your lens making formula so this is the overall focal length of two lenses combination that is one by f1 one by f2 minus d by f1 f2 f1 is the focal length of the first lens f2 sorry it is it should be f2 is the focal length of second lens and d is the distance between these lenses so this is also true in this case also so you can always calculate the focal length of the combination of two quadrupole using this problem remember this is valid only when we are using thin lens approximation if quadrupole is not thin then we have to calculate explicitly what should be the x and x prime at the exit of the quadrupole magnet and what will be the effective focal length of that combination we will learn these things when the quadrupole is not thin in the next lecture


Hey, I guess you guys wanna know what's inside of here, right? Listen, I've been grinding my turkey since yesterday. We coming up on 20 hours. We finna go outside on my Rectek RT-1250 and we finna smoke, folks. Okay, folks, so look, let's go ahead and get this turkey out. Y'all see that? All right, let's go ahead and grab him. Give him one last little dunk. Hold him up like this. Let him drain and we put it right there. Oh my goodness. This is gonna be juicy. Okay, so now we bring our turkey over here. Now this turkey was 13 pounds, if I hadn't said nothing already, right? So 13 pounds and then back here, we gonna do a little trim just a little bit, right? I'm just gonna cut that off and maybe that off. We gonna pat it dry and then we finna season. So like I said, listen, you wanna go ahead and just pat it dry, right? Okay, folks, so I'm gonna give you guys some options, right? A lot of people ask me, like, do I wanna inject? I do have an injector, but this year I'm not gonna inject at all. I just wanna put some of that smoky flavor outside, you know, from my smoker, which is my Rectek RT-1250. So I got a compound butter right here. It's starting to get to hard again. I put this back in the refrigerator. I put this underneath the skin of my chicken, right? And matter of fact, just to give you guys a heads up, look right here. You see that right there? Ooh, wee. Yes, sir. Now, bringing you back to this turkey over here. So what I'm gonna do is, instead of putting the butter on and doing all of that, we not injecting. We already brined. I know I got flavorful, you know, juicy breast meat and all of that, cause a lot of people have trouble with that, right? So I'm gonna be using my branched vine. Look, this is my garlic and fumes, right? This is the bottle. That's the garlic. You guys can see what it looks like.  And they got a new one called Fig. Wait till what you see what I do for Christmas.  It's something about this and me working this bird, you know what I mean? With this oil on here, it's almost like I gave it a massage.  And then for my seasoning, I'm gonna be using my A-seasoning for my level up series, right? This right here, great on poultry. But on top of that, this is just a basic poultry blend. Super easy to make, store as good. You see how I got in the mason jar? This was full, but look at that right there. All right, so I'm gonna take my clean hand. I'm gonna go ahead and just give her a rub down. Now I'm gonna take my poultry blend, right? And we're just gonna start with this right here. We just start putting it on here. Don't forget we got that branch of vine, garlic infused olive oil. We're using that as a binder. You can see the way it just sits on here. Oh yeah. Okay, so you see, I got a lot of coverage. Let me turn this around on my side. Let me see what we're working with. Oh, we doing okay. You know why? Cause we getting ready to come with my A-seasoning, right? Remember folks, when you're doing chicken, this right here does. It gives you that color too. You know what I mean? Look, oh yeah. Don't forget this is a low sodium product. You know what I mean? So you don't have to, you don't need, well you know what, for me, because I watch, you know how much sodium intake that I take inside of my body. What I do is, I just add like a pinch to it. You know what I mean?  Okay, so now what I wanna do is, sometime when you fold these back, you find out that you didn't get no seasoning, you know, all throughout, right? No worries, cause we can always season it, you know, wherever it didn't get it, right? So, check it out. I just take this, take the flap, take it like that, and I tuck it under. And now you guys will get a chance to see what I'm talking about. You see that right there? We gonna get something on there. Okay, folks, so look, now let me just check my grill. Okay, I'm gonna start off at 400 degrees. Take a look at that right there. You can see where I got it set for 400. It'll show you the temp where it's actually at. Now I can go outside and put this bird on. Okay, folks, so look, I'm gonna open this up. Luckily, we're using the pellet grill, right? Rec take is good at bringing back my temperature. So I'm gonna go ahead and take this. I'm gonna keep it on the rack, drop this right here, and then I'm gonna close it and then it'll go ahead and pick up everything else. You know, as far as getting my heat back up to temp. Okay, folks, so look, you know I told you I'm at 400 degrees, right? 400 degrees for 30 minutes, and I'm gonna drop the temperature down to about 335 degrees for the remainder of the cook. We'll be checking it with my beat thermometer and we'll go from there. So now I'm just gonna turn it because I like everything to be even, right? So I'll put this in here like that, close this back down so we can get our temp up and we're gonna let that go about another 15, 20 minutes. All right, so what I'm gonna do now is I do everything evenly. Whenever I check, I try to keep my number right. So let's say if I check in 30, next 30 minutes I would probably rotate it and do that, right? So we got this here, I'm gonna close this down, now I'm gonna come over here. We're gonna go to my actual, right? I had it set for 425, now I'm getting ready to lower this. You know what I mean? If you look right here, we're gonna lower this to about 325, and then we finna let it work. Trust me, folks, this right here is gonna be incredible. Okay, folks, so look, here it is. Look at the color. This is what I'm talking about. You see that right there? That's what you wanna put on your table. Not only is this gonna be great, but the presentation is just outstanding, right? So again, here I am with my slicer. Here you guys can see, smoking and grilling with AB. We got a 12 inch, it's super sharp, right? So I'm gonna go ahead and just cut a piece right here like this, and you can see how it just cuts to this like butter, right? But then you wanna know like it's juicy. So what I'll do is I'll just cut it down like that, I'll pull this over here and you look at that. You see that right there? Now don't forget, I let this sit up for about 15 minutes so I can touch it. You see how it just opens up right there? This is breast, folks. Let me go ahead and get another one for those of you guys that think that that was a fluke. So listen, if you knew to brining after you brine now, you probably won't never do it no other kind of way. Now if you wanna have a specific, you know, taste, right? Look at that right there. My goodness. You can inject also, right? But I can tell you, please give brining a chance by itself. Yeah, I promise you after that, you'll run back, you'll find this video and you'll leave me a comment no matter what part of the year or what time of the year it is. All right, so take this, cut that off, open it like this and you wanna see that? That right there is some juicy meat. Okay, folks, look, I'm about to carve this up and get it ready for some, you know, to lay it out for tomorrow, right? Be honest with you, I'm finna make myself a couple of sandwiches too. Hey, with that being said, listen, this is my tool of choice. This was my RekTek RT-1250, right? This right here is fire. This is what gave it that color, you know what I mean? We had this separate chamber over here on this side and this is what gave us the money, folks. I'm gonna go ahead and get it cleaned up because I got to do, let's just see, I got to do, I think four more, you know what I mean? So I'm gonna go ahead and get them out of the way but I can just tell you, listen, that's the blend. Don't forget to look at the description box below and I'll put exactly the type of pellets that I use and all of that. So with that being said, I'm finna carve this down. I'm finna pull my other four that I got in buckets in the inside and we bought the smoke, folks. And if I hadn't said it already, I wanna tell everybody that's watching this video, check this out, folks. Happy Thanksgiving to you and your family and you know what I'm about to do. I'm out.