So in this video, we're going to look at ordinary least squares in that we're going to solve for a quadratic, a cubic, and a linear equation in the plane. So what I'm going to assume here, as you can see in the introduction, I'm going to assume that you are familiar with vector operations, adding a vector, subtracting vectors, multiplying a vector by a constant, et cetera. Matrix operations, including the transfers of a matrix, the inverse of a matrix, and then matrix vector multiplication, very specifically the column space of a matrix, the concept of linear independence of those column vectors inside of a matrix, and then the projection of a vector onto the column space of a matrix. At least if you're familiar with these things, I'm going to explain some of them in an intuitive sense so that you understand the use of least squares when we're trying to approximate a solution. So the packages that we're going to use in this Jupyter notebook or then Google Colab notebook is I'm going to import warnings and then just set the filter warnings to ignore. So you're going to set the percent config magic there just because this is a retina display and I just want those images to be nice and crisp. And then from a matplotlib, we're going to import the pipelot module as plt and then I'm just going to set a font because I'm going to use a specific theme when I do my plotting. Then I'm also going to import numpy using the namespace abbreviation np as usual and then from the symbolic Python package, sumpy, we're going to import the matrix function that's an uppercase m. So here's our example problem. Let's set up this problem. We have a two space, so Cartesian plane, x and y coordinates, and we have these three points, 1.5 comma 1, 2.5 and negative one comma negative two. And as you can see here, we have this picture here of the problem and that's the theme I'm using, xkcd, very famous. And you know, it's just a bit of whimsy as far as our plotting is concerned. And what we want first of all, we're going to find this quadratic approximation to the points. So remember quadratic function, that's a second-order polynomial to go through these points. Polynomials such as y equals x squared, for instance, that it goes through those three points. Now it's also got to go through the origin there. We're not going to set any kind of y-intercept and that's going to be very difficult. There's not going to be, we'll see that there is no quadratic polynomial that is going to go through those points. So let's start then with this quadratic approximation of the solution. And I show you here y equals a sub one x plus a sub two x squared. That would be a polynomial that goes through the origin. In other words, there's no y-intercept. We're not adding some constant to that. But I have these two coefficients, a sub one and a sub two. So for instance three equals negative four x plus two x squared. Now that is a polynomial and it might go through those points. We need to solve for those coefficients. And if you're using this in some kind of application, for instance linear regression, we usually use the coefficients beta and we usually use a beta hat just to denote that this is going to be an approximation. For instance, we have a sample taken from a population and we're just estimating those population parameters by the sample values that we're going to calculate. So we use beta with a hat on and for a sub one that specific coefficient, we can use beta sub zero and for a sub two, we can use beta sub one. So in the end, we're going to have this equation. We've got to solve for those beta values. So y is going to be approximately equal to a beta sub zero times x plus beta sub one x squared. So if we look at the three points then equation two, remember the first point was 1.5 comma one. So 1.5 was my x value. So we can see my first coefficient times 1.5 plus my second coefficient times 1.5 squared. And that should give me one. And the second point was 2.5 and the third point was negative one comma two. So you see the y approximately equal to, and if I have these values beta sub zero and beta sub one, it's going to approximately equal those three y values given the three x values. So if we write this in vector notation and then using a matrix, so we put all the y values in a vector and we're saying that vector is approximately equal to, now this is a constant times a matrix, a constant times a column vector I should say, beta sub zero times my vector of x values plus beta sub one times each value squared. So if I write this with a matrix, I'm going to say y is approximately equal to this vector and this column vector all in a matrix. So that's what we have in line three. This x here representing a column vector and x squared my second column vector times beta a hat. And that's a vector with a two values. And you can see when I multiply this matrix by this vector, I'm going to approximately get this one five two. And that's what we write very neatly right at the bottom. So why my vector y is going to be approximately equal to some matrix times my vector of unknowns. And what I need to solve for is those vector of unknowns. That is what I really have to solve for. And that's going to be a slight problem because we see that approximation and we'll see shortly why this is just an approximation. So just want you just to realize one thing, we're going from our points, which is in two space. We're going to three space here. Those two things don't have anything to do with each other. Those points that we had was in two space, but I'm taking all the x values and y values, setting up a quadratic. And now we are in three space because we had the three points. So this is what we're trying to solve for. And I'm going to show you just over here on this tab, let's go there, it's just a little Google drawing of what's going on with this least squares. So if you think about our two, now this is not a representation of our actual problem. This is just some schematic of our problem. So our column vectors, we have two column vectors in our matrix A. And imagine these are these two blue vectors there. Now they're in three space. We can see the x coordinate, the y coordinate and the z coordinate. And because we only have two of them, they're linearly independent, which we've shown here, they're only going to span a subspace of three space here. They're only going to span this plane through the origin. So if they're linearly independent, they're going to span, so a linear addition of all of these. So if I have some constant multiple times vector A plus some constant multiple of the second column vector, I can land up anyway in this plane, but I can't get out of this plane. And my problem is y, as you can see orange right up here, that is not in the plane. So my vector y is not in the column space of my matrix A. And that's a problem. Fortunately, we can find this projection of y onto the column space. And we do that so that this is this perpendicular, perpendicular to this plane. There is a point on this plane that goes out to y so that this distance is the shortest possible. This is perpendicular projection down onto the plane. And now you can see we've decomposed y into y parallel, because I'm just using y parallel there because it's parallel to the plane. And then y perpendicular, because this perpendicular component, that is going to be orthogonal to my plane. And that makes it very interesting because any vector that I've got in the plane with a dot product with this y perpendicular should give me zero. They are orthogonal, so any vector in this column, dot product, and you've got to remember that, that becomes very important. What we can solve for if we can't solve for y is at least we can solve for y parallel, because y parallel is in the column space of my matrix A. Some linear combination, some linear addition of these two column vectors, these blue ones will give me y parallel. That's absolutely possible. So I can at least solve for that if I cannot solve for y. Seeing as you can clearly see there, y is not in the column space of A. So what we have here at the bottom is I have my matrix A consisting of these two column vectors multiplied by these coefficients that are in a vector. It's gonna be approximately equal to y. And on the left bottom here, we can see remember y equals y parallel and y perpendicular. That's just vector addition there. And if I just isolate y parallel, that's y minus y perpendicular. So I can go from this approximation to this equality here. I can say eight times beta, that's going to equal y parallel. Some linear combination of these two column vectors can give me y parallel. But remember y parallel is this y minus y perpendicular. Now look what happens if I take a transpose of both sides. So I'm gonna left multiply this equation here, I'm gonna left multiplied by eight transpose. And that's going to have a beautiful effect in as much as if A is not a square matrix, which in our instance it's not going to be. It's gonna be a three by two matrix. If I left multiplied by its transpose, I end up with a square matrix. And that's very nice because if I have a square matrix and those columns are linearly independent, I can take its inverse. And that's going to be very important as well. But let's look what happens. If I take A transpose, left multiply both sides, that means on the right hand side, I have A transpose y minus A transpose y perpendicular. But we just set up here that any column vector with a dot product with y perpendicular should give me a zero. Now if I take A transpose, all the column vectors are now row vectors in A transpose. And I'm taking the dot product of each of them with this perpendicular vector so that all those dot products are gonna be zero, zero, zero. So I'm end up with this zero vector. And if I add a zero vector, I'm doing nothing, I might just throw it away. So in the end, we left just with A transpose y. So A transpose A times beta equals A transpose y. So I can solve for this problem. I can attack this problem and I don't even need the perpendicular component. I don't need the component that's in the plane. I just need y and that's what I was given y. I didn't have to care about those things. It's this magic of taking left multiplying by the transpose. So let's get back to the problem. So we've seen there how we go from this approximation to this equality here. If we only consider y parallel, and here's our full sort of derivation of what's going on. So I've left multiplied here in equation five by A transpose on both sides. But I do remember that A transpose times y perpendicular is gonna give me the zero vector. So that just falls away. And there we see minus the zero vector in the second line. And I'd also do some association here on the left-hand side. I'm just looking at A transpose A. And now we've said that if A transpose, if just A has linearly independent column vectors, and in our instance it's going to be because I have a vector of x and then a vector of x squared. That one is not a linear combination of the other. One is a square of each element of the other. So that's definitely not a linear combination. So I have A transpose A. Remember A is going to be for us a non-square matrix. It's gonna be three by two in our instance. If I left multiply that by A transpose, I'm going to end up with a square matrix that has linearly independent columns. And if I do that, I can take its inverse. That inverse will exist. So if I now multiply by the inverse of A transpose A on the left-hand side and on the right-hand side, I have the inverse of a matrix because A transpose A, that's going to give me a matrix, a result matrix. So the inverse of that times the matrix itself, that just leaves me with the identity matrix. It just falls away. In other words, just remember here, the parentheses I'm using at the end, specifically in the last line that has nothing to do with the equation itself. I'm just explaining what's happening. That we end up here with six, that we have a solution for this vector beta hat that contains my two unknowns. And that is the least squares, ordinary least squares. This equation that you take matrix A transpose times matrix A, you take its inverse multiplied by the transpose of A, multiplied by Y, gives me my two solutions. So if I look at it in this way here on the left-hand side and seven, this is what we have in the moment. My column vector of my X values and then my X squared values. That's my A, that's a three by two matrix. If I multiply that by beta sub zero and beta sub one, it's going to approximately equal that. But I now know if I do the transpose, I'm going to get an exact solution for beta. Of course it's not an exact as far as my final problem is concerned. That's still going to be approximation. And I just want to show you here that this matrix A, it is linearly independent. These columns are linearly independent. If we take the rank of that matrix, remember the rank is going to give me the number of linearly independent columns inside of a matrix. And I'm using some pi's matrix function there, uppercase M. I'm constructing my matrix there and I'm using the rank method there. And if we do that, we see a rank of two. So this matrix A, really those two columns are linearly independent, which is great because that means if we left multiply by its transpose, we're going to get a matrix of which we can take an inverse. Just another way to show you that all three columns are linearly independent. So if I create a matrix of the two column vectors in A and I add to that another column vector, which is Y, which I've done here. And I do row reduced, get it to row reduced echelon form. If we were to do that, we end up with the identity matrix. Remember, that does mean is that it's only the zero vector that is going to give me a solution to the homogeneous problem. In other words, those three columns are linearly independent. And we saw that in the little schematic that we have in Google drawing that they are all linearly independent. That's what I was trying to show there. Once again, that representation wasn't exactly a representation of this problem, but it's only a schematic to show you what's going on. So just want to remind you how we get an equation for that plane to get an equation for plane in three space through the origin. What we need is a point in the plane. And of course, we've got two column vectors here in our plane. So the tip of any of those two vectors can be a point for us in our plane. And we need a normal vector, an orthogonal vector to that plane. And how do you get that? Well, we've got these two vectors in the plane. And if we take their cross product, we're going to end up with a vector that's perpendicular to them. And that vector is going to be perpendicular to the plane. So that's what we can look at there. And this is how we set it up. And we see the uppercase A, Bs and Cs there. Those would be this normal vectors components. And we see the normal vector there. If we take the cross product of our two column vectors in a, we see it there. And if we substitute that to six negative 3.75 and 1.5 in there and we take X sub zero, Y sub zero and Z sub zero to be one of the points, one of the tips of our vectors and we've taken negative 1.5, 1.5, 2 and negative one, we solve for that. And of course, the way that this problem is set up, of course the plane is just going to end up with its coefficients being the components of our normal vector there. And we can just attempt another go at showing that our vector Y is not a solution, it's not in the plane. Because if we plug its points into this equation for the plane, the left hand side and right hand side of eight are not equal to each other. That point is not in that plane. So let's use Python and just do these calculations. So I'm going to set up a matrix A, there we go. And there we go, we can see the two columns there, 1.5, 2, negative one, that's the first column, there's one of our three X coordinates and I'm just squaring them because we want a quadratic approximation. And I'm just setting up my vector Y there. So you've got to see, you don't need to do all these brackets in there, you can just use the reshape method if you want to, setting those values to negative 1.1, but I've just done them individually just to make sure that this is a column vector. And now we're going to use equation six. Remember that it's the transpose of a matrix times the matrix and you take the inverse of that, multiply by the transpose of that matrix times Y and that's going to give us beta, the vector beta. And of course it has to have two values in it, that's a two by one matrix or two element column vector and we see there. So let's just extract those two individually and store them as beta zero and beta one. I'm just using some indexing there just to store those two values. And now I want to plot, finally I want to plot this solution. So what I'm doing here I'm just creating a bunch of X values and I'm using the numpy's a range function there going from negative two to three and steps of 0.05 just so that I had plenty little dots and then what matplotlib is going to do is it's going to make a line from that. And then my solution, remember, which is just a quadratic, I said it's beta sub zero times X plus beta sub one times X squared. So I'm just doing that for all of the values in my array there so that I have X and Y values as little dots and then of course matplotlib is going to create a line from that. And then again with the XKCD what we're going to do is just create this figure. I'm going to put my dots in the figure and I'm also going to plot this red line which we can see there of X and Y values so that we can see both the three points that we had and the quadratic approximation. It's not going to go through all those three points and I've explained to you exactly why that would be. It's not in the column space. And there you can see that would be the best approximation that we can find that of course we did not put a Y intercept so it's going to go through the origin and there are my three points and it is an approximation. So this you can see it's starting to curve so it is going to be a parabola and it is the best fit to these three points. Now if we bump this up and we make this a cubic if we try cubic approximation we actually going to get a cubic solution a cubic equation that is going to go through all three points. Let me show you. Once again in here in equation 10 if we set up this problem we're going to have X plus X squared plus X to the power three so it's going to be a third order polynomial. So that'll make it a cubic equation and it's going to solve but now we have to have three meters of zero, meters of one and meters of two we need three coefficients for this problem. So let me just create this matrix and I'm just going to show you that these things are linearly independent. This column vector X, column vector X squared, column vector X cubed just doing the row reduced echelon form of that using, this is using sum pi if you don't use sum pi's matrix function there you won't have this method available to you it's not a num pi and we see the identity matrix there so those columns are definitely linearly independent. So let's create a num pi matrix of A remember Y's unchanged and I'm just going to use exactly the same ordinary least squares equation, equation six there so the inverse of A transpose times A times A transpose times Y and I get a solution this time it's going to have three elements so three by one vector there and then just saving them individually again just creating my X values and Y values so that I can plot them and now finally we plot this whole solution and you can see with a cubic of course it's going to go through all three points if we had four points we wanted to go through all four points of course we're going to have a fourth order polynomial and this you know might look neat but it's not always what we want what we want most of the time is a linear approximation when we do applications because we don't want to what we call overfit the data because if we create this it's going to fit our data but when we want to use this on unseen data it's not going to it might not do so well so let's do a linear approximation so this is going to be a bit different we know a straight line in two space there we have Y equals MX plus C we have it all the way up there and M is the slope C is the intercept and for the slope we're going to have beta sub one and then for the Y intercept we're going to have beta sub zero and the way that we set it up here is in equation 11 it's a bit different from what we've seen before so there's my vector Y one five negative two all my all those values right on the right hand side we see the vector of X values one point five two negative one and we're going to multiply that by the coefficient beta sub one but we need this beta sub zero as well and what we do to make this vector equation work out we just put a vector of all ones because the scalar times each of these ones is just going to be that beta sub zero beta sub zero beta sub zero so that I can read them off again so the one is going to be the first one there it's going to be approximately equal to beta sub zero times one so it says beta sub zero plus one point five times beta sub one and that's still in approximation because I want to remind you just use slightly different notation in 12 here where I've put a hat on the Y that is in applications where we're just going to get this approximate value of Y we're not going to get this value just showing you a bit of different notation but really that's not what this explanation is about I want you to stick to the original explanation that we had now if we want to create a plane remember it's just a cross product now of these two column vectors one one one one point five to a negative one if we take its cross product as we do there we see that we can create this equation for our plane and I'm going to just to show you that what that plane would look like but then I'm going to create matrix A there now with the one one one in the first column vector and then we're going to do exactly what we did before so there's my solution using equation equation six ordinary least squares I save beta sub zero and beta sub one I just create a bunch of value so that I can plot it and there is the magic we can see the linear approximation of our problem and this is usually an application of what we would go for we want this linear approximation it does not fit the data as well it is just an approximation but it probably will generalize much better to unseen data when you use this linear regression here as the creation of a model so there we go ordinary least squares and how we use it to approximate a model at least for the points in a plane


