Everyone and welcome. This is Melissa Armo with the Stock Swoosh and I'm running two Labor Day sales for people that are interested in some of my popular products and services. So happy Labor Day, everyone. If you're interested in more information, you can email me at Melissa at thestockswoosh.com or call me at 929-3200 Gap. Follow me on Twitter, Facebook, YouTube, or Skype. So it's Labor Day just in two days and it's hard to believe that this summer is basically gone. I feel like this year has just flown by. So I typically do run something for the holiday, so I'm going to run two offers here if you're interested in the Gap Options newsletter or the Golden Gap course. We're really almost into September. So tomorrow is the first day of September, eight months into the year, 2019 like I said has absolutely flown by and before you know it, it's going to be the holidays in 2020. But there's still four more months left in the year for you to get involved, learn how to trade the market, and actually start to make money before the end of the county year and do well. And the holiday season is an exciting time to trade. There's usually a lot of volume and volatility in the market around the fall season. Earning season is in the fall too, so it's a good time to learn and get active. So summer is over. We did have a really solid month in the month of August, so I'm very happy for the calls in the room. We had some nice earnings plays. There was really some huge plays during this month of August. And there's going to be more of those in the fall season as well. So whether you're thinking about trading full-time or part-time, I don't think it matters, but I do think it is important to know what your goal is, why you're doing this. Do you want to trade for a career or do you just want to make extra money on the side? I do think having the right focus is important, even if you're doing this part-time as far as the strategy that you're trading, knowing your goal, your monetary goals, how much risk you're placing on each trade, learning the targets, learning the exits, all of this is very important. So again, earnings season is coming up in a few weeks and fall trading. It's a busy time and it's a good time to make money, like I said before, for the holidays. So I teach a class once a month. The class is called the Golden Gap course. And this is the meat and potatoes of what I do of all the trade calls that I make. So I teach a 26-point rating system in the class, which is how I choose which stock to trade each and every day, whether it's an option trade, an equity trade, or both. So this was BBY. This was one of the nice plays for this past week. This was Thursday, the 29th. Stop closed to your gap down. Closed up here the night before, around 69 and changed. Open here in the morning, around 65 and changed or 66 and changed. And it fell. No, it was 65, 65. I think it was over around 65.40 something, 65.30, it opened. And it really fell fast. I mean, this was one of these ones that it just absolutely tanked right out of the game. And so this is the importance of also knowing what to look for and being prepared of what stocks to be watching in the pre-market.  And I enjoy making money fast. So that's a nice thing about what I do looking in the morning between that 9.30 and 10 a.m. period and also the shorts because stocks tend to drop faster than they ever rally. The answer for this was 64.90, shares 1500, which is an advanced risk. So you can take a beginner risk or an advanced risk. Do you have questions about that? You can ask me. It has to do with the size of your account, the type of account you have. Again, this is an equity trade, not an option, but you could have done an option in this if you wanted to. Start with 66.25, exit 63.66. And this continued lower. This had another trade in it if you wanted to retake it. But again, quick and out trade done in several minutes of the day, profit $1,860. That's all that you ever need in the day. And that trade was again completed before 10 a.m. Eastern time. So the nice thing about day trading gaps is that the trades and the moves happen very quickly. And so you can do this type of trading while you are transitioning into becoming a full-time trader and have another job. So a lot of people are like, well, how am I going to quit my job and trade? You can't until you know what you're doing, know that you could supplement your income and you have to learn the system and you have to also get acclimated to taking the entries. Because sometimes it takes practice. That practice could be a couple of days or it could be a couple of weeks.  You don't have to have an experience to do this before you come and take my class. You can learn everything in the class, what I know from me. But it's up to you to then take the information and make it work for yourself. And I think joining the live trading room where I call that BBY definitely helps. So what do I do? I do gaps. And it's based on looking for institutional money and it's based on looking for momentum. So if you would like to work for yourself, you can day trade for yourself from home and work for yourself.  You can take a day off. That's a nice thing too. So it's a holiday weekend. I'm taking some time off myself. And again, I'm running some Labor Day sales. So the class special is a Golden Gap course paid for the regular price of the course which is $64.99. The Gap Options newsletter and the live trading room are free through the end of the year, $12.31 with the regular price of the class. This is a nice offer. This sale ends Thursday, September 5th. Okay, so this is a Labor Day class special. Then I'm doing the Gap Options newsletter special prices $3,000 through $12.31. So you'll get the letter for four months. Again, this sale ends September 5th. So normally this letter is $59.99 a year. So you're getting four months for 3,000 prices to help people to get started to take the change to get it on the letter. And then hopefully they would renew for the whole year for 2020. A lot of people have made a lot of money with that Gap Options letter this year. Again, I didn't call an option in BBY. You could have done that. The most recent option call was ALTA on Friday. Beautiful, moved down an ALTA that was puts. So if you've been thinking about doing this or you've been thinking about trading whether part-time or full-time I do think it's important to be successful at anything you do, any goal that you have. And for trading it really is about learning what to do. And it also is about making money but a lot of people don't understand that you have to learn it first. And how do you learn what to do? Well, you learn from someone that's already successful and I'm very successful. So successful people don't rely on luck. They make a plan, hire the best and move toward the goal with the utmost efficiency. So I hire people that are good at what they do whenever I need things or services for myself personally or the business. And that's the way of the world and it makes sense to do that. Not everyone is gonna be an expert in everything. Okay, I'm not an expert in everything. I'm an expert in reading price action. I'm an expert in reading the markets. I'm an expert on reading price action and gaps, institutional money buying and selling. But I'm not an expert at doing hair or makeup or I mean, I could name a million kinds of things. People sometimes ask me about the software and the computer stuff to get in the trading room. I always refer them to the support lady, to Kathy. She's an expert for that. So you go to the experts when you need experts on whatever that specific thing is. And I have a niche. So my expert is on reading what stocks that are gapping are gonna have a big move on the day and getting the entry right to take them and in what direction they're gonna move whether up or down based on the gap. And that has allowed me to read the market extremely well also, which is one of the things that I talk about on national television. So if you're thinking about doing this, I think it's important to hire me to teach you how to trade because you're never gonna learn it yourself unless you go through the process yourself like I did which takes years and a lot of money. That's a much longer road and a much harder road and a much more expensive road. So if you're thinking about doing this, you're investing in yourself. It's a gift to yourself where you're saying, I believe in myself and I believe my own success and I believe that I can do it with the right support system and with the right mentor, which is me. So I teach a class once a month. The class is called the Golden Gat Course. The class for September is September 21st and 22nd, 9 a.m. to 5 p.m. Eastern time. Class of the class is 64.99 US dollars. Classes online can be anywhere in the world and take it. Then I'm doing the combo, which is 69.99, which is the trends and the Golden Gat at September 23rd, 11 to three. So you would get two classes. You'd save on this home program because you would get the training room free to the end of the year. The options letter free to the end of the year. The Golden Gat course and the trends course offer 69.99, a great deal. So have a fantastic, fantastic holiday weekend everyone. Email me if you're interested in any of the Labor Day specials at Melissa at thestockswish.com.


