Hey, how's it going everybody? Welcome back to another Python programming tutorial We're still looking at pi enchant or when we import the module just enchant And that's really nice because we can create these dictionary objects that pretty much I don't know act as a real dictionary, right? We're able to test if words actually exist like hello does that word exist and yeah It does or we can actually get something like a wrong word and say it that doesn't exist from there We can actually determine certain suggestions for that mistyped word or misspelled word and see what else we could We'd be looking at there We were looking at personal word lists and stuff like that So the real use with the enchant module comes with checking if we have an English word or Actually getting other suggestions, but this is kind of doing this one at a time, right? It's only checking individual words I Want a little bit more functionality to actually get us an Entire paragraph or sentences or pages of text that we might want to spell check So the documentation talks about this there is a method of checking entire blocks of chat of text Sorry, so here we go while the enchant dictionary objects are useful for spell checking individual words They cannot be used directly to check for example a whole paragraph So the module enchant dot checker provides a class spell checker which is designed to do just this handle that task So they're handled and created kind of the same way as our dictionary objects You pass in a language tag, and then you're ready to roll now It uses an interesting method and function called set text and there is of course get text to see what you've passed in and This is the text that's going to be looked at it's going to be examined and checked over by the object Now it's kind of used as an iterator that looks through all of the spelling mistakes in the text that you give it So here's a simple example that they show us and let's try and build this all on our own as well. Let's from enchant Dot checker let's import that class spell checker So now let's create s equals a spell checker right or doesn't really matter What variable name we give it, but it does take the language we want En underscore us so we've got that dictionary English dictionary for us And then we'll give it text with this set text function. So real simple set text Hi My name is John Cool now if you use a dot space of course to See what else? I'm sorry dot and then control space to kind of autocomplete and see what more you can do here with this Object there is the get text function and that will return what it's been given and then you can play a little bit more here next But that's kind of working as like our iterator, right? Replace replace always and actually word is what we're seeing that we would have an error there and We haven't started to loop through it So it's not going to show us those yet and word position would get the position there as well So in the example that they give they do loop through this spell checker object for every error in there It's going to get an error word so you can see what is spelled wrong So let's do this. Let's say for error in s print misspelled word and then s or error sorry error dot word and There is apparently nothing misspelled. So okay high HY must be actually be a word. Let's take a look here check We can work with Hi, oh Is capital H Y okay? Apparently that is a thing. Oh, I'm really curious now Not cursor or funkel. What's high? Oh Oh, it's a wonderful dialect of lisp. That's part of Python. That's pretty nifty Well, maybe I'll have to look at that later. Okay All right, let's use a different text, right? Let's do s dot set text This has some typos I Should have said has but I actually wrote have all right so Now we can run our loop for error in s and hey, there's a misspelled word fidgios Truly truly. I said you fidgios So and now of course, I want to say if s dot word it will tell us. Oh, yeah There's the gyos and s dot word position Would give us the position of that misspelled word now if we had multiple in here. Let's say So typos, I hope that's not a word Okay, yeah misspelled word the gyos and so so now we've got s dot word Which is so which was the last one that we saw and s dot word position so 12 12 Places into the string. We have SOE or so Now where does our s dot next come into play it looks like we're all done with our iteration so s dot next is gonna Kind of throw an error at us. Will it bring us back to where we need to go? No, it won't okay? Is there any way we can get back to where we were set offset? Maybe let's take a look. I wanted you to see that Description here set the offset of the tokenization routine So if I set offset zero now if I use s dot next no, it's not gonna get us anywhere We might have to just restart the text and Yeah, probably reset the text. I don't even know what I just tried to write there. We can run it manually with our iterator I'm kind of curious what this object is. So let's kind of explore here Okay, so I missed over it the first one that I ran that I didn't create an object on must have been Helo and then Aya this next one is where we're at Now if I do p dot word again After I've created move to the next Error We're gonna get or and that's not a word and it found that one But of course we can just run through our actual loop, which is a much better way of testing for these things Okay That's enough of me talking about those. Let's go back to our documentation. See what else we can do. There is of course a Functionality or a method there that changes the way we Filter through certain words. Can we can we ignore some words? And there are lists of filters that we can pass in as keyword arguments And we can actually import them from the enchant tokenize module like an email filter or URL filter So let's try and build this From enchant dot tokenize Let's import email filter and URL filter and Now let's actually make that checker object again spell checker with the language and us and For tokenizers, I think that's an option there or filters. It's a keyword. Okay filters equals none filters Which is apply an array of email filter and URL filter Now we can set the text. I need to get an email from Me at metro cast net and his website is HTTP dot now for error in s print misspelled word Error dot word and the only thing that we see wrong Because of our email filter and our URL filter me and metro cast net along with the HTTP URL Aren't treated as errors since we set up those filters, but good obviously what should have been get Since that miss that is misspelled our spell checker found that and saw that that was the error there. So cool We're good. I think that's all I really wanted to show you in this tutorial Checking through a whole string with multiple words And of course you could have this load entire paragraph or a whole friggin text file if you wanted it to and You can loop through the errors Find the word and the word position as to where those things are and if you want to set up some filters You can do that. There are totally other filters. I'm kind of curious. What other filters there are. Let's actually import Enchant dot token eyes as Filters now filters dot Wiki word filter URL filter Was there email filter up there email filter? Okay, so those are the only three that I see so far But and of course you can read more about that in the documentation if you're curious But you've got that option and I hope I was able to walk you through this segment of the spell checker and a few of the filter Functionality, so thanks for watching guys. Hope you enjoyed this. I'll see you in the next tutorial