Okay, man, I was gonna start. Today's been a rough day, man. Gotta admit it was really tough.  I used up all my Christian, but before we start that, a couple of items, guys. Welcome back. I missed last week. It's good to be back, guys. Okay, let me see what these questions are real quick before I start. Tim says whenever you use financial hole. Guys, I'm gonna talk about this. Okay, this is gonna be very important. Today is the last day, the last day that we're gonna give the free. So we created over the course of six months a course called the Accelerator Jumpstart. What Accelerator Jumpstart is, is this. We have so many videos. We have, trading is so huge. You don't know where to begin. You know? Before MIC, you guys were pretty much learning on your own. Then we started to create a process. So we were the first people that's talked about process. Now everybody talks about process. What a process will help you do is it makes it systematic, robotic in your trading so that you can go through a process and it'll spit out your result, which is, you know, most of the time should be a winning P&L because the process is based around winning strategies, proven winning strategies. That is up to you to be a disciplined trader to apply proper risk management as well as waiting for your entries. And the entries we like to use are based upon the lines. Okay, so we started the lines a long time ago, which basically is the most simple way to do entries and exits. But the problem is this. Where do you begin learning all this? We have many, many, many members learning for the past two years successfully. What we did was we wanted to create a course, which basically accelerates and jump starts the path because training is, you know, there are people that take to training naturally right away and there's people that take forever or some people that never ever become a good trader. That's just a normal fact of life, right? So what we did was we took all of what we know so far, all our videos, and we kind of created a cliff notes and condensed version called the accelerated jump start. So it's a seven or seven and a half hour course that will take you from knowing not much about training, which is basically nothing. From not knowing anything, we find what a stock is and all that to being able to place your first trade after you finish this course. But it doesn't mean you become a profitable trader right away. But what it means is you are now educated enough to place your first trade. And then that's the beginning, that's jump starting your education, okay? This will save you tremendous amount of hours, tremendous. We created this, we beta tested it within MICs, groups, lifetime members such as Faye and everybody else, Vic and whoever else, beta tested this, make sure it works. And we have given this out to every single annual member out there for free. But that will end this today, right Tosh? So basically we said this, when we launched the Accelerator, we didn't want to charge anybody because that's not what we do, right?  We spent six months, countless of hours to develop this course. And so we gave it for free if you are an annual member. But that's gonna end midnight today, guys. So if anybody that joins MIC after this is gonna have to pay.  And people don't value free stuff. We gave it over a month time and the price is gonna be like 1400 bucks or something, which is still much cheaper than every other course out there, guys.  And you still don't understand how to trade. But this, with this course, it's not even a DVD. It's an actual course that we sell. But we're giving it for free, guys, for all annuals.  It's not gonna be free anymore. So I mean, that's nothing I could do about it. We gave enough time. And text Tosh, Tosh will give you his text messages, his text numbers, we just text them, and then you can see what you do, okay? If you can't currently afford it, text him and figure something out. But this course, in my opinion, is very life-changing because I have a lot of friends out there that have taken this course and they're like, oh my God, Val, I have a guy. For example, my friend, he joined a year ago and it's just like, dude, there's just so many videos. I don't know where to begin, you know? The traders that take time to watch the videos, they have excelled, okay? The people that are kind of lazy, I mean, they're just lazy. So this DVD, this course, it's not a DVD, it's an actual course for design for the lazy people. I don't want to use that word, but that's what it is. It's like watching the Cliff Notes, guys. The Cliff Notes, which is like the summary of the book, instead of reading a 2,000-page war and peace book, you know, you're reading a 30-page synopsis, Cliff Notes version, right? So that's what we did. Doesn't mean you become the best trader, but it'll get you jump-started to the point where you understand now the concepts and how to place your first trade, okay? So that ends tonight. We are also raising prices on lifetimes. We are pretty much the most inexpensive. In my opinion, we are the best educational service out there, guys. We are actually the only educational service out there. And I call this a true educational service because we teach you to trade. We do not pump and dump. We don't alert stocks. We have a watch list, we guide you, we teach you to become self-sufficient. And that is the difference. And that's why, in my opinion, we are not the largest group out there because people like getting rich quick.    All these Robin Hood guys right now are chasing people on lifestreams, showing big P&Ls. All these guys are doing is revenge trading. They're just, they're not teaching you the proper way. Okay? If you want to make it in this game, guys, if you want to make it in this game, you must learn how to properly trade for yourself. Getting rich quick is a one-time thing, okay? You'll start slowly bleeding back all your profits. I've been there, I've done that. And so when we started MIC, we wanted to really teach people how to trade. And that's why this, that's why everybody comes here. This is why every Tuesday I do this live, every Monday Alex does the live. Who does this?    I don't know, this is not meant to be a rent on them, but I'm just letting you guys know. And then tomorrow, every Wednesday, it's Tosh's webinar. If you want to know what MIC is like, join his free webinar tomorrow. You'll see inside of MIC. You'll see the people, you know, all these trolls are saying we're scammers.   We are the most transparent community out there. We let you look into the community.  No one ever says anything bad, because you know there's nothing that we do that was scamming. You know, we don't pump you any positions. I could easily pump my positions, but I do not. And that was the intent all along for you to learn. And we have members truly learning. We are growing members from scratch. But anyways, so that's, you know, I don't want to get into that. I want to talk about today. And today what we talk about is the cushion game. Okay, because this is very important. It happened to me today. It happened to some of the members who, who messaged me today, cushion game. You know why I want to talk about the cushion game? Because the stock market has been crazy right now, man. It's, it's like people are making a lot of money. And people are also losing a lot of money.  And when you're on the ridiculous win streak, sometimes you forget the discipline, the rules that got you there because you're playing the cushion game. I'm up so much.   It worked every time I broke a rule, I made money. And so I'm rewarded during the streak. This is why I keep trying to tell everybody is so important. It's not how much you make guys. It's the method that you make it that will define your longterm success as a trader.   I'm down 50 grand.  I made it all back.   What is that teaching the members? You know, just because the guru can make it back and the guru has deep pockets, the members are learning bad, bad, bad habits that will blow them up. There will be stocks like VXRT, like Beyond Meat, Tilray, Drys, those stocks that will not come down, that you will go broke, okay? Bad habits, you gotta shake them guys. It's more important on the process that you make the money. Some of my best days were losing days because I stopped out. I was able to get out of a position before I blew up my account. A small loss is a huge victory most of the time, okay? And so today I'll give you an example. I woke up today, I hammered WKHS. I did all this great thing. I was in the groove, man. In the morning I was like, dude, I was, so what I did was I built up a big cushion before the market even opened. I was up like over five grand before the market even opened, right? And so I'm like, okay. And so I was in so many positions guys that I was like, I wasn't even paying attention. Next thing you know, two stocks did something, okay? VXRT, I didn't know I was filled. I didn't know it went up a buck.  Cause VXRT, I was like, this guy gotta be dead, right? It was so beat up this pre-market. It was so beat up. I was like, okay. So I started to scale in.  That was a mistake that will fix ongoing. Mistake I'm fixed ongoing is this guys.  And so what I did was I all of a sudden had all these open orders got swept on the way up. I don't even know why I put those. The reason I put those, cause I was lazy because I wanted to trade 10 positions at once. And I was up out of cushion. I'm like, okay. If I feel 5,000 shares of this in order for me to lose 5,000 bucks it has to go up a dollar.  And then all of a sudden I'm sitting on a 5,000, $6,000 loss.  There goes all of the hard work I did pre-market. And so there I am. Now I'm stuck. And the moment I noticed that I did the right thing. I took the loss before I didn't triple down. I didn't do anything. I just took the loss. I waited for the dip and I took the loss. But the problem was the dip never came. And so that's another mistake too. Sometimes don't wait for the dip to come.  I was like, okay, I'm gonna wait for the next dip. I'm gonna wait for the next dip. Next year, it went up 50 cents more. 50 cents on a 6,000 share position. 7,000 position. So I kind of basically lost half. Instead of losing 6,000 I could only lost 3,000.  I was arrogant. I was on a good streak. I was using cushion.  I was down on paper while I ate grand. I covered for $6,000 loss. I mean, I'm okay.   You had good process. You stopped out well, all this stuff. Then it comes to the point where you made a lot of money and then it becomes a cushion game to you.  So the cushion disappears very quickly, guys. That's why I keep making these videos to remind everybody. When you're on a winning streak, those are the most dangerous. Because when you're on a winning streak, you throw caution to the wind.  I'm up five grand today. I'm up 15 grand this week. I'm up 100 grand this month. Whatever it may be, right?  It always worked before. During the streak, you would break the habits, it'll work. And so some, but then you know what it meant? Eventually, this is what happens to the streaks guy. Eventually, streaks end. Every single streak ends, okay? You have to be careful with that one loss. I keep telling everybody all the time. Being consistent is not enough. You can still be consistent, but still be an unprofitable trader. How? Imagine you're on a winning streak. You're up 10 days in a row, but that one loss wipes the entire streak out. That's how a consistent trader is not a profitable trader. There's a huge difference actually. Being consistent is just the first step. I keep telling you, I tweeted yesterday about the aha moment. It's not just being consistent. It's the risk management. I'm not letting that one loss wipe out the entire streak. And that is how you get over the hurdle and how you're able to get to the next step. The next step is being consistently profitable trader.  Have good habits. Use hard stops. What I did was this. I have all my members call the broker to set up your account with a max daily loss. Because I don't trust myself.  Whatever the number is for you put it there. It could be a thousand bucks, it could be 5,000, it could be 500. It doesn't matter what it is. You do not want that one losing day to wipe out your streak. You know, you can do it maybe two days average loss if you want, whatever it may be. Because if you're on a 10 day winning streak, sure the next time you lose, you hit the max loss and the max loss is maybe two days. You're still up eight days. That's the secret because what's gonna happen is this, I guarantee you this will happen because it happens to me often before, right?   Next thing you know, I'm fighting this thing, breaking the zombie rule. I start out with, okay, my cushion, I'm about to up 5,000 today, then your cushion gets wiped out.   So then that weak cushion goes away. Then you start to do research. This is a sign, man.  You should have done research prior to getting it. So some of the key indicators, guys, and that's why a tab is very important. The mental aspect of this, risk management involves a couple of things. It's a mind control. And a lot of us, like myself, are very weak. Mind, mentally. So we have to set parameters such as using hard stops. I put a hard stop on WKS today. I just didn't put on VXRT for some reason.  But then you have a tab which reminds you. But the ultimate one, in my opinion, is call your broker and set the max daily loss. So I have a max daily loss, okay? You can set up for two days loss. And that's completely fine.  Now I'm starting to oversize, for example, right? Like, oh, let's press, let's press.  So using a thousand shares during your streak, 10 days, so you got 10,000 shares, right? Now you upped it to 5,000, 3,000 because of the cushion game. All you need to do is just be down one day and wipe out your streak. And this is why you have to set offense, guys.  They have zero risk management.  They just happen to have money, so they refill. But as a student, guys, you guys wanna alleviate that. And I've got messages today from people that have been on streaks and they've hit their max loss and they try to call the broker to turn off that max loss and then, thanks God, the broker's like, no, no, I can't do that.  When you hit that, that's cooled down.  There's no good when you come in.  Go home.  Most of the time, you not make it back unless you're revenge-trading. I see guys buy million-dollar positions to try to make back 50,000.   Epic, it's epic, I made it all back, it's epic.  I'm like, dude, that's not how we do it and that's not how I want anybody to do it because eventually you're all gonna come back and you're gonna tell me the same thing about it.  I blew up again. And then I keep asking the same questions. Did you break the rule? Do you have a hard stop? Do you have a tap? Did you set the broker max daily loss and stuck with it? Or did you try to call the broker to get back into your account?    Sure, I have a max size on that as well. 10,000 shares is my max size and I have a 10,000 max loss. And the other account's a bigger account. I can buy short 50,000 shares I want, no max loss. But you know what, guys?  I can never tilt on that little account. If I tilt, my max loss will be hit or my max size. I cannot add back a certain size. So what it does is this, guys, there's many levels of protection you need to put for yourself because it's gonna be very dangerous now. The markets may shift and all of a sudden the way you think it's working is not gonna work. A lot of people do not understand this.  That stocks go up forever. No, dude, you need to put a parameter around yourself because I don't trust myself. I'm pretty sure you don't trust yourself. So max size is also an important thing because what happens if you want to use 3,000 shares max size, call your broker. Don't, do not let me add more than 3,000 share positions.   Like today, on my little account, I maxed out on VXRT, I couldn't add more size.  I was right, I was right. Every time, you know, but they kept on going up. So thank God I couldn't add any more size.  So go and set your max size and max loss and all that stuff. And I'm telling you, man, these environments, the money is there if you follow the process. And also I wanna talk about one more last thing before we bring someone on. People have been posting a lot of crazy P&Ls out there, guys. Do not, you know, if you watch that and you look and it affects you, stop looking. Because I'm pretty sure a lot of you guys get affected by yourself too.   And why am I putting a pussy? Why am I sizing up? Why am I doing training this? Why am I gambling? Why am I revenge training? Why am I, you see what I'm saying? So it gets you out of your game. And just remember, you only need to make $4,000 a day on the average to make a million a year. You don't need to be swinging 50,000 days. The guys that are swinging 50,000 days, they might have 50,000 day losses too, which you do not want. Unless you have a big enough bankroll, right? So everything is in perspective, guys. Everything is perspective. Focus on yourself. And that's how you get there.  You know, I'm like, why is that necessary? Who gives the shit? You know, let them make their money.   So that's the trader maturity that, I want all members, all of you guys to understand. You know, you just need to be better than the person you were yesterday. If you want to compete with someone, compete with yourself. Any questions? Okay, so I'm gonna field some questions now, guys. And then I'm gonna bring someone on. Anybody on who wants to get on, raise your hand? Anybody questions? Repeat the question. Take a couple of questions and if anybody wants to come on, I'll bring you a split screen on. I don't know, the hand is sizing, please. What is your question on sizing? Remember, guys, you have to be specific to these questions. You can't just say, oh, how do I make money? How do I short? How do I go long? Sizing. Sizing me. Okay. Let's see. I'm gonna lie, this is Mike. Mike's one of our. Hey, man, how's it going on? Wow, brother. Hey, tell me who you are and all that stuff and what's going on with your trading because this is a good story, guys. Mike, my friend in MIC. And yeah, I DM'd you earlier. You were talking about the fishing game. That was me today. That was a, I took the Mac, I did a Mac loss today. So tell everybody what you did though because you were on the streak, right? Yeah, I was on a really good streak. You were on a good streak. So tell us, so tell the backstory. So, I guess I was just getting a little. So tell us the backstory. So you were on the, so before that. So I wanna paint the picture for everybody so everybody understands the backstory on how it led to today. And so you were on a nice win streak. You were at during this time where you're, were you obeying the rules? You're trading well or you're event trading? Yeah, I was trading really well. I was talking to my tabs. Like I was telling them, like, yeah, this month, not just P&L wise, it's been my best month, but also like trading wise, execution wise. I've just been sticking to my process and staying disciplined. But I guess today, I kind of sized in too early on Dave KHS and then it was in pre-market and then I wasn't even paying attention. And I got on that squeeze right before the open got filled. And then that was the offering. That was the news on the offering. Dude, that was crazy. Yeah. And then I kind of underestimated it. I knew I should have stopped out, but I was like, no, I think this will, you know, it's gonna tank, but then I didn't think it was gonna squeeze that hard. So I got a little stubborn and then eventually just hit my max loss because I sized in too early. So I guess I got too comfortable. Okay, so that's because you were on a good streak? You were in Perlis, right? Yeah. You didn't think this will happen? I was telling myself, dude, I was like, man, I'm on a good streak. I shouldn't have told you guys, I feel like I'm gonna jinx myself the next day. And I guess, you know, it didn't happen, but. That's usually what happens. What happens when you're on a good streak?   And then the next day you're like, you know what, man? Man, I make so much money doing this streak. Train like a whip. Why do I size up the next day? That's what happens, you know? So you're like, holy fuck, man, why do I just press it? And so what happens is this, you pressing it doesn't mean just adding size randomly. It means sizing for the appropriate trade. So if you're shorting the front side, you should be adding size, right?   And so, so sizing is great, but you have to size it appropriately for the setup, right? But at least to this, Mike, which I'm glad, I'm glad that you have a max daily loss.  I even asked Cobra Chat to block it too. They wouldn't do it. So, so that was a blessing, man, even though you make money on these money, but this is the time to cool off guys. Because I mean, I've been there, man. I'm so bad where I hit a max loss, I pull another account.  I ended up losing double.    So, so, so now Mike, so this is a good thing because you still are up during the streak.  I only lost yesterday, a little more than yesterday's game. So I mean, it's, it's not too bad, but, so I mean, it's a good lesson again. It's so stupid, right? It's so good. But, but, but this is exactly what we talked about, man. When you're on a good streak, the most dangerous thing is to lose the entire streak on revenge trading because you don't want to lose, right? Because you're using the crushing game. So the fact that you ended your loss losing only one day's of profits, it's great, man. And that's the best thing you can hope for. And that's why a max daily loss was created.  It's up to you. People don't understand that. You don't have to keep the same amount of max daily loss or the same max size all the time. Yeah.  Because you know yourself, right? I know myself too, man. When I'm on a streak, I get restless. Do you get it? Not today.  I don't even, I don't like, oh fuck, Alex is away. My tablets are at seriously, man. I'm, Jean said it along.  Because that's what happened.  My mom is away. My parents are away.  That's what I did today. I was like, Alex is away.   I'm breaking the rules.  And you don't thank God.   It has been avoided, yeah. So what do you do now? So, so, so you understood this. So what are your measures ongoing on how to fix this? Or is it okay? You keep doing what you're doing? I don't know. Yeah. What do you think? I think I just, I got, I kind of sizing too early. I started, I guess I had a little fall when I started scaling too early. And then I kind of underestimated the stock and I didn't, I didn't obey my stock too because it was pre-market. So I didn't have a hard stock. And then I just let it run. And then I knew I should have stopped out by then. Dude, that's the same as me. Yeah. That's the same as me. I didn't think it was going to get out.  Dude, no one did, bro.  It was at $14, bro. Yeah. When the news came out, it hit 14 bucks. And they ripped all the way back up to 18 bucks. That's some crazy stuff. Yeah.   And I'm supposed to look at four, but something happened and two didn't go through. So I'm like, thank God didn't go through.  Yeah, that's right.  It's like, on the street, you have to think you're so like, would you have done this if you were red yesterday? So every day, this is the thing that kept me going for all these years. It's like, every time I wake up, dude, I try to forget what I did yesterday, meaning dollar amounts. Why did this month? Because the moment you start thinking that, it talks to your brain. Every day is a new day. Every day for me is a new day. I lose, seriously, but I lose today because I came in thinking, I'm gonna sign up today.  I'm gonna start trading more aggressively because it worked, it worked. So I deviate from my process, you know what I'm saying? And so I use the cushion game to keep adding the loser.  So now I wanna go back and just go back to my normal process. I think I had the same mindset as you today this morning. I felt like I couldn't lose. I'll trade a little bit more aggressive. And I think I just wanted, I just got a little careless. Correct. So before that trade though, were you making money on another trade or did you make money on that trade? Or that was just, you got in, you lost right away. Yeah, that was the only, I had open orders, but that was the only one that got hit in pre-market. And then I just got stubborn and didn't want to accept the loss. Okay. So sometimes, man, this is what happens to me. Sometimes I win a little money, then I get arrogant.  Now I'm like, why did I just size so little? Yeah. I size bigger to do a makeup trade. That's how I get it done. And then today, like, I just got so careless at POLA.  I didn't do house cleaning. One of the members in chat reminded me to do house cleaning. I saw that. And so I went back with a little too late. Some of the house cleaning. So you have to, you have to do your process. Sometimes trading less, I'm telling you, man, today was just overly greedy for myself. So, but what you do is right, you focus on one stock and you like the most, but you just size in too quick, too early without confirmation, right? Yeah. So that's what it was. It's a mistake that you, that's a mistake that you can overcome, bro.  But what's the WKS at now right now? It's that, what do you say? Oh, dang, I said almost, it's 1985. Making a profit. $19? Yeah, almost $20. Wait, wait, it's almost $20? Yeah, 19. You see? You see, bro? Yeah.  Yeah. I guess it's kind of a good thing that I don't know. If you have broke the rules, trading in zombie hours, bro, bro, you know what is going to happen, bro?  This thing was 14 bucks. Oh God, that's why I left.   I'm not going to get in because I'm like, dude, 1850 all day long, I was using that line. I made $3 a share. Scalping 50 cent moves all day long. So I scalped six times.  Yeah. Good, man. Any other comments? Do you want to tell everybody or? I really like it. I noticed you've been stopping out really well. That's the one that's really impressed me the most because I noticed you're really, you've gotten a lot better at stopping out and how is it taking notes on that? Yeah, man, because I'm like, I'm a very, I promise this, man. If I trade the process, I hardly ever leave. Yeah. It's one of those things where I know my skills are so good that I get so careless, bro, because I know I can recover. Yeah.   A lot of the time it's the arrogance of knowing that I can work it back and start adding, but that's the wrong way to educate. That's just not the right way to trade. And so I've been very, are you saying like, man, I've been trying to stop out, which I've done. The one time I didn't stop out with VXRT today.  And that's my mistake was over-treating. I had too many open orders that one, I didn't even know I was doing, that stopped. So, as I'm working, every day I'm working on that, man. I'm working on being able to stop out early and eating a lot early before I have to start using some skills to trade and get myself out, right? Yeah. That's what it is, man. Sometimes you better to run away, man, and come back another day, right? Yeah. So, good, man. Well, so next time, who knows, man?   I've actually did a, I put a hard stop on WKS once today, on the 18th, and it fucking, it broke 18, it still me 1830, so I was kind of pissed off, a thousand shares. But you know what, man? The fact that I did that, it's like, it's a good habit. Next time, the thing will fly up to 25 bucks. Yeah. And that 30 cents slippage, would have been the best stop out ever, right? Right. So, every day I'm trying to create better habits. That's all it is, man. Create better habits. Even though we can get away with it, but it's that one time we don't get away, like you can drive it, right?  Oh, it takes about one. Yup. Well, thanks, Mike. Thank you, man. Great, great stuff. All right, man, I'll see you in the room. All right. Thanks, man. Well, any other questions, guys? I want to keep this kind of short. Today's the last day of the Accelerator. Like I said, text-tosh, guys, text-tosh. These are the things we teach every day. If you're losing more than 200 bucks a month, guys, 200 bucks a day, there's no reason for you not to join. Even I reduce my ego to the point where I'm talking about all this stuff, right? I'm not the best, right? I'm posting losses in the roof, too. You saw that? It's like, I don't need to shy away from this stuff. It's like, it's embarrassing.  The law doesn't embarrass me. It's the great deviation from process. How can it not stop, Val?  It's not the money, guys. I made the money back in like a day, no problem, but it's just the stupidity. And so these are the things I force myself to come to terms with.   No one else is.   It's you. It's you. The moment that you take a hard look at yourself and realize that you are the issues, you can start to change. And you know, we're here to help you guys. No one's competing at MIC.  I lose.   But I'm in the money, guys.  But that's happened. That's human nature. And the fact that I am so human, so imperfect, and I can still do this, you can do it too, guys. All right, guys. Let me see. What's the difference between a prop trader? Hey, we don't want to go, prop trader, you trade their money. You have to get a license, guys. All that stuff, you have to get a license. They're gonna get a serious, seven, all that stuff. So I take you to learn to trade because you can't join a prop trader with you if you don't know how to trade anyway. So learn to trade, guys. All right.


