<?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 Asher Millhollin on Medium]]></title>
        <description><![CDATA[Stories by Asher Millhollin on Medium]]></description>
        <link>https://medium.com/@ashermillhollin?source=rss-606359c53074------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*-ZzP8yx3e4XGnWRw.</url>
            <title>Stories by Asher Millhollin on Medium</title>
            <link>https://medium.com/@ashermillhollin?source=rss-606359c53074------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:00:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashermillhollin/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[So you have a problem with BLM?]]></title>
            <link>https://medium.com/@ashermillhollin/so-you-have-a-problem-with-blm-eb65dc63f3f3?source=rss-606359c53074------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb65dc63f3f3</guid>
            <category><![CDATA[blacklivesmatter]]></category>
            <category><![CDATA[blm]]></category>
            <category><![CDATA[maga]]></category>
            <dc:creator><![CDATA[Asher Millhollin]]></dc:creator>
            <pubDate>Fri, 12 Jun 2020 07:01:05 GMT</pubDate>
            <atom:updated>2020-06-12T07:02:34.135Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*08DMxkEWn9n9p261YPvzZw.jpeg" /></figure><p>Why are you arguing against or dissenting the BLM movement?</p><p>Ask yourself what is your motivation for doing this?</p><p>Is it because you tell yourself that you’re a ‘good’ person and should you admit that you’ve sat idly by as an entire section of the population is mistreated, it would challenge that idea you cling to about who you are as a person.</p><p>- Good and bad are not static, they are not a destination you arrive at one time and are set for life.</p><p>- Just because you do other good things (like donate to a charity), or even simply avoid immoral behaviors (you don’t steal) doesn’t mean you get a free pass. Nor does just being ‘nice’. I’m sure a lot of Nazi’s were nice people, until they weren’t. When enough people looked the other way and things got completely out of hand — — and folks, they are out of hand here. Burying your head in the sand does NOT make a problem go away, all it does it save you from having to acknowledge it and prolongs the suffering of the sufferer. It makes you an accessory to the behavior you are refusing to see.</p><p>Is it because you’ve had many struggles in your life and you’re not causing such a fuss, so why can’t ‘they’?</p><p>- First off, it is so disgustingly hilarious that the same people who call so-called liberals snowflakes, have to make a movement concerning someone else’s oppression about them.</p><p>- Secondly, NO ONE EVER said your life did not have struggles that it was at some point or another also unfair to you. HOWEVER that was to you as an individual; meaning, for the sake of argument it was (and is) purely circumstantial. POC have the same chances to have all the same struggles as you AND they have deal with a system that is stacked against them, hatred from strangers, and fear of death from sworn protectors, (etc!)… for no other reason than being born with an arbitrarily high level of melatonin in their skin.</p><p>That ‘they’ are more prone to being thugs, are more aggressive, have gangs, etc… and that they are their own problem. If ‘they’ would just stop being so…disruptive, then maybe they could help themselves out of the ghetto.</p><p>- This is one of the most white-privilege BS things there is. First off, racist, thinking you (as an outsider) can intricately understand an ENTIRE group of peoples’ lives is simply and irrefutably audacious. What kind of God-syndrome must you have to think that you able to know each individual in that group’s situation, circumstances, fears, joys, opportunities, challenges, etc., AND then on top of that make the judgement that ‘they’ more or less deserve whatever has happened to them. All the while conveniently glossing over the horrendous history of what has been done to POC and how that might (and sure does) affect them socioeconomically.</p><p>How dare you be that self-righteous.</p><p>America has been killing and appropriating land and power pretty much since the beginning. The Native Americans were deceived, raped, and nearly wiped-out to make room for the white man. Most of the rest of the time, the country was built on the backs of enslaved people. Or we were at War, exercising our power. Equal Civil Rights for everyone have long been suppressed and making any progress in that regard is like pulling teeth. Women had to yell and scream to be finally considered equals (which is still not the case), POC same thing, the LGBTQIA community the same thing. We cage up immigrants, turn refuges away, and we allow people to die of starvation and cold in the streets right in front of our eyes.</p><p>It is true that we can and have done some great things but this country WAS NEVER GREAT.</p><p>MAGA is call back to a time when white men held the most power in this country. It WAS great for them and ONLY them. Slogans sound cutesy and can disarm one’s natural defenses but make no mistake — whatever nostalgia or warm fuzzy feelings you might muster up when hearing ‘Make America Great Again’ are there for the same reasons you will tell yourself that you are a good person but never challenge yourself on it… because it’s easy and it feels good. It’s nice to think of America as this land where everyone is free and our collective history is filled with benevolence and tolerance. It’s not.</p><p>The only way we can truly make America great is to remove the rose-tinted glasses and finally acknowledge all that has happened in the past, drill down into why it happened, learn from it, and make strong and dedicated efforts to avoid repeating it.</p><p>ALL lives mattering takes ALL of us to act as if they do. So act like it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb65dc63f3f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quick Tip : Finding the Sum of a Range — Ruby]]></title>
            <link>https://medium.com/@ashermillhollin/quick-tip-finding-the-sum-of-a-range-ruby-66ba1a4c98fd?source=rss-606359c53074------2</link>
            <guid isPermaLink="false">https://medium.com/p/66ba1a4c98fd</guid>
            <category><![CDATA[methods]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[array-methods]]></category>
            <category><![CDATA[ruby]]></category>
            <dc:creator><![CDATA[Asher Millhollin]]></dc:creator>
            <pubDate>Mon, 11 Jun 2018 21:59:44 GMT</pubDate>
            <atom:updated>2018-06-11T21:59:44.735Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9pQvj1UAqt8CAeMpsmjmw.jpeg" /></figure><p>I wanted to share a problem (with solution) that was giving me a headache because I was unaware of a few nifty tricks. So, I thought to share them here, in case anyone else was ever in the same [sinking] boat as me.</p><p><strong>Example Problem:</strong></p><p><strong>Write a method called `sum_of_range`, which will accept an array containing two numbers, and return the sum of all of the whole numbers within the range of those numbers, inclusive.</strong></p><p>```p sum_of_range([1, 4]) Answer #=&gt; 10```</p><p>As I was pondering my approach to the above problem, I was considering engaging some `sort` or ‘conditional’ method (in the chance that the numbers were reversed or non- sequential, e.g. [4,2,5]). Knowing that there are oft times multiple ways to solve the same quandary, I decided to peruse the web to see if I could find some alternatives to my initial ideas.</p><p>Lo and behold! There exist a few steps to make a much ‘dryer’ solution than I originally conceptualized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*tjvbRUUkdVbKxEAHcAWaSw.png" /></figure><p>By calling `.first` and `.last`, starting and stopping the range becomes cake, and will always dynamically change with the length of the array. Add `.to_a` to keep it as an array (or if the numbers were not originally given as an array, this would turn them into one), then it’s possible to call the ‘.sum’ method. I had a dog, and his name was “BINGO”.</p><p>Sidenote: I used a few sources to get this information, but one that was extra helpful was:</p><p><a href="https://www.tutorialspoint.com/ruby/ruby_ranges.htm">Ruby - Ranges</a></p><p>Happy Coding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66ba1a4c98fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Example: While v. Each loop(s)]]></title>
            <link>https://medium.com/@ashermillhollin/example-while-v-each-loop-s-1934ed1c3677?source=rss-606359c53074------2</link>
            <guid isPermaLink="false">https://medium.com/p/1934ed1c3677</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[newbie]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[loop]]></category>
            <dc:creator><![CDATA[Asher Millhollin]]></dc:creator>
            <pubDate>Tue, 29 May 2018 21:24:44 GMT</pubDate>
            <atom:updated>2018-05-29T21:24:44.849Z</atom:updated>
            <content:encoded><![CDATA[<p>Let me just start off by clarifying that I am a newbie [newb] programmer. While there are indeed so many great resources to learn more about coding or get some questions answered — many of those resources are tailored to developers that already have a decent-to-great grasp on things. Those ‘experienced’ developers know what they are looking for and know how to spot just the right thing. Speaking from experience, being new-to-the-game, I know how daunting and frustrating it can be, trying to find the right resources to look within and what information is actually helpful.</p><p>So when my cohort instructor said that my fellow classmates and I should start blogging while we learn, so that there can be more material targeted at other new developers, I got a little excited. If I can help other new developers, even just a little, navigate the enormous and vast seas of coding — then I will feel I’ve contributed something to the future of code.</p><p>That being said, I wanted to start off by breaking down a problem, in the way that my brain works and with a little more annotations than I’ve usually seen in other coding resources.</p><p><strong>Problem:</strong></p><p><strong>Write a method called `average` that takes in an array of numbers and returns the average (the sum divided by the total number of numbers). Write it first using a `while` loop, then write it again using an `each` loop.</strong></p><p><strong>array ([2, 1, 7, 5]) *answer =&gt; 3.75</strong></p><h3>while loop</h3><pre>def average(input_array)</pre><pre> sum = 0</pre><pre> index = 0</pre><pre>while index &lt; input_array.length</pre><pre> sum += input_array[index]</pre><pre> index += 1</pre><pre>end</pre><pre> return sum.to_f / input_array.length</pre><pre>end</pre><pre>p average([2, 1, 7, 5])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XBI_smdxAkyoFLZf9nBtyg.png" /><figcaption>while loop will run until set condition is met</figcaption></figure><h3>each loop</h3><pre>def average(input_array)</pre><pre> sum = 0</pre><pre> input_array.each do |number|</pre><pre> sum += number</pre><pre>end</pre><pre> return sum.to_f / input_array.length</pre><pre>end</pre><pre>p average([2, 1, 7, 5])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2MaER7P7QDetTJtxwW1zZA.png" /><figcaption>each loop will cycle through each index of the array until completed</figcaption></figure><p><em>BONUS</em></p><p>Something GTK that I found out while working with each loops, is that you can also index while the loop cycles through. So, for example if you wanted to ask a user for their 5 favorite foods, and have their input returned with numbers (listed), you can totally do that with a easy add-on to the base each loop.</p><p><strong>Problem:</strong></p><p><strong>Write a program where each inputted food is prefaced with a number, beginning with 1 and going up to 5, for example, :</strong></p><pre>foods = [ ]</pre><pre> puts &quot;what are you favorite foods?&quot;</pre><pre>5.times do</pre><pre> foods &lt;&lt; gets.chomp</pre><pre>end</pre><blockquote>user inputs: cobb salad, spaghetti, pizza, Swedish meatballs, mac and cheese</blockquote><pre>foods.each_with_index do |food, i|</pre><pre>i += 1</pre><pre>puts &quot;#{i}. #{food}&quot;</pre><pre>end</pre><p>this would return:</p><blockquote>1. cobb salad</blockquote><blockquote>2. spaghetti</blockquote><blockquote>3. pizza</blockquote><blockquote>4. Swedish meatballs</blockquote><blockquote>5. mac and cheese</blockquote><p><em>— happy coding —</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1934ed1c3677" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>