<?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 Arch Wilhes on Medium]]></title>
        <description><![CDATA[Stories by Arch Wilhes on Medium]]></description>
        <link>https://medium.com/@archwilhes?source=rss-89c08b813a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lnOwUzbCYtXhHdlb2041OQ.jpeg</url>
            <title>Stories by Arch Wilhes on Medium</title>
            <link>https://medium.com/@archwilhes?source=rss-89c08b813a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:21:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@archwilhes/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[Some of us can never see the dress as “white and gold”]]></title>
            <link>https://medium.com/@archwilhes/i-can-never-see-the-dress-as-white-and-gold-and-here-is-presumably-why-cefbc15ba6ce?source=rss-89c08b813a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/cefbc15ba6ce</guid>
            <category><![CDATA[thedress]]></category>
            <category><![CDATA[dress-color]]></category>
            <category><![CDATA[whiteandgold]]></category>
            <dc:creator><![CDATA[Arch Wilhes]]></dc:creator>
            <pubDate>Fri, 27 Feb 2015 20:24:51 GMT</pubDate>
            <atom:updated>2015-02-28T16:43:06.495Z</atom:updated>
            <content:encoded><![CDATA[<h3>Some of us can never see the dress as “white and gold” and here is (presumably) why</h3><p>This image of a dress <a href="http://swiked.tumblr.com/post/112073818575/guys-please-help-me-is-this-dress-white-and">on Tumblr</a> got pretty viral recently. Millions tweeted about it. <a href="http://www.businessinsider.sg/white-and-gold-black-and-blue-dress-2015-2/#.VPCeGVOUcYc"><em>Business insider</em></a><em>, </em><a href="http://www.wired.com/2015/02/science-one-agrees-color-dress/"><em>Wired,</em></a><em> </em><a href="http://mashable.com/2015/02/26/dress-white-gold-blue-black/"><em>Mashable</em></a><em>, </em><a href="http://www.forbes.com/sites/dandiamond/2015/02/27/the-science-behind-why-that-blue-dress-looks-white/"><em>Forbes</em></a><em>, </em><a href="http://time.com/3725528/dress-explainer-white-gold-blue-black-science/"><em>Time</em></a><em>, </em><a href="http://news.nationalpost.com/2015/02/27/is-this-dress-white-and-gold-or-blue-and-black-tumblr-photo-sparks-unlikely-online-debate/"><em>National Post</em></a><em>, </em><a href="http://www.bbc.co.uk/news/uk-scotland-highlands-islands-31656935"><em>BBC</em></a><em>, </em><a href="http://www.vox.com/2015/2/26/8118709/mystery-color-dress"><em>Vox</em></a><em>, </em><a href="http://www.theguardian.com/technology/2015/feb/27/the-dress-question-of-color-captivates-the-internet"><em>the Guardian</em></a><em>, </em><a href="http://www.independent.co.uk/news/weird-news/what-colour-is-the-dress-white-and-gold-or-blue-and-black-an-eyewitness-gives-a-definitive-answer-10074553.html"><em>the Independent</em></a><em>, </em><a href="http://www.today.com/popculture/white-or-gold-blue-or-black-dress-sets-internet-ablaze-2D80518434"><em>Today</em></a><em>, </em><a href="http://www.nytimes.com/2015/02/28/business/a-simple-question-about-a-dress-and-the-world-weighs-in.html"><em>New York Times</em></a><em>, </em><a href="http://www.buzzfeed.com/virginiahughes/why-are-people-seeing-different-colors-in-that-damn-dress"><em>Buzzfeed</em></a><em>, </em><a href="http://www.glamour.com/fashion/blogs/dressed/2015/02/tumblr-dress-debate-black-and"><em>Glamour</em></a><em>, </em><a href="https://www.yahoo.com/health/is-this-dress-blue-and-black-or-white-and-gold-112194158507.html"><em>Yahoo</em></a><em> </em>… every news media ever existed wrote about it. Your friends talked about it. The entire world got all hyped over this piece of garment, a traffic-generating piece of garment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*o3LHbd4lRZXACn5QlphTpw.jpeg" /></figure><p>It was getting so much attention because many people managed to see the color of this blue and black dress in this photo as white and gold.</p><p>This is a great demonstration on the difference in how people perceive color. After all, colors don’t actually exist in the physical world. They only exist in our mind. They are nothing more than what we use to interpret the wavelength of incoming <a href="http://en.wikipedia.org/wiki/Electromagnetic_radiation">EM radiation</a> entering our eyes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*chPC8VUsrc2y1Hnv4gmp2Q.jpeg" /><figcaption>So when you see that an apple is red, you are just receiving the EM radiation of about 650nm reflected by the apple. An object only reflects EM radiation it can’t absorb. In this sense, a red apple is not red.</figcaption></figure><p>To distinguish colors we give them names, though different people have slightly different ideas about what a certain color should be labelled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*TJqWUiNUCaWHLrcZZg66xw.png" /></figure><p>For example, some people may refer to this color as orange, while some may say it is yellow.</p><p>(For the “Color Nazi” out there, you may incline to point out that it is neither yellow or orange — it is <a href="http://en.wikipedia.org/wiki/Amber_%28color%29"><em>amber</em></a>. And this is why nobody likes you.)</p><p>Now back to the main story about the dress Taylor Swift, the singer with a net worth of $200 million, was mind-fucked by in a Wednesday afternoon.</p><p><a href="https://instagram.com/p/zlqFIRybaP/">The dress is tearing us all apart.</a></p><h3></h3><p></p><p>Many people managed to see white and gold as their brain happened to interpret the colors that way (it may be that their visual cortex at that time was more well-adjusted to bright light and, as a consequence, tended to perceive things in a brighter color, and interpreted the lighting differently).</p><p>Out of curiosity, I tried various methods hoping to experience what it feels like seeing different colors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*FZX-VaVZ5HkDkHd1PYNvlA.jpeg" /></figure><p>But I failed. And so were many people.</p><p>We can’t see the colors as white and gold.</p><p>When I first saw the picture of the dress, I noticed more dark than yellow/gold, thus the instinctive interpretation that the stripes are black. Due to various reasons, some would perceive the stripes to be black too. And the stripes being black suggests the actual colors to be of higher saturation, confirming that the rest of the dress is indeed blue.</p><p>Some of us (who deal with web colors a lot) may be more drawn towards on-screen colors that are blue-dominated in terms of <a href="http://en.wikipedia.org/wiki/RGB_color_model">RGB</a>. We would notice a huge region is blue, before our mind takes in account of the lighting and if the actual object should be of lower or higher saturation (Lower saturation would lead to seeing it white and gold). This perhaps also contributes in making it harder to get rid of the idea that they are blue later on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*ftsxs7KajSZ7UJcTWpFOCw.png" /></figure><p>We are more inclined to perceive the stripes as black may be because of our expectation about the color of its material, lace (which <a href="https://www.google.com.sg/search?q=black+lace&amp;espv=2&amp;biw=1280&amp;bih=614&amp;site=webhp&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ei=du3xVIPPEs6iugTg0oDYDg&amp;ved=0CAYQ_AUoAQ#tbm=isch&amp;q=lace+dress">normally comes in black</a>). And we rarely see dresses with gold stripes, or made of gold lace, let alone the combination of the two.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*sQ1xey9BeIebM_Of_lfzqQ.jpeg" /><figcaption>I would expect gold lace to be more tint than shade.</figcaption></figure><p>But perhaps one’s very thought that she or he can never see the dress as “white and gold” is the actual reason why she or he is unable to see the colors through the lens of others who perceive them differently.</p><p>You are the one who is limiting the way you perceive things.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cefbc15ba6ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How using .bind() in your Meteor app can screw up your SEO entirely]]></title>
            <link>https://medium.com/@archwilhes/how-using-bind-in-your-meteor-app-can-screw-up-your-seo-entirely-ad1482c7fbf1?source=rss-89c08b813a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad1482c7fbf1</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[meteor]]></category>
            <dc:creator><![CDATA[Arch Wilhes]]></dc:creator>
            <pubDate>Mon, 29 Dec 2014 02:30:59 GMT</pubDate>
            <atom:updated>2015-02-27T20:35:21.247Z</atom:updated>
            <content:encoded><![CDATA[<p>I was crestfallen when I discovered that <a href="http://0a.io/0a-explains-calculus">my article on calculus </a>was no longer in the second page of <a href="https://www.google.com.sg/#q=calculus+explained">Google’s result for “Calculus explained”</a>. Perhaps the search engine’s algorithm no longer saw as high of value in my article as it used to. Or maybe Google, being Google, was again trying to encourage me to publish stuff more often on the rather empty site of mine. (That article used to be at the second page when one searches the term <em>calculus</em>. A day later it was at the 12th page.)</p><p>It didn’t take long before my face contorted in horror as I discovered that my articles were nowhere to be found in Google Search. That could be the reason why traffic to my site had been in a state of decline the past two weeks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q1NlvnzFjgklweYwohn6Pw.png" /></figure><p>This was what would look like when one searched the article’s URL:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*3q5sN8GwsgHKTuxFfKtSpA.png" /></figure><p>As we can see from the Type Error above, the function .bind() is undefined. After some googling, I learnt that <a href="https://groups.google.com/forum/#!msg/phantomjs/r0hPOmnCUpc/uxusqsl2LNoJ">hantomJS doesn’t have .bind() for functions.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*_KKk1VQz7DKNQGB61rlATA.png" /></figure><p>The way SEO works in a Meteor application is that we need to have the meta tag &lt;meta name=”fragment” content=”!”&gt; in every page (normally added in by <a href="http://www.meteorpedia.com/read/spiderable/">spiderable</a>), which tells the crawler to visit <a href="https://developers.google.com/webmasters/ajax-crawling/docs/getting-started">?_escaped_fragment_=</a> version of the page. So the crawler would get to crawl a static version of the page rendered by PhantomJS .</p><p>This is because when one first visits a Meteor website, dynamically generated meta tags (such as the meta description tag for an article) would only be created after the article entry is loaded into the <a href="https://www.meteor.com/mini-databases">minimongo database</a> in the browser (a MongoDB emulator).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wtcv5TkQUvenOCx_ZO9weQ.jpeg" /><figcaption>more detail on what happens when you first visit a page of a Meteor app</figcaption></figure><p>So when .bind() is used in your meteor app, PhantomJS panics, throws in a Type Error and screws your SEO up.</p><p>To avoid this, we just need to switch to using <a href="http://underscorejs.org/#bind">underscorejs’s _.bind()</a>, which basically works the same except that the syntax is slightly different: instead of having it like <em>object.function.bind(this), </em>we have</p><blockquote>_.bind(object.function, this)</blockquote><p>Fortunately my website doesn’t really have much content to start with. The decline in traffic caused by this is rather insignificant comparing to the decline in traffic causes by not writing and publishing articles on a regular basis:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Onszu_v2TFBYbaq93krBuA.png" /></figure><p>So the moral of the story is:</p><p>the only way to maintain a humongous amount of traffic is to keep writing great stuff, or <a href="https://medium.com/@archyholt/how-using-bind-in-your-meteor-app-can-screw-up-your-seo-entirely-ad1482c7fbf1">stuff with clickbait headline (and hope that it works)</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad1482c7fbf1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>