Frontier just announced some delays to the Odyssey release schedule for both the PC and in particular the console versions. In this video we're going to break down the announcement and detail exactly what it all means. If you enjoy this video remember to subscribe to the channel and turn on notifications and if you'd like to support our work you'll also find us on Patreon. Links to everything you need are in the description below. So very early this morning UK time Frontier let go some Odyssey release details to the community forums and to the city's financial markets before the day's share trading got underway. The short version of the announcement is that the PC Alpha and full release and the console full release versions are going to see delays to their launch due to the working conditions the company finds itself in as a result of the worldwide Covid-19 pandemic with the console versions unfortunately experiencing the lion's share of the delay. So what kind of delays are we looking at? Frontier haven't given specific dates but are rather talking in general terms and launch windows so let's break down those windows now as succinctly as we can with what we know. PC's first. The Alpha release window for the PC has now been stated as early spring 2021. Spring in the UK where Frontier is based is between the 20th of March and the 21st of June. Early spring would therefore seem to be anywhere between the 20th of March and around the end of April. According to Frontier's forum post announcement this morning the full release of Odyssey on PC is now being earmarked for late spring 2021 which technically gives them up until June the 21st. However, importantly at the same time as the community announcement this morning Frontier was also obligated to release a trading statement to the London Stock Exchange and in that statement it says that the Odyssey release date will be before the end of the financial year which gives them a hard border of up until May the 31st 2021 to get Odyssey out the door. There's obviously no fixed time frame on how long a public Alpha test has to be but Frontier also stated this morning that the Alpha test is planned to be a phased approach with features added as the test progresses so whilst it's not impossible it's hard to imagine the Alpha will be anything less than a month long at the minimum. That information lends further weight to the supposition that the Alpha could kick in around mid to late April at the latest. Now, for the consoles and this is where it gets challenging there is no mention in any of the statements, community or financial about a specific console Alpha. In lieu of any specific announcement we're assuming that means there isn't going to be one. The console release window is now being stated as Autumn of 2021. Autumn in the UK is the 22nd of September to the 21st of December. That being the case, obviously September is the best case scenario but if I were a betting man I would say set your expectation for a Christmas release on consoles and if it arrives earlier then consider that a bonus. That is going to be a bitter pill for our console brothers and sisters to swallow without a shadow of a doubt. The reason the consoles are getting the raw deal here is essentially down to how challenging it is for Frontier to get content onto the consoles. It has to go through Microsoft and Sony's approval process before it can be released. That means in order to launch at the same time as the PC it would need to be ready earlier. In order to be ready earlier more resources internally at Frontier would need to be devoted to the console versions which would delay the PC version. The cold hard facts are that the PC player base is orders of magnitude bigger than the console version. Just the release on the Epic Store for example added 8 million new base game owners to PC according to this morning's trading statement. Whilst a lot of that is going to be second accounts for existing players or accounts that never get used it's still a huge amount of potential Odyssey sales that the company can't ignore and indeed the company's financial controllers won't let the developers ignore no matter how much they might want to do a simultaneous release across all platforms. When all is said and done rushing any software release just to meet an arbitrary release date is never a good idea. The quality of an end product always suffers and the user experience suffers as a result of that and nobody wants that just ask anyone trying to enjoy Cyberpunk on the PlayStation 4 recently. So in summary given the facts that they stand here's our best guesses for when we might see launches. PC Alpha probably around the start of April. PC full release toward the end of May. On the consoles any Alpha is unlikely and the release of Odyssey we think probably set your expectation for mid December and hope to be surprised if it's any earlier. Frontier have made no mention yet of how the staggered platform releases will effect first discovered for new life forms and first footfall on planets etc. It would be nice to think some kind of allowance could be made there while we wait for our console commanders to join the Odyssey but it's honestly hard to see how that could work and still make those aspects of Odyssey worthwhile to the PC players in the meantime and that may be the bitterest of pills for the console players in all of this. At the time of recording we've no idea how community goals will be affected by the presence of Odyssey or indeed a lack of Odyssey access. Again it's hard to see a way around any planned Odyssey specific community goals without diminishing the experience for the PC crowd at the same time. With regards to BGS activities without knowing exactly how Odyssey affects the BGS and indeed how the BGS affects Odyssey it's difficult to offer any solid thoughts however account will have to have been made for commanders playing the BGS who simply don't own Odyssey in the first place regardless of the platform they're on so you could possibly take some comfort there that a lack of Odyssey access won't adversely affect anyone's ability to affect change in that part of the game. Frontier have said that they will continue with development, updates and feature drops through these delays it would be nice to see that process ramp up somewhat as we honestly really know very little about what Odyssey will look and play like at the moment. So how have these announcements left you feeling about Odyssey?  I have to say here at the pit we're absolutely gutted for our friends on consoles but also aware of the situation that the developers must find themselves in. The team at Frontier are clearly working under extraordinary circumstances at the moment whilst this is disappointing news it's important to keep perspective on things and understand that the development team are human beings just like the rest of us we all have to protect ourselves and our family in these challenging times. As far as we know there's still a planned Ask Me Anything session on the forums this afternoon it's likely Frontier will be filled in questions about the release date in that session and if we get any more details on that or anything Odyssey related we'll report them on this very channel so make sure you're subscribed and turn on notifications to ensure you don't miss anything. That's it for now thanks very much for watching we'll be back later this week with more videos until then 07 Commanders follow the Greens on the way out and do keep clear of the toast rack we very much look forward to seeing you next time.


