<?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 yash arora on Medium]]></title>
        <description><![CDATA[Stories by yash arora on Medium]]></description>
        <link>https://medium.com/@zwattic?source=rss-21f1ff343bc8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jV0jwck8jJXyOBk503ShPA.jpeg</url>
            <title>Stories by yash arora on Medium</title>
            <link>https://medium.com/@zwattic?source=rss-21f1ff343bc8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 13:24:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zwattic/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[Exercising validations to keep grounded — a philosophic undertaking]]></title>
            <link>https://medium.com/@zwattic/exercising-validations-to-keep-grounded-a-philosophic-undertaking-e643c1d46c5?source=rss-21f1ff343bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e643c1d46c5</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[empathy]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[human-behavior]]></category>
            <category><![CDATA[design-thinking]]></category>
            <dc:creator><![CDATA[yash arora]]></dc:creator>
            <pubDate>Mon, 02 Sep 2019 16:11:07 GMT</pubDate>
            <atom:updated>2020-02-15T18:19:33.144Z</atom:updated>
            <content:encoded><![CDATA[<h3>Exercising validations to keep grounded — a philosophic undertaking</h3><p>Opinions have the power to change the course of history. They help people, and very well hurt them too. Personal beliefs engine opinions as there is no pre-requisite for the base facts or knowledge behind those beliefs. So, everybody’s got one of these.</p><blockquote>Thoughts run; opinions pop.</blockquote><p>And that’s fine. Shouldn’t it be? It’s the basic nature and right of humans to express themselves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pC9Ww8iwSED2Rj6MUEYQgA.png" /><figcaption>Musings — often start with chaos (<a href="https://dribbble.com/shots/6818060-Musings">https://dribbble.com/shots/6818060-Musings</a>)</figcaption></figure><p>But this freedom of expression doesn’t come equal to everyone. It develops over time. Some are able to express themselves and their opinions effortlessly. They tend to believe that they know what they are talking about and have the innate confidence to render a voice to their thoughts. While others might face anxiety and the pressure of the worldly judgements, self-conscience and tend to keep their thoughts to themselves. This is just the two ends of the behavioural spectrum, just imagine how complicated it’ll be when the external factors start weighing in. That said, one is not better off the other.</p><p>The premise — Everyone judges everyone else, whether that judgement is loud or muted, it depends on the individual. We are all taught to not judge a book by its cover. But, mostly unknowingly, we tend to do the exact opposite. And that’s fine too because in this case, the difference in <em>what humans think they do</em> and <em>what they actually do</em> is borne out of personal beliefs — opinions surfacing from the first looks.</p><p>When judgements age, they consolidate; leaving hardly any room for re-consideration, rather mostly affiliating into principal-led delusions. Time tends to echo the same old preconceived notions, if left unchecked. And the human nature takes the simple route of <em>taken-for-grantedness.</em></p><p>Now everything stated above assumes that the emotional empathy is near zero.</p><p>Empathy is the philosopher’s stone of this whole construct of prejudice. It changes everything but for the better. Beliefs though still could lack knowledge of the facts but they become emotionally intelligent. And if the groundwork is right, everything else — opinions, judgements, delusions become humane.</p><p>Now that we have gained a brief background on the thought-maturity cycle, let’s talk about how this affects us — The way we receive criticism/evaluation/feedback/comment, constructive or not, is something we don’t have control over. What feelings or sense of emotions they strike depends on the scenario. Receiving a feedback in the middle of a meeting can serve very differently than when it’s talked through in private. But we can control their validation.</p><p>The power of validation becomes boundless. It could render any notion useless or make it a guiding principle. When thoughts are projected at us, either positive or negative, we should avoid taking them word-to-word. Rather, we should break them down, try to analyse the different situations, different cases that might have led to the formation of that idea we just heard. It might take more effort, be quite slow, but it’s insightful. It could help us be more receptive to better changes. <em>It makes us better thinkers, and keeps us grounded.</em></p><p>Particularly for young designers, it’s very important to get around and digest this idea. We don’t necessarily have to develop a thick skin to bear criticism. But mere learn to absorb what other has to say, analysing its actual value before taking it to heart. Or if one could already care less about it, then that’s a different problem — that valley of ignorance just makes it harder to make it to the other side.</p><p>As designers it’s our job to be empathetic — and one way to do it is by questioning and validating everything that is put forward to us, trying to understand the prospective “why” behind it; be it a feature in the product, or user interview, or personal opinions. This method of thought-inspection helps in conducting qualitative User Research better — once we interact well with the users, get to know them, we could get rough ideas around the behavioural patterns(after a few interview sessions), these ideas can then help in reasoning out the observations from the interviews. And this could potentially be used in refining the user personas.</p><p>Developing this idea of exercising and therefore wielding validations— Designers are picky about everything. Ah, how we(or at least myself) spend hours just picking that shade of beige and still it is not good enough a suitor. We judge and suffer the judgement. It’s important for us to understand this construct. So that at the very least we know what we ought to be interacting with others. It could even help your personal life.</p><blockquote>Design helps us to grow emotionally.</blockquote><p>Validation seeks out the agreement or disagreement between two arguments, mapping the accountability of one against another. To decide on what these arguments should be is a tough job. But like everything else, it gets easier with time, practice and our ability to judge while considering emotions. Not all judgements are harmful.</p><blockquote>Human race could use more empathetic behaviour.</blockquote><p>If you’ve made it till here, you can try replacing “designer” with your profession. I’m pretty sure that it won’t lose the essence of the being. It’s simply just how humans behaviour should be with empathy. Let’s try to exercise it because it could make us better at our jobs, at life in general.</p><p>—</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FeMo9Guj5gCc%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeMo9Guj5gCc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeMo9Guj5gCc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c06cadb04a144fdc690c4f192d03ea13/href">https://medium.com/media/c06cadb04a144fdc690c4f192d03ea13/href</a></iframe><p><strong>“If you have an idea, that you genuinely think is good, don’t let some idiot talk you out of it”</strong> — Stan Lee at UCLA Keynote graduation speech, 2017.</p><p>—</p><p>Note — This article takes a retrospective approach to the writing. The notes on the various parts of the thought-maturity cycle and how to carefully process them mostly come from my personal experience. You might feel different about them, <em>and that’s fine.</em> If you’d like, hit me up and let’s discuss.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e643c1d46c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Asynchronous JavaScript]]></title>
            <link>https://medium.com/@zwattic/asynchronous-javascript-25324919c9d3?source=rss-21f1ff343bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/25324919c9d3</guid>
            <category><![CDATA[asynchronous]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[advanced-javascript]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[yash arora]]></dc:creator>
            <pubDate>Fri, 30 Jun 2017 19:06:41 GMT</pubDate>
            <atom:updated>2017-07-01T19:04:15.598Z</atom:updated>
            <content:encoded><![CDATA[<p>Note: A quick tutorial to get up and running with the asynchronous Javascript concepts. The code is hoped to be readable enough to understand the concept. One can access Javascript documentation <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">here</a>.</p><p>AJAX using vanilla Js -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fp04KhD8hfr_bm2-uBqbiA.png" /></figure><p>There are 4 ready states -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p_khLW25HXddvyPziZgjbA.png" /></figure><p>Sync callback -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DVDkmWFahu_P4jakBCXuxA.png" /></figure><p>Async callback -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zlwksNd71n43qevrWB0EAA.png" /></figure><p>Callback hell -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xj4r4jaziVDI7DmizPaauQ.png" /></figure><p>To avoid callback hell, the functions can be separated as -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wx9xMx09Uj99RC-dy0HZig.png" /></figure><p><strong>Promises -</strong></p><p>A promise is an object that represents an action that hasn’t been finished yet.</p><p>Suppose a HTTP request is made for some data. As soon as the request is made, it returns a promise(even before the data is retrieved) and within the promise, the callbacks are registered which are to be run when the data is retrieved. <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise">Read more</a></p><p>When we have the resolve method, .then() is applicable. When we have the reject method, .catch() is applicable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*voS5uXBgDdnsLJOreenwhw.png" /></figure><p><strong>Generators -</strong></p><p>Generators are like pausable functions which can be paused using the yield keyword. <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Generator">Read more</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MLp18nA-sPansU_nVbed9A.png" /></figure><p>Async requests using generators -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-dYCQIzcr4lYXd356YMZPw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25324919c9d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advanced CSS]]></title>
            <link>https://medium.com/@zwattic/advanced-css-617b0d52a5b3?source=rss-21f1ff343bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/617b0d52a5b3</guid>
            <category><![CDATA[web]]></category>
            <category><![CDATA[styling]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[yash arora]]></dc:creator>
            <pubDate>Fri, 30 Jun 2017 18:35:04 GMT</pubDate>
            <atom:updated>2017-06-30T18:35:04.062Z</atom:updated>
            <content:encoded><![CDATA[<p>Note: The code is hoped to be self sufficient to introduce the respective CSS function/feature. For documentation one can refer to <a href="https://developer.mozilla.org/en-US/docs/Web/CSS">MozillaDocsCSS</a>.</p><p><strong>Selecting elements -</strong></p><ol><li>To select class such that the element/div is not empty -</li></ol><pre>.className:not(:empty) {</pre><pre>  //CSS properties</pre><pre>}</pre><p>2. To select a class such that the element/div is empty, use pseudo empty selector -</p><pre>.className:empty {</pre><pre>  //CSS properties</pre><pre>}</pre><p>3. For selecting an element of a particular type -</p><pre>.className p:first-of-type {</pre><pre>  //selects first p element amongst all p elements contained in element with &quot;.cLassName&quot;</pre><pre>}</pre><pre>.className img:last-of-type {</pre><pre>//selects last img element amongst all img elements contained in element with &quot;.cLassName&quot;</pre><pre>}</pre><p>Note — :only-of-type pseudo selector is used to select a particular type of element</p><p>4. To select odd and even indexed tags -</p><pre>.className p:nth-of-type(odd) {</pre><pre>  //selects odd p elements amongst all p elements contained in element with &quot;.className&quot;</pre><pre>}</pre><p>Note — :nth-of-type(x) takes in constants, keywords, variables, single output-value functions as value of x. Eg. To select every third paragraph tag, x=3n</p><p><strong>Creating a fixed-fluid-fixed layout -</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*ou3jFdmsmfsuOe6mKQxFcw.png" /></figure><pre>nav {</pre><pre>  position: fixed;</pre><pre>  top: 0; left: 0;</pre><pre>  width: 5rem;</pre><pre>  height: 100%;</pre><pre>}</pre><pre>aside {</pre><pre>  position: fixed;</pre><pre>  top: 0; right: 0;</pre><pre>  height: 100%;</pre><pre>}</pre><pre>main {</pre><pre>  margin-left: 5rem; //to compensate for nav&#39;s width</pre><pre>  width: calc(100% - 25rem); //25=20(aside&#39;s width)+5(nav&#39;s width)</pre><pre>}</pre><p><strong>Dynamically size elements</strong> -</p><p>Viewport dimensions are used in this case.</p><p>(Handy tip — Do provide min-height and min-width)</p><pre>div{</pre><pre>  height: 50vh;</pre><pre>  width: 50vh;</pre><pre>  //to center the div</pre><pre>  display: flex;</pre><pre>  justify-content: center;</pre><pre>  align-items: center;</pre><pre>}</pre><p><strong>Resetting style with a single CSS value -</strong></p><pre>body {</pre><pre>color: #000;</pre><pre>}</pre><pre>div {</pre><pre>color: #fff;</pre><pre>}</pre><pre>//Making the div inherit the color style value from the parent(body)</pre><pre>section div {</pre><pre>  color: unset;   //This set the value to #000 since there is no     styles in section yet</pre><pre>}</pre><p><strong>Using feature queries to conditionally apply CSS styles -</strong></p><p>This uses the CSS fallback feature. The @supports(x){} block is executed only if the browser supports x property.</p><pre>&lt;div class=&quot;wrapper&quot;&gt;</pre><pre>&lt;p&gt;&amp;nbsp; Code lot a love!&lt;/p&gt;</pre><pre>&lt;/div&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*n-wiQayTYOtIIUjgPfbyjw.png" /></figure><pre>.wrapper{</pre><pre>  height: 500px;</pre><pre>  width: 500px;</pre><pre>  position: relative;</pre><pre>  display: flex;</pre><pre>  justify-content: center;</pre><pre>  align-items: center;</pre><pre>  background: url(https://medium.com/&quot;img_location&quot;);</pre><pre>  background-repeat: no-repeat;</pre><pre>  background-size: cover;</pre><pre>}</pre><pre>.wrapper:before{</pre><pre>  position: absolute; </pre><pre>  content: &quot;&quot;;</pre><pre>  top: 0; bottom: 0;</pre><pre>  left: 0; right: 0;</pre><pre>  z-index: 1;</pre><pre>  background: #000;</pre><pre>  opacity: 0.4;</pre><pre>}</pre><pre>p{</pre><pre>  z-index: 2;</pre><pre>  font-size: 1.2em;</pre><pre>  color: white;</pre><pre>  letter-spacing: 3em;</pre><pre>}</pre><pre>@supports( background-blend-mode: multiply) {</pre><pre>.wrapper {</pre><pre>  background-color: red;</pre><pre>  background-blend-mode: multiply;</pre><pre>}</pre><pre>.wrapper:before {</pre><pre>  display: none;</pre><pre>}</pre><pre>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=617b0d52a5b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Disability&Design]]></title>
            <link>https://medium.com/@zwattic/disability-design-73ccb5e79819?source=rss-21f1ff343bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/73ccb5e79819</guid>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[hope]]></category>
            <category><![CDATA[disability]]></category>
            <dc:creator><![CDATA[yash arora]]></dc:creator>
            <pubDate>Tue, 14 Jun 2016 18:44:18 GMT</pubDate>
            <atom:updated>2017-01-27T15:50:04.056Z</atom:updated>
            <content:encoded><![CDATA[<p>We don’t settle. The need to disrupt the mundane thinking and creating something useful that fits right like an armour must, is what we desire. But desires are certainly not enough.</p><p>The process to channel our desires towards production, is marred by several monkeys. These monkeys are everyone’s non-desired pets. Personally, I like some of them. One closest to my heart is procrastination. Oh Com’on, it is pleasant to roam on streets looking for inspiration when your room is saturated with the screams of ghost stories on youtube. This monkey is our disability but it does steer us in the right direction at times.</p><blockquote>Disability is the secret sauce that engines Design.</blockquote><p>Touring a building whether my leg is broken or not, shouldn’t feel different. The ramps and the elevators with the necessary space are designed so that I don’t sit at home bearing the tantrums of my cat when I have accidentally fallen off and broken my leg. Though very clichèd to mention “Necessity being mother of Invention,” design is more than mere serving the basic needs. It caters the most exquisite desires as well: swag as we call it these days. It provides a unified experience. I could be a martian, but must feel as satiated by the experience as anyone else would.</p><p>To build that unified experience, we diverge, we converge over thoughts and the process runs into an endless loops at times. Those moments are worth getting stuck into, it’s part of the process. The brainstorming phase never ends. We get attached, we relate better. But one thing never changes — in spite of any the attachment, we will always say no to something that doesn’t fit in; that comes with the territory. It’s an important one in my monkey clan. These monkeys trigger our true potential. Make friends with them. Make friends with disability, embrace it to design for the better.</p><blockquote>Disability is bound to exist. Inspiration follows.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73ccb5e79819" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>