Suckin' on my titties like he wanted me, wanted me. You know what's wrong? Can't say that I do, Corbin. Should I? Doesn't sound like a Beatle lyric. I wasn't making it up. Hey, welcome back to our new reactions of Corbin. I'm shocked and offended. I didn't know the intro to the song was that long ago. We need more wholesome fairer, like WAP. Well, this isn't new, this is like 11 years old. No, wholesome fairer, not necessarily new.   Did I already say that? You did. And I said I'm shocked. I like the song WAP, by the way.  Now we're gonna get demonetized. Thanks a lot, Rick. You're welcome. Today we got a trailer reaction for the new film coming out, Ranveer Singh film and Rohit Shetty. Split second, I thought if you were gonna say like a family film with kids and stuff, I was like, we're just talking. I do believe they're marketing this too, family. Great. Sorry, everybody. You might not know it, but that song by Cardi B is about a cat having a bath. Macaroni in a pot. The cat's name is Macaroni. Yep, it's Macaroni in the pot. And then when you wash the cat, that's some wet-ass pussy. Yeah, that's what it is. Anyways, it's the new film of his called Circus. It's Rohit Shetty's new film. Yes. We saw the reveal. Yeah. Everyone was sitting on the stairs. This is, so he's obviously the big, messy director, so everything rises over the top and kind of just, and he's over the top of the big top. Yes. And it's Ranveer Singh obviously playing two different characters. We've read that it's about a traveling circus. Yep. And so this came out a day ago, so we weren't filming yesterday. It's two. Two. Two things in one. But now we will watch it. So, here we go. Great. Incredible. Great. Incredible. What happened? Try it one more time. Okay. Here we go. Looks massive. Look at the colors.  Is it all CGI? Man, I've seen you for the first time. I've also seen you somewhere. Have you ever woken up? No. I'm sorry, I didn't recognize you. You didn't recognize me? Yes. Right now, I'm breaking a relationship with you. I thought I'd get a guy like that. But he's so handsome and smart. Isn't it like this in this city? I have a problem. Come on, Manak. You have a problem. I also have a problem. Man, I don't understand anything.  Hey! It looks like Wes Anderson and Walt Disney had a baby. It looks like it's in a fantasy land. Oh, I can... Every freaking frame... Sorry.  Every freaking frame is mesmerizing. Yeah, it is like... What the heck? It's almost... No, I did see it. It was just forgettable. Do you remember Tim Burton's Dumbo from a few years ago? Yes. He was bright and colorful. I was going to say it looked like you put Walt Disney, Wes Anderson, Guillermo del Toro, and Tim Burton in a blender and you poured it out on a screen and you got that. Yeah, absolutely. And that's a pure compliment. It's just so uniquely beautiful. I want to go visit that place just for the visuals. Yeah, and it remains to be seen how the comedy will translate in terms of just in general and in the subtitles is always a thing I fear with comedy. Of course.  Yeah. Jokes are just flying by. I swear it was a comedy. I just felt like Drax. Because it wasn't really that... That joke's going to fly over your head. It wasn't really that the trailer was that funny. No. No, like there was a few moments. They had like the ridiculousness of a guy being electric. Electrocuted and slapped and hit with a golf club. I think he has like some type of electricity. He's electric man. Yeah, he's electric man. I guess electricity doesn't hurt him. Yeah, something like that. Right. Who knows what the thing is. Right. It did seem to have a lot of Gomal elements to it though. They said Confusion a bunch, which is the thing in Gomal. And the names... I don't know what the names are at the end. I don't either. I'm sure. Well, it said... Are they from Gomal? Well... The Lucky and the... Remember when we saw the reveal? We were told there's a lot of throwbacks here from Rohit Shetty. My suspicion is there's going to be a lot of inside jokes for those who are fans of Rohit Shetty's stuff. That no one will get if you don't know that. Gotcha. Um, Rendri looked fun. I did not expect to peek. No, that was a great surprise at the end. I'm assuming she's just in an item. Me too. She'll have a number. But that's something I will say. Every single... Even though you've never seen a film of his, every single song from... Oh, Killers. Simba? Yeah. Rendri or Simba had great numbers. This looks like it's going to have phenomenal numbers in it. So my big concern with this would be if the comedy will actually translate. Agreed. But based on what I just saw with production design, art direction and cinematography... Okay. Yeah. Like, if I don't get any of the jokes, I won't mind because I'm going to enjoy sitting in this wonderland of visual spectacle. This cinematographer must have been like, so how many colors do you want in this film? And he just said, yes. Yes. If you can create some, that'd be great. Yes. I need... Yes. The colors. I need the colors. Just think nothing but colors. Big, bright, bold. Look at that. That's just great, these solids. I can tell you right now we're going to be talking about art direction and production design and cinematography ad nauseam because the trailer alone is gobsmackingly good. And it was a really long trailer too. Was that 3 Frickin' 38? 338.  And they're usually too long. Yeah. Oh, I thought it was a little long. I did. That's what she said. How long do you want me to go? That wasn't the length I was referring to. Oh, sorry. Anyway. Yeah, so if the comedy can get pulled off, because I'm expecting with what I know about this director is going for entertainment. Strictly? That is it. Absolutely. Go and have a good time. Nothing else. That's what it's for. You're literally going... Escape for three hours. Yeah. Having an escapism is... From what I understand, his style. Yeah. He's like I'm for the people. Right. And I want to entertain you. Here's the ticket. Sit in your seat. Put on your seat belt and go on a nice three hour long space mountain. Yeah. So it'll... My... Like if this was like a regular like drama, I'd probably be like less concerned. The only reason I'm concerned is because it's a comedy. And comedy is just always like scare me. And specifically because if you've been around, if you have not been around, you'll know our history with comedy, especially in the first couple years, but it's still applicable today. So much of Indian comedies have cultural relevance that we still don't get, that the comedy's lost on us. And that's not fair to the filmmakers because we're not the right audience to make an assessment on whether or not it was funny because we just don't understand the references. So yeah, so it... Who knows? Maybe it's because we are just... The renvir-sing stands of the world. You know how many people hated Jaisha Ijoba? I don't understand that at all. Like I asked today on Twitter.  Oh, shot. The front. Not all of them, but there are people. A few who said that? That film? Well, there's probably some who would say the same thing of... Good grief. We just reviewed it. Kala? Kala, thank you. I was thinking Kala. No, I haven't seen anybody say that. I've only heard good stuff about that one, but I don't think everybody... I know somebody who went meh to that. We know somebody who was like, that's all right. Strange. Yeah. But yeah, so it's... Well, there's people who don't like Titanic, too. Everybody has their own taste. You can not like a film if you want. So we really enjoyed that film. We thought that film was a lot of fun. A lot of fun. Had some fun? Yeah, but a lot of people didn't and no one went to go see that film. Yeah, strange. But who knows, man? But also we've never seen a Rohit Shetty film. Correct.  A minute 23, it's like the Harry Potter train. It really is. Ways into Disneyland. Yeah, it's visually gorgeous. Yeah, it's interesting. I wasn't expecting that. All of the primary colors, just production design and art direction. I wonder why that was, do you think? Do you think it's just because people like fun colors? Oh, it's got to be a creative decision. And it's just a fun film. I think it's very much a Wes Anderson kind of approach. I think there's great intentionality behind the production design. In there, there's blue. Yes. That has Wes Anderson written all over it. And I mean that in terms of the intentionality. Yeah. This is going to be a Wes Anderson film. No, this is not going to be a Wes Anderson film. Somebody's going to write an article. Oh, I saw it. It says Rohit Shetty is Wes Anderson. Not what I'm saying. Visually, it's reminiscent. You know what else it reminded me of a few times as well. It reminded me of Hugo in a few shots. Yeah, yeah, for sure. So yeah. Mays to be seen. Let us know. Okay. Dang. Look at the costuming. All of the gorgeous use of color. Look at the blend. Sorry. Sorry. You left the screen. I'm going to go back. Sorry. Nope. Where was it? Oh, wait. Yeah. He's a death eater.  But there was a shot of them standing there. Oh, there you go. Ow. I just had it. Where'd it go? There it is. It's at 255. Look at the color of the set design on the house behind them. And then look at the color coordination of the costuming of everybody, but particularly the couple standing in front of the house. It's married. It's comparable. Every, the whole spectrum of the color palette from the set to the costuming to the sky is all in sync. Yeah. Who knows? Incredible. Yeah. Hopefully it'll be good. Who knows, man? I think it got like 55 million views or something in the first day. It's great. I saw a bunch of people trashing it too, so. There's always, like we've said, you can say, boy, look at the beautiful sunrise. What do you hate about nighttime? Nighttime is trash. Anyways. I didn't say anything about night. I didn't say anything about it. We did a lot of comparing in this video, so it probably won't be. Yeah, I know. Yeah. If nothing else, my bet is that the musical numbers in this are going to frickin' slap. That boxer reminds me of Muhammad Ali. Well, he's not Muhammad Ali. He's his own person. Well, it was a compliment. Ali was a great fighter. Don't compare him to anybody. He's 112 minutes. Just under two hours. Eight minutes less than two hours, so it's 152. This is less than two hours. That's insane. I was expecting three hours. Is that wrong? I feel like that's wrong. I predict that's wrong. I predict that's wrong. IMDb's on crack. That would be insane. If it runs in at 112, that's truly nuts. For this style of film? Yeah. Unless that's the point. We're here to have fun and we're done. Everybody strap in, because it's going to be a bumpy ride. And boom. Who said that line, by the way?  Anyways, let us know what you think about this. Man, West was my mother. Let us know what you thought about the teaser. I'm Trailer, down in the comments below. Long teaser.