Hi everyone. Let's talk about something everybody loves to talk about, periods. So this is Ganita. She's from a nomadic hill tribe in India. So for her period, she uses old cloth. But due to stigma, she can't dry it out in the open. So she hides it under her other clothes. This causes it to always be dark and damp, causing her to have recurrent infections. This is Anne-Marie. She works on a sugarcane plantation in the Philippines. There are no toilets on the field and she does not have ample supplies to get her through a day of work. So she ends up missing a week of work every month. For most of us, missing a week of work, we would still have income, we would still have food on the table. But for her, it means no income for that week and no food on the table for her family. This is Pratina. She goes to a boarding school in Nepal. She uses pads. So in the boarding school compound, they are boys. So she's shy to dry out her old cloth. So her parents, who are farmers, have an additional expense, which is pads for her. She has it good though. Her mother and grandmother were banished to menstrual huts at the fringes of their village during their monthly cycles. This is Annabelle. She has extremely heavy flows. And in order to go about her daily activities and be productive, go to work, feed her children, send them to school. She needs to buy pads as well. But the problem here is the disposal.  Her backyard is relatively small so she ends up burning it right by her well. She can't bury it because the dogs in the village dig it up and they carry it around, which is very embarrassing. So this is Sarah. She's from Singapore and she enjoys doing marathons and triathlons. But having your period during these events are a real hassle. So she ends up popping pills, which messes up her menstrual cycle and causes her to have hormonal imbalance.  So the problem that we're addressing here is that 70% of women across the globe have no access to any form of sanitation. They use things like leaves, bark, old cloth and mud. And the women who do have access to sanitation, we experience leaks, stains, discomfort, high expenses and we produce a ton of non biodegradable waste. So our solution is a freedom cup. A freedom cup can be likened to a reusable tampon. It is folded and inserted into the body. It opens up, forms a vacuum seal and is leak free. It sits at the base of the cervix and collects menstrual fluid for 10 to 12 hours. One cup lasts 10 years on average. This makes it the best option for the earth, the wallet and the body. For the earth, we would save 12,000 pads and tampons. For the wallet, we wouldn't have to buy pads and tampons anymore. And for the body, as our cups are made of medical grade silicon and do not contain artificial fragrances and synthetic absorbance. Yeah, so we work on a buy one, give one model. So for every cup that we sell to a woman like us who can afford it, we give one for free to a woman who can't afford it in an under privileged community. We have done about 17 projects to date in about seven countries across Asia and in Africa. So we work in Singapore, Malaysia, Cambodia, Philippines, India, Nepal and most recently we just came back from Nigeria. Yeah, and I think some of the findings that we've found is super interesting. So we find that we're keeping girls in school. So 23% of all girls drop out of school the moment the first periods hit, which I think is one of the big reasons for like gender inequality across the globe. And apart from keeping girls in school, I mean the problem with pads, with periods in the third world is the fact that most rural schools don't have toilets as well as the stigma that surrounds it. On top of that we have, we find that our women are earning more money. So they earn more money because they can work the full month and by earning more money they have a larger say in the running of the household. They also report lower incidences of urinary tract and fungal infections. And we find that there's lower levels of soil and water contamination. On top of that I mean overall women have reported a much higher standard of living. Beyond that we're also working with hotels in Singapore to give us their old soaps. We refurbish them into new soaps and then we give them out to these women alongside on our projects. I think, yeah, so I mean in terms of, I mean I would like to appeal to everyone like here, all the communities that we work with, what we do when we first hit the ground is that we go and give back to the community. So we find underprivileged groups, so whether it's homeless women or like people living in slums or refugee camps and we go and we distribute the cups and we study them, we consult them and we find out how best to enter the market that way. So that's a team. Joanne's not here because she's helping at home with my mom, but that's Becky and I. And yeah, we're done. Thank you.


