Hey everybody, it's Brian and we're going to continue our conversation about automatic memory management using Qt, or I should just abbreviate that to Qt memory management. This video is going to cover two specific classes, the Qscope pointer and the Qshared pointer. What are these? Well, these are called smart pointers. If you don't know what a smart pointer is, remember in C++ when you use the new keyword, you create an instance of an object out on the heap, you now own that lifecycle. And yes, Q objects do have the parent-child relationship, which automates that very cleanly, but sometimes you need a little extra, well, muscle power, you got to be able to do things. And that's where smart pointers come in. Now, things have changed over time. You may be, especially if you know C++ asking, why are you messing around with this? Why aren't you using the standard library or Boost or any of the other things out there? Well, this article written in 2009 summarizes that beautifully. This was written in 2009, but it still stands the test of time. Most of this is still fairly accurate. How many smart pointers does Qt have? Well, in this article eight, and the updated documentation shows actually more, and I actually expect that to keep growing. The reason why we need smart pointers is we as mere mortals lose track of a pointer, and that's how problems are born. And it gets very complex. You see each one of these has their own special use case. For example, scope pointer, one of the things we're going to cover, the pointer will automatically delete when it goes out of scope, much as if it was a normal variable living out on the stack. Shared pointer is different. Shared pointer holds a strong reference to a shared pointer, meaning you're going to just share this all over your application, and you can feel free to dive into the documentation. But basically what we're talking about here is reference counting. Basically it's keeping track of how many things are looking at it, and when it's no longer used it will automatically delete it. This gets very complex under the hood, but at its core really each one of these has its own special use case. I'm not going to dive into all of them just yet, but I want you to be aware that they exist. This article really summarizes very nicely why each one exists and what it's used for. So feel free to go out there and read it. At the very end of this article though, it does address why not the standard library, boost and other technologies. There's reason for that. They don't really do it the cute way. Now I'm not saying cute's better. I am saying that a lot of the things in cute were put into cute because they simply didn't exist anywhere else at the time. Now over time they will more than likely be slowly phased out in favor of the standard library, but right now you have both. So I'm not saying choose cute over standard. I'm just saying you have these in your arsenal that you can use. All right, let's dive in and let's take a look. So let's go ahead and test Q scope pointer. So I'm going to go in here and we're just going to add the include to it. And then we're going to make a very, very simple test function. What we're going to do now is we're going to say Q scope pointer. And this is a template. So we need to, of course, work with it. And we want to use the test class. Let's call this PTR. And we need to initialize it. You notice we're going to initialize it with a pointer. So I'm going to say new. Now in the real world, likely you would call another function, which would generate this for us. And then you would just grit that pointer and then shove it right into here. All right, that being said, now we have a wrap this pointer with a Q scope pointer called PTR. We can go ahead and do something with that. Now before we actually do anything, let's modify our test class ever so slightly. So right now it does absolutely nothing. It's just got a constructor and a deconstructor. I'm going to go ahead and say void message. And we're going to make a Q string in case you've never heard of Q string before. It is a, well, it's actually pretty amazing. We're going to cover it in depth in another video. But if you highlight it and hit F1 on the keyboard, the Q string class provides a Unicode character string. That's right, Unicode, baked right into Qt. You really don't have to do anything. It's just baked right into Qt and you have a massive amount of string processing you can do. And it's all Unicode. It's not ASCII. This is amazing. All right. So in our message, we're going to right click Refractor, define in our implementation file. And then we're simply going to grab this and let's go ahead and just print out the value. Now back in our main file, I'm just going to say PTR dot. And we have two things here. We can either worked with the Qscope pointer or we can work with, you guessed it, the class that we're using. In this case test. So I'm going to say PTR message and it just calls it directly. This is great. I love this. So now you can just work with it as if it were the pointer itself. But it's wrapped in this beautiful Qscope pointer. Let's go ahead and test this out.  I'm just wrapping it all into one little function for demonstration purposes. And sure enough, we see that full object lifecycle. The test is constructed. We can work with it directly. And then it's automatically deconstructed when it goes out of scope. So just a quick review. It went out of scope right here. And it's automatically deleted. Next we're going to take a look at Qshared pointer. Remember, this is designed for the pointer to be shared, hence the name Qshared pointer. Really, what we're going to do is we're going to create some monstrosity like this. And for newbies, this may look intimidating, but this is actually a fairly simple app. We've got our main function, we're going to create a test shared. So we're going to create a pointer in main, pass it to test shared. Then we're going to, of course, pass it to another function called step. Step is going to call a function called work multiple times. And then ultimately finish is going to get called. The problem here is that pointer should automatically delete itself, but not until we're finished. This is the beautiful part about Qshared pointer is it keeps track of where it's all referenced and what's going on. And you can make it infinitely more complex than this. You can spread it across multiple classes and whatever you want to do. I'm just really dumbing down this example so newbies can wrap their head around this whole process here. So let's take a look. I'm going to make our function called test shared. And we are going to get a raw pointer call this test from our main function. And now we want to do something with that. So let's go ahead and say, test shared new test. So we're just getting that raw pointer right from our main function. We're here. We're going to here. And in here, what we need to do now is actually wrap that pointer and take ownership of it. So I'm going to say Qshared pointer. This is templated. So you have to tell it what it's working with here. Let's call this, let's give it a startling name like PTR short for pointer. I know. I'm really horrible at picking names. You ever have one of those moments we just stare off in space for like five minutes trying to pick up variable name. So I'm going to say PTR dot. And then we can just work with this directly. I'm going to say message. So we're going to send out some sort of message. And in this case, I'm just going to say starting in case I've lost you, this message function is actually part of the test class. You can see it right here. So we're actually just working with that pointer directly, even though we just wrapped it with a Qshared pointer and we're now tracking that reference from here. We're going to make another function flipping back to our diagram. We're going to go into a function called step. So let's go ahead and say void step. And this is the confusing bit for newbies, you're not going to ask the pointer. You can certainly do that, but then rewrap it and it just becomes a nightmare. Instead, what I like to do is simply this Qshared pointer. That way me as the developer looking at this function, whether this function is in a completely different file or different class, I know right away, we're doing automatic memory management and I don't have to worry about this pointer. Rather than if I was just looking at this, I may suddenly freak out and then try to reimplement it or possibly even wrap it in a different one, like a Qscope pointer, which would delete it automatically. You don't want to do that. Okay, so what step is going to do is, well, something like this. I'm going to say, and it's going to start working through that whole workflow that we got going on here and back at our diagram. Our workflow is just going to be calling the same function multiple times. But in the real world, it would be multiple steps of something completely different. So let's go ahead and implement that function. And then let's go ahead and loop. So I'm going to say, four, int i equals zero, i is less than three, go in increment. And now we can just simply send that over. Makes it ridiculously simple. And notice we can copy it. We're not passing a pointer or an address of, we can just copy it. Yes, it would be faster and more streamlined to do an address of and just pass the whole thing around. But then again, I'm trying to do things, well, the slow way just to show you that it all just magically works. All right, flipping back to our diagram. The last step in this process would be to call this finish function. And finish, of course, has the major responsibility of saying we are done and we want to kill this whole pointer thing. Now, everyone is probably just like Roth with fear going, uh-oh, what do I do? This is going to be some special, special call or some special thing. Well, you really don't have to. So I'm going to say finish. And that's it because it's doing the reference tracking for us. We don't have to worry about it. It'll all just magically work. So let's track down here. We're going to get rid of this scoped just so we don't have clutter on the screen and we're going to test our shared. So this is going to call test share with a pointer going here. And now we need to actually go into our step to make that whole diagram work from step. It's going to go in here and go to work. But of course, once we're done stepping through, we should call finish. Now we have our complete workflow. Finish is going to go in here and cute under the hood is going to track all that force. And everything should just come together in a beautiful little dance and it should know when it's no longer needed. And you can see we have started, we have stepped, we are doing three works. We finished and cute realizes. Hey, it's not being used anymore. Go ahead and wipe it out. That is extremely, extremely nice. I love working with that. Now, if you want to deep dive through the documentation, you can, of course, reset that. But you would be at risk of causing a memory leak. So when in doubt, I almost always let the automatic pointer classes take care of the pointer for me. I hope you enjoyed this video. You can find the source code out on github.com. If you need additional help, myself and thousands of other developers are hanging out in the Voidrealms Facebook group. This is a large group with lots of developers and we talk about everything technology related not just the technology that you just watched. And if you want official training, I do develop courses out on udemy.com. This is official classroom style training. If you go out there and the course you're looking for is just simply not there. Drop me a note. I'm either working on it or I will actually develop it. I will put a link down below for all three of those. And as always, help me help you smash that like and subscribe button. The more popular these videos become, the more I'll create and publish out on YouTube. Thank you for watching.


