<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sanyam Jain</title>
    <description>The latest articles on DEV Community by Sanyam Jain (@xerosanyam).</description>
    <link>https://dev.to/xerosanyam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F24773%2F44545a2d-a4fd-4fbb-bf42-8997de152a58.jpeg</url>
      <title>DEV Community: Sanyam Jain</title>
      <link>https://dev.to/xerosanyam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xerosanyam"/>
    <language>en</language>
    <item>
      <title>Game Development</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Thu, 23 Apr 2020 16:12:45 +0000</pubDate>
      <link>https://dev.to/xerosanyam/game-development-1lkg</link>
      <guid>https://dev.to/xerosanyam/game-development-1lkg</guid>
      <description>&lt;ol&gt;
&lt;li&gt;There are tons of gaming engines(more than javascript frameworks!)- choice depends on&lt;/li&gt;
&lt;li&gt;what devs are comfortable with&lt;/li&gt;
&lt;li&gt;features offered by each platform&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;"It is like choosing a stack for general"&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Mostly people now use Unity to develop games&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Most of framework target android/ios&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Process of game dev is not very different from web dev.&lt;br&gt;
You decide on game genre, features, people to handle these devs/QA.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Difference is, games are very UI &amp;amp; performance critical. No one is going to comeback even if functionality is excellent.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Product manager: looks at game holistically - like a product&lt;br&gt;
Game designer: UI/UX&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Based on conversation with a friend who works for a renowned Game company.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Anti-Patterns (Vue, Nuxt)</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Wed, 15 Apr 2020 14:44:28 +0000</pubDate>
      <link>https://dev.to/xerosanyam/anti-patterns-vue-nuxt-206</link>
      <guid>https://dev.to/xerosanyam/anti-patterns-vue-nuxt-206</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Don't fetch data inside watch(). Either it will be fetched multiple times or not once, because mostly the values we &lt;code&gt;watch&lt;/code&gt; change frequently.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Understanding use of fetch, created, mounted in context of Nuxt</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Wed, 15 Apr 2020 14:42:58 +0000</pubDate>
      <link>https://dev.to/xerosanyam/understanding-use-of-fetch-created-mounted-in-context-of-nuxt-2537</link>
      <guid>https://dev.to/xerosanyam/understanding-use-of-fetch-created-mounted-in-context-of-nuxt-2537</guid>
      <description>&lt;p&gt;Context: &lt;code&gt;nuxt generate&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;On initial page load, fetch() will be called once. created() will be called twice(once on server, once on page load)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;fetch()&lt;/code&gt; is used only to get static data&lt;br&gt;
Before using fetch(), identify which piece of data is static(changes rarely) &amp;amp; which is dynamic(will change frequently). &lt;br&gt;
For example, in the case of a blog, title, blog content are static &amp;amp; comments are dynamic.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;fetch has access to both store &amp;amp; data() &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>generate</category>
      <category>fetch</category>
      <category>nuxt</category>
      <category>vue</category>
    </item>
    <item>
      <title>Why Google beat Yahoo in the war for the Internet? (Insights about most popular websites)</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Mon, 13 Apr 2020 10:11:29 +0000</pubDate>
      <link>https://dev.to/xerosanyam/why-google-beat-yahoo-in-the-war-for-the-internet-1ifm</link>
      <guid>https://dev.to/xerosanyam/why-google-beat-yahoo-in-the-war-for-the-internet-1ifm</guid>
      <description>&lt;p&gt;It is January 2001 - Yahoo receives ~627 million visits per month &amp;amp; Google is no where in the landscape. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--o41n_JRm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/zeirzu8gu38byh61g1ap.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--o41n_JRm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/zeirzu8gu38byh61g1ap.png" alt="Image from https://youtu.be/2Uj1A9AguFs"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fast forward to June 2005 - Google &amp;amp; Yahoo at 6 billion monthly visits.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fS94XlEK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/piranfjh6o4r3zpigwoe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fS94XlEK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/piranfjh6o4r3zpigwoe.png" alt="Image from https://youtu.be/2Uj1A9AguFs"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Why/How Google beat Yahoo?
&lt;/h3&gt;

&lt;p&gt;I think the reason is Far sightedness. Basis points:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Google takes over in June, 2005. "Google built a broad platform that extends across the entire web by focusing on simplicity and flexibility, while the complexity of Yahoo’s infrastructure may be the reason it ends up as a small part of another business." - &lt;a href="https://techcrunch.com/2016/05/22/why-google-beat-yahoo-in-the-war-for-the-internet/"&gt;https://techcrunch.com/2016/05/22/why-google-beat-yahoo-in-the-war-for-the-internet/&lt;/a&gt;. - Because of this google took over in June 2005.&lt;/li&gt;
&lt;li&gt;Yahoo took over again in Sep, 2008. But till then google had already bought youtube &amp;amp; android. Google finally takes over in July 2010, with launch of nexus devices.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  Other interesting metrics:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Youtube was created in Feb 2005, it took only 1 year to land up on 10 most visited sites(357M). Google bought it in Nov 2006(600M) for $1.6B.&lt;/li&gt;
&lt;li&gt;Google bought Android - July 2005(3B)for $50M, launched in 2008. Nexus is launched Jan, 2010.&lt;/li&gt;
&lt;li&gt;Facebook took over Myspace in Jan, 2008(1B)&lt;/li&gt;
&lt;li&gt;eBay was over Amazon in Oct, 1999 (70M), Amazon over eBay in Feb, 2008(900M)&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  In order of appearances:
&lt;/h3&gt;