runs when it when the efi shell loads um, and if you if you put your your malware in the esp and then Trigger that that would cause it to to to run automatically, but otherwise the only way to get Any efi executable to run on Automatically when the system starts up is to register it with the nv ram which requires pseudo privileges For that exact reason So That is a valid concern, but it's mostly mitigated by you know Monitoring your system and if something pops up asking you for your password. Just don't type it in unless you know what it is Because right and that's that's another reason why the esp is mounted so securely like you can't read You can't read from it. You can't write to it unless your root Like like you can't even read the the contents. It's it's all entirely locked down Um, and it's done that way with uh, unix file permissions on the linux side. I don't know what windows does but Yeah Oh mac is a little weird though max are weird max are But it should ask you for your password when you do that Yeah, I I mean It's it's been many many many years since I've used mac osx But uh, I I'm fairly certain that if if there are passwords set on the you counts Oh, yeah Right that was back for the power pc stuff Right Now that's it is a it is a you know a thing that's that's worth looking at But as it as it stands right now, I mean, I don't know what windows is to protect it I know that windows file permissions are totally different max are an interesting case because max They don't mount the esp by default and they don't even use it Mac file or mac firmware actually has a driver for hfs plus built into it And it reads the the boot loader and all that stuff directly off of the the main system partition um There is Okay, and I know that I know that they also put firmware updates in the esp as well, but there's yeah, there's other things about that but So if there's a bridge boot loader in the in the esp then that that's a little bit different. I haven't Yeah Yeah so Yeah, uh It's it's it's security is always hard and Especially preventing boot kits from from being something that that'll infect a machine. It's it's a tricky problem You know on one hand, you know, you could you could solve it very easily by simply saying by simply hard coding your kernel Into the into the the firmware, but that has a downside of you can't upgrade it Uh, you can't you can't change it. You're locked into using that. So that's That's the The ubuntu kernel comes with efi stub, uh I did get in touch with a guy named rod who wrote rodsbooks.com and he's also the maintainer of refind Which is an efi Boot manager specifically designed auto detect. I think it's originally it's a fork of refit Which is for max and it's designed to be a little bit more generic But it's also widely used on max because it'll auto detect linux kernels linux kernels But uh, he indicated that um unless The kernel itself was signed with uh, microsoft's allowed signing key Um Loading this with secure boot enabled wouldn't work Uh, because the the kernel itself the way the way secure boot works in in ubuntu is there's a uh, a pre-loader called called shim which is signed with microsoft's key And shim allows you to install different vendor keys in it and it will load Like for example, it will load uh the kernel the uh ubuntu kernel, which is signed with a different key And it's still cryptographically secure, but it does it it handles the keys in a Hmm possibly Uh, yeah, I mean without without getting the linux kernel itself signed By microsoft it at every for every update right? This this isn't something that would work on a secure boot system, but um secure boot it's it's like it's well intentioned It's certainly not the evil thing that a lot of people make it out to be but it is somewhat inflexible and it's hard to work with and Right, right Right right and and Yeah, and it got kind of blown out of proportion, you know like like the there are some legitimate concerns with it I I it's I don't see it as evil. I just don't also I also don't see it as terribly effective. It suffers from a lot of the same problems that ssl does and that you have to Trust a single authority microsoft has already had A leak of one of their keys Which if you sign your efi binary with it, it will load on any secure boot system And microsoft has no way to even revoke those keys. So it has flaws that ssl doesn't even have Exactly Right right and so there's There's Right So so really the only way to to solve it is Just develop something other than secure boot that does similar things in a different way. That's that's you know revocable Basically, you know something that and and you'd have to keep this secure on the operating system side But something that you can manage from within the operating system would be would be the real way to solve this Something where the keys and the firmware are managed through an operating system program Uh, which would then would then you know, they would install keys into the firmware They would verify keys. They'd revoke keys out of the firmware if they were compromised Exactly right right and if it's if it boots it it would have already been signed But that's not secure boot because secure boot is already protocol. That's defined. Maybe it'll be secure boot version two uh hard to say but um Yeah, a side note, but uefi and secure boot. They're not evil. They're actually really good.  Why not make it easy for them? Right, you know, there's no reason not to not to to have it so inflexible There's an entire shell that that has you know the same basic capabilities as as dos That that can run solely on The the software that's based in firmware It's highly extensible. You could load you could load a file system driver for extended partitions And you'd be able to read extended for linux partitions from the firmware Right, so there's there's it's it's incredibly flexible Extensible as the the e, you know, that's what the e stands for is extensible So, you know, there's just a and it and it lets it allows the same hardware access as a as a BIOS does so Right exactly that's the firmware itself is is uh Physically on the machine So you can't boot it unless you've got some external hardware token Which would be Right I'm not a Kernel engineer, so I'm not the best person to answer that question. My understanding is that they actually have fairly good support for EFI level devices. I mean there's a Couple of of directories in the sys partition on on linux that that talk about EFI I haven't really explored them a whole lot My my understanding with EFI is mostly about how how the protocol works and and the initialization and Actually managing and working with EFI at a practical level the engineering aspect of it is not something i'm super strong with Um, but but that's like that's an excellent question and and there's a lot of potential utility there So definitely something that's worth worth checking out Right, yeah, um, yeah, I mean That's a that's a uh a valuable thing to to have happen I'm just not experienced enough to be able to say yes, that's supported or no. It's not unfortunately always learning Uh learned a whole lot in the past couple weeks working with this kind of stuff and and all that so Uh, I would That intel documentation is probably a great resource. I know it's a bit terse or verbose, uh and and dry, uh So it's not it's not like, you know riveting reading, but it it certainly would be helpful for that I I mean i'm working for a hardware manufacturer. We're working on developing our own hardware so i've read through the atx back Too many times which is once And uh, we are we're an oem. We're just like dal, uh, except at the only operating system we deal with as a boon 2 So we actually like, you know, we have our our laptops We also do desktops and servers. I'm not sure if you saw carl's keynote yesterday morning Where we demonstrated we have a new a new gpu server. You can put up to eight Tesla gpu's in it and uh have close to 40 000 cuda cores in a single machine for for doing deep learning compute neural networks that sort of thing You can we also demonstrated a new arm server which has got 90 96 cores running at I think two or 2.1 gigahertz In a 1u server chassis So we do servers we do desktops like traditional tower based desktops. Um, we have an all in one We've got very tiny ones based on the intel nook platform and then also a full line of laptops ranging everything from, you know, 15 watt ultra portables all the way up to Machines with with, you know full You know, whatever the current I think it's 45 watt desktop cpu's with dual desktop gpu's built into it In a in a laptop that you can fold up and take with you So, you know that's that's what we do basically So stuff like this is obviously interesting to us because because it helps us deliver a better experience for our customers Awesome. Any other questions? Alrighty Thank you all for for coming out and checking out my my Terribly amateur piece of software that does everything and I'm very sorry for lying to you about how to make a A bootloader in python because that's not possible, but but uh, you know, that's another thing about efi someone could make an efi Uh based python interpreter and you could legitimately have a bootloader written in python It's not impossible at all so No, i'm not So, all right Thank you


