<?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 Rachel Ralston on Medium]]></title>
        <description><![CDATA[Stories by Rachel Ralston on Medium]]></description>
        <link>https://medium.com/@rachelralston?source=rss-bdf85c7657e2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*88XVob0MmPm9NXhy2u77DA.jpeg</url>
            <title>Stories by Rachel Ralston on Medium</title>
            <link>https://medium.com/@rachelralston?source=rss-bdf85c7657e2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 05:30:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rachelralston/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[A Meandering Path to Web Development]]></title>
            <link>https://medium.com/@rachelralston/a-meandering-path-to-web-development-e6fc3389fd6f?source=rss-bdf85c7657e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6fc3389fd6f</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[tech-culture]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[inspiration]]></category>
            <dc:creator><![CDATA[Rachel Ralston]]></dc:creator>
            <pubDate>Mon, 13 Feb 2017 05:09:22 GMT</pubDate>
            <atom:updated>2017-02-13T05:09:22.396Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pcxEu6cEjpytyRw-i2JxIA.jpeg" /><figcaption>Not all who wander are lost.</figcaption></figure><p><em>Ultimately, none of us knows what we’re doing. We all have a sense that we’re imposters in some part of our lives. We’re all guessing and doing whatever we can to stay engaged and grow. It’s ok to follow the turning path of your life and find fulfillment as you create it. This is my meandering path into being a professional full stack developer.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/266/1*oawDitDyuehrIyLw3Aa96w.jpeg" /><figcaption>#OregonTrailForever 🐴</figcaption></figure><p>As far as my child self was concerned, computers were weird boxes that gave me fun games. One fateful day in 5th grade I heard the siren’s song of the <a href="https://www.youtube.com/watch?v=gsNaR6FRuO0">dial up modem</a> for the first time and it suddenly clicked for me that I the world wide web could crack open up my tiny world. I was hooked. You couldn’t pry me away from the family computer once I got my hands on a copy of <em>HTML for Dummies </em>and a bootleg Photoshop. I can still remember after hours of struggling, the <a href="https://admin.mashable.com/wp-content/uploads/2013/07/excited-baby.gif">pure crystalline joy</a> the first time I got my browser to display an image that I had made.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*mu96DzR-JxFZ8BR0TU5MEQ.gif" /><figcaption>omg omg omg omg it WORKED!</figcaption></figure><p>For a few years I was off and running; I made fan sites, had the god damn coolest myspace page around, and devoured books on the topic. But as middle school turned into high school my passion cooled off and I eventually refocusing my attention on softer skills.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/234/1*mI-SbtqLie4h2gcFBQDpGg.jpeg" /><figcaption>Late 90’s goth was a good look.</figcaption></figure><p>Looking back, I realize that I did the classic teen girl thing: I subconsciously fell for the cultural messages that girls aren’t good at science and math and the micoraggressions of my peers. While falling behind was in part due to very real learning disabilities, my mindset led me to believe that my minor or coincidental set backs were evidence that I wasn’t <em>able</em> to succeed. Despite my early love of computer science, by the end of high school I was so turned off by the idea of pursuing the sciences that I went to art school, figuring I’d never have to take a math or science class again.</p><p>Fast forward to college graduation in 2008 and months of unemployment. As it turns out, when the economy is in free fall a BFA in Oil Painting isn’t a particularly useful for gainful employment. I looked at my skills and started developing myself, turning my art training into graphic design skills and brushing up on my decade old hobby of web development.</p><p>Years later still, after wandering through many jobs that ran the gamut from cleaning toilets to customer service, I founded a branding company that helped small and medium sized businesses find their authentic voice and build their web presence. Entrepreneurship was amazing and taught me so much about myself, but it was also exhausting and deeply challenging.</p><p>After that I moved into a Design and Marketing Lead position, which was professionally rewarding but personally not a great fit. I’m thankful for the challenges the position handed me because it helped me realize that while my whole life all I wanted to do was make things, my career had morphed using my skills to convince people to buy things. The exploration of that moment led me to look over my life and think about what would actually make me happy to do, not just what would keep me fed. A few months later I quit that job and made the transition into web development, attending a full time intensive professional apprenticeship program at <a href="https://www.learnersguild.org/">Learner’s Guild</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pKWkzvMkbHqdcsvp2R94ZQ.jpeg" /><figcaption>First day of Learner’s Guild. Don’t they just grow up so fast?</figcaption></figure><p>Getting into engineering has felt like coming home. I get to use my creativity in finding elegant solutions to complicated problems, my entrepreneurial systems thinking to wrap my brain around large projects, my empathy and people skills in working in team and advocating for great user experience.</p><p>The world is a different place now than it was when I was a kid. The song of the dial up connection is literal history, and it now feels strange when the internet isn’t at my fingertips to answer my every passing whim. Looking back over the whole story, I feel sad for my young self that gave up on her technical abilities. I’ve realized now to my surprise that I’m actually pretty good at this. I hope that my work can help to inspire the next generation to trust in themselves and break through barriers.</p><p>Rachel is a developer and designer living in Oakland, CA. She likes toast with butter, rock climbing &amp; going for hikes with <a href="http://rachelralston.com/public/uma.jpg">this lady</a>. Get in touch with her on <a href="http://www.twitter.com/rachelralston">twitter</a> or through her <a href="http://www.rachelralston.com/">website</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6fc3389fd6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The ‘this’ keyword in Javascript]]></title>
            <link>https://code.likeagirl.io/the-this-keyword-in-javascript-1e8487ae296a?source=rss-bdf85c7657e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e8487ae296a</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[tech-talk]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Rachel Ralston]]></dc:creator>
            <pubDate>Sun, 29 Jan 2017 00:02:31 GMT</pubDate>
            <atom:updated>2017-03-25T20:14:05.611Z</atom:updated>
            <content:encoded><![CDATA[<p>The keyword this in Javascript can be a little slippery to wrap your had around at first.</p><blockquote>TL;DR When you refer to this in the global context, it refers to the global variable (which is Window in browsers). When you create a new object with this refers to the object’s scope.</blockquote><h3>What Does this Do?</h3><p>When you call this on the root of a document, it refers to the document’s root object, in the case of our browser this refers to Window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*kzOiTYdPaV7pWhw5Noiy0Q.png" /></figure><p>So if we create a function and add a variable to the global scope then we can call it using this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*6LfsfamPpAvst0bC-EI8-Q.png" /><figcaption>Oh, hai. I guess I should say Something…</figcaption></figure><p>At first hello() returns undefined because saySomething is undefined on window, but once saySomething is defined we get a proper greeting.</p><p>So what do we do if we want this to refer to something other than the global scope?</p><p>Our first approach is to use call or apply to specify the scope.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*0WowWN0ItvawtyVF2dq5ww.png" /><figcaption>Please, I need my coffee before you start punishing me with your fake British accent.</figcaption></figure><h3>This in Objects</h3><p>Now let’s try this in a different way. Let’s see what happens when we use this in a function that’s been set as the property of an object. In this case, this will refer to the local scope of the adventure object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YdOlUzhOgCHzydwzyPX8tg.png" /></figure><p>In the above case we created the example in an object literal, but what happens when we wrap the example in a constructor function? When we instantiate it with the new keyword, an empty object is created and this will refer to that context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*ZMbSP6XlHFQiX8yiXeSAGQ.png" /></figure><p>You can instantiate multiple versions of our Adventure class and this will refer to the local scope of each instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MgD039CPKwYPVLoBneJLDw.png" /><figcaption>Monica loves that slide despite the hardship of the stairs.</figcaption></figure><h3>Getting Tricky with `this`</h3><p>It’s been simple enough to follow the context of ‘this’ up to this point, but here’s where it can start to get tricky. Take the following example:</p><pre>function Adventure() {<br>  console.log(&quot;Your this is: &quot;, this)<br>  this.hasAdventure = false<br>  this.waterslide = function(numGoSlide) {<br>    if(numGoSlide &gt; 0) {<br>    this.hasAdventure = true<br>    celebrate()<br>    }<br>  }<br>}</pre><pre>function celebrate() { <br>  console.log(&quot;Your this is: &quot;, this)<br>  if(this.hasAdventure) {<br>    alert(&quot;Yay, you’ve been on a soggy and thrilling adventure!&quot;)<br>  }<br>}</pre><p>You might assume that we’d get the alert here, but when run we don’t get much of anything. The reason is that celebrate() was defined on the global scope and so its this refers to the global scope. We can see that when we run this in the console, we’re referring to the global scope, global scope doesn’t have the attribute hasAdventure, so we don’t get the alert.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*AGB6eFhaoX3wPrcmbx7iSw.png" /></figure><p>To fix this conundrum, we can pass Adventure&#39;s local this into celebrate and modify celebrate to take an argument. When we update celebrate to take an argument you can’t use the reserved word this, so pick another variable to hold that place.</p><pre>function Adventure() {<br>  console.log(&quot;Your this is: &quot;, this)<br>  this.hasAdventure = false<br>  this.waterslide = function(numGoSlide) {<br>    if(numGoSlide &gt; 0) {<br>    this.hasAdventure = true<br>    celebrate(this)<br>    }<br>  }<br>}</pre><pre>function celebrate(you) { <br>  if(you.hasAdventure) {<br>    alert(&quot;Yay, you’ve been on a soggy and thrilling adventure!&quot;)<br>  }<br>}</pre><p>Now when we call the function we get the alert!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*RfmCy7eQXtTOCzemfUCotg.png" /><figcaption>So damp, so exciting.</figcaption></figure><p>In conclusion, this is a powerful tool that helps developers easily refer to properties within specific contexts, but can get tricky when passing through different levels of scope.</p><p>Good Luck &amp; Godspeed.</p><p>Rachel is a developer and designer living in Oakland, CA. She likes toast with butter, rock climbing &amp; going for hikes with <a href="http://rachelralston.com/public/uma.jpg">this lady</a>. Get in touch with her on <a href="http://www.twitter.com/rachelralston">twitter</a> or through her <a href="http://www.rachelralston.com/">website</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e8487ae296a" width="1" height="1" alt=""><hr><p><a href="https://code.likeagirl.io/the-this-keyword-in-javascript-1e8487ae296a">The ‘this’ keyword in Javascript</a> was originally published in <a href="https://code.likeagirl.io/">Code Like A Girl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trusting Yourself in Solving Algorithms]]></title>
            <link>https://code.likeagirl.io/trusting-yourself-in-solving-algorithms-9dd697e4069f?source=rss-bdf85c7657e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dd697e4069f</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[tech-talk]]></category>
            <dc:creator><![CDATA[Rachel Ralston]]></dc:creator>
            <pubDate>Tue, 17 Jan 2017 23:18:42 GMT</pubDate>
            <atom:updated>2017-03-25T20:17:33.431Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X2-foj0ZnTxiU2Br37TZAA.jpeg" /></figure><p>Today’s coding lesson is about trusting yourself.</p><p>I’ve noticed a grumpy-making pattern in myself while I’m coding:<br>I’m given issue X. I understand the problem and I lay out some logic to solve X. I implement my code but inevitably it doesn’t work.</p><p>Ok, cool, I am a zen master as I start to fix, approaching both my thinking and the project from several different angles. I spend 5 hours methodically working my way through this code and ultimately get nowhere. By this time I’m frustrated enough to go ask a technical mentor for help.</p><p>In the span of an hour the problem is solved <em>using the initial logic I came up with in the first place</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*SNndosJg-HZoJrlX6zKiYg.gif" /><figcaption>such a zen master.</figcaption></figure><p>I’ve spent a lot of time this week thinking about this anti-pattern. Here are the lessons I’m taking from this repeating scenario:</p><ul><li>Trust yourself. Your thinking is good, you know more than you think.</li><li>Don’t assume an algorithm is wrong just because the code won’t run right away.</li></ul><p>To improve this area of newly exposed ignorance, I’m going to study turning thought into working code. My process:</p><ol><li>Take an algorithm problem (<a href="https://www.hackerrank.com/">HackerRank</a> is a favorite) and solve it on paper.</li><li>Write the problem out with edge cases.</li><li>Pseudocode the algorithm out in plain old english.</li><li>Write the actual code. Still on paper.</li><li>Go through line by line and hunt bugs. Hold your problem clearly in your mind and make sure your thinking is going to work.</li><li>Finally, type it into a code editor of your choice <em>as is</em> and note any mistakes, see if/where it’s broken, correct your mistakes.</li><li>In some comments, decompose the problem. Write about your thinking and what you think of the code.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*ehzLd-T4es-aVBk5oV70pg.gif" /><figcaption>both broccoli and learning make me feel like dancing.</figcaption></figure><p>I’m treating this like math homework, the thing that is a little bit painful that I do every day to hammer some knowledge deep into my psyche. Bonus Points: this also doubles as study for interviews.</p><p>Check out <a href="https://github.com/rachel-ftw/Interview-prep/tree/master/hackerRank_practice/warmUp">some examples</a> of mine which I’ll be adding to over the next couple weeks.</p><p>Rachel is a developer and designer living in Oakland, CA. She likes toast, rock climbing &amp; going for hikes with <a href="http://rachelralston.com/public/uma.jpg">this lady</a>. Get in touch with her on <a href="http://www.twitter.com/rachelralston">twitter</a> or through her <a href="http://www.rachelralston.com/">website</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dd697e4069f" width="1" height="1" alt=""><hr><p><a href="https://code.likeagirl.io/trusting-yourself-in-solving-algorithms-9dd697e4069f">Trusting Yourself in Solving Algorithms</a> was originally published in <a href="https://code.likeagirl.io/">Code Like A Girl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>