Hi everyone, happy new release day. Happy Wednesday. I'm Joe for jaspyscasebreaks.com with 2021 tops archive signature series baseball active player edition ten box half case random player break number one Now one spot we sold 19 spots one spot gets you seven players from that big list below Looks like a pretty pretty nice checklist so and I've Actually copy all the names there while I have it all the way down to Zach Wheeler So ultimately that there are a hundred and thirty three names on this checklist right here Big thanks everybody here who got into the action. So let's multiply it by seven two three four five six and Seven so that should bring us all the way down to Zach Wheeler, which is a hundred and thirty three spots And then we'll put the results of the randomizer in tab number one Right there. So there's everybody. Thanks for getting in. Let's roll it. Let's randomize it a full 12 times six and a six one two eleven and Twelfth and final time After 12 we got Jimmy Brant all the way down to Dean Sullivan. All right. So six and a six twelve times for the players one two three ten eleven and 12th and final time after 12 we got Ramon Louriano down to Chris Bryant There's Ramon down to Chris and everybody in between So here's how I'm gonna. I'm not obviously not gonna read off all these names But I'll scroll through it slowly just as is then I'll alphabetize by your first name so you can see all the groupings of your players and I'll also Share this with you right now So we want just not commenters not editors just viewers Let's copy that so if you're watching live the link to the spreadsheet is in the chat. All right, so There's this first group right here So yeah, big list of players right here a lot of great names So let's see what happens. All right So now and obviously if you're rewatching this you can pause the video make sure everything's on the up and up It will be let's sort by column a by your first name So you go so Brett, there's your group of players Charles, there's your group of players here Chris Phelps Tatees, Jr. In the mix Dean Acunha, Jr. In there too Fuad Severino AJ Pollack Jimmy A lot of a lot of great stuff Bryce Harper Juan Soto Matt Lieber Dustin May Matt McLaughlin a lot of good players there to Mike G Louise Robert Oliver your last five mojo players for do go Mike Yostremsky Mike trout Michael Brantley who just re-signed with the Astros Shane Bieber Myles Miquelis Lou Voigt Ryan Cason Ryan Harold oh Ryan Harold has the rest there you go Nice good group of group of players there to Walker Bueller so on and so forth All right any trades while you're considering Trades, I am I'm gonna open up this fresh case Of signature series see which of ten boxes we're gonna do right here All over the place did I save it thing I did oh nice Saved it. I thought this is gonna be Boxes all over the place, but no All right, so There's one two three four five ten boxes on the left side ten boxes on the right side We're gonna roll that die right there One two three for the left side four five six for the right one two three for the left side four five six for the right side There you go one two three four five six And this we will save for the next video actually this is gonna be This is gonna be the next break All right, so we'll mark all of those two right there for break number two and breaks three and four on the site already All right, Ryan H has all of his players for trade anybody interested in those We're gonna pause the video when we come back. We're gonna see if there's any trade and then the break stick around Welcome back everybody there were no trades, so we're just gonna roll people love hair talk well people love hair talk ever since Ever since the Beatles First one out of the gate is Austin Meadows. This is Pirates edition of Austin Meadows That kind of threw me a little bit 17 out of 22 Austin Meadows is gonna go to Charles Next one The trash can on my left side next one is gonna be Matt Olson nine out of 15 Matt Olson autograph It's pretty cool. We got the archive sticker right on there, too It's always a fun product Matt Olson, let's go to the M's It's gonna go to Ryan Harold tried to trade couldn't trade mojo Next up is a atomic refractor Joey Gallo. That's a one-of-one. There you see at the top right corner Nice who's got Joey Gallo That's Matt Matt McLaughlin with the Joey Gallo. There you go Matt All aboard the Big Head Express Looks really cool. There's the back right there Next box is gonna be there he is Matt Congrats It's gonna be David Dahl opening day autograph right here. That's 27 out of 86 David Dahl going to Ryan Cason. There you go Ryan next box. It's gonna be Yasmine Grand Dahl opening day autograph That is 90 out of 99 Spring training Coming up soon before we know it And then opening day Matt Lieber with the opening day Yasmine Grand Dahl auto next one will be with Maryfield 38 out of 66 at the archive stamp here And they get them to sign the card again, and then it appears in here Matt Lieber with cool quit Cool quit. That's what we're looking for by the way next one is Colin Moran That is 19 out of 93 on the Colin Moran There you go sixth overall pick back in 2013 Colin Moran also from Matt Lieber nice Three more to go. We're gonna do the second half of this case in a separate video There is Isan Diaz 52 out of 56 You go for the Diamondbacks. I think he's on the boom. I think he's on the Marlins now Isan Diaz We'll go to Ryan Harreld Try to trade couldn't trade mojo Next up is Tommy Pham 74 out of 98 I know right to you That's how it works sometimes Tommy Pham goes to Fuad With the Tommy Pham and the last one is gonna be Adam Otavino 15 out of 64 Rocky's pitcher and Adam Otavino will go to Ryan Harreld tried to trade couldn't trade mojo and there you have it ladies and gentlemen I'm Joe for jaspeyscasebreaks.com. Thanks for watching. Thanks for breaking with us. We'll see you next time for the next one Bye-bye