Hello and welcome to the session. In this session we are going to discuss the following question and the question says that if vector A is equal to the ordered pair minus 4 8, then find 3 by 2 into vector A, also find magnitude of 3 by 2 into vector A. Now let us start with the solution of the given question. Now in this question we are given vector A in component form that is vector A is equal to the ordered pair minus 4 8 and we have to find 3 by 2 into vector A. Here we have to multiply the given vector with scalar 3 by 2. We know that if component form of a vector is given that is we have vector V is equal to the ordered pair xy then its scalar multiplication with the given scalar k is given by k into vector V is equal to k into the ordered pair xy which is equal to the ordered pair kxky that is we multiply each component of the vector with the given scalar k. So here we have scalar k is equal to 3 by 2 so 3 by 2 into vector A is equal to 3 by 2 into the ordered pair minus 4 8 which is equal to the ordered pair 3 by 2 into minus 4 3 by 2 into 8 which is equal to the ordered pair minus 6 12. So 3 by 2 into vector A is given by the ordered pair minus 6 12. Now we shall find its magnitude that is magnitude of 3 by 2 into vector A. Now we know that for any vector V given by the ordered pair xy its magnitude that is magnitude of V will be given by square root of x square plus y square. So here we have 3 by 2 into vector A is equal to the ordered pair minus 6 12 thus its magnitude that is 3 by 2 into A will be equal to square root of minus 6 whole square plus 12 square which is equal to square root of minus 6 whole square is 36 plus 12 square that is 144 which is equal to square root of 180 and this is equal to 6 into square root of 5. Thus its magnitude that is magnitude of 3 by 2 into A is equal to 6 square root of 5 which is the required answer. This completes our session hope you enjoyed this session.


Hey there. I'm just getting ready to whip up a fruit smoothie, one of my favorite snacks. They're fun to make, taste great, and they're good for you. Here, I'll show you.  Then scoop in half a cup frozen berries. Now I'm using blueberries, they make a great color. Next, I scoop in half a cup of frozen vanilla yogurt. All right. And lastly, you guessed it, half a cup of milk. Be sure to choose fat-free or low-fat milk and yogurt. So, this is your basic smoothie recipe. But you can mix it up in lots of ways. Different kinds of fresh or frozen fruit, different flavors of fat-free or low-fat frozen yogurt, a couple of ice cubes if you're using fresh fruit, whatever. It's up to you. You see, the great thing about smoothies besides being totally tasty is that they're an excellent way to get calcium thanks to the milk and the yogurt. Calcium is a mineral that's important to your body in many ways. Along with weight-bearing activities, calcium helps keep your bones strong, especially when you're young and still growing. And you need strong bones if you want to be active and do things like running, dancing, playing tennis, or lots of other things you like to do. I'll bet you didn't know that most young people today don't get nearly enough calcium. Now is a really important time to add calcium to your diet to make your bones strong. Foods like fat-free and low-fat milk, yogurt, and cheese are loaded with calcium. But they aren't the only ways to get it. Other foods also contain calcium, but in smaller amounts, like spinach, almonds, and cooked dried beans. You can also get calcium from foods that have had calcium added to them, like some orange juices, breakfast cereals, and sandwiches. Now you can tell by looking at the nutrition facts label. So, there you have it. For strong bones and teeth, make sure you get your calcium every day. Now, I think it's time we give this movie a whirl. Oh, yeah. Here we go.