Welcome back to the channel. This is Kenny and right before I get into the video a special shout out and thank you To all the new subscribers that's checking out the content like in the content and asking all those wonderful questions Hopefully I'll answer your questions in a timely manner and also thoroughly that you understand To help you accomplish what you was trying to accomplish And if you're new to the channel and into sublimation whether you're a crafter Or you trying to start a business or for personal use? Let's go ahead and subscribe already got a playlist for you ready to watch subscribe to my channel like Comment question either one any questions. I will try to answer all of them In a timely manner and to my best of ability and if I don't know I'm gonna tell y'all know a point you in the right direction and also research myself because it could help me later on down the road But in this video, we're gonna be going over for again for Free photo editing software absolutely free. I'm not talking about the pay services stuff It's talking about free for graphic designs, which we need for sublimation and it doesn't matter If it's just fonts you can actually manipulate the fonts upload your fonts put in any photos all that good stuff Actually get your transparent backgrounds cut off the photos. I'm not gonna do a tutorial on graphic designing But I'm gonna show you where to go. Please check them out. Absolutely free one of them definitely been in the top five for quite some years now and The other ones is pretty solid as well I believe they'd be in that top ten when I be looking across So I'm gonna switch up the camera and meet you on the computer. So stay tuned and all the links will be in the description first up That is free is camber.com and You'll go here and you can actually The website on your browser. I'm using Google Chrome You can save it to your favorites or bookmark it to your favorites This right here is pretty cool. This is at the home. You got templates. You got features that you can do and Also learning graphic designs basics. That's pretty cool To your right, you got account settings and then you can still go ahead and create a design So if you want to be doing a free version to top right where my mouse is create a design that you will click and They have pretty much anything you can create start creating designs on They even got logos and next to them.  This white box right here Zoom in see your work pretty simple and all your tools will be on the left hand side Once you got your canvas up. You got all your elements. You can search anything you want If you want to search flames For example, you just type in flames and they'll give up you a whole bunch of elements that you can pick from And we're doing free So you just want something that is free and You can actually double-click it or you can drag It's pretty simple You can upload images You got your text box that you can slide over onto the canvas type in anything you want and There's a drop-down box right here We're pointing at that you can have All these fonts available to you And if they have the crown next to them and you're doing the free version, you won't be able to use So you can always change the front fonts. You can use the free version This is pretty easy user-friendly type You have a reset button or undo button right here. So that's the case you made a mistake You can always undo the changes But if you just created a simple design just be aware that you're gonna Pretty much Download this whole canvas right here. The canvas is the white the white outer box and Right here where it says print shirts on the top right. This is where you'll download it The good thing is Most of it will automatically be set at PNG, which is the high quality value our image You won't get the transparent background. You have to be a paid subscriber or a paid member But you can still download any images you want and take it to the next Photo editing software to remove this white canvas background and just have the text and the flames if you want to But this is just camera canva Very popular very easy to use and a lot of people use it and you can still create some awesome designs Some dope colorful designs. I have uses plenty of times Among other things you can make your own logos Going back home. This is like customized for a Lot of social media and if you just want to learn graphic design basics, they got tutorials And all that good stuff This is canva.com. I'll leave the link down in the below in the description So next up we're gonna be talking about photopeak It's pretty similar setup. I want to show you the interface You can actually work on the web browser, but this is photopeak calm backslash learn backslash And here it tells you the introduction Talks about the workspace you can open and save the navigation the size This is pretty awesome stuff This is the topics all on the left-hand side You have the zoom tool you have masks you have layers You got layer editing free transform and adjust all kinds of filters You can also make selections like saying if you're trying to Refine edges in your photos. That's pretty good. You got brush tools, which you can actually Just color in certain colors of the of the picture change them You got textiles, which you can also upload your fonts to vector graphics Editing shapes. They got everything you need To learn about as well now the premium account does not work, which is good Like I said, we're only talking about the free version. They also have templates, which is not bad You can do bold designs neon designs and these are actually some youtubers That you see right here by Cameron can bit and I've seen a few of his tutorials and he makes text designs if You just happen to go to photopeak calm You'll actually be coming to the place where you can actually do your work and This is all your tools on the left-hand side right here and It says new project you can open from a computer. You can drag any image you want You can also bookmark this to your favorites. If you want to add a bookmark photo p-editor photo editing Pretty simple you go to file you go to new and you can set up your canvas They do have a few templates down here for Instagram Facebook all kinds of stuff you to covers, but if you're doing graphic design again, I like to work with the inches So I can do 11 by 14 because pretty much I can fit a nice graphic design on there and The cool thing about this you don't have to sign up and you can actually start off with the transparent background and this is what the transparent background is and You have your save option right here, but actually you're gonna export it you got text Typing tool so I Show you a little bit of the freeform so we can pick any text you want You can actually load some fonts on here, which is pretty cool and you'll draw your little box and Use this stop start typing change the color or any color that you want and This is it doesn't matter How you put it where you prove it put it you can actually move all around the canvas So if you go off the canvas, you're not going to see it and to your right is the layers So just just remember you have to work with each layers This is definitely a easier photo editing that you can learn and what I'm going to do to this text right here is Free transform it so what's cool about this to like say you just want to manipulate the text you can stretch it You can add a layer mask to this text You can drag a picture over this if you want to and then you can clip mask it and Have your image inside the text. So there's a way that you can get it to your desktop Sorry, I don't forgot how to do it, but If you just Google search you can actually have this saved to your desktop on your computer That way you won't have to worry about the web browser information on the top and Pretty much you have a lot more More space to work with So that way you can use the full extent of your screen absolutely free, you don't have to sign up It's what I like about it Photo p.com next up is inkscape You'll go to inkscape.org this is a Vector design photolink photo editing software Absolutely free. You don't have to log in. You don't have to register Basically when you come to this site It tells you about it What I'll usually do is go straight to download and You can click download the current version Like I said, it works for all all systems that is available and Then whichever system that you're using you just go ahead and click on it Download it and you get actually get a interface Save to your desktop where that you can open up at any time You got your text box You got all your tools on the left and you can make some awesome logos. I use this for logos So this is one of this is actually my first business and this is the logo that I created For the business as you can see real closely the lines are solid. It's not pixelated This is what vector design works and looks so you're able to bend these shapes Again, this is not a tutorial, but I'm just showing you what you can do with this kind of free graphic design software again, this is inkscape You got 3d shapes That you can manipulate So it's pretty cool. You got your colors all at the bottom so you can change them Any any colors that you want this is definitely a lot more learning to this right here You can check out inkscape.org absolutely free and I'll leave the link down below and Last the last one is called Gimp This is pretty much It's been top five top In the top three as far as free photo editing software You don't have to sign up. You don't have to donate. They do have a donation thing, but this is absolutely free The community helps build this and give recommendations to this If you go to game.org It talks about the free and open source image editor This is the closest thing you you can get as far as top quality tools Close to Adobe Photoshop the paid version We got the downloads and the downloads. You got it for Linux OS, which is Mac Microsoft Windows and Docs not really sure about those but as you can see they got it for all the languages out there and Tutorials down here You check out tutorials, but you can also go to YouTube. There's plenty of people out there. They actually use Gimp and For a free version This is pretty awesome Got the same setup. You got all your Top part layers colors on the top now you once you download it your tools won't be colored They'll be grayed out, but all your tools are to the left The hardness of the brushes right here. So you got brushes you got pen you got paint You can also crops and you can also Create your canvas Any way you want I have made many designs off of this bag and drop your documents onto here and If you're using gimp this a recommendation make sure you close down anything that's behind it So this is a photo of me I went ahead and did some graphic designing and Again, this is not a tutorial as far as graphic designing Pretty much a cartoon myself. I cut out the whole image. That's around me Can do a lot of cool things with this Even if you just want the image you can do this image right here and the cool thing about it when you export this You can always pick the type and That's it. Yeah, so just check out The tutorials out there if you decided to take it to the next step on graphic designing, but this is absolutely free You don't have to sign up and that's it for the video until next time peace