Please give a warm welcome to Alan. Thank you. Good afternoon. My name is Alan. I'm now working for Chiu 360 in Beijing. And today I'm so glad to be here to present a quick talk about critical graphic battle in OpenSL. And I'll show you how to build a battle in OpenSL. So before the presentation, I'd like to introduce ourselves briefly. The idea of this presentation was conceived by two people, Slay and me. And Slay is the main implementer of this idea. He's not only my colleague who is a keeper of mathematics, but also a viability hunter in the Intel CPU architecture, kernel and OpenSL. And now he has found about 10 OpenSL viability, including the SSL desktop alerts. And this is the picture of our team's office. It's cool. So we are about to let's look at the outline of this topic. In the first part, I'll introduce the cryptographic battle and something about the architecture of the OpenSL source code. In the second part, I'll show you how to build a new method of cryptographic battle in OpenSL. And then I'll show you two demos. In the first part, we think this type of battle can be used in supply chain attack scenarios. So firstly, as we all know, the most common example of a cryptographic battle is using weak random, such as the dual EC, DRBG, and surrender number generator. However, it's really to notice that there's another kind of battle, which is called the battle of mathematics. And security, are you really looking for viabilities in cryptographic implementation instead of paying more attention to machine battle? Maybe because fighting machine battle needs a high level mathematics skill. In fact, general developers do not have the same level of mathematics skills as the deniers of machine battle. So it is hard to detect the machine battle that is well-designed, well-designed and logical. And you know, OpenSL is the right step for future toolkit for TRS and SSL protocols. So let's do a little digging into the architecture of OpenSL source code. The OpenSL technology framework is mainly composed of three parts, BIO, EVP, and SSL. The source code is mainly encrypted, engine, SSL, three directories. And the application layer in the opposite directory. The most important things are crypt and SSL. The directory of crypt includes ASN1 code interface through the random number generator, engine mechanism, EVP-Cypher algorithm interface of a unified cryptographic algorithm, large number operation interface, private key information syntax, asymmetric cryptographic algorithm, and it's sort of... On the other hand, the directory of SSL is the implementation of SSL TRS protocol. And today I will build a bad dog in IC algorithm, because IC algorithm is quite clear. I first need stack two prime numbers P and Q and computing. And after that, we can get a public key and a private key. The second step is the encryption. We can get a self-attector C. And finally, after the decryption, we can get a planned text. So let's see a simple bad dog in IC algorithm. In the key generation algorithm of IC, it's easy to learn from separate security papers that the difference between two prime numbers in IC should not be too small. Otherwise, you will be unsafe. But this definition is too vague. In particular, general developers could hardly know how small it is will be insecure as well. How much insecure is there for a given difference? Therefore, we can think of the security as the reason of adding check patch to key generation factors. I say generate a key in the open SSL. And firstly, to give an unsafe prime time, normal is even possible to set the time complexity during which we can crack a private key as we wish. So let's see the yellow patch. In this patch, by limiting the range of generated prime difference, we can crack the private key as we in one of the time complexity. The picture is too small. And I will upload this example to the GitHub in a later. So let's look at another compacted example. Imagine that we can catch a faster prime generation algorithm in order to generate primers with special departure and the specific mathematical principle. Equally, we are able to control difficulty for cracking the private key through for generating primes that are not as strong as now, such as generating a prime number of a particular family, a prime time that generates a special range of difference. Even if the difference is large enough, indeed, the prime time doesn't seem to have any problem at all, but will be unsafe after certain transformation. So now it is our small conclusion. As far as I'm concerned, the problem comes from the lack of our understanding for the security principle of RSA afternoon. Its safety have not been proven mathematically yet. The question is, what kind of primes are safer and how to evaluate them? So when we have no come out with a straight, mathematically judgment for this situation, unless you see the demos, I will show two demos. In the first demo, I will show the mandatory inspection patch is added. So there are the difference between the two prime numbers output by the generator processing is the in-phase security boundary, which allows us to set time complexity to achieve a violating cracking. So first, we will generate a keypad, a public key. After that, we kill the private key, and then we will try to crack the private key version. Yeah, we can print the information of the public key and then we crack it. That is quite faster. So let's look at the second demo. In the second demo, it allows the generator processing to output the two primes that appear to be okay, but it will become insecure after some transformation. In our case, we can acquire one prime number P after 1,826 lines of transformation. Let's say as the last one, we generate a keypad. Yeah, we can crack here after transformation. Yeah, it's quite faster and easier if it can be controlled. So as I said, we think this kind of battle can be used in supply chain attack. Imagine that many of us may have used the public key generator in the SSL, in the SSL private key management, such as Excel. If the attacker, such as in attacking the compiler environment of a target software company, they can modify the generation algorithm of the keypad, which is harder to detect. So this is what the industry needs to reveal. Last term, as the job number set, the biggest problem with the network difference is that it defends the thinking, this attack thinking graphics, as long as this is true, attacks one. And last year, because it's a lot of attack methods related to cryptographic battles. So it's necessary for us to pay more attention to the source code security and the cryptographic security. And I also recorded to GitHub after this meeting. So thanks for your listening.


