<?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 Mae Schreck on Medium]]></title>
        <description><![CDATA[Stories by Mae Schreck on Medium]]></description>
        <link>https://medium.com/@maedevlin47?source=rss-2332b85f0605------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*u6ycbcafA-U6kvoqxPtwDA.jpeg</url>
            <title>Stories by Mae Schreck on Medium</title>
            <link>https://medium.com/@maedevlin47?source=rss-2332b85f0605------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 07:57:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@maedevlin47/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[Git Out.]]></title>
            <link>https://medium.com/@maedevlin47/git-out-6194669217ad?source=rss-2332b85f0605------2</link>
            <guid isPermaLink="false">https://medium.com/p/6194669217ad</guid>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Mae Schreck]]></dc:creator>
            <pubDate>Thu, 26 Jan 2023 22:43:08 GMT</pubDate>
            <atom:updated>2025-07-09T20:20:14.411Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*nDsgpenv9wmjO-dQHrECBg.jpeg" /></figure><p>Before starting my journey learning software engineering, I had been on GitHub and viewed repositories, but with very little to no actual knowledge of how the site worked. It is obviously a super impressive and helpful platform, and it seemed easy enough to use…</p><p>Well, boy, did the tables turn once I began using GitHub as a Software Engineer. Now, don’t get me wrong — it is a great and crucial platform for many different reasons: collaborating, saving, and showing your work. But when it comes to what seems like the simplest tasks in GitHub, I find myself wanting to get out!</p><p>I’m going to do my best to give some of the solutions I’ve found for the big issues I’ve faced while using GitHub.</p><p>First things first — what is a Git repository?? When you are working with/on a Git repository, you are basically working with directories that have been loaded as Git projects. Virtually any directory on your local computer or a remote server can be initialized with Git.</p><p>After you’ve created a repository or joined a group repository as a collaborator, cloned the repository, and have it open in your code editor — then the fun begins.</p><p>Let’s review the basics. Once you’re in your code editor, if you are in the main branch of the repository and want to back up the code you’ve been working on to GitHub, in your terminal, do the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/246/1*vSgMUhYeuMhuDBFnhahLDQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*U5eZY3MFkA6t-LwHvV3jTQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/258/1*DB10oDkrIqLuWNkLSFinaQ.jpeg" /></figure><p>Now let’s get into it and talk about repository branches… In theory, when you’re collaborating on a repository, branches are an amazing feature. No one wants to be that person who messes up the main branch of the repository.</p><p>So, to make sure you’re not that person, let’s go over some basic solutions!</p><h4><strong>If you want to create a branch locally and then push it to the remote repo:</strong></h4><p><em>git checkout -b new_branch_name<br>git push origin new_branch_name</em></p><p>And then do the following commands in your terminal:</p><p><em>git config branch.new_branch_name.remote origin<br>git config branch.new_branch_name.merge refs/heads/new_branch_name</em></p><p>— — —</p><h4>If you want to connect a remote branch to the main branch on GitHub, you can follow these steps:</h4><ol><li>Fetch the remote branch:<br><em>git fetch origin &lt;remote_branch_name&gt;</em></li></ol><p>2. Check out the remote branch:<br><em>git checkout -b &lt;local_branch_name&gt; origin/&lt;remote_branch_name&gt;</em></p><p>3. Merge the remote branch with the main branch:<br><em>git merge &lt;local_branch_name&gt;</em></p><p>4. Push the changes to the remote repository:<br><em>git push origin &lt;main_branch_name&gt;</em></p><p>— — —</p><h4>If you want to set up your GitHub branch to push the current branch and set the remote as upstream, you can use the following command:</h4><p>Option <strong>#1</strong>:</p><p><em>git push — set-upstream origin &lt;branch_name&gt;</em></p><p>This command pushes the current branch to the remote repository and sets it as the upstream branch. This means that in the future, you can simply use git push to push your changes to this branch without needing to specify the branch or remote name.</p><p>Alternatively, you can also set the upstream branch using this command:</p><p>Option <strong>#2</strong>:</p><p><strong><em>git branch — set-upstream-to=origin/&lt;branch_name&gt; &lt;branch_name&gt;</em></strong></p><p>This command sets the upstream branch for your local branch, so you can now push the changes using git push.</p><p>— — —</p><h4>If you want to create a new branch off of the main repository that you can push up to:</h4><ol><li>First, make sure your local repository is up to date with the remote by running:<br><em>git pull origin &lt;main_branch&gt;</em></li></ol><p>2. Create a new branch using:<br><em>git branch &lt;new_branch_name&gt;</em></p><p>3. Switch to the new branch:<br><em>git checkout &lt;new_branch_name&gt;</em></p><p>4. If you make any changes or additions to the code in this branch, make sure to commit the changes to the new branch:<br><em>git commit -m “what you worked on message”</em></p><p>5. Push the new branch to the remote repository:<br><em>git push -u origin &lt;new_branch_name&gt;</em></p><p>— — —</p><h4>If you want to merge back into the master branch:</h4><p><strong><em>git checkout master</em></strong></p><p><strong><em>git merge new_branch_name</em></strong></p><p>— — —</p><h4>If you would like to delete an unused or used branch locally:</h4><p><em>git branch -d new_branch_name</em></p><h4>— — —</h4><h4>Lastly, if you are trying to push a branch upstream and it is giving you an error (I have experienced this more times than I’d like to admit), you can troubleshoot this issue a few different ways:</h4><p>Verify that you are on the correct branch — Make sure you’re on the local branch you want to push to the remote repository. You can check which branch you are currently in by running the command:<br>git branch</p><p>Make sure your local branch is up to date — Before pushing, make sure that your local branch is up to date with the remote repository by running:<br>git pull origin &lt;branch_name&gt;</p><p>Check for any merge conflicts — If there are merge conflicts, they need to be resolved before you can push your local branch to the remote repository. You can check for this by running:<br>git status</p><p>Check for any local commits — Make sure you’ve committed ALL your changes locally before trying to push to the remote repository. You can check for local commits by running:<br>git log</p><p>And make sure that the remote repository exists and that you have the correct permissions to push to it.</p><p>Here is an example of what this looks like in the terminal. The branch you are trying to push is named “Feature” and the remote repository is named “Origin”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*mRVWYjI8isbKZ0PtR1artw.jpeg" /></figure><p>As I’ve learned, GitHub is not a tool to be underestimated. For those new to the Git engineering life, I’d strongly advise that anytime you’re learning about Git or GitHub, you pay close attention — or you’ll be relying on your Googling skills a lot more down the line.</p><p><em>Sources:</em></p><ul><li><a href="https://brainstorm.it/snippets/git-branch-examples/"><em>https://brainstorm.it/snippets/git-branch-examples/</em></a></li><li><a href="https://www.inmotionhosting.com/support/website/git/does-not-appear-to-be-a-git-repository/"><em>https://www.inmotionhosting.com/support/website/git/does-not-appear-to-be-a-git-repository/</em></a></li><li><a href="https://stackoverflow.com/questions/32238616/git-push-fatal-origin-does-not-appear-to-be-a-git-repository-fatal-could-n"><em>https://stackoverflow.com/questions/32238616/git-push-fatal-origin-does-not-appear-to-be-a-git-repository-fatal-could-n</em></a></li><li><a href="https://www.brainstormcreative.co.uk/git/git-fatal-the-current-branch-has-no-upstream-branch/"><em>https://www.brainstormcreative.co.uk/git/git-fatal-the-current-branch-has-no-upstream-branch/</em></a></li><li><a href="https://careerkarma.com/blog/git-add-remote/"><em>https://careerkarma.com/blog/git-add-remote/</em></a></li><li><a href="https://www.rottentomatoes.com/m/get_out"><em>https://www.rottentomatoes.com/m/get_out</em></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6194669217ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In quite a State]]></title>
            <link>https://medium.com/@maedevlin47/in-quite-a-state-8acf0391e4b9?source=rss-2332b85f0605------2</link>
            <guid isPermaLink="false">https://medium.com/p/8acf0391e4b9</guid>
            <category><![CDATA[usestate-hook]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mae Schreck]]></dc:creator>
            <pubDate>Tue, 13 Dec 2022 17:12:50 GMT</pubDate>
            <atom:updated>2025-07-09T19:56:20.859Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*Egzbic1KK7mf7BwdbgJRIw.jpeg" /></figure><p>Moving from vanilla JavaScript to using the React framework can seem daunting when you first make the transition. It may even make you wonder why anyone sticks with plain JavaScript instead of using React in the first place…</p><p>React provides specific ways in which to structure and organize the layout of your webpage, which brings new syntax, systems, and features along with it. One very important tool in React that we’ll focus on is its state system.</p><p>What exactly is state? “State is data that is dynamic in your component: it changes over time as users interact with your application”. Unlike a component’s props, a component’s state can change throughout the component’s life. By using state, we can manage and update data within a component without needing the parent component to change.</p><p>This brings us to one of the main uses of state, which is the useState React Hook. So, let’s take a look at the how and the what of the useState hook in a more manageable way:</p><p>First, at the top of any component file where you plan to use the useState hook, make sure to put in the React Hook, a special function that allows for the use of the useState hook:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*KdrkxJ_yo94yLJWuFnekDg.jpeg" /></figure><p>Once you have imported useState, then you can set up a useState hook within the component&#39;s function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*ojJZ0_umXSdtJIkH33-RwA.jpeg" /></figure><p>Inside the <em>haveDog</em> component function, we’ve created a useState hook. Now, what does this “<em>const [haveDog, setHaveDog] = useState(false)” </em>mean?</p><ul><li><em>const</em> = making a constant</li><li><em>haveDog</em> = the current state value, which is initially set to false</li><li><em>setHaveDog</em> = is a setter function that is used to update state, and which will update asynchronously</li></ul><p><em>Note: “Asynchronous programming is a technique that enables your program to start a potentially long-running task and still be able to be responsive to other events while that task runs, rather than having to wait until that task has finished.”</em></p><ul><li><em>useState(false) </em>= the initial state of the useState hook</li></ul><p>To put those explanations into a simple ‘string’ of words, if you will — the useState hook allows the developer to have variables in state in this JSX functional component. The <em>useState(false) </em>argument is the initial state that returns the <em>haveDog</em> (state value) and <em>setHaveDog</em> (setter function/function to update the state value).</p><p>An example of how to use this useState hook could look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CwazCGSAwlaWl_oYSB2D8A.jpeg" /></figure><p>In the example above, we have used the setter function, <em>setHaveDog</em>, to change the state value, <em>haveDog,</em> into “true”, to get the desired result we want when using the <em>handleBuyDog </em>function.</p><p>However, it’s important to note that this useState hook with the initial value of “false” can be used again, and that the <em>useState = (false)</em> initial value remains in state. The state value only becomes “true” when the <em>handleBuyDog</em> function is called.</p><p>We could go down quite a long rabbit hole with state and the UseState hook, as with most topics in programming. But for this blog, the main elements to remember are:</p><ul><li>State is data that is dynamic in a component, meaning it changes over time as users interact with the application — a component’s state can change over the component’s lifecycle.</li></ul><p>The useState Hook is made up of three things: the current state value, the setter function to update that state value, and the initial value:</p><ul><li><em>currentStateValue</em> = the current value of state, the initial value until changed by the setter function</li><li><em>setterFunction</em> = a setter function for updating state</li></ul><p>NOTE: the setter function should always be named set “currentStateName” ie. const [haveDog, setHaveDog]</p><ul><li><em>useState(initialValue)</em> = initial value of state.</li></ul><p>And always make sure you import <em>useState</em> from React before using it in your component!</p><ul><li><em>import { useState } from “react”</em></li></ul><p><em>Sources:</em></p><ul><li><a href="https://javascript.works-hub.com/learn/a-complete-beginners-guide-to-react-usestate-hook-f85a0"><em>https://javascript.works-hub.com/learn/a-complete-beginners-guide-to-react-usestate-hook-f85a0</em></a></li><li><a href="https://learning.flatironschool.com/courses/5242/assignments/210412?module_item_id=485051"><em>https://learning.flatironschool.com/courses/5242/assignments/210412?module_item_id=485051</em></a></li><li><a href="https://reactjs.org/docs/hooks-state.html"><em>https://reactjs.org/docs/hooks-state.html</em></a></li><li><a href="https://twitter.com/collectcartoons/status/1110661721180590080/photo/1"><em>https://twitter.com/collectcartoons/status/1110661721180590080/photo/1</em></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8acf0391e4b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Dyslexic Developer]]></title>
            <link>https://medium.com/@maedevlin47/the-dyslexic-developer-d05f1d319991?source=rss-2332b85f0605------2</link>
            <guid isPermaLink="false">https://medium.com/p/d05f1d319991</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[career-development]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mae Schreck]]></dc:creator>
            <pubDate>Wed, 23 Nov 2022 16:33:08 GMT</pubDate>
            <atom:updated>2025-07-09T20:02:38.606Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sEp3p0YSLVRWMeeGt8q5mQ.jpeg" /></figure><p>The school informed my parents that I would not be accepted due to having “signs of being dyslexic.” I got tested for dyslexia shortly after, and sure enough, those 1st grade headhunters were right!</p><p>During grade school, I tried to never blame anything on “my dyslexia,” but I did have to come to terms with the fact that I learn material differently than my peers. It took me longer to complete testing, I was never going to be a spelling bee champion, and Latin was not my friend.</p><p>However, after some time and acceptance, I focused on finding the ways in which I learned most effectively. After this, I discovered that once I comprehended the material, how to apply it, and found the elements that interested me about it, I was able to perform/apply that knowledge at an equal, if not higher, level than those around me.</p><p>I transferred after my first year of college, with a major in Economics and a 92% average. When I got to the new university, I was informed that most of my economic credits would not transfer. Having completed most of the prerequisite 100-level Economics courses already, this was a setback.</p><p>I continued with Econ as my major until halfway through my junior year, when it was made clear to me that there was no way for me to graduate on time with an Economics major. Not graduating on time was not in the plan I had set out for myself, and so I decided to change Economics to my minor and make Anthropology my major, since I had taken some Anthropology courses throughout the previous three years.</p><p>I ended up graduating from Trinity College with honors and finished the Anthropology major in the shortest amount of time in Trinity College history.</p><p>All that to say, roadblocks have been a part of my life for as long as I can remember, but I have always been able to find the road around them.</p><p>I entered “the real world” unsure, but not unnerved about what was ahead. I joined a company called Yext. At that point, it was around a 500-person start-up in its later stages of funding. Our sales training was one week of actual training on the product and how it worked. After that, we were put on the floor. We had to make 40 sales in 40 days. All the calls were cold. If we did not make it through training, we were let go. Let’s just say I was now unnerved.</p><p>I made it through the 40 sales in 40 days. One of the main reasons, if not the only reason, I was able to make it through was due to the fact that I loved the platform. I learned everything I could about its features, the extent of what it could do, how it benefited the consumer, and then, even though it was not part of my job description, taught my customers the best ways in which they could utilize the platform for their unique situation.</p><p>I realized that sales would not remain my long-term career path. I frequently gave suggestions for platform updates and asked about the logic behind changes made to the platform, which were not always… ever, top-of-mind questions for a Sales Manager. Product development and Software Engineering had captured my interest before I was even fully aware of it.</p><p>Two years after graduation, I became the tenth employee at a startup with a platform that listed off-campus college housing options and a goal of handling the full leasing process for students. I was hired to build out the Customer Success team and work on business development, but because the company was so small then, the situation called for all hands on deck. Fortunately for me, it provided the opportunity to work cross-functionally on projects outside of my job description — I loved it.</p><p>I was able to work closely with the Engineering and Product Teams on projects that involved analyzing user data using Google Analytics, BigQuery, and SQL to identify user trends and pain points for continual platform and integration enhancements, and watch as they updated the back end to reflect the newest content collected from our research. I was even able to be a main contributor in building out a pricing updater tool, which I was then put in charge of. It was great.</p><p>The work I was doing at this company made me even more aware of how interested I was in the workings that go on behind what we see on our screens and a desire to learn software engineering. Unfortunately, the company fell victim to COVID and the company dissolved.</p><p>In my next position, once it was clear that the exposure and ability to learn and work with Engineering and Product teams I had been promised would not come to fruition, I knew I needed to enroll in a coding bootcamp — and that’s what I did.</p><p>Throughout my “real world journey,” my dyslexia has always been there — when I am writing emails, putting a project proposal together, texting “there” instead of “their.” But it has never prevented me from doing whatever it is I set my mind to, and becoming a Software Engineer will be no different.</p><p>As my journey into this world of unknown syntaxes, object orientation, and hooks that are not found on any boats moves forward, I will continue to share my thoughts on this next chapter in my life — The Dyslexic Developer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d05f1d319991" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Boolean Bullying You?]]></title>
            <link>https://medium.com/@maedevlin47/boolean-bullying-you-b354b92b7308?source=rss-2332b85f0605------2</link>
            <guid isPermaLink="false">https://medium.com/p/b354b92b7308</guid>
            <category><![CDATA[boolean]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[beginner-javascript]]></category>
            <dc:creator><![CDATA[Mae Schreck]]></dc:creator>
            <pubDate>Mon, 14 Nov 2022 17:04:24 GMT</pubDate>
            <atom:updated>2025-07-09T20:24:45.705Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="A green sliding “off” and “on”button, button is slide to on and shows the word“YES”." src="https://cdn-images-1.medium.com/max/600/1*tzgspKHWGsdFyaQh1mSLzw.jpeg" /></figure><p>When first traveling down the pathway of learning JavaScript, it can make one feel as if they have never been successfully educated in an area of study before. Grasping concepts, what’s that? Conceptualizing and applying your learning — never heard of it… One of the main struggles when first starting out is the layering of terminology, contexts, algorithms — the list continues to grow. This being the case, having a strong grasp of the fundamentals is key. One such fundamental concept is Boolean.</p><p>Simply put, Boolean is a data type that can only assign/return one of the values: <em>true</em> or <em>false</em>. Boolean logic can take two statements or expressions and then generate a Boolean value of either <em>true</em> or <em>false</em>, and everything with no value is automatically evaluated as <em>false.</em> There is no gray area.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*6IDjD8JZ4CZNlkXS3P38uQ.png" /></figure><p>As an example, let’s put a statement into Boolean:</p><p><strong>“The sky is blue today”</strong> would be:<br> const blueSky = true;</p><p>The directness of a Boolean data value allows it to control the flow of programs using conditional statements like the if condition and if...else.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*GyGCgyzvwF3OT3D1s5cbRw.jpeg" /></figure><p>Boolean values in statements allow programs to flow without the need for extra parameters when they are not necessary. They are very useful for telling a program what to return, render, etc.</p><p>Say a teacher wanted to use online classroom attendance data to render a list showing the students who did and did not attend class that day. They could use Boolean values in an if...else statement:</p><p>studentAttendance: true/false</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*IaldQD_qseULAMQwh605fg.jpeg" /></figure><p>Another important feature of Boolean to note is Boolean <strong>comparison operators</strong>. In JavaScript — and programming in general — developers need a way to compare different values. A simple use case is comparing objects, values, etc., to determine whether they are greater or less than something. There are a number of comparison operators.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*hiNxWxsw4X-sJwoqcEN4Ew.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*dvu0qJsgQqi93rQ30nq5Cw.jpeg" /></figure><p>Even though Boolean, put simply, just assigns objects, strings, statements, etc., the values of true or false, it is used continually and can be crucial within JavaScript program flow. Boolean also continues to be used in JavaScript coding and within frameworks like React — a topic for another blog post!</p><p>In short, even though Boolean may seem straightforward, it is crucial to understand it fundamentally and the ways in which it can be used throughout program flow — because Boolean will continue to come back to bully you long after the beginning of your JavaScript learning journey.</p><p><em>Sources:</em></p><ul><li><a href="https://www.geeksforgeeks.org/javascript-boolean/"><em>https://www.geeksforgeeks.org/javascript-boolean/</em></a></li><li><a href="https://www.w3schools.com/js/js_booleans.asp"><em>https://www.w3schools.com/js/js_booleans.asp</em></a></li><li><a href="https://www.sitepoint.com/javascript-truthy-falsy/"><em>https://www.sitepoint.com/javascript-truthy-falsy/</em></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b354b92b7308" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>