So, the next thing we would like to look at in terms of resources, because it's important for our survival as a species and other species on this planet, is a renewable versus non-renewable resource. Now, there are some things that are overtly renewable. For example, we can rely, as far as we know, on the sun supplying us, radiating us, supplying us with energy for at least five billion more years. None of us are going to be around when, finally, the sun reaches the end of its life. And stars, as you probably know, reach the end of their lives at different times depending on their size and mass and the rate of burning their fuel. But we can rely on the sun being around as a potential source of light and also, of course, energy. Light we can convert various ways to a form of energy through our high-tech capabilities. So the sun is a potentially renewable resource. But they're also, and of course it's become very important to us, non-renewable resources. Are there things that we use faster than they can be replaced? And I'd like to talk about that for a while. Let's look at the non-renewable resources, which of course figure largely in our minds. There are ways in the past that we have depleted a stock or a material or an animal faster than it can be replenished naturally. That would include things like bison on the Great Plains in North America. For at least 10,000 years, the indigenous people in North America lived in some kind of equilibrium with the bison on the plains. They killed them. They ate them. They used their skins for warmth for their accommodation. They lived side by side with the bison without apparently destroying the viability of the herds which were roaming the Great Plains. When people came along and started shooting them, it was remarkable how quickly that stock of bison was depleted. Now, a lot of that shooting was done for no great reason. It wasn't done to supply food. It wasn't done for any great profound need. But certainly, it was dramatic in that the bison population fell dramatically. There are examples like that. Fundamentally, that's the real issue here. So let's just talk about that. So we need the stock replenishment rate and depletion. If all of these are in balance, we've got something of a renewable resource. As our resource, the stock is, for example, the number of bison around. If they naturally replenish at the rate that they achieve without any interference from humans, that doesn't mean there's no interference from other sources like disease or predators that they would encounter before Homo sapiens arrived on the Great Plains. As long as the replenishment is sufficient and overwhelms the depletion or is in some kind of equilibrium, the stock remains at some kind of equilibrium level. When you look at this, in fact, we're right into what is known as predator-prey theory, and that's a long-running, intellectually fascinating line of investigation in the natural world and other environments as well. So predator-prey theory has a strong mathematical basis now. The equations are known in terms of these kind of parameters that are written here.


the pioneer woman helped to win a continent. Today with the same spirit of determination, American women are working to save this way of life, working to save the nation from the impact of total war, working to build a sure defense. American women are alert to the dangers which threaten our democracy today. Women trained in science are testing and observing and working to discover new ways to misthread. Other women skilled and unskilled are asking, what can I do to help? This film will show what women are doing and what they can do. Every woman has an important place in the National Defense Program in science, in industry and in the home, vital to national defense. Its most important use is for parachutes and powder bags. New substitutes are being perfected in the laboratory to meet the growing demand. Normal wear is hard on clothes but not so hard as a machine like this and there is a direct relation between an abrasion tester, clothing and national defense. Durability and economy are important to American consumers called on to make sacrifices in this emergency. Is more than military equipment and armed forces. Defense is keeping the nation strong and healthy. In this important work of defense our scientists are experimenting with small animals to find out things about vitamins. A complete report of their reaction and growth is recorded after they are given experimental food formulas during which they are carefully checked and weighed. New and health-giving diets are being developed through this research. This woman is a modern pioneer, a scientist. She symbolizes the tremendously important work of women in chemistry, in bacteriology, in physics, in nutrition, in medicine, in hundreds of hospitals and laboratories throughout our country. Men and women who work on the production of our defense weapons must be well nourished. Good nutrition is not entirely a question of income. Thousands of women are attending free lectures on how to buy food and prepare meals which are nutritious and economical. Women working in industrial plants need costumes which are comfortable and safe around machinery. Uniforms which meet these needs have been designed. Thirds of the jobs in defense industries can be done by women today. And officials of the defense program are advocating more extensive job training for women and girls. These girls already trained in our new defense program are able to turn out small machine parts. More women are being trained in mechanical trades to meet the shortage of skilled labor for drilled presses, turret lathes, milling machines, planers and welding equipment. Women are being recruited daily to help make planes for the nation's air forces. Three million women in factories all over the country are making things. Sewing strong fabrics, sewing control surfaces for fighter planes. In a war in which so many machines and tools and so much metal is required it is strange how much sewing there is. Women are bringing a natural skill to an important job. Their efficient contribution is helping us to speed up production of bombers and fighting ships. In parachute takes 65 yards of silk. Only silk has the lightness and strength essential in making parachutes. Women who have had special training in the manufacture of this product are the only ones who can be employed in these factories. A man's life depends on every parachute so there is no margin for error. The nimble fingers of these women are capable of turning out perfect workmanship on unbelievably fast running machines. These highly specialized industries are finding women extraordinarily efficient and are using them more and more in the making of precision instruments which are so essential in war today. All of these instruments require ball bearings or roller bearings. Bearing so precise that experts must use a microscope for assembling. This is work in which women excel, giving it constant care and alertness. Women's hands, thousands of them, skillful, patient and accurate, are assembling parts precisely dimensioned without which no bomber could fly and without which no mechanized land unit could move. That glides down the ways must have electrical switches. Women today are assembling, gauging, fitting together, riveting, drilling and making them. This work requires fingers that move with lightning speed. Every defense worker doing her job well. That's the battle of production and the essence of defense. Shins of shells are moving off the production lines in our great plants from coast to coast. Shells for tanks and naval guns. Shells for coast and field artillery. Shells for anti-aircraft defense. Women are skillful, engaging and checking for minute imperfections. Mass production is important when you realize that a single machine gun can fire 1,400 rounds a minute. Return to the women who are asking, what can I do for defense? The American Women's Voluntary Services provides instruction in many basic skills to over 80,000 women. Soon the Office of Civilian Defense will cooperate not only with the AWBS, but with all other private and public agencies to aid volunteers in obtaining the training they want. A training indispensable in war, valuable in peace. The Red Cross today is the culmination of the work of a woman who pioneered under the duress of a war. Clara Barton, its founder, determined that the care of the wounded should not be left to the unskilled. Today, true to its tradition, the American Red Cross volunteers are responding to the needs of war distressed peoples. 25 million and more surgical dressings have already been sent to Europe. Science's newest weapon against death is the blood bank.  Of the inspiration which our pioneer women left us as a proud heritage. And again today American women are stirred by that heritage. Serving their country in the laboratory, on defense production lines, in the Civilian Defense Services, and in the home, which is after all the first line of defense. Women have always been the guardians of the home and the children, the future of our country. And they are determined that our democracy shall survive and that our precious freedoms shall be preserved.