Projection into inanimate matter kingdom. Now we will continue with your ESP training by learning effective sin. Sorry projection into the kingdom of inanimate matter. You will study metals from a subjective point of view. Start by getting four different metal objects. We recommend stain less steel copper brass and aluminum. Then we want you to handle the metals and become familiar with them physically because this makes it easier for you to project yourself into them mentally the way you projected yourself into your living room south wall in the pre myoist chapter first you use your physical senses to study each object what does it look like what does it feel like can you detect an odor after you study each metal bring it to your forehead and touch your forehead with it when you do close your eyes and make an impress seon this is the procedure we will use when you project yourself men tally into each of the metals after you enter your level you will review those objective impress seons at the subjective alpha level this will make it easier for you to then project your subjective senses your mind to detect subjective information and related to the objective impressions you made with your physical senses conduct the four tests remember that you are projecting which means that you make it happen hosay silva said that whatever you imagine that is what counts here when you are ready enter your level as you learn to do in chapter two then project yourself mentally to the living room in your home and imagine yourself standing in the center facing the south wall then extend your arm objectively and visualize the piece of stainless steel mentally sense the piece of stainless steel and relive and object tightly repeat all the movements made previously pause bring them steel closer and closer to your forehead mentally observe it a few inch ease away pause now allow the stainless steel to touch your forehead and mentally project yourself into it pause you are now within the piece of stain less steel you may return your hand to rest on your lap pause if you imagine the piece of stainless steel to be just big enough for you to fit in you will not go very deeply inside but if you imagine the piece of steel to be as big as a room then you can go further within if you a mag and need this piece of steel to be as large as a massive building and feel your size and contrast with it then you can go still further within using the depth offered by this dimension of mind whenever you need to increase the illumination or amount or size of anything just snap the fingers of your right hand slightly and expect the change to take place for a decrease or to return anything back to its original state snap the fingers of your left hand slightly and expect the change to take place whatever you perceive with your imagination at this dimension you can use as points of reference in the future at this time we are going to subjectively conduct four tests the first test will be for light intensity and color since the intensity and color of light within the stainless steel pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future at the count of three we will test for temperature since the temperature within the stainless steel pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future at the count of three we will test for odor since the odor within the stainless steel pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future at the count of three we will test for solidity of material by knocking on the stainless steel physically form a fist and go through the motions of knocking on the stainless steel as you do on a wall Pause with kind of soundies subjectively here, pause whatever you perceive with, your imagination at this dimension you can use as a point of reference. In the future, now objectively touch your forehead and come out of the stainless when you are ready, enter your level as you learn to do in chapter two, then project yourself mentally to the living room in your home and imagine yourself standing in the center facing the south wall, then extend your arm objectively and visualize the piece of stainless steel, mentally sense the piece of stainless steel and relive and object, tightly repeat all the movements made previously, pause bring the steel closer and closer to your forehead, mentally observe it a few inch, ease away, pause, now allow the stainless steel to touch your forehead and mentally project yourself into it, pause you are now within the piece of stain, less steel, you may return your hand to rest on your lap, pause if you imagine the piece of stainless steel to be just big enough for you to fit in, you will not go very deeply inside, but if you imagine the piece of steel to be as big as a room and you can go further within, if you are mad and need this piece of steel to be as large as a massive building and feel your size and contrast with it, then you can go still further within using the depth offered by this dimension of mind, whenever you need to increase the illumination or amount or size of anything just snap the fingers of your right hand slightly and expect the change to take place for a decrease or to return anything back to its original state, snap the fingers of your left hand slightly and expect the change to take place, whatever you perceive with your imagination at this dimension you can use as points of reference in the future, at this time we are going to subjectively conduct four tests, the first test will be for light intensity and color, since the intensity and color of light within the stainless steel, pause whatever you perceive with your imagination at this dimension you can use as a point of reference, in the future at the count of three, we will test for temperature, since the temperature within the stainless steel, pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future, at the count of three we will test for odor, since the odor within the stainless steel, pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future, at the count of three, we will test for solidity of material by knocking on the stainless steel physically form a fist and go through the motions of knocking on the stainless steel as you do on a wall, pause what kind of sound do you subjectively here. Pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future now touch your forehead to come out of the piece of copper you are now now coming out of the copper extend your arm and hold the piece of copper at arms length now allow the piece of copper to flow in space using as a background the natural color of your living rooms south wall keep the piece of copper rotating you may return your hand to rest on your lap pause now the color of the wall will change to red the wall is now how does this piece of copper stand out against the red background pause how does this compare with the piece of stainless steel keep the piece of copper rotating pause now the color of the wall will change to green the wall is now green how does this piece of copper stand out against the green back ground pause how does this compare with the stainless steel keep the piece of copper rotating pause now the color of the wall will change to blue the wall is now blue how does this piece of copper stand out against the blue background pause how does this compare with the stainless steel keep the piece of copper rotating pause the color of the wall will now change back to green back to red back to the actual color of the wall now the piece of copper will disap pair from the scene the piece of copper has disappeared from them sin now we will visualize the piece of brass extend your arm objectively and visualize the piece of brass reliving all your previous movements as you bring your hand closer and closer pause now touch your forehead and mentally project yourself into there brass pause you are now within the brass at any depth or level you desire you may return your hand to rest on your lap at the count of three we will conduct the first test sense the intensity and color of light within brass pause how does the light within brass compare with that of copper pause and stainless steel pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future now test for temperature sense the temperature within brass pause how does the temperature of brass compare with that of cup for pause and stainless steel pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future now test for odor sense the odor within brass pause how does the odor of brass compare with that of copper pause and stainless steel pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future now test for solidity of material objectively form a fist and and knock. On brass, pause how does the reflected sound of brass compare with that of copper pause and stainless steel, pause whatever you percieve with your imagination at this dimension you can use as a point of reference in the future.  Pause. Now the color of the wall will change to blue. The wall is now blue.  Pause. How does this compare with the copper pause in stainless steel? Keep the piece of brass rotating. Pause. The color of the wall will now change back to green, back to red, back to the actual color of the wall. Now the piece of brass will dissap. Fair from the scene. Snap fingers. The piece of brass has disappeared from the scene. Now we will visualize the piece of aluminum.  Pause.  Pause. You are now within the piece of aluminum at any depth or level you desire. You may return your hand to rest on your lap. Now we will conduct the first test since the intensity and color of light within aluminum. Pause. How does the light within aluminum compare with that of brass? Pause copper. Pause in stainless steel. Pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future. Now test for temperature. Sense the temperature within aluminum. Pause. How does the temperature of aluminum compare with that of brass? Pause copper. Pause in stainless steel. Pause whatever you perceive with your imagination at this dimension you can use as a point of reference in the future. Now test for odor. Sense the older within aluminum, pause how, does the older of aluminum compare with that of brass, pause cup, per, pause in stainless steel, pause whatever you perceive with, your imagination at this dimension you can use as a point of reference. In the future, now test for solidity of material, objectively form a fist and knock. On the aluminum, pause how does the reflected sound of aluminum, compare with that of brass, pause copper, pause in stainless steel, pause whatever you perceive with your imagination at this. The dimension you can use as a point of reference in the future, now touch your forehead to come out of the piece of aluminum, touch your forehead, you are now coming out of the aluminum, extend your arm and hold the piece of aluminum at arm's length, now allow the piece of aluminum to float in space, using as a background the nap, erode color of your living room's south wall, keep the piece of aluminum, rotating, you may return your hand to rest on your lap, pause, now the color of the wall will change to red, the wall is now red, how does the piece of aluminum stand out against a red background, pause how does this compare with the brass, pause copper, pause in stainless steel, keep the piece of aluminum rotating, pause, now the color of the wall will change to green, the wall is now green, how does this piece of aluminum stand out against a green background, pause how does this compare with brass, pause copper, pause in stainless steel, keep the piece of aluminum rotating, pause, now the color of the wall will change to blue, the wall is now blue, how does this piece of aluminum stand out against a blue back, ground, pause how does this compare with the brass pause cup per pause in stainless steel keep the piece of aluminum rotating pause the color of the wall will now change back to green back to red back to the actual color of the wall now the piece of aluminum will disappear from the scene snap fingers the piece of aluminum has disappeared from the scene whatever you perceive with your amagi nation at this dimension you can use as points of reference in the fool turn it is now an accomplished fact that subjective points of reference have been established in the kingdom of inanimate matter at different levels in different depths to function at these levels and to use these points of reference all you need is to have a sincere desire to solve problems your mind will automatically seek out these points of refer and say where you will perceive and become aware of information you can use to solve such problems and this is so you have practice entering deep healthy levels of mind in your next session you will enter a deeper healthier level of mind faster and easier than this time in the next exercise you will establish points of reference in there plant life kingdom by projection to a tree and a study of leaves now when you are ready count yourself out of your level take your time take your time