My fellow Americans, next week the full United States Senate is expected to begin floor debate on the Treaty on Intermediate-Range Nuclear Forces, known as the INF Treaty. You'll recall that Soviet General Secretary Gorbachev and I signed this treaty at our summit meeting in Washington last December. The treaty represents a landmark accomplishment, an historic accomplishment, because once implemented, it will bring about the elimination of an entire class of American and Soviet nuclear missiles. Before our nation can commit itself to a treaty, our Constitution provides that the Senate must give its advice and consent, and therefore last January I formally submitted the INF Treaty to the Senate for its consideration. The duty of the Senate in giving its advice and consent to treaties is vital to maintaining our separation of powers, and the role of the Senate is considering, in considering I should say the INF Treaty, it's essential. Senior officials of the administration have been working closely with the Senate. Officials from our State and Defense Departments, our Intelligence Community, and our Arms Control Agency have provided many hours of testimony before three separate Senate committees, painstakingly responding to the detailed questions posed to them by the senators on these committees. In addition, senators have addressed to the administration numerous letters about the treaty and more than 1,200 written questions. We have provided full written responses, so you will see that we've worked very hard to meet any Senate concerns over the treaty. And as I have assured the Senate, we'll continue to do so. Now that the Senate Foreign Relations Committee has approved the INF Treaty, the entire Senate will be called on to discharge its constitutional responsibility to provide its advice and consent to the INF Treaty. As this debate is about to begin in the historic Senate chamber, permit me to take a moment to review with you the treaty's background. The INF Treaty is the result of years of hard work by American officials, officials who, in representing you in our negotiations with the Soviet Union, held fast to the key security objectives that have been set out by the United States and our NATO allies. At one point, the Soviet Union actually walked away from the table and stayed away from the talks for almost a year and a half. When in early 1985, the Soviets finally returned, we repeated our call for the elimination of this entire class of U.S. and Soviet missiles. My zero-option proposal first put forward all the way back in 1981, and in 1987, it was the Soviet Union that finally, after two and a half more years of negotiating, came around to the American position. To sum up, in the INF negotiations, we held fast to what we wanted and we got it. And this is what comes of negotiating from strength. It's the same successful formula dealing from strength that we're applying to our other negotiations with the Soviet Union as well. And I assure you, if we don't get what we want in these other areas, in other words, if we do not get good treaties, there will be no treaties. It's my hope that in recognition of the important role they play in this process, the 100 members of the United States Senate will now proceed expeditiously in their debate on the INF Treaty. It is, after all, a solid treaty, carefully negotiated, a treaty that stands on its own substantive merits, a treaty that will enhance the security of our country and that of our European and Asian allies now threatened by the various Soviet missiles that will be removed once the treaty is implemented. Senate approval of the treaty will enable us to get on with the job of eliminating these nuclear missiles. It will also allow us to put into action the elaborate verification regime that we achieved in the INF Treaty. The most stringent in arms control history, it will enable us to verify effectively that the Soviets are indeed complying with all of the treaty's provisions. I know that you, the American people, strongly support this INF Treaty. And on Capitol Hill, the House of Representatives has already given the treaty its endorsement by an overwhelming vote of 393 to 7. Now that the treaty is moving to floor debate in the Senate, let the debate be vigorous and full and let it proceed without delay, for I'm confident that the final vote will indeed give advice and consent to this historic treaty, the historic step toward a safer peace. Until next week, thanks for listening, and God bless you.