Hello and welcome to the session. In this session we are going to discuss the following question which says that if u is equal to cos inverse of square root of sin of alpha minus sin inverse of square root of sin of alpha then find the value of sin of pi by 4 minus u by 2 sin inverse of x plus cos inverse of x is equal to pi by 2 for all x belonging to the closed interval minus 1 to 1 with this key idea let us proceed with the solution using the key idea we know that sin inverse of x plus cos inverse of x is equal to pi by 2 that is sin inverse of x plus cos inverse of x is equal to pi by 2 as we can write cos inverse of x is equal to pi by 2 minus sin inverse of x we are given u is equal to cos inverse of square root of sin of alpha minus sin inverse of square root of sin of alpha so here we can replace cos inverse of square root of sin of alpha with pi by 2 minus sin inverse of square root of sin of alpha in the above equation therefore we get u is equal to pi by 2 minus sin inverse of square root of sin of alpha minus sin inverse of square root of sin of alpha and u is equal to pi by 2 minus sin inverse of square root of sin of alpha minus sin inverse of square root of sin of alpha which can be written as u is equal to pi by 2 minus 2 sin inverse of square root of sin of alpha all we can write to sin inverse of square root of sin of alpha is equal to pi by 2 minus u that is sin inverse of square root of sin of alpha is equal to pi by 4 minus u by 2 which can be written as square root of sin of alpha is equal to sin of pi by 4 minus u by 2 therefore we can write the value of sin of pi by 4 minus u by 2 is given by square root of sin of alpha which is the required answer this completes our session hope you enjoyed this session