Welcome back to drinks made easy because cocktails don't have to be difficult today We're going to make and if that didn't scare you off Please go ahead and click on the subscribe button and the bell icon so you'll be notified every time we release a new video Hey, Mike. How old are you turning? It's not important All right, let's make a cocktail To build the birthday cake martini. You'll start with two ounces of whipped vodka Next you'll add one and a half ounces of amaretto one ounce of white creme de coco and Two ounces of half and half now if you don't have half and half or you're looking to scale back on the amount of overall calories you can use milk though You're gonna be using losing a lot of fat which is going to affect the flavor, but play around with it See how you like it cap that off into a shaker tin full of ice and give it a quick shake Pour into the martini glass of your choice Little room for Nice whipped cream top top it off with some sprinkles These are gonna have to be vacuumed up and the whipped cream should allow for you to put Candle in the top Now we gotta light it for Mike. Happy birthday, Michael You know what the best part of being this old is what's up? You start to get all the girls with daddy issues. Don't you have to have money to have girls with daddy issues? Well, okay deadbeat daddy issues Happy birthday to me Cheers and drinks made easy. That's really good. What does it taste like Mike? It's like birthday cake birthday cake birthday cake if you have any questions or comments Be sure to leave them below and we will get back to you as soon as possible cheers and drinks made easy