since Ember is becoming more and more template driven. So as Jamie says, my name is Lauren, and I was born in the year of the rabbit. You can find me on Twitter as Trigopirate with an underscore or on GitHub as potato with an E. When I'm not working on open source or just work in general, I sometimes play Overwatch. It's quite an addictive game. But thankfully, I have a little puppy, Zelda, who keeps me grounded in reality because I have to take her out for walks and stuff. She's almost a year old now, and I miss her a lot. She's back in Boston. Wish I could have brought her here, but unfortunately, I couldn't. And so a year and a half ago, I was still living in Australia. And I moved to Boston last year to work at Dockyard. Dockyard works on a ton of Ember and Elixir applications, as well as very many open source libraries, including Ember and Elixir. It's been a really amazing experience working at Dockyard, so it's a little bit of a bittersweet moment for me. But this month, I'll be leaving, and I will be starting work at Netflix on the Studio Apps team, where I'll be helping to build tools for producing Netflix originals. So that means I'll be moving to California, so hooray warm weather. Now the title of the talk is a bit of a troll statement.  Now in case you're wondering why the talk is titled this way, it's based on a really bad pun on a song called Handlebars by Flo Watt. And I mean, it would be actually a really cool trick to be able to write an ever app without handlebars, but just like a bicycle, handlebars exists for a reason in Ember as we shall see in this talk. So when I was still figuring out what to speak about a couple of months ago, I only had a rough idea that I wanted to talk about helpers because I think components get a lot of the spotlight in Ember, but helpers don't get as much love as I think they should. So Jamie, a very wonderful MC, pointed me to a talk by Guy Steele. He delivered this talk in 1998, and it was titled Growing a Language, and it asked some really interesting questions. He asked if programming languages should be small or large. On one hand, a smaller language is quicker to learn. It's quicker and easier to learn, but it takes more work to get going because you have to write your own tools, basically. Whereas a larger language is slower and more difficult to learn, but there are already many tools available for you to use. And as Tom said earlier, the current Ember would be considered a large language because of the object model and just all the mental gymnastics you need to understand before you can get productive in it. Now there was a quote from Guy Steele's talk that I really liked, but I think it was a little bit confusingly worded. So the gist is in his talk is that language design is a pattern for making more patterns or a tool for making more tools of the same kind. So let's explore this idea a little bit more. An Ember app is basically written in a language that you've designed. And you define this vocabulary of UI and your application using components, helpers, and Ember primitives in handlebars. And according to Steele, a language that's ideal for growth is a means that users can easily grow it themselves. For example, the ability to define functions that look like and can be used like primitives is a really good sign that language that the language can grow to suit your purposes and feel more natural to use. And what you end up with is a language of components and helpers that is unique to your application, almost like a domain-specific language or DSL. And as we saw earlier, if you know handlebars, you could very easily build a standalone Glimmer 2 application without Ember itself, which I think is really exciting. So round of applause for the core team. It's really awesome stuff. Now since templates make up such a large portion of our applications, let's first explore the question of how much logic we should have in our templates because I know that's a really big question these days. And then we'll talk a little bit about declarative templating and what it means to have your UI as a language. And finally we'll close off with a few technical tips and tricks to writing good helpers. So a template is basically data with logic embedded in it. And as we shall see, how much logic is a contentious question. Despite a very common claim, handlebars is not a logical template engine. It only restricts what logic is allowed. And given the nature of UIs, a strictly logical templating language wouldn't be very useful and you probably end up finding it to do what you want. And template engines basically exist on a spectrum with sometimes very different philosophies. On one extreme you have template engines like plates where all you can do is interpolate some data into HTML. There is no logic and the engine basically encourages you to keep your templates completely logic-free. And in the middle of that spectrum you have engines like handlebars and mustache which allow some logic but they enforce a separation of concerns. Here you have what looks like some logic in your template but the actual implementation of this greater than helper is in JavaScript land and it's not in the template itself. And of course you have your other extreme where more flexibility and more power is encouraged. Now in programming we don't often deal in absolutes. So one isn't objectively better than the other. I think it really depends on the circumstances and the kind of problems you're trying to solve. But in number the intention of handlebars is to allow template authors to create logic outside of the template and we do this using components and helpers which encourage this separation of concerns by design. So even though it looks like there's logic we encapsulate it outside of it and we use that helper in handlebars as a declarative way of handling that logic. Now sub expressions in handlebars have been around for quite a long time. I think it's almost three years if I'm not wrong but they've only recently begun getting popular in Ember and sub expressions are really great for composition. You can do really interesting things with them but like any other tool it can be abused and it probably will be abused. So deeply nested sub expressions or deeply nested helpers are very much an anti-pattern and should be avoided. The point of a good template is to be declarative and to communicate intent. When you write something like this which is pretty horrible I think we can all agree you should step back and think and basically avoid programming in your template because this is really hard to read. It's also really hard to test and probably very brittle and hard to maintain. And in this particular example you're probably better off using a computed property. Another way to think about helpers is to think of them as computed property macros that you can use right in the template. If you find yourself doing a lot of boilerplate presentational logic where you're just like repeating yourself like a million times across all your components that could be a good candidate for being extracted into a reusable helper. For example many generic computed properties could be replaced with helpers for example like in the Ember Composable Helper Ember Composable Helper add-on which I authored with Martin. The logic is not so extreme that it's programming in your template and the bonus is you no longer need to worry about dependent keys and just trying to figure out what to observe and inherently it becomes more usable. But then I hear you say at this point why not just use JSX. Well there is a rule called the rule of least power also known as the principle of least power and this rule if I'm not wrong originated from the W3C. The reason we use HTML to mark up our documents in the browser is instead of writing code to generate them is basically because the rules suggest to use the least powerful language for a given task. And just like anything in life there is no black and white it's evaluated on a spectrum and it also some ways similar to the question of how much logic should live in your template. A language with constraints like handlebars is straightforward to analyze to read a lot more easier to reason about and in Ember Components helpers and keywords let us express our unique UI in this language that is declarative without having too much logic in the template. The converse of the rule is to use the most powerful flexible solution for a given purpose and usually that means it's quite imperative but you can do anything that is imaginable because there are no constraints. But because of the rule of least power Ember still prefers handlebars over something more powerful and flexible. And it's actually handlebars that is the reason why we could get all these performance benefits that Yehuda and Tom talked about earlier. For example here we have we know that this H1 is static it's value will never change and that the P tag is the only thing in this block of HTML that contains a dynamic value. Now if you inspect the element for this HTML this is actually what Ember will eventually render and you can see that the P tag is actually split over three lines. And that's because Glimmer rendered three tech nodes and since we know that the only tech node is that is dynamic is the name we only need to watch that value for changes and update the DOM accordingly because the other tech nodes are always static. And this kind of optimization is comparatively easier to do in a language with constraints compared to something with unlimited flexibility. Now I spoke about a little bit about keywords and helpers but what is the difference? Remember that Geisel says that a good language design means that user defined functions can also be used just like language primitives and you can basically think of Ember keywords as handlebar primitives which operate on a much lower level. These are all the keywords in the documentation you're probably familiar with most if not all of them. And although you invoke these just like any other component or helper with double curlies they are very different. For example, keywords are reserved they have access to template, the scope, the environment, the morph and so on there's a lot of stuff that keywords have access to. While helpers that you define are only received the positional primers that you pass into it. Here for example it would be model and ABC or options which would look like something like this async equals true. But as we can see in the next part of our talk even though helpers aren't quite as powerful as keywords you can still do really really interesting things of them and again this is the rule of least power at work. So let's explore what declarative templating means. Being declarative means that templates communicate as much intent as possible. You're describing a result you're not telling the computer exactly what to do and that's because templates even more than code are meant to be read. And at the same time the more code you have in your app the more likely you are to have bugs and nobody likes bugs. And relying and being able to rely on generic well tested helpers and components means in some cases you can actually remove that unnecessary logic that you don't have to maintain yourself. Templates are the blueprint to describe the result you want. Instead of embedding data and code we turn things inside out and we embed code inside data. Conversely here we're embedding data inside code and this produces HTML only as a side effect. The code doesn't really describe the result and even though this approach is a lot more powerful and flexible and you can do all sorts of crazy things the previous example was much more easier to reason about and maintain. Embedding logic in data is what modern template engines use and because ember is becoming more and more template driven let's look at the spectrum of logic again. There is a fine balance to be achieved here. Obviously we can't have no logic at all but then you don't want to get too extreme either and have logic everywhere in your templates so let's look at some examples. Here we have a very simple computer property that returns an array of employees that are filtered. The logic for this lives on our component as a computer property and this is still fine, fine and dandy since the logic isn't very complicated. In fact I could have probably used a computed property macro here I think. And now let's say you wanted to group those filtered employees by role or if you wanted to do some more say intermediate processing on that this array of employees you have to add more presentational logic to your component that you now have to maintain and test and to make things worse if you wanted to replicate this filtering and grouping in another component you now either need to extract these series of computer properties into like this very powerful macro which can be very complicated to write because now you need to determine how to get those dependent keys that you need in order to observe all these like the employees or you might even need to make a mix in which can be very error prone. Now on the other hand you could also use helpers to eliminate those computer properties and do the filtering and grouping directly. Now this approach shifts the presentational logic into the template in a declarative way. I mean you could even take it a step further and compose those helpers together which is a bit more concise but maybe a little harder to read and honestly I think this is definitely the most nesting I would do. And you know which is the better approach I think again it's a very common theme in this talk. That like anything it's a trade off. If you find yourself writing very many boilerplate presentational computer properties that are repeated everywhere you could be better off making a helper to use that as a macro in your template but obviously you don't want to get too carried away because remember you only want some logic non-extreme logic. So again you should strive to stay within a sensible limit and the previous example I showed just now with the grouping and filtering done helpers. In my preference it's probably pushing that limit but really it's up to your good judgment. And again don't program in your template just because you have all these cool helpers doesn't mean you need to abuse them. Handle bar strikes are really good balance in the amount of logic and it's actually really very well designed templating language and enables really nice DSLs like Ember Form 4 written by Martin who's giving a top next because everyone loves building a form, right? So now that out of the way let's look at how we can write some good helpers. There is a documentary called Jiro Dreams of Sushi. Jiro is a sushi chef in Tokyo. He has his restaurant, I think it's underground which is a three Michelin starred restaurant and he's basically devoted his life to sushi. And it's a really good documentary I highly recommend watching it if you like food in general. Now in this documentary Jiro said something that has stuck with me for a very long time something I'm unable to forget. He said that you must eat delicious food in order to make delicious food and you can't make good food without good taste. And I think this quote applies to programming as well and creative pursuits in general and this belief was even more so after listening to Guy Steele talk on growing a language. In other words to write in the context of Ember and Ember can to write good helpers we should first understand what good helpers might look like. A good helper must be pure because Ember makes no guarantees that multiple users of a helper will run at any given point. For example this capitalized helper will only be run once even though it's being used twice and this is really good because it means Ember can optimize rendering but that means helpers must be carefully written to not rely on side effects. Here is a really simple addition helper with no side effects. It's just taking A and D and returning that value. And because it's a pure function it will always yield the correct result no matter how many times it's rendered. And then here's a really bad example of an impure helper with a side effect. I hope no one has ever written something like this. This will lead to all sorts of strange behavior especially since Glimmer is all about re-rendering things in an optimized way. But yeah again pure functions will always give us the correct results no matter how many times rendering is performed. Now you're probably thinking that was obvious I would never write code like that. And it's simple because values in JavaScript are immutable but you have to be really careful when your arguments are an object or an array because in JavaScript objects and arrays are passed by reference. So here I've written what looks like a helper to sort an array. I don't know if you can see what the problem is straight away. But what I mean by passing by reference means that in simple terms when you modify this object or array it will actually modify that for everyone else. And the previous sort helper that I showed just now is flawed because when the helper first runs it mutates the array that was passed into it. And now that original array of numbers over here you see that it used to be two five four one three but now when I invoke it again it's become the sorted array which is not really what I want. So yeah, so be careful when you deal with objects or arrays as arguments in your helpers and if you need to you should make, try to make a copy of that array or object instead. Another thing when designing helpers is to think of them as ways to use modules or add-ons or a kind of entry way to some code that you've written right in your template. For example, I recently made an add-on called EverChangedSet. A change set is essentially a collection of atomic changes that you apply onto some model or object. And this add-on was inspired by Ecto which is an Elixir library that is a DSL for creating SQL queries. And EverChangedSet is basically a really functional approach to modifying data and making sure that those modifications are validated. So let's look quickly at how I use the helper as the main interface for creating these change sets. Now the logic for the add-on is roughly like this. It takes some object or some model and it returns you a change set. But creating this change set in JavaScript land doesn't communicate intent as much as in the template. And the helper itself is actually quite simple and it abstracts away the logic that you need to know about, to create these change sets. And now in your template it's way more explicit and declarative because now I can tell straight away just from reading my template what is a change set and what is a model. And you can also easily tell how it's validated. It may or may not be obvious from what I just mentioned but whatever your helper returns dictates how it's used. When returning these primitives it's pretty straightforward and not surprisingly they just yield the value. There's nothing too exciting about this. You should be pretty comfortable with these kind of helpers. But it does get a little bit more exciting when your helper returns an array. Here is a repeat helper which takes some value and some length and repeats it by the length. And the code is actually pretty simple. It creates an array with that length and then it maps over it and returns that value that was passed in. And not surprisingly you can use the each keyword when your helper returns an array or in any other keyword or helper or component that expects an array. And you can already imagine some interesting use cases for this in your application. Now what about objects? Using the change set example from before you could even use the with keyword to make a really crude ember form for it.  When I first realized you could do this I thought it was kind of silly but it turns out you can use this technique to do something you're probably already familiar with in object oriented programming. And what it allows you to do is basically component dependency injection. So here we have a parent component with some child components and you can see that these components are actually passed in from the outside through a hash which gives you an object. And now in my parent components template I basically decoupled those components from the parent or container component and my parent component no longer needs to know anything about those child components. And now if you do a lot of component integration tests you can better test that component in isolation. And here I have a helper which is available online to do essentially to be able to register a dummy component. So now in your test you can actually stub out those child components. And as you can see what you return in a helper really changes how it's used. You can even return functions in helper. For example here we have a toggle helper which inverses a Boolean property on some object. And in JavaScript a function that returns a function is known as a higher order function. And a higher order function helper lets you basically make Ember action helpers. I'm sure you've written some action like toggle is expanded or toggle is displayed or toggle something many times before. You could actually extract that as a helper and because it's so generic it's a lot more usable and you only need to, you no longer need to basically maintain that presentation logic yourself. And higher order functions by definition take in other functions as arguments. For example the Ember Composable Helpers add-on has a helper called the pipe helper. And since in Ember actions are just functions you can actually pass those actions in as arguments to the helper. And what this pipe helper does is let you invoke those actions sequentially by passing the return value from one action to the next action kind of like an elixir pipe if you're familiar with that. And there's actually not much code involved but you can see how something like this can help you dry up a lot of boilerplate UI logic where for example if you click a button you wanna also submit record and show a dropdown and you wanna basically compose these actions together. And you can easily imagine different use cases that can emerge from this kind of pattern. So again even though helpers aren't as powerful as the keywords that Ember provides us you can do really really interesting things with them. The previous examples were all simple helpers. For more complex needs you can make a class-based helper which you can think of as an Ember object.  Here is an I18N helper where you can look up translations on a local service. And now your helper can listen to a change in locale and when that locale changes all your translations will automatically update even though that locale isn't being explicitly passed into the helper. And if you notice there's a little bit of a friend here observer. So it's currently only okay to use observers in class-based helpers so don't use them anywhere else. Okay you're probably pretty excited about all these cool helpers but when should we prefer to use a computer property and when should we prefer a helper? So the first thing you learn about in Ember is probably a computer property. Most likely the first name, last name to get the full name example. And it's a really nice way to compute a value updating automatically. But auto updates as we've learned can be a double-edged sword because you can't really control when those values update. So computer properties are best suited for business logic. But knowing what keys to observe in that computer property can sometimes be quite tricky. Sometimes you need to know ahead what those dependent keys are. Sometimes you even need to be able to determine what those keys are at runtime which can be quite complicated and also can be quite hard to extract to make that a reusable computer property macro which you can use anywhere. Helpers on the other hand are best suited for generic utilities especially things like this where you might want to repeat a block of HTML a couple of times. They're not really directly related to the domain that your app is trying to solve not really related to business logic but you can see how these generic helpers can help us dry up our app and give us nicer markup. And you don't have the same problems in a computer property where you have to figure out what dependent keys to observe. But remember just don't get too carried away with helpers because again this is really bad so don't do it. Okay in conclusion a template is logic and beta and data and the amount of logic in your template lies on a spectrum. Nothing is black and white. Handlebars enforces a separation of concerns so don't program in your template and remember the rule of lease power. And your templates are a UI language for your app that's unique to you so keep it declarative and how much logic you have in your templates is a bit of a fluid balance because sometimes a little bit more is better sometimes less is better. It really depends but generally you can think of helpers as a nice way to dry up your code especially when they are very generic. And finally what your helper returns changes how it can be used. You can return anything from a string to an array to an object to a function and many different use cases can emerge from this pattern. And if you need access to services or computer properties use a class based helper. So I'm really bad at Q&A when I give talks like my brain free this. So come chat with me during lunch and I'll also give you some very limited edition sugar pirate stickers which you can see over there. Thank you for listening.