The Clyde Beatty Show! The world's greatest wild animal trainer Clyde Beatty with another exciting story transcribed from his brilliant career. This master of the big cats captures ferocious jungle beasts and trains them to perform under the big top in the circus where there are always thrills, action and danger. Hundreds of dramatic behind-the-scenes adventures are all part of the Clyde Beatty story. Here is the adventure entitled, Arabian Nightmare. Although wild animals are Clyde Beatty's chief interest, he has never forgotten that a good circus must also have the best in the way of domesticated animals such as horses. So with a circus equestrian director, Scotty McDonald, Clyde and Harriet visited Arabia following a safari in Africa. After a day's journey by boat from Djibouti on the east coast of Africa, they arrived at Aden, that strange and colourful city on the southern tip of Arabia. Here's the place, just ahead, Clyde. Ah, Akim Yakkar, exporter. Yeah, this is it. I'm glad you got those directions straight, Scotty. I have a simple client. I wrote them down on this paper. This doesn't look like a very prosperous place, from the outside at least. Well, Harriet the man at the hotel said this Akim fella could tell us where to get the finest horses and camels in Arabia. Well, if he can, I don't care what his place of business looks like. My sentiments exactly. Here, honey. Oh, thanks. There's a man at the rear, Clyde. Yeah, that must be our boy. Ah, welcome to my humbly established man. Your, uh, Akim Yakkar? Your servant. Good. Baby's my name. This is Mrs. Baby and Mr. McDonald. How do you do? I am honoured.  That's right. Our first visit to Arabia. May I wish for you a pleasant stay in my country. Thank you. And now may I serve you? Well, we were told that you could arrange for us to see the best horses and camels in Arabia. Indeed. We'd like to look some over and maybe buy a dozen of each. I see. And you want only the very finest. That's right. I am afraid that would require your journeying to the camp of Sheik Ibn El-Fashe. Of real Sheik? Oh, yes, Mrs. Speety, a real Sheik. He's one of the leading breeders of horses in Arabia. Ibn El-Fashe is the owner of the famous Rasheed. Perhaps you have heard of him? Rasheed? I'll say I've heard of him. I'm afraid you boys are getting ahead of me. What's this Rasheed, anyway? Well, Clyde Rasheed is the most famous Arabian stallion living. Brother, if we could get some horses from that stallion... That I could not guarantee, but of course, El-Fashe has other good stallions also. His horses are all of the best. Well, it sounds like he's our man, all right. Now, how do we get to see him and his horses? Oh, it can be arranged, but I'm afraid it is not an easy journey. Even El-Fashe's camp is located at an oasis in the desert. It is two days' journey from here. And I don't suppose there's a road going that way? No, the road only goes to the edge of the desert. You could be driven through the foothills to that point, but from there the journey must be made on horse or camel. Do you know someone who could take us there? Yes, Abdullah, a friend of mine, has made the trip often. If I can secure his services, it can be done. Supposing this Abdullah isn't available. In that case, I would not know. What do you suggest? Well, how about somebody else? Abdullah is the only man to whom I would entrust this responsibility. When one undertakes such a journey, it is well to have the best leader possible. The Rob-Al-Khalid Desert is virtually unexplored. We'll return to Clive-Veiti in just a moment. And I'll back through Clive-Veiti's adventure Arabian nightmare. It was almost noon the following day when we arrived at a small camp on the edge of the desert. There Abdullah arranged for horses, a couple more men, and three camels to pack our supplies. Ahead of us lay a scorched expanse of rolling dunes, a tan ocean with huge waves of sand. As our small caravan prepared to leave, I remembered what Akim had said about this desert being unexplored, and was glad we would only be traveling into it for two days. Here comes Abdullah Clive. I guess we're ready to shovel. And this is exciting, isn't it? Yeah, and I've got a hunch it's going to be plenty hot too. Look at those heat waves rising from the sand. If you are ready, we will leave at once, Efendi. We're all set, Abdullah. It is when? Here, honey, let me give you a hand here. Thank you. Steady, boy, steady. There you are. Well, I can see there's nothing wrong with these horses. Maybe we could buy some here and save ourselves a trip. Oh, no. We've come this far, and I intend to see the sheep's horses. Oh, I was kidding. I wouldn't miss this for anything. Yebel, Ibra, Hazarali-Maliha. That's strictly up to you now, Abdullah. Do not fear, Efendi. I have lived most of my life in the desert. Unless we run across a band of the hated Salubah, there is nothing to cause worry. The hated Salubah? Or what are they? They are what you would call gypsies, Efendi. Bedwinds are sometimes prey on the caravan. You mean that sort of thing is still going on in this country, Abdullah? Unfortunately, it is true. The Salubah are led by a cat-rope named El-Aqdar. They have caused much trouble in the rubble-collar desert, Efendi. We continued on through the hot afternoon, not seeing a living thing. And at sundown, Abdullah called a horse. In short order, he and the other two Arabs had erected a couple of tents and prepared food for our evening meal. Pretty cozy, huh?   Abdullah said we might be parked here for a day or so, unless this wind shifts. He started to blow the sand already. I feel sorry for those poor horses and Campbell standing out here. Don't worry, Harry. They're used to it. Sure, they're okay. You know this Abdullah's an amazing guy.  No compass, no nothing to guide him. How does he know where we're headed? I don't know, Scotty.  Oh, hello, Abdullah. The food is prepared, Efendi. Ibra will bring it now. Good. Thanks, Abdullah. I'm hungry, too. The wind has started to shift. I think in the morning we will be able to continue. No, that's good news. I hope you're right. You will see. Tomorrow we will be favored with the Nazim. What is the Nazim? The Nazim is the good wind from the south, the Zephyr of the Najib. Well, I feel better if it turns out to be the Burlington Zephyr. Oh, Scotty, please. What is this? Nothing, nothing, Abdul. Just a bum joke from this bum, that's all. The waves of the Western people are most puzzling. Abdullah, if you're right about this wind dying down tonight, will we reach the oasis of Sheik Ibn El-Fasher tomorrow? We should arrive there at mid-afternoon, Effendi. Oh, good. It would be well for you to rest as soon as you have eaten. We will leave with the coming of the sun. Well, tomorrow we'll get to see the finest horses in Arabia, owned by a genuine Sheik. Efendi, ahead you will see the oasis. Hey, that looks like quite a garden spot. Indeed. It is the finest oasis in this part of the desert. Oh, it's amazing. I've always pitched it in a way. This is an acre of grass with a spring and three palm trees. You do? This one must be half a mile across, and lots of trees all over it. I hope the Sheik's in a good mood. Just think, Scotty. If we can buy some of Rashid's descendants, we'll be the only circus in the states featuring an all-Arabian horse number. Efendi, if I were you, I would not count too much on the Sheik Ibn El-Fasher selling you some of the great Rashid's offspring. Well, that's what our team said back in Aden, but he didn't say why. A famous prince of Arabia once put into words how some of my countrymen feel about their horses, Efendi. And what did the prince say? He said, any of my wives, any of my children, indeed all of my wives and children would I part with before parting with my horses. Some guy actually said that and got away with it. Why, my wife, why, she just looked... In your country is different, Efendi. In Arabia, a wife is to cook, not to talk. Well, I'm glad I don't live in Arabia then. And get that glint out of your eye, Clyde, baby. Don't go getting any ideas. Okay, honey. But please, when we talk to the Sheik, don't tell him what you think or he'll run us out. Ah, but she was delicious, Sheik Ibn El-Fasher. Please, Madame Betty, I know my full name is clumsy to say. Won't you just call me El-Fasher? Thank you. That will be easier. And now I know you would like to see the horses. We sure would. Of course, as we rode through the oasis, we saw several pens with horses in them, but we'd like a close look now. It will be my pleasure to show them to you. Will we be able to see Rashi? Oh, I would not let you go without seeing him. What color is he, black? Oh, no, he's a gray, almost white in fact. But he does have a black mark on his shoulder. It resembles a hand with fingers extended. But come, words cannot describe Rashi. You must see him for yourself.  I don't suppose you'd ever consider selling him? Oh, indeed, no. There is not enough money in all Arabia to buy Rashi. So this is Rashi. Is everything you said he was, El-Fasher? He's simply beautiful. Now look at the fire in those eyes. Man, what a horse. I notice he's in a pen all to himself. Are those horses over in that other pen? Descendants of Rashi? All of them. I have put fifteen at the moment, fired by either Rashi or his son Haydn. Come, we will look at them. Did any of them inherit that black hand mark of Rashi? No, it has never been repeated. Hey, he's got to sure look like the old man, all right. You know, I was just noticing that. It's easy to tell that they've got Rashi's bloodlines. They're almost identical. That has been my purpose. Selective breeding has long been my chief interest. And those over in that other pen? They are by my other stallion. They also are fine horses. That's easy to see, all right. But these are Rashi's. They are really extra special. Mark the same and everything. If you had but arrived a few days ago, I could have shown you many more horses. But I wanted to get them to another. And most of my men are even now making that journey with them. Well, there's no doubt about which ones we really want. We could have the best horse act in the world if you'd sell a ten or twelve from Rashi's trade. You put me in an awkward position, baby. I should like to oblige you, and yet I cannot. Uh-oh, I was afraid of that. I am most sorry. But long ago I determined never to let any of Rashi's descendants be taken from Arabia. I would sell them only to those who give their word not to take them from my country. But why? What's wrong with taking them from Arabia? You may think me foolish, but it is my belief that horses such as these are meant to be ridden. Ridden hard, as only we of Arabia know how to ride. We were bred to run hour upon hour through the scent of the desert. As well as to look beautiful. Do you not understand? Yeah. Yeah, I think I do, Al-Qaeda. Hey, listen. What is it? Sounds like shooting. I do not know. Let me see. Keep it a touch up. The son of a step-mother. The new but the mother ill, Al-Aqsa. What? Parakea Katawa, speak to Amit. They come. They attack. What's going on? What is it? The curse-stalk Al-Aqsa is attacking the camps. Well, but what can we do? With most of my men away, I do not know for how long we can last. But we shall fight them. Clive Beatty will continue with his story in just a moment. And now, back to Clive Beatty and Arabian nightmare. Clive and Harriet Beatty with Scotty MacDonald were at the oasis of Sheikh Eben El-Fasher in the Robo-Kali desert of Saudi Arabia. Their hopes of buying some horses descended from the famous stallion Rashid were dashed from the sheik refused to sell. And in the midst of the discussion, they were startled to hear shots from outside the camp. Mohammed, the girls have been in camp. We must fire Al-Aqsaar into the river. Well, give us some guns, Clive. And I know how to shoot. No. If we fail, it would be better that I be able to give my words that you did not fight against Al-Aqsaar. We'll take our chances on that, Al-Fasher. No, I know what is best. You will not kick up an arm against the bandit.  Wouldn't that be better than having men on both sides killed? You do not understand. My damage is not my money. They come for money. Means nothing to Al-Aqsaar. But... No, it is Rashid they want. Rashid? Yes. But he has not caught me unprepared. Against the stay I long ago formed a plan. What do you mean? I have a cave dog. Big enough to hold a horse. It is well concealed. I will have Rashid hidden there. Hey, that's a good idea. Yeah, and it might work. Only won't they suspect you've just hidden him? I will tell him Rashid was taken to another with the others. Even if they look, they will not find where he's hidden. Oh, thank goodness. It would be awful for that beautiful animal to fall into the hands of a bandit. I will go find Mohammed and have him take Rashid to the cave. Then I must take up a rifle against the bandit. I'll come along. Maybe I can help Mohammed with Rashid. I was going to ask you if you would. Hey, what about Harriet and me? You will be safe here in my tent. Please do not leave. I sure hate to see the bandit take that beautiful animal. Mohammed, Mohammed, and I'll talk to the other. I can't, master. We are far outnumbered. You must get Rashid to the cave immediately. If any, Betty will help you.  Yes, master. And the other master. Or they do not matter, leave them in their tents. Yes, master. Betty, when you and Mohammed have done this, please return to my tent and stay with the other. Okay, Al-Pasha. From the look of things, I'm afraid we spent no chance of keeping them out of the camp. But we will hold them off long enough for you to hide for Rashid. Go now. Right. Come on, Mohammed. Al-Pasha, can't hold them off much longer. We have surrendered, Al-Aqdaar. What is it you want from us? I think you know what I came for. And I live only when I have this stallion, Rashid. You will wait long then. Rashid has been taken to another. Lies! It is not a lie. Rashid isn't here. Silence, woman.  Why? Fire, honey. He looks like the type that would do it. Al-Pasha, speak now. Where is Rashid? I told you, he has been taken to another. So, you forced me to make you tell the truth. Very well. Samad! Noswa! Tie him up securely. See your teeth!  It is useless to struggle, Al-Pasha.  Go now. Yes, mother. I will deal with the proud sheikh myself. Hide what you are going to do. I don't know. Oh, no! Tell me where the stallion is. Never! Oh, God! Hold it, Al-Aqdaar. Stop. What? I'm something of a horse trader myself. I'll make a deal with you. A deal?  Rishi! My word. I will take only the stallion and leave at the one. Okay. Rishi, no! Rashid is hidden in a cave. I'll show you where. Rishi! American fool! I'm sorry, but I can't stand by and see you torture me. What good fortune to have Americans present. I have heard your kind was soft. Now it is turned to my advantage. Come with me. If you're not lying, all will be well. If you are lying... Hold him there, Mohammed. Well, there he is, Al-Aqdaar. Ah, at last! The finest stallion in all of Abia. Let me see here. Yes, the black hand mark. This is a lucky omen. Now, I've done my part. The rest is up to you. Very well. I will get my men and leave at once. With Rishi. Good. I guess there's something to the old proverb at that. Huh? The old proverb? Yeah, the one about honor among thieves. Yes, I remember it. An excellent proverb. Almost as good as that other one. You ever hear the one that goes, don't take any wooden nickels? Don't take any wooden nickels? No. That's one I have not heard. But I do not have time to discuss problems. I have what I came for. I'd only did what he thought was right. It was not his place to speak. If he were of my race, I would kill him.  Yes, it was in my rush. Well, at least that's what Al-Aqdaar thinks. What? I do not understand. He rode off on one of Rashid's sons, Elfashire. Mohammed and I worked a little switch. Ah, you mean that wasn't Rashid that was hidden in the cave? Exactly. But how? I thought there was a good chance they'd find out where the horse was hidden, so I talked Mohammed either helping me pick out one of Rashid's sons that looked exactly like him. But the black hand mark, to a man with a fountain pen full of ink, it was a very simple matter. Fountain pen? Ink? Baby? A thousand pardons? Rashid's over in the big pen with all the common horses. I hope you'll forgive me for that. Forgive you. I owe you a debt which I can never fully repay, but in an attempt to do so I must insist that you take ten of Rashid's descendants, the ones I refused to sell you a few hours ago. Oh, no, you don't need to do anything to reward it. Please, it is a small pay for what you have done. But Elfashire, you know we want to take them to America. My mind is at rest. They will be in good hands. Gee, that's great. I'm sure glad you painted up that other horse to look like Rashid. Yeah. Holy smoke. I just thought of something. Huh? Think of what might have happened if I'd had green ink in my pen instead of black. And now here is the star of our show, Clyde Batey. Luckily for me, my one and only attempt at being an artist instead of a lion trainer was a big success. There'll be another thrilling adventure to tell you the next time we meet. All stories are based upon incidents in the career of the world-famous Clyde Batey and the Clyde Batey Circus. The Clyde Batey show is produced and transcribed by Shirley Thomas. Written by Robert T. Smith and Frank Hartlowski. Music composed and conducted by Albert Glasser. All names used were fictional and any resemblance to persons living or dead is purely coincidental. This is a Commodore production.