Hi guys, welcome back to my YouTube channel. This is Daniel Rosal here in Jerusalem So a few days ago I uploaded a video to this YouTube channel showing myself attending the flag march here in Jerusalem The controversial flag march that was held on Jerusalem day as it usually is But they decided to hold another one because of the fact that on the first iteration of the flag march this year Was interrupted by rockets from Hamas firing rockets onto Jerusalem that ended up actually kicking off Literally an entire war. Now. It wasn't just the firing of those rockets. There was a bit more to it than that But that was kind of the camel Straw that broke the camel's back so to speak now This particular flag march was very controversial because of the fact that the security situation is volatile Also because of the fact that the Bennett government had just been sworn into power the day previously So it was literally their first test now when I posted the video of myself going to the flag march I did so because mostly because I was interested in seeing it and recording it my thoughts about the flag march I wrote a Facebook post at just to my own Facebook friends today before and I never really shared that So I wanted to just give you my opinion about the flag march because it's definitely very conflicted. I'm not 100% behind it Why I say that is because When we talk about the reunification of Jerusalem and from my understanding of the purpose of the flag march It's basically because it's to celebrate the fact that we Jews have access to the old city and the Jewish religious sites in the old city and in East Jerusalem and the whole of Jerusalem is what has was brought under Israeli sovereignty in 1967 the law that affirmed affirmed that particular annexation or conquest was actually only officially Officially legislated in Israel in 1980, but it was in 1967 when East Jerusalem came under Israeli sovereignty So the reason I say that my feelings about whether we should march and whether we should celebrate and de-Jerusalem day on the one hand as a Jew I Celebrate the fact that we have access to the Western Wall Which when the east of Jerusalem was not under Jordan was under Jordanian control Jews were now permitted to access their holy sites and The hard bite is the holy site in Jerusalem not the Western Wall common common mistake To call the Western Wall the holy site It's it's hard bite and specifically a part of that topic for another day But when people celebrate the reunification of Jerusalem, I never really understand what they mean now I've been living in Jerusalem for seven years. So yes, I understand what they mean Jerusalem used to have a border running through it half of the city was under Jordanian control Half of the city was under Israeli control. There was a physical demarcation to the border running through the city. It wasn't a soft border. It was a hard border and There was a couple of gates Mandelbaum gate through which, you know, UN people could pass kind of the same situation We have now with Lebanon in which the border is not a border people cross ordinary people can cross only a Specific people can get across it. So that was the situation and Jews were not able to access their the holiest site in their religion so To the extent that we're celebrating Jewish access to those sites I celebrate Jerusalem day and You know to have a little parade, I guess it's nice. I don't really exactly see Specifically the point what I don't see the point about is why this parade tends to go through Damascus gate And the Muslim quarter it strikes me as simply an attempt to antagonize The Muslim residents or a show of force and I find that quite ugly that idea I don't think that we need to parade around with flags in order to tell the Arab population that You know Israel is sovereign and we are in control. I don't think that's necessary and I think I Understand on the one hand the idea of not wanting to You know be forced into concessions on the other hand under I think that you have to be tactful and there's something to be said for not needlessly antagonizing people for no good reason and That's kind of what I felt about this iteration of the Jerusalem march was given the fact that the previous one kicked off a war Hamas a threatened to launch another war in response to this attack. I didn't feel like the I didn't feel like the time justified the The holding of this event Let's just say the second reason that I'm conflicted about the flag march is because I never so when I say I don't understand When we're talking about Jerusalem being unified. I don't see a unified Jerusalem The situation we have on the ground here in Jerusalem is that East Jerusalemites? Palestinians regard themselves as under Israeli occupation. They reject the Israeli sovereignty now I was literally just planning a YouTube video I want to take a look at Abu Tor and when I was going into street view to check out which streets would be maybe safe to go to Which I should probably avoid It didn't take very long before I started seeing Palestinian flags and anti-Israel graffiti in the Arab parts of Jerusalem Now the current situation we have is that East Jerusalem is not safe for Jews to go to including me. It's not safe Certain parts might be safe depending on the day But by and large, it's not a good idea if you go into Isawiyah or Silwan Wearing traditional Jewish headwear or it's in some way visibly identifying as Jewish There's a very good chance. You're going to be attacked now The asymmetry here is that Jews East Jerusalemites can come into Jerusalem and generally don't face Harassment now as yes, there have been isolated incidents that I absolutely condemn of Random Arabs being attacked nevertheless as a general principle You will see people wearing hijabs doing their shopping and he's true in West Jerusalem. And if someone like me Were to go into Isawiyah now wearing a skull cap Kippa and wearing a big t-shirt with them again David honest There's a very high likelihood within a few minutes people would start throwing rocks at me So when you talk about Jerusalem being unified I don't really understand what we're talking about because it just strikes me as Delusional to think that this is a united city. There is no meaningful coexistence I made this point many times between East and West Jerusalem if there was I'm pretty sure I would be seeing it I don't deny that there are coexistent projects people working towards coexistence But on a day-to-day basis to Arabs and Jews Jewish society East and West Jerusalem. Do they interact? Do they socialize together? Are they friends? No, they're separate worlds separate bus networks separate separate hospital networks dear their water and oil they don't mix and When so when we talk about the city being unified, that's the aspect of it that I Say well, what exactly are we celebrating? We're celebrating the fact that we Forced control over half of the city that doesn't want us that doesn't regard us as legitimate that regards us as Illegal occupiers and that literally when we come to provide municipal services the Jerusalem Municipality will attack the municipality. That's how much they don't want to be part of Israel You go into East Jerusalem.  You see the Palestinian flag It's obvious. They don't want to be part of Israel They don't want us the one we're saying that we're the city is unified I don't understand that we're talking about a city where it's not safe for Jews East Jerusalem is not free of Jews But the Jews who do live in East Jerusalem in places like Hares a team and the other enclaves in East Jerusalem have to have massive police protection and literally live in fortified Compounds and if they don't do that, they'll be attacked. So what is the unification there? So those are my queries about the flag march. So on the one hand I when I say feel conflicted about it This is the reason on the one hand I Celebrate the fact that we've access to the Western Wall But something that I think a glaring hypocrisy including maybe on my part is you know Look at a map the old city of Jerusalem is over the green line. So if you support Jewish access to the Western Wall to hire a bite, but you say the annexation of East Jerusalem is repugnant. Well, that's a hypocrisy because The old cities in East Jerusalem the old cities over the green line the old city is part of the territory that the International community regards as having been illegally annexed. So you can't say that you're in support of one and Against the other they go hand in hand So I feel like the flag march and Jerusalem day in general. I support our access to The Western Wall that we've regained access. I do think it's vital despite whatever the international community says at the same time I don't think the situation we have now in which Jerusalem is forcibly Unified and it's de facto not safe is necessarily something that is worth celebrating and Finally, I in light of that fact. I don't believe I Think that there has to be a balance struck between Finding some way to celebrate that for those who do celebrate it and avoiding unnecessarily antagonizing and Intimidating people who have a totally different viewpoint and regard themselves as occupied. I don't think that's the Jewish way I don't think that's a good way and I don't support that. So I know this might seem a little strange given that I was at the March But that's that's basically my my the totality of my feelings about it Thanks for watching. I'd like to get more videos for me. Feel free to subscribe to this YouTube channel