That is the same as our hip step, our quick step, our rocker step, and our outside step. It releases pressure, it's a little bit higher level, but what it does is it gives me the opportunity to start playing around with misdirection. So what you'll feel a lot of times is stuff on this side of his body, but when I get to this position, I have the opportunity to change to opposite sides where a lot of times my footwork wouldn't allow that. Right now we're just going to split step and focus on getting to his legs. So same thing we've been all day long, inside-outside, okay? I'm going to get pressure, and my lead leg should be super light right here. Okay, that's how you know you got pretty good pressure. I'm sitting down on it. Now this lead leg is going to come up and go behind, and I'm going to split step. Alright? I've been stretched out, I've been penetrating to the same premise we've been working on the whole time. I'm going towards him, he's coming over the top. I'm pulling, and I end up in an outside step. Have we been in an outside step before today? Yeah. Yeah, I've been in an outside step before today. Absolutely. So close distance, inside-outside. Pressure a little bit, get my feet set. Lead leg's going to come up, go behind. As he goes behind, I'm going to split step through. Right here, when we've been here before, right? Okay? I can impact the hamstrings, I can drive into them, and I'm working across the body. Alright? I'm going to get what allows my split step, and what the split step opens up is. I get to a lot of cool stuff. Okay? I can split step. It allows me to change sides much quicker. We'll get there. Right? And all I want you to do is split step to a high crosser. Head outside the tech. I don't care if it's a double. Okay? Doesn't matter to me. I don't care if it's a pressure. Get your feet set. Don't get too far apart. Okay? Get your feet close. And then I split step. Okay? High cross, double. Anybody here can see it again. We're split stepping. So I'm pressuring. Boom. Here. Get two legs. Notice.  I'm in great position to finish. I'm not bending over at the waist.  Wrestling like a piston. Okay? Keeping my wheels under me. Pressure, pressure, pressure. You get that. I'm putting myself up. Any kind of thing. You got it here? Go! You got it here? Go!


It's important that individuals are allowed to be their individual selves within the context of marriage so as to be fulfilled. For me to have fulfillment in my life, I need to be able to participate and do and be active in what I like doing. And of course, my wife is the same. But it's also important that we don't get lost in those two different worlds and that there is a common ground. There was a survey that was done a few years ago called the American Muslim Marital Quality Survey and they found the five biggest problems between marital couples. One of them was that two people have differing interests and differing interests can split people apart because your interest is what you spend quality time participating in. And quality time is time that's very valuable to me and if our quality time is spent in two different worlds and we never connect and there's no mutual time that we enjoy doing activities, we enjoy participating in something together, then that's a cause for division where you will slowly and emotionally divide from one another and that's dangerous for a relationship.