Ya. Okey, sekarang pukul saya rasa kita akan bermula. Jadi, hanya untuk biar anda tahu, Topik saya hari ini adalah sebenarnya Introduction Untuk Web Application Security Bukan benar-benar di atas. Ini hanya menunjukkan untuk pembina Siapa yang sebenarnya bermula Dengan Web Application Jadi, siapa yang buat security di sini sebenarnya? Okey Okey, itu bagus. Okey, hanya untuk menunjukkan Bagaimana tentang diri saya? Sebenarnya, saya pembangunan selama 5 tahun Saya sekarang sebagai Software Security Engineer Okey, saya mengambil Part-time master in knowledge engineering Saya ada computer Science Degree di Security Digital Okey Bagaimana anda membuat Bagaimana anda membuat Bagaimana anda membuat Bagaimana anda membuat Bagaimana anda membuat Bagaimana anda membuat Bagaimana dengan membuat Pembina yang disini sebenarnya Okey, itu bagus. Jadi normaly, Bila anda membuat Testet fungsi Banyak orang dalam perjalanan Mereka membuat tentang testing security Okey Jadi, ada banyak perkara yang tidak dungu Untuk mengandalkan testet fungsi Okey, tester security Pasti anda memutuskan Salami So what is the strategy is to secure at the source. So in the past we do FDLC software development life cycle but right now we've moved into secure software development life cycle. So there are some of the metallurgy up there right now like Microsoft They have their own documentation on how to do secure web development. There's a CMM, there's an OWAPS AVVS. I'm not going to cut touch on this. I just briefly introduce you to those only who are developer and not been touching into security right now. This is a Microsoft secure development life cycle. There's a training requirement designing implementation fabrication. So every set of them they have their own unique string things. My few point there's a lot of metallurgy out there to do secure development life cycle but in reality we need to strike a balance. How much need do you need to secure your products or your web application? Is that too much or too little? Just briefly introduce there's actually open web application security project, OWAPS. It's an online community that actually publish documentation about application security and there's some standard you can use. OWAPS top 10 is a powerful awareness document for web application security. Sorry, am I boring you or this is what you already know. I'm so sorry. I'm just trying to introduce those who are new developers who I saw a lot of students coming into this event so I try to want to educate them about what is security. So actually they give a standard of a lot of vulnerabilities. They actually top 10 injection, broken, authentication, session management, cross-clad scripting. So how do you all manage all this? How do you all do testing? Okay, they actually release AV, AS, PS standards. Just show you that there are reports. They release a very well report on how to do testing. You can actually take a look. How to do cross-clad scripting, how to do authentication, tests, all this. OWAPS, they have actually verification level. There's a first level for all software. Second level is for application that constant sensitive data with require protection. Third level is for the most critical applications that perform sensitive data. So we can actually describe this. Okay, they have a list of actually what should you test for every items for your web applications. Okay, for their standard is at least all web applications should meet at least level 2. So there's a checklist you can actually download from OWAPS itself to actually follow to verify that if your web application does actually meet any standards. Example is all the checklist you can download at OWAPS website itself. Okay, this is just a guideline. There's no need for you to follow strictly. You can actually take some of the guideline to follow and not to follow. But for my point of view, you at least should meet a level 2 of this documentation. Okay, so how do you do testing?  Okay, exploit is for pen tester. We're going to touch on this. So how do you do recon within their website? Actually, there's a lot of tool up there actually to actually help you do mapping and discovery. For example, there's MNAT and ZEMMAT to pop up maybe to identify what are the servers your web application using. Is there anything you can use as an opening? For example, there's, I take our event website. Okay, we go ahead and scan their ports. Okay, this is a website I use normally to scan whether on this website what is open, what type of port is open, is it secure. Okay, when we do a sort of study of the website first before we do anything more in depth. Okay, we can see that the server types. Okay, you can do some specific server type of attack in a while. We know their servers. We know what is open. HTTP is open. HTTPS is open. So for some other website, they are less secure. You can actually see if the SMB is open, they are trying to steal your data. How many of you know the Microsoft authentication attack? Okay, by having an SMB image in the website I actually can get your window locking account. Window life locking account is your password hash.  So I suggest before you do anything always scan through what they are trying to do. Okay, I actually do a mini project outside on how today, how the hacker actually steal your window password. There's an SMB protocol. Actually 3.0 is over the neck. Actually you can steal their locking password hash. And then with the session key you can actually reverse the password and he got all your access to your Microsoft account. So these are the servers detail of our current website. So from all this, you can actually map out what you want to do. Okay, the next stage of this I will say is to use some free availability available software. So how many of you use Perth's Zem Sorry, Overwatch Zem. It's good. So you don't know how to use correct. It's a very powerful tools. I recommend Zem because it's open source and free. Overwatch actually give these free tools compared to Perth's. Perth's you need to have license. There's actually free trial version. But I don't think it's that useful actually because you can't save the reports itself. So let me take some random website and attack. Not recommend to do but I just for demo only. He actually can map out the whole website tough and folders. Example this is the website you want to do. You actually can attack and do a spider crawl. For this, there's actually a more in-depth tutorial can get online or go and visit on how to do actually most website do authentication. Okay. Do authentications. So you need to configure Zem to actually use your web browser as a proxy to actually map out two Ajax spider ring and do password authentication So this is a very good tool that you should explore if you are new to web security. Okay. For time consuming purposes you can actually have reports on what type of security loophole it is. I did some scan for some of the website way beforehand. And this is the vulnerabilities by the host itself and this is their report. You can see what you should actually close up. What is critical in your web system. What should you do and actually give you suggestion on how do you actually do the catching or cover up this problem. So a lot of problem today is actually web security. It's not actually the vulnerability of things but actually the developer itself it's important to do something like they forget to do verification or inputs. So they actually libraries from OWAPS itself you can actually use as a guide like development guide. They actually have open libraries itself for you to use for your development. They will check your input string all these. Anybody got any question at this amount of time? I can or anything you want to know am I too dry or this is what you already know? Okay Okay, I recommend you to actually go and look read up on OWAPS actually. They are very good templates and a lot of open source tools you can use from this. You scan it every other month in your experience what would be the recommended period of time to create an update if we need to run the scan. Actually if you are going for a project security every time you do a release you do a release but there's a point come to the point that how much work do you want to do releasing the product first or securing a product you must try to balance too much security delay the timeline and delay the whole project it's more harder to do exam then too little you come from ability so you must try to balance know what is your asset know what you want to protect normal website or systems normal data not very sensitive maybe you just want to do the top 10 vulnerabilities the top 10 like SQL injections authentications cross-track scripting top 10 maybe solve quite a lot of problem those out or outside of the top 10 real hacker trying to do hacker your side that type of people very extreme case maybe you need to consider after you release your product any other questions maybe for new people that is still there for web security so beside of us do you look into have you some tool to help methodology i think that you should follow some methodology first identify what are the use cases like there is a microsoft stlc the secure development life cycle you don't need to follow strictly but it's good to understand what they are looking out for i suggest at least 50% what they actually talking about you should actually consider implementing so if for people who using a gel methodology there is something don't forget the even user user story so you must always consider from other side normally people only consider the functionality the features of the product you cover functional test for all your the features itself that don't follow your user guide user that don't follow your recommendation they always try to do something out of the box so you must remember to actually consider that area also so any last question before i finish yes it's a skill invention developer detail yes but for all loss probably some old range it's actually standard for developer to follow and for operation to to use as a guide to test the system itself so you can consider a lot of good information from this community it's not too much for me thank you


