<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mandi Haase on Medium]]></title>
        <description><![CDATA[Stories by Mandi Haase on Medium]]></description>
        <link>https://medium.com/@haase1020?source=rss-477fc7647b67------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nv8lkISPveIhKiEUhJElfw.png</url>
            <title>Stories by Mandi Haase on Medium</title>
            <link>https://medium.com/@haase1020?source=rss-477fc7647b67------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:07:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@haase1020/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Recursion Simplified]]></title>
            <link>https://haase1020.medium.com/recursion-simplified-a40bd3221878?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/a40bd3221878</guid>
            <category><![CDATA[recursion]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[optimization]]></category>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Mon, 06 Dec 2021 11:13:45 GMT</pubDate>
            <atom:updated>2021-12-06T11:47:39.375Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*npSumZHgqLtqOEYjcLjdRw.png" /><figcaption>spiraling orange slices</figcaption></figure><p>If you were to ask to list the concepts that I have struggled with most in my journey as a software developer, the top on that list would be RECURSION. I am not going to lie — I STILL struggle with understanding the magic of recursion. Simply write a few lines of code, add a base case, have a function that calls itself, and magically have the correct output. Sounds lovely, right? Yes — except for when you try to wrap your mind around what’s happening in that little bundle of recursive joy.</p><p>In this post, I hope to explain recursion so that you don’t have to struggle as much as I have.</p><h3>WHAT IS RECURSION?</h3><p>Recursion is “the act of a function calling itself, and is used to solve problems that contain smaller sub-problems. A recursive function can receive two inputs: a base case (ends recursion) or a recursive case (resumes recursion).” (<a href="https://developer.mozilla.org/en-US/docs/Glossary/Recursion">MDN Web Docs</a>) There can be more than one base case, an input where the function produces a result that is trivial or so small that the function does not need to be called again. The base case is what stops the function from infinitely calling itself. The recursive case chunks away at the input until you get to that smallest input size, which is the base case. Here is a simple example. I provide my husband with a list of cleaning chores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*SxtDLwr9cSFXVyY-MgTPPA.png" /><figcaption>cleaning supplies</figcaption></figure><p>He looks at it and picks the item at the top of the list, then hands the list to my son, who chooses the next items. My son then passes the list to my daughter, who picks the next items. This cycle continues until all work has been done. When all work is done, the family house cleaning is done, and we can go on with our day.</p><p>My family housecleaning would look like the following in code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/69796c386bb3da3e40c5b316ac9f6cd0/href">https://medium.com/media/69796c386bb3da3e40c5b316ac9f6cd0/href</a></iframe><p>This code has a caveat that you should notice. Since I use the slice method on the array, I am creating a copy of the array for each recursive call. That increases the time complexity since the slice method is an O(n) operation in JavaScript. So the time complexity is now O(n²), or quadratic time (if you don’t know about <a href="https://en.wikipedia.org/wiki/Big_O_notation">Big O Notation</a>, I recommend this <a href="https://www.freecodecamp.org/news/big-o-notation-why-it-matters-and-why-it-doesnt-1674cfa8a23c/">resource</a>).</p><p>To optimize this cleanHouse function to run in linear (O(n)) time, you can use an index instead of making a copy of the array. Here is the code. I added console logs to help visualize the difference. You will notice that the array stays the same until the base case is reached, while the previous example made a new copy of the original array with each recursion call.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/894d69231f924b37521199d0db6b5f66/href">https://medium.com/media/894d69231f924b37521199d0db6b5f66/href</a></iframe><h3>TYPES OF RECURSION</h3><p>There are various types of recursion, two of which are <strong>single recursion</strong> and <strong>multiple recursion</strong>. Recursion that contains only a single self-call (or reference) is single recursion. Examples of single recursion are list traversal, calculating a factorial number, or the following simple sum recursion example below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c7326d1981bc01f86af0e74891ffb8f1/href">https://medium.com/media/c7326d1981bc01f86af0e74891ffb8f1/href</a></iframe><p>Multiple recursion is where the recursive function contains multiple self-references. For example, the Fibonacci sequence can be an example of multiple recursion since it can be written to recursively calculate the sum of the number — 1 and number — 2 (see example below — there is a simple and memoized solution).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ffccf3f9f1c968a650911752f543f34/href">https://medium.com/media/4ffccf3f9f1c968a650911752f543f34/href</a></iframe><p>There is also <strong>direct recursion </strong>and <strong>indirect recursion</strong>. Direct recursion is where the function is calling itself. However, with indirect recursion, the main function is not called by itself but by another function. Indirect recursion is also called <strong>mutual recursion</strong>. In the example I used above for cleanHouseOptimized, I used a helper function, which would be an example of indirect recursion. Another example is the following code for solving the binary tree traversal code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f5fd0efdd1402cb3198409dfb5dd0775/href">https://medium.com/media/f5fd0efdd1402cb3198409dfb5dd0775/href</a></iframe><p>There are other variations of recursion, and I encourage you to explore the wonder of recursion and share what you have learned in the comments section below.</p><h3>WHEN TO USE RECURSION</h3><p>So, if recursion is the process of breaking things down little by little into bite-size pieces and arguably makes for elegant (in other words, shorter) code, should you use recursion whenever possible? My advice is to use recursion with caution. As with any tool, it can be a dangerous weapon. In the worst case, you find yourself in an infinite loop and crash your browser or code editor.</p><h4>RECURSION IS TYPICALLY SLOWER THAN ITERATION</h4><p>Even if you don’t create an infinite loop, you need to know how long recursion takes to run a function. For example, in the Fibonacci example above, the first recursive function runs in exponential time. Compared to its iterative sibling, which runs in linear time, that is a BIG efficiency hit! There are ways to write recursive functions that are more efficient, using memoization and wrapper functions. Performance can also vary allegedly by language (thank you Wikipedia for that information!), with languages such as C and Java having significant time and space costs with recursive functions. In functional languages (JavaScript can be considered a functional language), a function call is generally speedy, and the difference is not as noticeable.</p><p>As with any code you write, you need to be aware of the implications. Make sure you understand what the language you code in does and what the costs in terms of time complexity and space complexity are. For example, a simple fix to the following recursive sum function reduced the time complexity from quadratic to linear time!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bbd62190c20802ff39ddca0320ecdd8a/href">https://medium.com/media/bbd62190c20802ff39ddca0320ecdd8a/href</a></iframe><p>In some languages, the maximum size of the call stack (the number of calls that are called before the base case is hit and the calls are popped off the stack and calculated) is much less. Have you ever used <a href="https://stackoverflow.com/">Stack Overflow</a>? That name refers to when a program exceeds the amount of memory space allocated. You need to be aware of how well recursion works in your language.</p><h4>DON’T ADD CLEVERNESS UNLESS YOU REALLY NEED IT</h4><p>So, if recursion is so challenging to understand and can be a dangerous tool, why use it instead of an iterative solution? That is a fair question. Pretty much any algorithm that is written using recursion can be implemented iteratively. However, there are cases when iterative solutions can become incredibly long, complex, and practically unreadable.</p><p>Here is an example of a solution written with recursion and then with iteration. Which one would you think is a better choice?</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/31287c3b3827b17ec14b40762d5b6247/href">https://medium.com/media/31287c3b3827b17ec14b40762d5b6247/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b17b86535c2902f5b0b0712ba98a1db0/href">https://medium.com/media/b17b86535c2902f5b0b0712ba98a1db0/href</a></iframe><p>Recursion is good for working on problems with many branches. A great example of where recursion shines is working with trees. Remember however that while recursive functions can be equal in time and space complexity to their iterative counterparts, they tend to be slower than an iterative solution.</p><h4>CONCLUSION</h4><p>Today you learned about recursion and when to use it. You should consider recursion when your code feels unwieldy using iteration.</p><p><em>I would love to hear of your favorite algorithms using recursion! Feel free to post them in the comments section below.</em></p><h4>GREAT RESOURCES ON RECURSION AND RELATED TOPICS</h4><ul><li><a href="https://www.freecodecamp.org/news/quick-intro-to-recursion/">A Quick Intro to Recursion in Javascript</a></li><li><a href="https://betterprogramming.pub/save-up-computation-time-in-javascript-using-memoized-wrapper-functions-ae85f28d8087">Save Up Computation Time in JavaScript Using Memoized Wrapper Functions</a></li><li><a href="https://eloquentjavascript.net/">Eloquent Javascript</a> by Marijn Haverbeke , Chapter Three (section on recursion)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a40bd3221878" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Feynman Technique for Learning Programming and Computer Science]]></title>
            <link>https://haase1020.medium.com/feynman-technique-for-learning-programming-and-computer-science-a814e624f4ad?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/a814e624f4ad</guid>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Sat, 04 Dec 2021 22:03:33 GMT</pubDate>
            <atom:updated>2021-12-05T13:02:10.918Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Dx7wglYGi0x6v_UA2xNvwA.png" /><figcaption>Girl walking up stairs of learning</figcaption></figure><p>Welcome to the first in my series of blog posts, where I hope to explain data structures, algorithms, and other fun programming knowledge in a user-friendly way. Glad to have you along for this journey!</p><p>I will be using the principles from the Feynman Technique when writing my blog posts. So, what is the Feynman Technique? The Feynman Technique was developed by Richard Feynman (1918–1988), a renowned author, intellectual, philosopher, and physicist. This technique for teaching and communicating focuses on conveying information using very concise and easy-to-understand (simple) language.</p><p>Richard Feynman was a brilliant and eloquent thinker. Interestingly, many of his lectures were aimed at students who had limited knowledge of the topics Feynman covered. However, Feynman was able to strip away the complexity and present complex scientific principles with humor, passion and in a way that ignited interest and curiosity in listeners.</p><p>The Feynman Technique at its core is the following:</p><ol><li>Identify the topic you want to learn about and learn</li><li>Teach the topic to a child</li><li>Reflect, refine, and simplify</li><li>Organize and review</li></ol><h4><strong>STEP ONE: IDENTIFY THE TOPIC</strong></h4><p>Let’s look at what it means to identify the topic. When you identify a topic you want to learn about, write down everything you know about that topic. Then, every time you come across new information, add that information to your notes.</p><p>For example, let’s take trees, a data structure in programming. My initial list looked like the following:</p><p><em>TREE</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*wQjsCcwvTnQXO9a9jDowfw.png" /><figcaption>Tree with branches reaching to the sky</figcaption></figure><ul><li>It has a single root which is the beginning</li><li>Has branches that spread out from the root</li><li>Can show hierarchy, or parent, and children relationships</li><li>Has nodes that hold values</li></ul><p>After you know the topic you want to learn and teach about, learn about that topic. Once you feel fairly comfortable with the material, you are ready to move on to step two.</p><h4>STEP TWO: TEACH AS IF TO A CHILD</h4><p>Next, teach the topic as if you are teaching to a child. Let me be frank. There are some topics a child under ten will not get, no matter how simply you explain it. Or, to explain that topic, you have to simplify it so much the core meaning is lost. When you teach a child, you are forced to use more straightforward terms, be concise, and use simple diagrams. Why? Because a child will not understand what you are talking about if they don’t know what the words you are using mean. They also lose attention — QUICKLY. Finally, they lose interest unless they have a visual that is easy to understand and engaging. I am fortunate to have a daughter (ten years old) who is an excellent sport in listening to me when I teach data structures and other programming topics, so I get to experience first-hand the challenges of explaining concepts so that she understands.</p><h4>STEP THREE: REFLECT, REFINE, AND SIMPLIFY</h4><p>The next step is where things get fun. This is where you start to dig deep into what you DON’T KNOW. By highlighting gaps in your knowledge, you can begin to put the pieces you know together. Slowly but surely, your understanding of the topic becomes a more completed jigsaw puzzle, rather than just separate pieces. If you don’t understand something, keep researching that item till you do!</p><p>Let’s consider the example topic I am using, trees. The following is a list of gaps in my understanding that I needed to dive into more (this list can be added onto as long as you need to add!)</p><p><em>What I want to learn more about:</em></p><ul><li>What varieties of trees are there besides the binary tree and binary search tree? How are those trees used?</li><li>When are trees used in programming?</li></ul><p>Keep refining your presentation as you learn about the areas you previously didn’t know. Then, add what you have learned to your story, and keep practicing that story.</p><h4>STEP FOUR: ORGANIZE AND REVIEW</h4><p>Finally, ask for feedback on your explanation. After you have taught someone (in my case, my daughter), ask for a review. Did the person understand what you said? Were there parts of your story that were not clear? Sometimes the person won’t provide feedback, which can be a warning sign that your message didn’t have an impact. Ask if they have questions, what they remember, and what they still don’t understand. Take notes, and keep revising to clear up those murky areas.</p><p>Keep records of what you have learned and of the feedback you receive. I used to use binders, but lately, I love using Google Documents because I can look up topics quickly. Whatever note-taking medium you use, create a structure that works for you and start using it!</p><p>I have a confession. I have struggled with understanding data structures and algorithms. I find it hard to visualize what is happening in the code and how to attack new coding challenges. As someone who has struggled more than I care to admit with comprehension, I hope to share what I have learned in my journey as a software engineer in a way that is easy for others to understand.</p><h4>EXPLANATIONS WILL BE IN JAVASCRIPT</h4><p>As a web developer, I predominantly use JavaScript and find it helpful to solve coding challenges in the language I use the most. I know that JavaScript is not the first choice for competitive programmers, but my goal here is not to be a competitive programmer. Instead, my goal is to use the tools I already have in my tool belt to tackle the coding challenges before me. I also have found in my studies that when it comes to more advanced coding challenges, there tend to be fewer examples that use JavaScript, so I hope to help provide examples for others whose language choice is JavaScript.</p><h4>WHY DATA STRUCTURES AND ALGORITHMS?</h4><p>I know that many web developers argue that the key to being a good web developer is to make websites. I agree — you need to have that knowledge that comes with building complex web applications. Being a ninja at LeetCode problems will not necessarily make you a better web developer. However, you will train yourself to solve complex algorithmic challenges that correlate to creating better applications. In addition, you will understand more of what goes on “under the hood” in a programming language and what factors can dramatically increase or decrease the efficiency of your code. While I don’t recommend ONLY studying data structures and algorithms as a web developer, I recommend devoting a portion of your time every day to practicing and learning how to solve complex coding challenges, much like a musician practices their scales daily.</p><h4>WHAT I WILL COVER</h4><p>I will start with Big O Notation, sorting algorithms, and common data structures. From there, the options are wide open. I hope to cover topics in JavaScript programming, web development, and much more! My goal is to help others understand topics that I have really struggled with.</p><p>So welcome to this journey, and hang on because it will be an adventure-filled ride!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*rFhe9tp6gSlw2JbRRbzbyQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a814e624f4ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Taking Control of my Finances as a Software Developer]]></title>
            <link>https://haase1020.medium.com/taking-control-of-my-finances-as-a-software-developer-904c7ee70706?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/904c7ee70706</guid>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Tue, 01 Dec 2020 12:23:22 GMT</pubDate>
            <atom:updated>2020-12-01T12:23:22.715Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wqHSRCB5yZJPsXJkLhK5iA.jpeg" /></figure><p>That’s it. I refuse to live one more month thinking…” where is all my money going??” I refuse to live one more month looking at my end-of-the-month credit card bill and breaking into a cold sweat. The chaos of needless spending stops NOW.</p><p><strong>Steps to Take Control of my Finances</strong></p><p>The following steps I will lay out are specific for me in many ways, but I want to share in hopes of encouraging others to assess their financial situation and, more than anything else, BE PROACTIVE. You don’t have to feel helpless when it comes to spending. You have the power (after all, it’s your bank account, and you are making the decisions on what to buy). Don’t be a mere bystander as your money waves goodbye to you. In this article, I share how I am taking charge of my finances.</p><p><strong>Stop EVERY Service Subscription I Can Live Without</strong></p><p>When I first started my path to becoming a software developer, I thought I needed to access several different subscriptions to become successful. Don’t get me wrong. There are some excellent subscription services out there. However, after trying more than I care to admit, I have narrowed my list to one subscription I feel like I NEED at the moment — Grammarly. I have canceled all other subscriptions. I’m not going to lie. Canceling those subscriptions was HARD. I felt like I was cutting off my lifelines to learning one by one, only to be hurled into the great abyss of software engineering without a parachute. However, surprisingly I have managed just fine. If I come across some new technology I am not familiar with, Google is my best friend. Cutting my subscriptions has forced me to (gasp) READ THE DOCUMENTATION for technologies. Granted, reading the documentation takes some getting used to and is not without its frustrations at times, but odds are you will learn how to learn more effectively by reading information from the horse’s mouth. I will be honest — I like courses that show me how to use technologies as much as the next person. However, in most cases, the documentation does just that (perhaps just not in video form).</p><p>Grammarly is different though. It actually is providing me a service daily that I am benefiting from. I can paste my writing into Grammarly, and it’s like having the world’s best English instructor sitting next to you, showing you how to be a better writer. Grammarly keeps improving as well. I remember using it a few years ago and not being super impressed (which is why I stuck with the free plan). However, I recently started using it again and have been amazed at the editing quality Grammarly now provides.</p><p>My go-to for learning pretty much everything else is YouTube or Udemy. I have a confession to make. I LOVE Udemy. I am enamored that I can buy stellar courses for less than a McDonald’s meal. The super cool thing is that instructors keep updating their courses, and I have access to those courses for a lifetime. Subscription services, you don’t stand a chance.</p><p><strong>Amazon Subscriptions</strong></p><p>I do have some items set up for subscription on Amazon. However, be very careful about Amazon subscriptions. Amazon does send you an email when a subscription is about to be fulfilled (i.e., you are about to be charged), but if you don’t go in and check what you have on subscription, you could end up stockpiling items you don’t need that much of. Word of caution: check your subscriptions monthly and make sure you need everything you have on subscription. If this checking process seems more of a pain than a help, I would stay away from Amazon subscriptions entirely (when in doubt, keep things simple).</p><p>I HAVE found using a credit card that provides Amazon rewards points for Amazon purchases to be very helpful. Our family purchases a fair amount on Amazon (especially since the pandemic started). Membership Rewards Points available when you buy using a credit card with an Amazon rewards program have been AWESOME. I have had some months with hundreds of dollars of credit I could apply to purchases. There is something so satisfying about going to checkout and hitting the “use your rewards points” and as if by magic, your balance becomes $0.</p><p><strong>Get an Informed Picture of How You Spend Your Money</strong></p><p>Check your monthly bank statements and credit card bills and pause for reflection. What are some purchases that you really didn’t need to make? My family uses Navy Federal Credit Union, but most financial institutions now provide online banking and financial tracking tools to manage your budget. If you can’t find what you are looking for on your financial institution’s website, contact them, and ask about it. There are a ton of personal finance tracking apps available now. One of the best tools is to buy as much as you can with a credit card (that you pay the balance of monthly) and using online banking to track what you have spent.</p><p><strong>Don’t Buy Stuff</strong></p><p>Last week, I went shopping for the first time in several months (I mean physically entered a store). The year 2020 has been HARD in innumerable ways, but one unexpected positive from this year is the realization that I don’t NEED many of the things I purchase. When I entered the store, I was surprised at the cognitive overload I experienced. There was so much to select from, and all I had to do was pick up the item and put it in my cart. I found myself thinking I needed three bags of candy because they were on sale “3 for $10,” and I knew my kids would love the candy. I came into the store with a mental list of one item (toilet paper) that I wanted to purchase — I left the store $90 lighter and with ten things. None of the items were terrible purchases. However, many of those items were just not needed.</p><p>When I buy online, I find myself being pickier and less prone to impulse buy. However, others might discover they impulse-buy more online. Everyone is different. However, I would recommend the Golden Rule when it comes to purchasing everyday items: make a list and then wait 24 hours. If in 24 hours you find you still need the items on the list, odds are you are okay buying those items.</p><p><strong>Go Digital When Possible</strong></p><p>I LOVE paper books. Something is soothing about flipping through pages of a book. However, recently I am moving to digital as much as possible. The reason? Space and damage. Books take up a lot of space and also become used, worn, dirty, and tattered. Digital books are great because they don’t get stained when kids touch them after lunch, their pages remain intact, and you don’t need a bookshelf to store them. I cannot tell a lie — I still have many paperback books. However, when at all possible, I am making the shift to digital. The same goes for DVDs. If at all possible, don’t buy DVDs. Once in a blue moon, I will buy them (mostly learning material that isn’t available online), but pretty much all video content can be accessed online now. My advice — stay away from DVDs.</p><p><strong>Keep Fitness Simple</strong></p><p>I used to have subscriptions to online Pilates videos. I enjoyed them, but after a few months became frustrated at the lack of variety. Also, the $20 monthly charge bothered me. So I cut all workout subscriptions. There is just too much free content available that I can’t justify paying to workout. Many people will disagree with me here. My point is — be mindful of what you are paying for. My mother paid for a gym subscription for years and probably went to the gym once a week. Was it worth the membership fee? No. However, everyone is different. Be proactive about what you are paying for — if you don’t feel like you need it, you don’t need it. Don’t let others tell you differently.</p><p><strong>Buy Non-Processed Foods</strong></p><p>My son convinced me recently that if I purchased ice cream, he would not eat it all in one day. Guess what? He ate it all in one day. Whenever I buy “fun” food (snack-type food and desserts), I have to deal with sibling fights over who ate what and then children saying they feel sick because they just consumed a bag of chips. However, I have never once bought a bag of rice and beans and had my children over-consume those items.</p><p>I am not a nutritionist. I do not want to prescribe a specific diet. However, no one has ever gone wrong with buying non-processed food. Buy simple food — my husband and I have stopped eating meat because it is expensive, probably not great for our health, and not good for the environment. We eat a lot of grains, beans, nuts, and dark chocolate. We stay away from alcohol, meat, and high fructose corn syrup. We have made these dietary decisions that work for us given several factors (family history of alcoholism, kids that tend to be hyperactive, etc.). Be mindful of what you eat — the more unprocessed food is, the more bang you get for your buck.</p><p><strong>Beware of the Fast-Food Trap</strong></p><p>This point is straightforward — make fast food a once-in-a-while treat (I mean maybe once a month), or drop it entirely. It’s more expensive and less healthy than eating real food at home. If you want to read a great book on diet and nutrition, I suggest the <a href="https://michaelpollan.com/books/the-omnivores-dilemma/"><em>Omnivore’s Dilemma</em></a>. Here’s the author’s most profound point: eat real food — vegetables mostly, and not too much. This diet is probably better for you and helps mitigate climate change.</p><p><strong>Conclusion</strong></p><p>I am excited to share my journey with you on taking control of my finances as a software developer and would love to hear from you about what works or doesn’t work for you, challenges and triumphs you have experienced. I will be writing more on taking control of my finances as a software developer as I continue on this journey. Finally, I would like to share the following quote by the famous American investor and CEO of Berkshire Hathaway, Warren Buffett:</p><p><em>“The most important thing to do if you find yourself in a hole is to stop digging.”</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=904c7ee70706" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hints for Adding Data-cy Attributes for Cypress Testing]]></title>
            <link>https://haase1020.medium.com/hints-for-adding-data-cy-attributes-for-cypress-testing-998e8f64f325?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/998e8f64f325</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[cypressio]]></category>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Wed, 25 Nov 2020 11:38:08 GMT</pubDate>
            <atom:updated>2020-11-25T11:38:08.366Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BlRVE5pzRSM5v2e89BjhUw.jpeg" /></figure><p><a href="https://www.cypress.io/">Cypress</a> has quickly become my favorite tool for end-to-end testing. I continue to be amazed at the ease and accuracy Cypress provides.</p><p>The Cypress documentation is terrific, and for any questions you might have about using Cypress, the docs are the best place to start!</p><p>In this post, I will share some tricks I have learned for selecting elements to test.</p><p>In the Cypress <a href="https://docs.cypress.io/guides/core-concepts/test-runner.html#Best-Practices">Best Practices</a> section, Cypress provides a guide for selecting elements. In my experience, if at all possible, add a data-cy or data attribute to an element as it helps prevent flaky tests.</p><p>There are some cases (lists, buttons, or other elements that are rendered multiple times on a page) where adding a data attribute can be interesting. Here are a few helpful hints for adding data attributes.</p><p><strong>Example One: adding a data attribute to a React DayPicker</strong></p><p>I wanted to add a data attribute to an imported package, <a href="http://react-day-picker.js.org/api/DayPickerInput/">React DayPicker</a>.</p><p>I have two DayPickers on the same page so I definitely need to specify which one I am targeting. This is what the selector playground provided for DayPicker number one:</p><pre>cy.get(‘[style=”margin-right: 5px; font-weight: normal;”] &gt; input’)</pre><p>And for DayPicker number two:</p><pre>cy.get(‘[style=”margin-right: 10px; font-weight: normal;”] &gt; input’)</pre><p>If I return to the component, I see that the selector playground is honing in on the style, and then the input field after that:</p><pre>&lt;DayPickerInputContainer<br> style={{ marginRight: 10, fontWeight: “normal” }}</pre><p>That is not what I want to target. In such an instance, things get interesting. The selector playground won’t automatically give me the data attribute I want, so I have to prompt it a bit.</p><p>Reading through the documentation for React DayPicker, I understand that one place I can add a data attribute is in the inputProps field:</p><pre>inputProps={{<br> disabled: false,<br> data: “CollaboratePlanner-daypicker-start”,<br> }}</pre><p>I add the same data attribute for the ending DayPicker</p><pre>inputProps={{<br> disabled: false,<br> data: “CollaboratePlanner-daypicker-end”,<br> }}</pre><p>The selector playground still recommended the selector based on the style attributes, so I manually enter the attribute I am looking for (and know exists because I can see it when I select the item in my browser console).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2QbYqN0bVHOMr0jx" /></figure><p>The “<strong>1</strong>” that appears in the selector navbar lets you know there is exactly one matching element. Perfect! I grab that element by clicking the “<strong>Copy to clipboard</strong>” icon in the selector playground navbar, and I am on my way!</p><p><strong>Example Two: dynamic data attributes</strong></p><p>I use dynamically generated data attributes for any instance where the element will appear multiple times on the screen. Here is one example where I want to target the icons in a list of elements:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/0*qBHm98pdsEc6R-TK" /></figure><p>This list shows that simply putting a data-cy attribute on the element won’t work because it will result in several elements with the same data-cy attribute 😢. Such a case is a perfect chance to use dynamic data attributes! Here is an example:</p><pre>&lt;td data-cy={`List-${club.name}`}&gt;</pre><p>That dynamically generates the data-cy attribute with the club name passed into the cell. Perfect!</p><p>I can do the same for each element. For example, the edit and delete buttons also need to have dynamic data-cy attributes, so I add those attributes on the button elements:</p><pre>data-cy={`List-edit-${club.name}`}</pre><p>and for delete:</p><pre>data-cy={`List-delete-${club.name}`}</pre><p>Now I have dynamic data attributes generated, and my tests are much more robust!</p><p><strong>Example Three: data attributes and Material UI components</strong></p><p>My best recommendation is to REFER TO THE DOCUMENTATION when working with <a href="https://material-ui.com/">Material UI</a> components or any other component library. The documentation is where you will find all of the information needed to add data attributes. You can most of the time add a data-cy attribute just like adding an id, but sometimes you might need to add it in inputProps or somewhere else (it differs based on the component so read the docs and then play around with the data attributes to see what works).</p><p>I had some issues determining how to add a data-cy attribute to my Autocomplete and TextField Material UI components. In this instance, I realized (yet again) that the selector playground can be fickle and may need some prompting.</p><p>For example, I added a data-cy attribute to the Autocomplete component, but when I used the selector playground it prompted me to use the id:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ohJOb0QVs1rV9uqh" /></figure><p>Using the id, in this case, would be just fine. However, if you want to go with the data-cy attribute, you will have to prompt a bit. When I typed in the following in the input field for the selector playground, I was pleased to see the <strong>“1”</strong> element appear:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Oe4fozLQ-rlBIWb2" /></figure><p>(😃)</p><p>As a side note, you don’t have to add double quotation marks for the name after the equal sign if there are no spaces, but you DO need double quotation marks if there are spaces in the data-cy attribute name. For example, data-cy=” microschoolname dropdown listbox” would need double quotation marks.</p><p><strong>Conclusion</strong></p><p>Cypress continues to be an absolute joy to use in my testing journey. To write tests that are less prone to flaking, invest the time in adding data attributes! You will be much happier in the long run ✨.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=998e8f64f325" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fitness as a Software Engineer and Homeschooling Mom]]></title>
            <link>https://haase1020.medium.com/fitness-as-a-software-engineer-and-homeschooling-mom-2011e64a72fa?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/2011e64a72fa</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[fitness]]></category>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Thu, 12 Nov 2020 13:53:57 GMT</pubDate>
            <atom:updated>2020-11-12T18:50:01.577Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*floLmzBb1B0tkwam3qpz2w.jpeg" /></figure><p>I have always been passionate about fitness. I grew up riding horses, then became a collegiate runner. After my college years, I have dabbled with triathlons, Pilates, CrossFit… the list goes on and on. My point is, fitness is really important to me. I enjoy movement and being physically fit.</p><p>In the winter of 2019, I decided to make a HUGE career shift. I enrolled in Lambda School and this summer finished their full-stack developer certification program. After completing the Lambda School program, I was fortunate to find a full-time position as a software engineer. I absolutely love my new job and new profession! I am challenged to learn something new everyday, and feel very passionate about the problems I get to solve. I can spend hours coding and completely forget how much time has elapsed. Unfortunately, this can be a double-edged sword. I end up sitting for prolonged periods of time as I work on coding problems. If I am not careful, I can end up sitting for several hours without moving anything other than my fingers that tap on the keyboard. When I fall into the “sit and plow” trap, I have been known to not move my position for several hours on end!</p><p><strong>Houston we have a problem </strong>🚀</p><p>Keenly aware of how unhealthy this sedentary work lifestyle is, I tried various techniques. My first thought was to use a stand-up desk (which in my case is the kitchen counter or bedroom dresser depending on what room I am working in). While I still use this technique during my first few hours of morning work (i.e. before my children wake up), standing up all day resulted in swollen ankles and legs that felt like tree trunks🌳. While some people do just fine with standing desks, it isn’t an option for me for eight or more hours of work.</p><p><strong>Scientific method applied to fitness </strong>🔎</p><p>We are taught the scientific method in school: make an observation, ask a question, form a hypothesis, make a prediction based on the hypothesis, test the prediction, and iterate (use the results to make new hypotheses or predictions). Khan Academy has a wonderful <a href="https://www.khanacademy.org/science/high-school-biology/hs-biology-foundations/hs-biology-and-the-scientific-method/a/the-science-of-biology">article</a> on the scientific method. I decided to use this method in my search for optimizing my fitness while excelling in my work.</p><p><em>I made an observation — </em>I was sedentary in my new work compared to my previous work (homeschooling and translating). The funny thing is I was more active as a translator because I couldn’t work for over 50 minutes without a break. My brain just wouldn’t let me. The problem with programming is I can easily work for hours before realizing I haven’t taken a break.</p><p><em>I asked a question </em>— how can I be more active as a software engineer? This is a rather broad question that I can keep reusing as I iterate over different tests of maximizing my physical activity AND work productivity.</p><p><em>I formed a hypothesis</em> — I made the hypothesis that working out an hour in the morning each day would produce the following desired results: good level of energy, overall positive mood, feeling physically fatigued by the end of the day, sleeping well at night, and maintaining my weight (which I measure by how my clothes fit me since I currently don’t have a scale).</p><p><em>I made predictions </em>— I predicted that an hour of power walking a day combined with stretching and then stretch breaks sprinkled throughout the day (as I feel needed) would be sufficient to obtain my desired results.</p><p><em>I tested my predictions</em> — I walked an hour a day for two weeks straight and stretched intermittently throughout the day. After two weeks I noticed the following: I was still sitting for sometimes three hours in one working session without moving, after which my back was screaming for mercy and my legs were starting to feel crampy. While I was fatigued at the end of the day, it was more mental than physical. I was sleeping okay at night. My weight was creeping up slowly but surely (jeans never lie — stretchy leggings do so beware!).</p><p><em>I iterated</em> — I have changed my workout regimen in various ways. The rule of thumb when testing a hypothesis is trying to change only one independent variable (variable changed by the experimenter) per iteration to verify that variable resulted in changes in dependent variables. I tried to follow this rule of thumb — these were some of my iterations:</p><ol><li>Hour of power walking in morning followed by:</li></ol><p>a) 50 burpees every hour during work (400 burpees total)</p><p>b) 30 burpees every 30 minutes during work (480 burpees total)</p><p>c) 50 minutes of work with 5 minutes of movement (jumping jacks, stairs, etc)</p><p>d) 30 minutes of work with 3 minutes of movement (jumping jacks, stairs, etc)</p><p>e) 30 minutes walking in park during lunch</p><p>2. Thirty minutes power walking in morning followed by: (see list a-e above)</p><p>These are just some of the many iterations I tried. I tried them usually over a week each to test effectiveness.</p><p><strong>My findings </strong>💡</p><p>I found that the more I moved during the day with shorter cycles, the better. I felt better and less sleepy during the day when I got up and did brief spurts of activity every 30 minutes. Three minutes was more than enough to get my body warmed up and the blood flowing freely to my brain again. I noticed my back was no longer sore, and my legs were not swelling.</p><p>What was interesting was that walking for 30 minutes in the morning helped improve my work productivity AND yielded the same results as an hour power walking (maintaining weight, improving mood, and good sleep at night). When I walked for an hour a day I noticed I was more prone to feel fatigued in the afternoon, and on some days had overall lower energy. 30 minutes of brisk walking (don’t forget to pump those arms!) however had the same results but with less fatigue during the day.</p><p>After tweaking things a bit, I have finally come up with a regime that works well for me. I currently stand up and work for three hours in the morning, go for a 30-minute walk, stretch, play with my kids while homeschooling, then move for 3 minutes every 30 minutes. I alternate how I will move each day and stick to that movement for the day (examples are jumping jacks, squats, stairs, bouncing on the trampoline, etc.) Of course, I am eternally curious as to how I can improve my activity and work productivity. I will continue to, hypothesize, test, observe, rinse and repeat.The question (how can I optimize my fitness and productivity) will stay the same for the meantime 🙂.</p><p><strong>My conclusions </strong>🌟</p><p>Our bodies are not meant to stay in one position for prolonged periods. This excellent article by <a href="https://www.cnn.com/2017/09/11/health/sitting-increases-risk-of-death-study/index.html">CNN</a> states that sitting for long periods of time is a risk factor for early death, and recommends taking a movement break every 30 minutes. I have seen this through my own testing. I do not own a wearable device that tracks my health (for which my husband criticizes me), but I listen to what my body is telling me. Surprisingly, our bodies are pretty good at communicating to us, if we actually listen. It’s when we turn a blind eye or ear to the warning signals our bodies give us that we run into problems. For example, if I am chronically tired, my body is telling me something. If I am getting swollen legs and sore back problems, I need to make changes. It’s time for us to start listening more to our bodies and stop just bulldozing through our work days as if everything is fine.</p><p>Moving every 30 minutes sounds wonderful, you might be thinking, but what about all of those meetings? Who says you can’t move during meetings? Due to the pandemic, many of us are working from home now. So if you have a long company meeting, download the Zoom (or whatever) app on your phone and walk during the meeting. Pace through your house. Jump on your stationary bike or treadmill. Go up and down your stairs. The options are endless.</p><p>If you are in a meeting where you can mute for a minute or so, keep the 30 minute rule and throw in some jumping jacks. You could even start a trend for team meetings for everyone to get up and “shake it out” for three minutes every 30 minutes. Why not? Your teammates will be healthier because of those little bursts of activity sprinkled into what can be an otherwise very sedentary day.</p><p>I love my new profession, and look forward to contributing in this field for many years to come. That is why I choose to be kind to my body and take care of it, while also being the best at my job that I can be. For each person reading this article, that is my wish for you as well. Find what activity regimen works for you. Explore, test, observe. Be curious. Most of all, be kind to your body, because you aren’t going to get very far without it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2011e64a72fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing MongoDB on Linux]]></title>
            <link>https://haase1020.medium.com/installing-mongodb-on-linux-7ee6dbe2b88e?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ee6dbe2b88e</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Wed, 11 Nov 2020 10:55:52 GMT</pubDate>
            <atom:updated>2020-11-11T11:34:27.236Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q_c5kTiW9mO-L4C60KnP5g.jpeg" /></figure><p>I just started my journey to the land of Linux (I use Ubuntu) after finding out that the combination of the Windows operating system and Cypress testing can result in unpleasant issues. Today was my first real battle (and victory) with installing packages. I would like to share my journey to getting the right version of MongoDB on my computer in hopes of saving others the pain associated with not installing MongoDB correctly.</p><p>So here is how I spent my morning — when running sudo apt autoremove to clean up unneeded packages on my computer, I was greeted with the following message:</p><p>You might want to run ‘apt — fix-broken install’ to correct these.<br>The following packages have unmet dependencies: mongodb-org-tools : Depends: mongodb-database-tools but it is not installed E: Unmet dependencies. Try ‘apt — fix-broken install’ with no packages (or specify a solution).</p><p>So, being a good girl, I did as prompted and ran apt fix-broken install only to get:</p><p>mandi@mandi:~$ apt — fix-broken install E: Could not open lock file /var/lib/dpkg/lock-frontend — open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?</p><p>Yes, I am in the root directory. Oh no….😒</p><h3>Fixing the issue</h3><p>After a lot of googling (thank you Google!!) I finally realized that I had made a terrible error in originally installing MongoDB using sudo apt-get install mongodb. MongoDB explicitly states the following on their <a href="https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/">Install on Ubuntu</a> page:</p><p><strong><em>IMPORTANT</em></strong></p><p><em>The mongodb package provided by Ubuntu is </em><strong><em>not</em></strong><em> maintained by MongoDB Inc. and conflicts with the official mongodb-org package. If you have already installed the mongodb package on your Ubuntu system, you </em><strong><em>must</em></strong><em> first uninstall the mongodb package before proceeding with these instructions.</em></p><p><strong>Note to self:</strong> ➡️ ALWAYS check the official documentation for a package before installing.⬅️</p><p>After reading numerous stack overflow articles, I finally decided the best option was to, in the words of one of my colleagues, “nuke and pave.” 😅 I completely uninstalled MongoDB with the help of this great <a href="https://www.positronx.io/how-to-completely-uninstall-mongodb-from-linux/">article</a>:</p><p>These are the commands I used:</p><p>sudo apt list — installed | grep mongo (check what I’ve got on my computer)</p><p>Which shows:</p><p>mongo-tools/focal,now 3.6.3–0ubuntu1 amd64 [installed,auto-removable]<br>mongodb-org-database-tools-extra/focal,now 4.4.1 amd64 [installed,automatic]<br>mongodb-org-mongos/focal,now 4.4.1 amd64 [installed,automatic]<br>mongodb-org-server/focal,now 4.4.1 amd64 [installed,automatic]<br>mongodb-org-shell/focal,now 4.4.1 amd64 [installed,automatic]<br>mongodb-org-tools/focal,now 4.4.1 amd64 [installed,automatic]<br>mongodb-org/focal,now 4.4.1 amd64 [installed]</p><p>Then:</p><p>sudo apt-get purge mongodb-org*</p><p>Then:</p><p>sudo rm -r /var/log/mongodb<br>sudo rm -r /var/lib/mongodb<br>sudo apt list — installed | grep mongo<br>sudo apt remove mongodb (not sure if needed but did as a sanity check)</p><p>Then:</p><p>sudo apt purge mongodb (also not sure if needed)<br>sudo apt autoremove (this time it worked!!)🌟<br>sudo apt list — installed | grep mongo (showed nothing. Yahoo!!)🌟</p><h3>Let’s try this again</h3><p>Then I did what I should have done in the very beginning, which is go to MongoDB <a href="https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/">docs</a> for installing on Ubuntu.</p><p>Now everything seems to be working properly and I can go on with my programming day~🏃‍♀️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ee6dbe2b88e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 5 Week 2: Lambda School Labs]]></title>
            <link>https://haase1020.medium.com/day-5-week-2-lambda-school-labs-7d976401e742?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d976401e742</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[lambda-school]]></category>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Mon, 20 Apr 2020 12:39:39 GMT</pubDate>
            <atom:updated>2020-04-20T12:39:39.993Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*4p-z4uC3rD26UdQvstgdMA.jpeg" /></figure><p>Really, life right now in Labs is not that bad. I just thought this image struck close to home as we continue with our self-induced quarantine and my life basically revolves around my computer. I cannot tell a lie. I wash my hair much less than I probably should. I am not the only one that has taken a rather laid-back approach to physical appearance in the last few weeks. Things at our house are getting pretty relaxed. It’s a good day when household members finally commit to taking showers. I am still trying to convince them that it is not okay to do a strenuous workout and then go to bed without so much as a single glance towards the shower. However, my efforts are in vain, and I have resigned myself to the occasional strong, pungent smell that tells me that everyone in our house is alive and well.</p><p>Now that I have provided some insight (perhaps too much) on the environment I am working in, let’s get down to business. Last Friday marked the end of week 2 for Labs 23 at Lambda School. This second week was productive, but not in the way I had imagined it would be. Our cohort had guided classes every morning for two hours, where we learned important skills such as pairing (see my previous blog for details on pairing), designing for us non-UX folk, writing user stories, product engineering, and quality assurance. Whew! That was a lot of information that we needed to digest over a period of five days.</p><p>When I say however, that the week was productive, but not in the way I had imagined it would be, I mean that our team has not officially started coding on our project yet. We are two weeks in, and will officially start programming this coming Monday. After the hustle and bustle of instruction in web development at Lambda for the past four months, not really coding feels …. strangely unsettling. Don’t get me wrong. I have been looking at our code base, reviewing the training kit to cover material I need to review, and looking at tutorials for new technology I will be using in our labs project. However, I have not turned in coding assignments, have not had guided instruction in programming, and have not worked with my team programming.</p><p>So what have my team and I been doing? Laying the groundwork. We have been learning the intricacies of creating feature branches and deploying our website in progress to Heroku using Heroku’s command line interface (CLI). We have learned the details of working as a team effectively with our Trello Board. My husband — a licensed Scrum trainer — has helped our team to use Scrum techniques to create a graph of what we are completing and where we need to be to meet our deadline. Having never used Scrum techniques before (except for creating post it “to do” items for my children in home school), I am hopefully optimistic that using a burn-down chart(which shows how much work we have remaining versus what we have accomplished) will help our team achieve our goals. We have learned how to present to our stakeholder our release canvases in an effective and efficient manner. In a nutshell, we have learned how to function as an integrated tech team to get crap done. That’s a good feeling, but in this strange sense vague and elusive. Yes, we have a nice looking Trello board, but in terms of having a product to show, that remains to be done.</p><p>As someone who likes to get results quickly this past week has taught me the importance of learning patience and planning well. I tend to be deficient in both areas, so this week has been a good chance for me to grow.</p><p>I am thankful for a team that is thoughtful, dedicated to excellence, and willing to contribute. I am excited to start coding in week 3, and see our team in action. I am nervous as well. I am nervous about my performance, and being able to contribute in a way that adds value to my team. What I have found helpful when I fall into the trap of saying “I can’t” is reminding myself that I have a support network. I have an incredible team working with me. I have outstanding instructors and those working on the help team at Lambda School that will work with me when I get stuck. Especially in this period where it is so easy to feel isolated, alone, and helpless, I need to remind myself that I have a stronghold of incredibly talented people that I can access with just a few clicks on my computer. It is truly an amazing time that we live in.</p><p>As I look forward to the coming week, I embrace the challenges and opportunities to learn that the labs experience promises.</p><p>In parting, I would like to share a funny image that I brought a smile to my face and reminded me that laughter can be one of the best medicines out there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*ndch02KSWVReRkHnkg2LCg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d976401e742" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 4 Week 2: Lambda School Labs]]></title>
            <link>https://haase1020.medium.com/day-4-week-2-lambda-school-labs-c42e5d1576c2?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/c42e5d1576c2</guid>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Thu, 16 Apr 2020 18:50:26 GMT</pubDate>
            <atom:updated>2020-04-16T18:50:26.115Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f8Y_BFsHUV45Py9vM10dCA.jpeg" /></figure><p>Working in pairs can be stressful. How do I know that? Because I am married. Working with a partner in a collaborative way to accomplish a mission is not an easy thing. I cannot tell you how many times have I thought to myself, “I will just do it on my own!” Although I tend to fall into this mindset, when I work on projects alone oftentimes I find myself being far less productive as a result.</p><p>Today in our labs session at Lambda School we learned about pairing. That is an elegant word for two programmers sharing their screens and coding together. Walking into this session, I was a bit hesitant. To be honest, I have had frustrating experiences with programming with others. However, as I started to listen to the lecture, I realized that pairing is an amazing tool that I want to be implementing more often.</p><p>So what exactly is pairing? It is a little different than what I previously thought. First of all, let me start with what pairing is NOT. It is not having a group work together on code (pairing should mean two). It is not having two people coding together (i.e. via Zoom) but working on different tasks at the same time.</p><p>Now that I have identified what pairing is NOT, let’s look at what pairing IS. Pairing when coding is two programmers both on different computers, with their own keyboards and mouses, working collaboratively on the same code at the same time. Think<strong> driver</strong> and <strong>navigator</strong>, because that is the heart of pairing. For example, if you are using an online conferencing tool like Zoom, one person can share their screen and be coding, while the other person verbalizes what they think their partner should be typing. My instructor today used a great example — when you are the driver, you are focused on the road immediately before you. As a navigator however, you are focused more on the surroundings and what is up ahead. Combine these two and you have a powerful force to reckon with!</p><p>Here are some simple, common-sense rules to pairing that will make the experience a good one.</p><p>Before starting:</p><ol><li>Agree on the scope of what you will accomplish during one session</li><li>Agree on your working environment and have things set up beforehand</li><li>Agree on your pairing style (maybe switch drivers after every break)</li><li>Agree on how often you will break and duration of breaks (45 minutes on with 10 minute breaks for example)</li></ol><p>Once you are pairing:</p><ol><li>Communicate! Silence is NOT golden when pairing</li><li>Keep switching drivers — don’t have one person at the wheel the entire time</li><li>Remember it’s a collaborative effort so keep involved!</li><li>Keep checking with your partner to make sure they are doing okay</li></ol><p>When pairing you have options. You can have the driver share their screen and type while the other person navigates. What is more effective however is using <a href="https://visualstudio.microsoft.com/services/live-share/">Visual Studio Code Live Share</a>. What’s great about Live Share is it enables developers to collaborate in real-time on the same code base without the need to synchronize code or to configure the same development tools, settings, or environment.</p><p>Finally, remember when you start pairing that it is a LEARNED skill. It will not feel natural at first, and might even seem awkward. If you are not used to verbalizing while programming or working for extended periods with another programmer as you really wrestle with code, you might feel physically and emotionally tapped afterwards. However, the key is to realize that having two brains collaborating is (in most cases) between than one. You and your partner will both be able to see different issues, and bring fresh insight into your project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJmrV0A9r7hI0KuTaJBl0A.jpeg" /></figure><p>I personally am excited to implement more pairing in my programming experience. As I practice pairing with others, I believe I will develop my skills of communication, problem solving, and achieving solutions in a more efficient manner. So thankful for today’s instruction and looking forward to making pairing a part of my everyday programming routine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c42e5d1576c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day Two of Week Two: Labs at Lambda School]]></title>
            <link>https://haase1020.medium.com/day-two-of-week-two-labs-at-lambda-school-d9c957823315?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9c957823315</guid>
            <category><![CDATA[lambda-school]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[studying]]></category>
            <category><![CDATA[workout-routines]]></category>
            <category><![CDATA[work-life-balance]]></category>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Tue, 14 Apr 2020 10:42:51 GMT</pubDate>
            <atom:updated>2020-04-14T10:42:51.339Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EhziIM3mJTOIn08HkpcssA.jpeg" /></figure><p>Disclaimer before I continue with this post — I am not a fitness expert, so I am not licensed to provide professional advice on exercise. That being said, I used to be a marathon runner, yoga junkie, Pilates fanatic, and Crossfitter. I say “used to be” because, although I incorporate portions of those fitness regimes into my own daily lifestyle, I don’t avidly employ them as I once did.</p><p>As a <a href="https://lambdaschool.com/">Lambda School</a> student and aspiring full stack developer, I do a lot of sitting in front of my computer. Sometimes more than I would like. Although I am getting better at avoiding sitting for too long, it is still an issue for me. Especially when I get caught up in a Zoom meeting, online class, or some bit of programming that I just HAVE to figure out right then and there, I run into the danger of staying camped in front of my computer for hours. Finally, when my back and rear end say, “Enough is enough!” I get up and move around.</p><p>When I first started Lambda School, I wanted to avoid sitting for too long. So, I played with using a stand up desk. After a couple of months with swollen ankles at the end of the day and legs that felt like bricks, I realized standing up all day wasn’t going to work well for me. However, sitting regular style in a chair wasn’t ideal for me either. When my legs dangle from a chair for prolonged periods, they start to feel tired and swollen similar to the problem I had standing up for too long. After toying with various techniques, I found what works for me is a mix of sitting “seiza” or on my knees (imagine the traditional Japanese way of sitting on the floor) or with my legs crossed like how you sit on a yoga mat. Switching in between these two positions works well in my case. Plus I can rub my feet while working at my computer, which stimulates the blood flow in my legs. Gotta be good to your feet!</p><p>When I began my studies at Lambda, I was also determined not to let myself get out of shape. However, how could I find time to work out when I was homeschooling my kids, studying full time, and then trying to play catch up on concepts I just wasn’t getting? At first I toyed with less sleep. My body responded with “if you don’t sleep, I will make your brain a pile of worthless mush.” So I threw the option of cutting into my sleep time out the window. Next, I decided to cut back on my exercise time. Surely if I worked out less I would have more time to delve into concepts that kept eluding me!</p><p>Wrong again. The less I worked out, the more sluggish I became. I began to lose motivation, become frustrated more easily, and struggle with hopelessness. How could I possibly learn everything that was being presented to me? I would never understand! Might as well throw in the towel now!</p><p>Okay, working out needed to be brought back into my daily routine. Yet, how could I find a balance? Where was that perfect fit of finding time to learn what I needed to learn and still take care of myself so my body didn’t decide to go into complete rebellion?</p><p>I found the answer for me by using a timer. Lambda School uses the <a href="https://francescocirillo.com/pages/pomodoro-technique">Pomodoro Technique</a>, a time management system where you typically engage in some task for 25 minutes, take a short break, then go back for 25 minutes, repeating the cycle until you take a longer break after about four sessions. I really liked this idea. Incorporating fitness in this way into my learning routine made sense, and would be easy to implement.</p><p>So I started with the traditional 25 minute/ 5 minute time schedule. This works well during classes or group sessions, where taking more than a 5 minute break might be too long. However, I found that for independent work, 25 minutes was too short, and 5 minutes to work out was not enough. After some doctoring, I discovered that 45/ 10/5 worked well for me. I focus for 45 minutes, then take 10 minutes to move and 5 minutes to do other things (potty break, quick homework check, etc.). During those 10 minutes for exercise I implement mini power-workout sessions. We have a rowing machine, so I will row 2000 meters and stretch a bit. Or I will do burpees, jumping jacks, and squats. Or just jump on my trampoline (try jumping for over ten minutes — it is quite the workout!). Of course, I have to be flexible. The key here is ABILITY TO MODIFY. My workout routine needs to fit into my day, not my day into my workout routine.</p><p>Although I miss having long workouts where I can just check off the workout box and move on, I find that for me having mini workouts sprinkled throughout the day is more sustainable. Plus, I never am totally wiped out, but instead invigorated after those brief spurts of activity. Previously, I would work out intensely for an hour, but then be too exhausted to do anything else. Learning takes a lot of energy. The brain is greedy — it will take as much of your energy as it can get. I want to be able to supply my brain with the energy it needs, but also make sure I am taking care of the rest of my body too. With mini power workouts throughout the day, I still feel like I am getting good physical activity, but I have reserves left over to focus on what I am learning.</p><p>My kids have gotten into doing mini workouts with me too. When it’s time to take a break and move, the first thing we do is say, “Hey Alexa.” Our wonderful voice AI listens obediently to our request for exercise music (or “Baby Shark” if my three-year old son has any say in the situation) and we are off! Getting our groove on in the living room.</p><p>I try to roughly outline what I am going to do exercise-wise in the morning so I know what to expect for the day. For example, today is doing spurts of rowing 1000 meters and jumping on the trampoline. I am shooting for six rounds. Each round will take about 10 minutes. I like to keep a daily tally journal as well of what exercise I have done. I will write the mini program I have in place for the day, then keep score each time I complete one round. I set a goal (for today it’s six rounds). If I make the goal, great! If I don’t, that is fine too — I then reflect on why and adjust my workout routine accordingly for the next day.</p><p>Do I workout every day? Yes. Since I am never super intense, and I try to do something different every day, I feel like working out each day is fine. I look at my kids, and how they move each day. They don’t take days off from running around, jumping, spinning, and moving with abandon. Why should I? My approach to working out falls more inline with the concept of play. It is something that should give me energy, get the blood flowing, and make me feel happier and more empowered when I am done.</p><p>So there you have it — my insight on staying fit as a student at Lambda School. I realize that my approach will not work for everyone. Even in my family I find that we all have differing approaches. My husband for example really enjoys the longer, really get sweaty workouts with a few short spurts of exercise sprinkled in throughout the day. Although I wanted to love that approach, it just didn’t work for me. I would walk away from those intense workout sessions needing a nap. I have found that working out is not a one-size-fits-all sort of thing. You need to play around with what works for you. Just like anything else, you need to be willing to fail, <em>kaizen</em>, and learn from your mistakes. You also need to realize that every day will be different. Being willing to listen to your body and cooperate with it will make you more a more productive and positive person.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DNwnenlqL8bmn-sanC9eUA.jpeg" /></figure><p>Enough writing…I am off to complete round one for the day. I hope that you find your movement “groove” that empowers you and makes you feel more equipped to embrace all that the day brings!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9c957823315" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week Two Day One of Labs at Lambda School]]></title>
            <link>https://haase1020.medium.com/week-two-day-one-of-labs-at-lambda-school-c512b4687d80?source=rss-477fc7647b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/c512b4687d80</guid>
            <dc:creator><![CDATA[Mandi Haase]]></dc:creator>
            <pubDate>Tue, 14 Apr 2020 00:16:35 GMT</pubDate>
            <atom:updated>2020-04-14T00:16:35.826Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vrcfk0VWi6LhycSpOzO7AQ.jpeg" /></figure><p>The morning started off with the wind whistling through the trees, rain beating relentlessly against the windows, and the lights at times flickering as my power struggled with all it’s might to stay strong as a spring thunderstorm sailed through the area with a vigor I have not witnessed in some time. The air seemed charged with a nervous energy, as if the world around me was quivering in anticipation for what the day would bring. After a relaxing weekend filled with reviewing the Redux instruction in the training kit for Lambda School, I was ready to begin a new week in labs!</p><p>Before I go any further. let me explain a little about my family. We are a homeschooling family of six — my husband and I, along with our amazing four children. They range in age from 15 to 3. Yep, we have kids about to start driving, and kids getting excited about learning the alphabet. It means that there is never a boring minute at our house. Whether it is my teenage son playing competitive video games, or my youngest son jumping with wild abandon on our indoor trampoline, the excitement never ends.</p><p>Being on the East Coast is nice because I can spend the morning hours focusing on home school with my children before Lambda School instruction begins at 11 am (8 am Pacific Standard time). I typically wake up at 3 am (I was born a morning person — which explains why my brain stops functioning after 8 pm), which gives me a good four hours of uninterrupted time to THINK. Ah, the beauty of using my brain without having five million things pull me away from focusing. It is those morning hours that I can feel confident that I have not lost the ability to reason and learn (sometimes as the day wears on I start to doubt that fact). I can sit down with a strong cup of coffee (followed by a few more) to wrestle with new programming concepts and code, or code that had eluded my understanding the day before.</p><p>From 7 am until 11 am all hell breaks loose. I mean that in a good way. My children are a wonderful blessing, and I thank God for them. However, God has given children (especially ones under school age) the amazing ability to wreak havoc on everything they touch. I spend the morning working with the older children while my youngest son does his best to destroy as much as he can in a short amount of time (his skills seem to be deteriorating as he gets older).</p><p>Then the clock strikes 11 am. Like Cinderella, I am off. No, I am not running away from Prince Charming. I am making a beeline to my bedroom, where I have my computer set up. It is there that I will get to focus on Lambda School for the next eight hours (except lunch time, where I get to play with the kids again).</p><p>So you might be wondering, how do you home school your children AND go to Lambda School full time? I admit, it was a challenge at first. There was a lot of panicking, getting angry, and frustration. The house would pretty much explode while I was working on my studies, as the kids had pulled out every dish in the house, left dirty clothes strewn in the hallway, and books littered across the living room floor. I would like to say it was structured chaos, but there really was no structure to it.</p><p>However, my kids and I learned over the months. We learned that mommy couldn’t do it all by herself. She needed help. LOTS of help. She needed the older kids to step up to the plate and help with cleaning. She needed everyone to take turns watching little brother. She needed everyone to understand that mom wasn’t going to be able to eat lunch and dinner with the family a majority of the time. Now my family is like a well-oiled machine. They know the routine, and step up to the plate to help out where help is needed.</p><p>My biggest fear in starting Lambda School was that I would have to stop home schooling. How could I do it all? I wouldn’t be able to give my children the attention they needed in their studies, because I would be too focused on my own. However, as I continued at Lambda, I realized the opposite was true. My kids saw how hard I was working, and it encouraged them to work with a zeal they had not shown before. They began to take initiative to get their work done independently, without me holding their hands along the way. We have all matured beyond what I thought possible during my time at Lambda.</p><p>Today, as I wind down day one of week two of labs, I am filled with gratitude. Gratitude towards my amazing instructors and team leaders at Lambda School. Gratitude towards my team members. Most of all, gratitude towards my husband and children, who are letting me pursue this dream of becoming a full stack developer. Thank you everyone!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YgqGl4Dsw8D5P_yjE4S0rQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c512b4687d80" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>