When the narcissist knows they have lost you when they know that you're no longer going to be of any use to them When you become a lost cause When they accept that they're not going to get anything more out of you When they accept that they're not going to be able to mold you to their liking Narcissists need people They've got to have people around them at all times People feel them People give them supply They make them feel special and important They make them feel desirable and attractive They feed the narcissist's ego Narcissists have a strong sense of entitlement They believe that they have a right to anyone they want They will demand all of your time and attention But there are times when the narcissist doesn't get what they want There are times when the narcissist is unable to manipulate people They are forced to accept that they cannot have you They see you as the one that got away This happens when you may have qualities or abilities that they desire But you are not a good source of supply for the narcissist You don't feed their egos or believe in their illusions You don't validate their false self If the narcissist cannot get anything out of you They're not going to stick around They're not going to put all of their energy into something That isn't going to give them a return If they can't get supply from you They will just discard you They won't want anything to do with you anymore They will let you go and they won't even bother chasing after you Because they know that you know They know that you see through the illusion They understand that it would be too much work to try to manipulate you And pull you into their realm So they will just leave you Or let you leave them And then they will look for low-hanging fruit Something that can be obtained or persuaded With little effort Because narcissists can't deal with anything too stressful They want it easy They want everything to fall into their lap So you don't give them supply so easily If you don't give them supply so easily They're not going to want to deal with you They will see you as a bad person Who must be avoided at all costs And then they will go looking for someone who is easier to deal with Someone who is willing to put up with their BS They're not going to deal with someone who is not interested in them Unless they can get something else out of it Like money or a place to stay But if you don't give them anything They're not going to stick around They will leave and look for low-hanging fruit They are very careful with how they manage their time and resources If you're not giving them fuel They're just going to see you as a problem They will want to get rid of you The narcissist needs to be able to manipulate you They need to have the ability to influence your emotions They need to be able to make you feel whatever they want you to feel It gives them supply They will put you on an emotional roller coaster Because it makes them feel powerful When they know that they can make you laugh, cry Or feel guilty or confused It makes them feel like they are in control The narcissist needs the ability to control you And they will do this for your emotions By changing your mood, way of life and your behaviours They feed off your reactions When you react to the narcissist It tells them that they have the power to influence you They play with your emotions They want you to emotionally attach to them Because that then improves their ability to manipulate you It gives them more control If you are dealing with a narcissist You need to learn how to control your emotions If you don't control your emotions The narcissist will control them for you But if you stop reacting to them It confuses them They don't know what to do in that situation They might try to up the ante But if you continue to withhold your emotions There's really nothing they can do It will drive them insane The narcissist cannot be around someone They cannot manipulate or control It makes them feel very uncomfortable They see their feelings as facts So they see it as though you have made them feel uncomfortable Which they then use to justify their actions towards you Where they will often try to take revenge on you They may do this by discarding you As they may think that this is going to hurt you But no matter what they do to you They will never forget you and they will never forgive you They will never let it go They are very bitter and resentful people They can hold grudges for the rest of their lives They just pretend like they're not holding a grudge If they want something from you If they think you're going to give something to them But deep down they secretly despise you They're just there to milk you for whatever you've got Which is why if they see an opportunity to ruin you in the future They will take that opportunity When you are around a narcissist You need to take away your emotions The narcissist will only use your emotions to manipulate and control you If they can see that you feel guilty or hurt about something They feel like they are winning They feel like they are in control When you are engaged in a conflict with a narcissist You may see that this is what they are trying to do They are trying to change how you feel about yourself Because how you feel about yourself reflects on how they feel about themselves If they can get you to feel down It makes them feel better If you are arguing with a narcissist You can just pretend to feel down Act like they have won the argument And as though you feel bad about yourself And then watch their reactions They will feel no desire to continue the argument Because now they feel like they have won As long as you fight back and try to stay in control of your emotions The argument will continue Because all they are trying to do is destabilize you They want to keep you off balance So instead of fighting it Choose to be off balance By choosing it You will still be in control But the narcissist will think that they have destabilized you Which will then cause the argument to end When you stop reacting to the narcissist They will feel like they have lost you They will feel like they are no longer relevant in your life They may feel like they own you As though you belong to them As though they can turn you into anything they like But once you switch off your emotions They will know that they have lost you They might try to up the ante Especially if they were able to get a rise out of you before But if you don't give them the reaction they're looking for They will be forced to accept that it's all over They will see it as though they have lost you And then they will just move on Because now they can't destabilize you They can't control you If a narcissist cannot manipulate or control you They will either try to take revenge on you Or they will just avoid you The narcissist needs you to be emotionally invested in them That is what gives them the ability to control you But when you shut off your emotions They will no longer be able to manipulate you They will no longer be able to control you And that is when they will feel like they have lost you Thank you for watching I hope this video resonated with you Please like, comment, share and subscribe If you would like to donate My PayPal link is in the video description Coaching inquiries You can email me at coachingatnarksurvivor.co.uk Thank you for watching and I'll talk to you soon