We live in a noisy world. We might find occasional stillness, but silence seems to be even more fleeting. Stop whatever you're doing. Pull your hands away from the keyboard, close whatever app you have opened. Stop. Breathe. Listen. What do you hear? Listen until you hear the sound of your own breath. Move from this place, rather than that other one.


Oh, no, you didn't sell me like that. Oh, you didn't sell my you didn't sell my dad. Oh my god Dan just goddamn looking the wrong way. Ah, that wasn't a good drive. I missed the way so many reads, bro I hate like do am I wrong about zones? Are you just set like come on, man? Ah Bumble the wall mid in jukebox Come here fumble.  All right, I got secure protector Let's put them at one of the let's put them at one of the ends.   I can't get mad at that I'm cool running cover for dude. I really am. I don't know what the run against those clothes for real for real. I don't know We're gonna find out Oh, yeah, that's a dot Man That's a nice great way to catch the ball That's a dot That's when you'll see all night. Hmm. I feel like we hold them out the end zone. I feel like we hold them out the end zone I feel like we can Can we or can't we?  He won't he won't catch one. He won't catch one Hmm That was good defense. That's good. We've been here before we hold people out the end zone check Y'all know we do this. Y'all know we do this. This is literally what we do Hmm. Oh my god.  I mean broke.  I'll try I Can't have one one non-productive play That makes any sense. Then there's the first one carry not the best Not the best defense not not the best defense.  I Swear to God, I have the worst. Have you ever seen somebody with worse luck than me? Anybody? That's girl. Yes, sir Yes, sir ski. I mean bro my lack of like Like eventually they got to get in right like the drop. Let's go, man Hmm This boys won't give me the football this guy right here. This guy right here gives me the oh my god Come on, man. My bro killed us running. There we go. Here we go. Here we go. Here we go. Here we go Here we go. Here we go. Here we go. Here we go. Here we go. Here we go Come on, man, like Like dude to me I Don't know. I was in the back of the end zone. I don't know what the coming. I Every oh my god right at your feet Like right at your feet for the guy like literally Right here right in a hook curl literally right here. You didn't have to move There's just no way he doesn't acrobat here. There's no way