Let's just move to the rounding of numbers. We can round to the nearest integer using the round function. So let's do a round. So we can call the round function 3.4. And that's going to round, of course, to the floating point value 3.0. It is only at values of 5 that it starts rounding up. So 3.5 is going to round up to 4. Now what we can do is force the issue so that it always rounds towards positive infinity side. And we can do that with a ceiling function, C-E-I-L. So if I put in 3.001, normally that, of course, would round to 3, but I'm forcing the issue so that it rounds to positive infinity side. So that's going to give me a 4. Same with ceiling on the negative number side. So let's take negative 3.999. You know, that's going to, of course, round to negative 4, but I'm forcing it towards the positive infinity side of the real line. So that is going to go to negative 3. I can force it to go to the floor side. Now floor means it's going to go towards negative infinity. So 3.999, which you can think rounds to 4. If I force the issue, it's going to go towards the negative infinity side. The same will go for, say, negative 3.001, which is going to go to negative 4. We're forcing it in that direction. We can go a step further. In Julia, we can also force things towards the zero. And for that, I use trunk, trunc. So if I use 3.999, that's going to go down to the zero side, which is 3. But on the other hand, if I use the truncate or trunk, if I do negative 3.999, it's going to go towards the zero side, which is going to be 3. Let's move on. I just want to show you greatest common divisor and least common multiple. Now the greatest common divider, greatest common divider, there we go, that's a function. So let's take this example that I've put down there, 4, 8, 20. So it's going to look at what can we divide into all of those numbers that will leave us with a zero remainder, with a zero remainder. Of course, I can divide one into each of those. One goes into four, four times. One goes into eight times. One goes into 20. So one would be a common divisor without any remainders, but I want the largest possible one. And it looks like four can go into itself, four can go into eight, and four can go into 20. So indeed four is going to be my greatest common divisor. The least common multiple, on the other hand, let's have a look at that. Least common multiple, let's do the three, the five, the two, the three, the five, and the ten I looked at. Now it's going to take multiples of those. What are multiples of two? Two, four, six, eight, multiples of three. Three, six, nine, et cetera, five. So it's five, ten, fifteen, ten is ten, twenty, thirty. So it's going to plot out all of those, all of those multiples, and it's going to see which one is the smallest common one amongst all of those. So let's have a look at that. It turns a thirty. So for two, we're going to do four, six, eight, ten, until we get to thirty, three, six, nine, twelve, until we get to thirty, five, until we get to thirty, and then ten, twenty, thirty. So ten, of course, is going to play the usual. So from ten, we'll have to go to twenty, because remember, three cannot go into ten without a remainder. Twenty-three, well, three can't go in there. Thirty, yes, they can all go into thirty. That's going to be the smallest common multiple. So those greatest common divisor and least common multiple you can use to create effect in your calculations.


Neto, gilydd i Eивzy Bourmouth. Rwy'n dweud gan ymddangos gyda chi'n bach y gallwn i chi'n dda'r hyn byw. Dyma'n gwneud, rydym wedi gofio. gallwn i'n rhaid i'n ddiseud ei gael y fion i'r ystafell y incerfyrdd ac eitem i'r newydd – rydyn ni'n ceisio o'u gwneud yng ngheriat flynydd yshef yn y codi cyllid yn bobl iawn. Wrth i, gallwn i'n ddych chi'n gwybod nifer y mae cymrydol fod wedi'u rhoi'r bydd yn ddefnydd i chi. It was important days where I understand the opportunity to be here. Arriving in my head, arriving in my family, we do everything to come because I think it's a good opportunity, a good experience and I can understand how the lovely place is here. You've played in some of the best leagues in the world, La Liga, Serie A. How much does the Premier League excite you? Well, the Premier League is always my dream. Like when I was a small guy, a young guy, sorry. My dream is always to be here in the Premier League and play the Premier League. I had the luck to be in Serie A, the luck to be in La Liga and did the amazing experience and I think that God brings me here for a reason and I'm really lucky to have this opportunity. So I hope and I want to do the best to help my teammates, to help the burn mouth and to do great things. You're also moving to England for the first time as well. How much are you looking forward to that? It's going to be a different culture for you? For me, moving to England is really important. I have a lot of friends here and like I told the Premier League is my dream and live here. It was always a thing that I want to do and realize it now is really important for me, really important for my family and I'm so happy and so excited to live this experience. You're a very experienced player yourself. We have quite a few young players in our squad. How important do you think your experience is going to be and how much of that can you bring to the squad? The times fly and now you say that I'm a very experienced. It's difficult to understand because the times fly and seven years ago I was one of the most younger guys in the team and now maybe I'm one of the most experienced. So it's important. I think the balance is important with the young guys and experienced guys but absolutely burn mouth have a lot of amazing players and we have the great opportunity to do great things in this season. Someone who you will have been in the same squad as is Gianluigi Buffon.  Yes, it was an amazing experience. Not just with him but I had the opportunity to play with many important players and to understand, to develop my career and my life. So it was a real experience play with Gigi. I could learn a lot of things and I want to try and my objective, my goal is put everything that I learned in my life and bring something to help a burn mouth. Now that you are here in Bournemouth have you had a chance to meet the manager and if so what did he have to say to you? I already spoke with him. He's an amazing guy. I think it will be the important point for this club in this season and when we have a coach and a people like that, the players understand who is the leader and we have to follow him and if we follow him we have a great opportunity to do great things. A few years ago you came here with Valencia in the pre-season friendly. What do you remember of that day and the fans that were here as well? Yes, I went here against Bournemouth with Valencia. We played in the pre-season. I remember the atmosphere. It was a great experience and now the world changes bring me here to help and to play for Bournemouth. I'm very happy and excited and why not we can bring happiness and great things for the cherished people. As we say, you've had an illustrious career playing for some amazing clubs. You've got that cap for Brazil as well but for those supporters who perhaps haven't seen you play as much, what would you say the strengths of your game are? I think I can help, I can bring the experience, I can bring what I learned, what I saw and I can improve too. I think it's really important to arrive with the humility to learn with my teammates. I think with the experience what I did in the football and what I learned I can put here, help. But the most important is stay together with the teammates and do great things. Now there is a connection with the cherished art of Boric, which I believe you played with in your career for Florentine. Have you spoken to him? Are you still in touch with him? Just tell us about your relationship with him. When I arrived in Florentine I went to one years, he was there and was an amazing guy. It was a great experience. I could learn a lot with him. His personality is really strong and was a good guy so it was a pleasure and I always followed him when he was here. Orneto, thank you for your time and we're really looking forward to seeing you and welcoming you here at Vitality Stadium. Thank you, thank you very much and I'm really happy to be here.


