Good day! If I write a little throughout the day, I won’t have to rush to do so at 5 pm. I had a wonderful weekend. Tommy and I took Chris, Lexi, and Krissy to the city on Friday. Despite not feeling well, Tommy graciously drove us there. We planned to drop Lexi and Karissa off at the mall, but upon arrival, we discovered that there was police activity going on. After realizing what happened through our phones, we decided to change our plans and go elsewhere. We dropped Chris off at his school and then went to Costco, where Lexi found what she needed. It was great to see her happy with the purchase. We also visited Ulta, where Lexi picked up some makeup. On Saturday, we spent the day food shopping, and Tommy installed a new hard drive on my computer. It was initially challenging to see inside the case, and I had considered removing the video card to access the hard drive. However, it turned out that Tommy found another way to do it without removing the video card.
Since my computer had a fresh start, Tommy advised me to change all my passwords to eliminate any weak ones. It took some time to do so, and there are still some sites where I need to make changes. I will address those when I encounter a site where I know the password needs to be changed. I also need to update the passwords for the sites on my laptop, such as my email, as I cannot access it on my laptop.
On Sunday, we went to the movies and watched “Deadpool and Wolverine” and “Twisters.” “Deadpool” was incredibly humorous with its abundance of one-liners and fourth wall breaks. It managed to be both comical and obnoxious simultaneously. “Deadpool” didn’t leave much of an impression, as the action was the highlight, and the storyline felt lacking. Overall, “Deadpool” was an enjoyable film to watch.
The portrayal of tornadoes in Oklahoma in the series “Twisters” was intense, and it was surprising to witness so many tornadoes in such a short period of time. I know they had to mention that Oklahoma has never experienced this before, but I still think the number of tornadoes in such a short period is almost comical. However, I felt that Kate’s struggle with PTSD wasn’t depicted accurately. I believe that showing Kate seeking therapy or participating in support groups could have added depth to her character and provided a more authentic representation of dealing with PTSD. Having PTSD myself, I feel the movie didn’t effectively convey the extent of her trauma. Also, it’s surprising in the film to see so many people out and about when a tornado unexpectedly strikes. Typically, there’s an advance notice of severe storms, leading to the cancellation or postponement of outdoor events, and people usually plan to stay indoors or close to a shelter.
We are delving deeper into arrays in JavaScript. I didn’t feel as assured today. I’m still feeling a bit restless. I think I have much to do, but it’s just laundry and coding. The laundry entails washing the bedsheets, blanket, and comforter, making me daunted. It’s surprising how overwhelmed I can feel just by the thought of doing the laundry.
I’m having a slow laundry day because I keep forgetting I’m in the middle of doing laundry. I should check on it again. Alex went to get the mail, and Chris had packages he asked Alex to fetch. On a positive note, both Tommy and I received our passports. I’m relieved they arrived so quickly. Kel should receive hers within a few days. Unfortunately, the hose fell out of the washing machine, causing the laundry room and half of the kitchen to flood. Sigh, it definitely feels like a Monday. I am still determining what we should have for dinner tonight. I’m up to making something. But what?
JavaScript notes
——————————–
// Some and Every Checks // Array.prototype.some() // is at least one person 19? // const isAdult = people.some(function(person) { // const currentYear = (new Date()).getFullYear(); // if(currentYear - person.year >= 19) { // return true; // } // }); const isAdult = people.some(person => ((new Date()).getFullYear()) - person.year >= 19); console.log({isAdult}); // Array.prototype.every() // is everyone 19? const allAdults = people.every(person => ((new Date()).getFullYear()) - person.year >= 19); console.log({allAdults}); // Array.prototype.find() // Find is like filter, but instead returns just the one you are looking for // find the comment with the ID of 823423 const comment = comments.find(comment => comment.id === 823423); console.log(comment); // Array.prototype.findIndex() // Find the comment with this ID // delete the comment with the ID of 823423 const index = comments.findIndex(comment => comment.id === 823423); console.log(index); // comments.splice(index, 1); const newComments = [ ...comments.slice(0, index), ...comments.slice(index + 1) ];