&lt;p&gt;Yahoo: 1996&lt;br&gt;
Amazon: Jan, 1998(8M)&lt;br&gt;
Ebay: March, 1999(25M)&lt;br&gt;
Google: Jan, 2001 (60M)&lt;br&gt;
Wikipedia: Feb, 2004(233M)&lt;br&gt;
Myspace: Oct, 2004(286M)&lt;br&gt;
Youtube: March, 2006 (350M)&lt;br&gt;
Facebook: Jun, 2007 (500M)&lt;br&gt;
Live.com: Jan, 2011(1B)&lt;br&gt;
Twitter: Jan, 2012 (1.2B)&lt;br&gt;
Instagram: Oct, 2013 (1.6B)&lt;/p&gt;




&lt;h3&gt;
  
  
  Oct 2019 Standings:
&lt;/h3&gt;

&lt;p&gt;Google: 77B&lt;br&gt;
Youtube: 27B&lt;br&gt;
Facebook: 23B&lt;br&gt;
Wiki: 5B&lt;br&gt;
Twitter: 4B&lt;br&gt;
Instagram: 4B&lt;br&gt;
Yahoo: 3B&lt;/p&gt;

&lt;p&gt;Image &amp;amp; Data source: &lt;a href="https://youtu.be/2Uj1A9AguFs"&gt;https://youtu.be/2Uj1A9AguFs&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Interesting tools for Computer Users</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Thu, 09 Apr 2020 12:38:38 +0000</pubDate>
      <link>https://dev.to/xerosanyam/interesting-tools-for-computer-users-i8e</link>
      <guid>https://dev.to/xerosanyam/interesting-tools-for-computer-users-i8e</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Copy Clip(Mac)
This is a very important tool, it helps you keep clipboard history.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Improving SEO in nuxt</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Thu, 09 Apr 2020 10:08:41 +0000</pubDate>
      <link>https://dev.to/xerosanyam/improving-seo-in-nuxt-4731</link>
      <guid>https://dev.to/xerosanyam/improving-seo-in-nuxt-4731</guid>
      <description>&lt;p&gt;Nuxt gives amazing SEO options but there are still somethings that developer should be careful of while building a web/mobile app.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Make use of h1 tag. The most important thing of a page should be inside  h1 tag.&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Interesting tools for Front-End Engineers</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Tue, 07 Apr 2020 17:27:36 +0000</pubDate>
      <link>https://dev.to/xerosanyam/interesting-tools-for-front-end-engineers-pmm</link>
      <guid>https://dev.to/xerosanyam/interesting-tools-for-front-end-engineers-pmm</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Get browser-specific CSS selector hack: &lt;a href="http://browserhacks.com/"&gt;http://browserhacks.com/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Test webpage speed: &lt;a href="https://www.webpagetest.org/"&gt;https://www.webpagetest.org/&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Caveats while Building Mobile Website using Vue/Nuxt</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Tue, 07 Apr 2020 17:26:23 +0000</pubDate>
      <link>https://dev.to/xerosanyam/caveats-while-building-mobile-website-3cbh</link>
      <guid>https://dev.to/xerosanyam/caveats-while-building-mobile-website-3cbh</guid>
      <description>&lt;p&gt;While building a mobile website, you'll encounter a lot of roadblocks. I'll try to list all of them here, while I learn more about them.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;One of the biggest caveats is everything feels slow in android firefox &amp;amp; iOS safari. And the reason for it is that on each click, &lt;strong&gt;the browser waits for around ~300ms to know whether it was a single or double click&lt;/strong&gt;.&lt;br&gt;
Solution &amp;amp; More about it here: &lt;a href="https://stackoverflow.com/a/21062165/2963579"&gt;https://stackoverflow.com/a/21062165/2963579&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;URL Bar Resizing - Different vh for a fixed element on a scroll.&lt;br&gt;
Solution &amp;amp; more about it here:&lt;br&gt;
&lt;a href="https://dev.to/peiche/100vh-behavior-on-chrome-2hm8"&gt;https://dev.to/peiche/100vh-behavior-on-chrome-2hm8&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;/deep/ property is not fully supported by all browsers.(at least firefox), so avoid using it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;when the user taps on any text, the text is searched on google.&lt;br&gt;
make user-select: none for mobile. (don't do for desktop, as the user won't be able to select anything)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;position: sticky&lt;/code&gt; behaves very differently in mobile chrome &amp;amp; firefox, avoid using it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On mobile, v-model="keyword" will not updated until you press space.&lt;br&gt;
&lt;a href="https://github.com/vuejs/vue/issues/8231"&gt;https://github.com/vuejs/vue/issues/8231&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>vue</category>
      <category>frontend</category>
      <category>css</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Ansible-NAS</title>
      <dc:creator>Sanyam Jain</dc:creator>
      <pubDate>Mon, 06 Apr 2020 16:32:27 +0000</pubDate>
      <link>https://dev.to/xerosanyam/ansible-nas-3hmp</link>
      <guid>https://dev.to/xerosanyam/ansible-nas-3hmp</guid>
      <description>&lt;p&gt;I was experimenting with FreeNAS when I stumbled upon Ansible-NAS. Ansible-NAS makes it very easy to set up your home media server. I got to learn about lots of new &amp;amp; interesting tools like Portainer, Sonarr because of it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why use Ansible-NAS
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;To make use of your old dusty laptop&lt;/li&gt;
&lt;li&gt;To save space on your laptop by downloading things/movies to your old laptop.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Reference:&lt;br&gt;
&lt;a href="https://github.com/davestephens/ansible-nas/"&gt;https://github.com/davestephens/ansible-nas/&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