Hi, and welcome to your session. Here is this cast of calling question. The question says, integrate the following functions, x cubed by square root of 1 minus x to the power 8. Let's now begin with the solution. In this question, we have to integrate the function, x cubed by square root of 1 minus x to the power 8 with respect to x. Now, this is equal to integral of x cubed by square root of 1 minus. We can write x to the power 8 as x to the power 4 whole square tx. Now, we will put x to the power 4 as t. Now, this implies 4x cubed is equal to dt by dx. This implies x cubed dx is equal to dt by 4. So it's x to the power 4 by p and x cubed dx by dt by 4. So now, this integral is equal to 1 by 4 into integral of dt by square root of 1 minus t square. We know that integral of 1 by square root of a square minus x square dx is sine inverse x by a plus c. Now here, in place of x, we have t and in place of a, we have 1. So integral of dt by square root of 1 minus t square is equal to 1 by 4 into sine inverse t by 1 plus c. We have substituted t in place of x to the power 4. So this is equal to 1 by 4 sine inverse x to the power 4 plus c. Hence, our required answer is 1 by 4 sine inverse x to the power 4 plus c. So this completes the session. Bye and take care.


Obesity is a new, but the obesity epidemic is. We went from a few corpulent kings and queens like Henry VIII or Louis VI, known as Louis le Gras, or Louis the Fat, to a pandemic of obesity now considered to perhaps be the most dire and poorly contained public health threat of our time. About 37% of American men are obese, and 41% of American women with no end in sight. Earlier reports had suggested at least the rise in obesity was slowing down, but even that doesn't appear to be the case. Similarly, we thought we were turning the corner finally on childhood obesity after 35 years of unrelenting bad news, but the bad news continues. Childhood and all adolescent obesity rates have continued to rise now into the fourth decade. Over the last century, obesity appears to have jumped 10-fold from about 1 in 30 to now 1 in 3, but it wasn't a steady rise. Something seems to have happened around the late 1970s, not just here, but around the globe. The obesity pandemic took off at about the same time across the world in most high-income countries in the 1970s and 1980s. The fact that the rapid rise appeared almost concretely across the industrialized world suggests a common cause. What might the trigger have been? Any potential driver would have to be global in nature and coincide with the upswing of the epidemic, so the change would have had to start about 40 years ago and able to spread rapidly around the globe. Let's see how the various theories stack up. For example, some of blame changes in our built environment, shifts in city planning that have made communities less conducive to walking, biking, grocery shopping, but that doesn't meet our criteria for a credible cause because there wasn't a universal simultaneous change in our neighborhoods within that timeframe. If you do a survey of hundreds of policymakers, most blame the obesity epidemic on lack of personal motivation. But do you see how little sense that makes? Here in the US, for example, obesity shot up across the entire population in the late 1970s. Are you telling me that every single sector of the entire population suffered some sort of simultaneous decline in willpower? Every, you know, age, sex, and ethnic group with all their different attitudes and experiences coincidentally lost their collective capacity for self-control at the same time? I mean, more plausible than a global change in the nature of our characters would be some global change in the nature of our law. The food industry blames inactivity. If all consumers exercise at the CEO of PepsiCo, obesity wouldn't exist. Coca-Cola went a step further, spending $1.5 million to create the global energy balance network to downplay the role of diet. Leaked emails show the company planned on using the front to serve as a weapon to change the conversation about obesity in its war with the public health community. The tactic is so common among food and beverage companies it even has a name, leanwashing. You've heard of greenwashing, where companies deceptively pretend to be environmentally friendly. Well, leanwashing is the term used to describe companies that try to position themselves as helping to solve the obesity crisis when they're instead directly contributing to it. Indeed, the largest food company in the world, for example, Nestle, has rebranded itself as the world's leading nutrition health and wellness company. Yes, that Nestle, makers of Cookie Crisp, and historically more than 100 different brands of candy, including Butterfinger, KitKat, Goober's, Gobstopper's, Runtz, and Nerds. Another of their slogans is Good Food, Good Life. Their raisinettes may have some fruit, but they seem to me more Willy Wonka than wellness. Let's just say that on their What Is Nestle Doing About Obesity webpage, there, read about our Nestle Healthy Kids Program link, gives you a page not found error. The constant corporate drumbeat of overemphasis and physical inactivity appears to be working. In response to a Harris poll question, which of these do you think are the major reasons why obesity has increased? A large majority chose lack of exercise, while only 34% chose excess calorie consumption. That's actually been identified as one of the most common misconceptions about obesity. The scientific community has come to a fairly decisive conclusion that the factors governing calorie intake, more powerfully affect overall calorie balance, is more our fast food than our slow motion. There's even considerable debate in the scientific literature as to whether changes in physical activity have had any role whatsoever in the obesity epidemic. The increase in calorie intake per person is more than enough to explain the obesity epidemic in the United States and around the rest of the world as well. In fact, if anything, the level of physical activity over the last few decades has actually slightly gone up in both Europe and North America. Ironically, this may actually be as a result of the extra energy it takes to move around our heavier bodies, making it a consequence of the obesity problem rather than the cause. Formal exercise is only a small part of our total daily activity. Think about how much more physical work people used to do in the workplace or on the farm or even in the home. It's not just the shift in color color from blue to white, increasing automation, computerization, mechanization, motorization, and urbanization have all contributed to increasingly more sedentary lifestyles over the last century. But that's the problem with the theory. The occupational shifts and advent of labor-saving devices has been gradual and largely predated the dramatic recent rise in weight gain the world over. Washing machines, vacuum cleaners, and the Model T were all invented before 1910. Indeed, when put to the test using state-of-the-art methods to measure energy in and energy out, it was caloric intake, not physical activity that predicted weight gain over time. The common misconception that obesity is mostly due to the lack of exercise may not just be a benign fallacy. Personal theories of causation appear to impact people's weight. Those who blame insufficient exercise and are significantly more likely to be overweight put them in a room with chocolate, and they can be covertly observed consuming more candy. Those holding that view may be different in other ways, though. I mean, you can't prove cause and effect until you put it to the test. And indeed, people randomized to read an article implicating inactivity went on to eat significantly more sweets than those reading about research that indicted diet. A similar study eventually found that those presented with research blaming genetics subsequently ate significantly more cookies. The paper was entitled, in unintended way, in which the fat gene may make you fat.