I’m experiencing a headache today, which is unusual for me. This one is located over my right eye and is rather bothersome. I took some Naproxen, and it’s providing a bit of relief. Additionally, I’m on antibiotics for my ear, which is helping to alleviate the discomfort in my right ear.
This morning, Kel, Karissa, Alex, and I piled into the truck and headed down to the city. I regret not bringing my sweater; although it was warm, the wind was quite chilly for me. Alex needed to pick up his uniform for his new job, which he starts tonight from 10 PM to 5 AM—what a schedule that is! We spent over an hour at the uniform store, during which I managed to take a short nap in the truck since my head was bothering me.
After that, we headed over to the college bookstore for Karissa, where she purchased her stole for her cap and gown. The process took about ten minutes. The bookstore is quite nice, and I would have liked to browse a bit more if I hadn’t been feeling so unwell. Next, we stopped by Sam’s Club, where Tommy decided to get a year’s membership, likely out of curiosity. Kel obtained her membership card, and we made a quick stop at the food court. I tried a pretzel pizza, which was decent but a bit messy to eat. I still prefer the pizza at Costco. Sam’s Club had food samples available, though Alex and Karissa weren’t particularly impressed by them.
After we finished our meal, we headed home. Once we arrived in our town, we stopped at the post office to collect a package. Kel dropped us off before heading to visit her dad. I changed into my slippers, took some Naproxen, administered antibiotics into my ear, and prepared myself a cup of tea. The caffeine can help with my headache.
Now, I’m working on some coding. Unfortunately, I’m not having much luck due to my headache, but I’m still giving it a go. I need to find the intersection of two arrays: Given two arrays, I need to return a new one containing only the elements that appear in both. I’m struggling to come up with a solution, so I’ll need to do a bit of research on this.
The skeleton of the function and the console.log is:
function arrayIntersection(arr1, arr2) { // Your code here } console.log(arrayIntersection([1, 2, 3, 4], [3, 4, 5, 6])); // Output: [3, 4]
The console.log provides a clearer understanding of what needs to be done. We can utilize .filter() to iterate over one array and check if each element is present in the other array using .includes(). My ear is hurting, and that’s currently my main focus. Haha. Alright, I’m going to read up on this a bit more. Maybe more tea? Something cozy.
I recently created a reading journal and I will share a picture of it on Facebook and Instagram. I must admit, I feel a bit shy about showing my notebooks, but I want to showcase my new reading journal. My goal is to keep a list of the books I’ve read. Since I know I won’t have the time for something elaborate, I opted for a minimalistic approach. However, I do have one complaint about the Archer and Olive ink—it tends to be quite juicy and takes a while to dry, which has caused some of my stamps to smear.





