Apple update day. The update was a little slow today. I was nervous about my laptop cause I needed it for therapy and it was taking a bit longer than usual. So I’m good now.
I heard about my car today! Ugh. So far the damage is at $4500. They are going to put it on the lift today and see if there is any more damage underneath. I’m glad I have insurance. I do hope there is no more damage to the Bug. It’s crazy how much the damage is so far. It really did only look like it was the grill and skid plate. The bumper as well since it wasn’t hanging on very well.
Therapy was good today. We talked about anxiety today and how to keep our mind safe from bad thoughts. I’m to think of positive memories or positive triggers to help keep my mind safe and teach it to gravitate towards positive thoughts. Let me just say that isn’t as easy as it sounds for me. I have a hard time picturing things. Even memories, I can’t really see them in full picture detail. Can others actually do that? So this will take some practice. I’m to write down these positive memories as well. Many times a positive memory will continue with my mind starting up a negative memory. Say I have a good memory about Kevin, then it will turn into the memory of him passing. I may have a good memory about my mom, then turn into a negative one about her. So I need to teach my brain to not start up bad memories after I have a positive one. But in terms of keeping my mind safe, I’ve never really thought about that since I’ve only thought of safety as in physical things. Or digital things such as the internet. I guess when you think of it, your mind is your worst enemy. The purpose is to find something; a memory, a song or even a smell that generates a feeling of safety.
We also talked about anxiety and how to combat it. One way was to write about what I’m anxious about. And I can start the sentence with, “I have a thought…”, this brings some validation to my anxiety but tells my brain that what I’m having is a thought and not a fact. Especially when it comes to me being paranoid about my ex finding me or finding me online. To some it may seem farfetched that he will ever find me or abuse me again, but I still have that fear at times. I also need to practice on being mindful of my emotions. Most of the time when someone asks how you feel, we respond with “I’m ok” or “I’m thinking” rather than being in tuned to what emotion we are feeling at the time. There is this thing called the ‘Feelings Wheel’ that helps you describe what you are feeling at any one time. There is also the case of personalizing everything that is happening around us. We often take a situation and will personalize it or make ourselves the cause of what is happening when that truly isn’t the case. It’s much like catastrophizing the situation. Catastrophizing is a way of thinking that assumes things are worse than they are or will have a far worse outcome than is realistic. We can also drop the mental filter we have where our mind will show us the world in a way more negative light. Our mind tends to disregard all the good in the world, or things that make us feel good, or just the positives in a situation and focuses solely on the negative. This can make us more stressed and anxious. But the real value on mindulness is focusing on the present. Making a conscious choice to focus on your feelings at the moment. Or focus on the sounds or visual things in front of you and not to overthink.
I keep wondering where I should write down my positive memories. I guess my journal would be the first place to write them down. I keep my memories so private that I’m having a hard time just writing them down. Do I write it in a story format or just one sentence? How should I go about this? Am I overthinking this?
JavaScript notes…
—————————————–
Pairs of DNA strands consist of nucleobase pairs. Base pairs are represented by the characters AT and CG, which form building blocks of the DNA double helix.
The DNA strand is missing the pairing element. Write a function to match the missing base pairs for the provided DNA strand. For each character in the provided string, find the base pair character. Return the results as a 2d array.
For example, for the input GCG, return [[“G”, “C”], [“C”,”G”], [“G”, “C”]]
The character and its pair are paired up in an array, and all the arrays are grouped into one encapsulating array.
function pairElement(str) { return str; } pairElement("GCG");
function pairElement(str) { // create object for pair lookup const pairs = { A: "T", T: "A", C: "G", G: "C" }; // map character to array of character and matching pair return str .split("") .map(x => [x, pairs[x]]); } // test here pairElement("GCG");
Find the missing letter in the passed letter range and return it.
If all letters are present in the range, return undefined.
function fearNotLetter(str) { return str; } fearNotLetter("abce");
function fearNotLetter(str) { for (let i = 1; i < str.length; ++i) { if (str.charCodeAt(i) - str.charCodeAt(i - 1) > 1) { return String.fromCharCode(str.charCodeAt(i - 1) + 1); } } }
![Share on Facebook Facebook](https://i0.wp.com/www.desertkitten.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/32x32/facebook.png?resize=16%2C16&ssl=1)
![Share on Twitter twitter](https://i0.wp.com/www.desertkitten.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/32x32/twitter.png?resize=16%2C16&ssl=1)
![Share on Reddit reddit](https://i0.wp.com/www.desertkitten.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/32x32/reddit.png?resize=16%2C16&ssl=1)
![Pin it with Pinterest pinterest](https://i0.wp.com/www.desertkitten.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/32x32/pinterest.png?resize=16%2C16&ssl=1)
![Share on Linkedin linkedin](https://i0.wp.com/www.desertkitten.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/32x32/linkedin.png?resize=16%2C16&ssl=1)
![Share by email mail](https://i0.wp.com/www.desertkitten.com/wp-content/plugins/social-media-feather/synved-social/image/social/regular/32x32/mail.png?resize=16%2C16&ssl=1)