So see the table under amount of credit later. So we'll dive into some more details in a bit here. For additional information about the credit, you can see form 2441 and its instructions available at the IRS.gov website. All right, so the 2021 enhancements to dependent care benefits have expired as well. So another kind of item, they changed a lot of things in 2021. They're kind of going back to the norm that was in place before that whole thing. So the changes to dependent care benefits under the American Rescue Plan Act of 2021 have expired for 2022. The maximum amount that can be excluded from an employee's income through a dependent care assistance program is $5,000, $2,500 if married filing separately. Dependent care benefits are reported on form 2441 line 12. Temporary special rules for dependent care flexible spending arrangements, FSAs. So section 214 of the Taxpayer, Certainty and Disaster Tax Relief Act of 2020 provides temporary COVID-19 relief for dependent care FSAs. This legislation allows employers to amend their dependent care plan to allow unused amounts to be used in subsequent years. Unused amounts from 2020 and or 2021 are added to the maximum amount of dependent care benefits that are allowed for 2022. So for more information, you can see the line 13 instructions in the instructions for forum 2441. Notice 2021-15, 2021-10. And there's some more information you could take a look at here to find that information if you want to dive into that in more detail. All right, let's get into the reminders. Personal exemption suspended. So for 2022, you can't claim a personal exemption for yourself, your spouse, or your dependents. So that's been in place for a little while here. You'll recall that there used to be a kind of a system where when you had a dependent, you would say what's the major benefit of say having a dependent? One was that you had an exemption, which was kind of like a deduction for them in an exemption for yourself and so on and so forth. They, in an attempt to simplify the tax code, they basically removed the exemptions and they adjusted the major benefit would be the credit, the credits that would be that you'd get for like a dependent, for example. So taxpayer identification number needed for each qualifying person. You must include online to a forum 2441, child and dependent care expenses, the name and taxpayer identification number, generally the social security number, SSN of each qualifying person. See the taxpayer identification number under who is a qualified person. We'll talk about that later, but clearly if you're gonna be having a credit related to a qualifying child for these expenses, then you're gonna have to give them a number related to them because the IRS sees them as a number, typically the social security number. You may have to pay employment taxes. So if you pay someone to come to your home and care for your dependent or spouse, you may be a household employer who has to pay employment taxes. So in other words, if you're in a situation, of course, where someone is basically working for you in your home, then the question is, well, now are they a contractor? No, it looks more like they're gonna be an employee type of situation where you're gonna be subject usually to payroll, but you might at least have employment taxes with regards to it, right? Social security and Medicare that you have to deal with in certain situations. So usually you aren't a household employer if the person who cares for your dependent or spouse does so at his or her home or place of business, see do you have a household employee later. All right, let's get into the introduction. This publication explains the tests you must meet to claim the credit for child and dependent care expenses. It explains how to figure and claim the credit. That's what we wanna know. You may be able to claim the credit if you pay someone to care for your dependent who is under age 13. So we have another kind of age test here. You'll recall when we thought about age tests with regards to do kind of be claimed as a dependent where we had 19 or 24, if they're a qualifying or if they're a student, for example, do they qualify for the child tax credit? We had an age test of like 17, I believe. And now we've got this age thing here of 13. So you gotta keep all these kind of ages in your mind. So who is under age 13 or for your spouse or dependent who isn't able to care for himself or herself? The credit can be up to 35% of your employment related expenses to qualify. You must pay these expenses so you and your spouse if filing jointly can work or look for work. So that's the general thrust of the aim of this credit. What's the aim of the credit? To allow people to work or look for work. So you're now paying for care for the child in order to do that. And so a lot of the rules that we wanna think of, we wanna think of from that perspective. Why does this rule make sense? You would think they're trying to design the law so that they're giving you a benefit if these expenses are in alignment with allowing you to work or look for work. All right, so this publication also discusses some of the employment tax rules for household employers. Now, if part of what you're doing then in order to work is not taking your child to someone else for care or something like that to allow you to work or search for work but hiring someone as a household employer then you get into the situation of is the person just like any kind of schedule C kind of thing which is are you hiring this person as an employee or are they an independent contractor is the general kind of idea.  So dependent care benefits. If you receive any dependent care benefits from your employer during their year you may be able to exclude all or part of them from your income. You must complete form 2441 part three before you configure the amount of your credit see dependent care benefits under how to figure the credit later so we'll dive into that at a future point. Useful items you may want to see so you got publications so the so some of the gray areas if you want to get into more detail for the research see here are some publications you can find on the IRS website. So you got 501 dependence so obviously much of this is going to be related to does someone qualify as a dependent so there's some overlap there the standard deduction and filing information. So then we've got the 926 household employer's tax guide so if you're in a situation where now you're solving this problem of being able to work by having care of someone who's a household employer then you can dive into that issue which could deal with social security and Medicare and whether you're a household employer form and instructions so you've got the form 2441 child and dependent care expenses so obviously you can look up that form and related instructions schedule H form 1040 household employment taxes and W10 dependent care providers identification and certification.