Statistics and Excel. Poisson Distribution. Potholes in Road Example. Get ready, taking a deep breath, holding it in for 10 seconds, looking forward to a smooth, soothing Excel. Here we are in Excel. If you don't have access to this workbook, that's okay because we'll basically build this from a blank worksheet. If you do have access, three tabs down below. Example, practice blank. Example, in essence, answer key, practice tab, having pre-formatted cells so you can get to the heart of the practice problem. Blank tab, basically a blank worksheet except for our image here, which you don't really need for the practice problem. So we can practice formatting the cells within Excel as we work through the practice problem. Let's go to the example tab to get an idea of where we will be going, looking at the Poisson Distribution. Once again, oftentimes examples related to line-rating situations as we saw in a prior presentation. But we can also have situations over space. So in this case, we're talking about potholes in a road. Thinking about the mean number of potholes, the average number of potholes being 20 for 100 miles of road. As opposed to a line-weighting situation where we were saying how many people will show up over a certain interval of time. Let's go back to the blank tab now and populate some of our data up top. So I'm going to go into A1. Let's first format the entire worksheet like we normally do, select in the triangle, right-click it on the selected area. We're going to format the cells. I'm going to go to currency, negative numbers, bracketed and red, no dollar sign. I'm going to get rid of the decimals for now and add them as I need them. Okay, let's go to the home tab, font group and make the whole thing bold as well. You don't have to do that, but I will do that. Alright, so here's our conditions. We're going to say that the mean potholes per 100 miles per, I'm going to say per miles, so that I can put them in a separate cell.  So the mean number of potholes I'm going to say is 20 per 100 miles. Okay, so now what I would like to do is kind of imagine as we did last time that we were actually going out and counting the potholes per 100 miles. Now, in this case, to do that, to get a random generated number, we have to already have the mean, but in practice you might not know the mean, right? What would we do to start this process? We might go out and count the potholes for every 100 mile interval and try to see how many potholes are in each of those 100 mile intervals. And then with our data, we might plot our data to then see if it conforms with a Poisson distribution. And if it does, the Poisson distribution might be a way for us to more easily make predictions and predictions into the future about the pothole situation. So let's do a random number generation which will mirror or mimic us basically going out and counting the potholes. To do that, we're going to go into the data tab and we need the data analysis. We saw turning that on last time. If you don't have that, you go to the file tab.   That's the one we want. Okay, so I'm going to make A a little bit wider here. I'm going to make my image a little bit smaller. I'm going to make column C a little bit smaller. I'm going to put the data here. So this is going to be my X data results. Let's format that first home tab font group. I'm going to make it black and white, which is our normal heading formatting. Let's center it as well. And then I'm going to go into D2 because that's where I want the data to go. Insert, I'm sorry, not insert, data up top. And then we want to go into the analysis and the data analysis. I'm going to do a random number generation and here's the criteria. I'm going to put a 1 here because we just want one column, number of random numbers. Let's put a thousand again. So we're just going to generate a thousand numbers that we'll be doing. Those thousand numbers representing a thousand 100 mile tests that we did. So that might be a fairly large test. Let's put like 500, like 500, 100 mile tests. Let's do that one. And then it's not going to be a discrete. We wanted to give it to us in accordance with a Poisson distribution, which still has an element of randomness, but it's going to be distributed according to a Poisson distribution with the lambda, the mean being, we're going to say 20. Now again, in real life, we might not know the mean. We'd go out and count potholes to basically figure this out, right? We would be counting every 100 miles, the number of potholes within each 100 mile frame. Let's go ahead and say, oh, where do I want it? The output? I want it to go right there. So that's where the output is going to go. Okay, let's go. Okay, and see what we get. So what's this mean then? It means that for the first 100 miles that we looked at, there were 18 potholes. Then there was 26 potholes in the second 100 mile space. The third 100 mile space, 21 potholes, 26 potholes in the next 100 mile space, and so on and so forth. So now we can take this data and we can create our bins with it to see if we can see any patterns with that data and possibly if it corresponds to closely or relatively closely to some kind of distribution that we can make a function for like the Poisson distribution. So let's say that we have our bins are going to be anywhere from, we're going to say, let's go from, I'll say 0, 1, 2, and I'm going to bring it all the way up to 100 here. So I'm going to select those three numbers, fill handle, drag it down to 100. Remember that in theory, there can be like an infinite number of potholes. The whole road could be a pothole, I guess, in theory, right? Because there's no upper limit if we're talking about a Poisson type distribution. But if the mean is 20, then you would expect you're not going to get, you know, it's going to be quite rare that you're going to have potholes more than like 100 potholes in that interval given if it's in a Poisson distribution format. Now remember if we want the frequency, frequency, we could try to say, I want to count these numbers, and I could try to use a count if function equals count if brackets, and the criteria range would be this. I'm going to hold down control shift down arrow, getting down to the bottom, control backspace going back to the top, and then comma, count that if the criteria is zero. And I could say enter and copy that down. Now I'm not going to leave this as the way we do it, because the other way is a spill function for the frequency. I just want to show that sometimes this doesn't give us the result that we would expect, right? So if I sum this up at the bottom by saying alt equals, I should get to 500 and I don't. And that's because sometimes I think that the distribution might give us a number that's not exactly