<?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>Forem: Vikas Rai</title>
    <description>The latest articles on Forem by Vikas Rai (@vikasrai91).</description>
    <link>https://forem.com/vikasrai91</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%2F289938%2Fd13d7ca9-6c76-4ded-88c3-b29b4f329900.png</url>
      <title>Forem: Vikas Rai</title>
      <link>https://forem.com/vikasrai91</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/vikasrai91"/>
    <language>en</language>
    <item>
      <title>Discussion: How to find top n users with five recent posts</title>
      <dc:creator>Vikas Rai</dc:creator>
      <pubDate>Thu, 28 May 2020 14:14:33 +0000</pubDate>
      <link>https://forem.com/vikasrai91/discussion-how-to-find-top-n-users-with-five-recent-posts-18o</link>
      <guid>https://forem.com/vikasrai91/discussion-how-to-find-top-n-users-with-five-recent-posts-18o</guid>
      <description>&lt;p&gt;Hello all,&lt;/p&gt;

&lt;p&gt;I hope all are fine in this lockdown and learning new things in this period. I want to discuss something with you guys. &lt;/p&gt;

&lt;p&gt;THE OPTIMAL WAY OF FINDING RECORDS FROM THE DATABASE.&lt;/p&gt;

&lt;p&gt;Let us say, the users who have multiple comments on different posts and they are stored in users, comments and posts tables respectively. On a dashboard page we want to list top n users with the most five recent comments on different posts. HOW would you achieve this through the query?  If possible, write your query also and the reason that your query is the most optimal one.&lt;/p&gt;

</description>
      <category>sql</category>
      <category>database</category>
      <category>help</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Rendering a table with dynamic rows and dynamic header in Vue.js</title>
      <dc:creator>Vikas Rai</dc:creator>
      <pubDate>Tue, 12 May 2020 17:05:57 +0000</pubDate>
      <link>https://forem.com/vikasrai91/rendering-a-table-with-dynamic-rows-and-dynamic-header-in-vue-js-2ocg</link>
      <guid>https://forem.com/vikasrai91/rendering-a-table-with-dynamic-rows-and-dynamic-header-in-vue-js-2ocg</guid>
      <description>&lt;p&gt;Hello all,&lt;/p&gt;

&lt;p&gt;This is my post and I wrote this to seek some help or advice from you. I am rendering a table in which the header and rows are dynamic. Each cell is a different Vue component. The cell is a select drop-down and the options can contain 10k items. I have started testing this table with larger dataset say 100 thead and 50 rows. Each cell has about 5k options. The page becomes simply unresponsive. How would I tackle this situation? Should I load dataset in the cell only when focused? Moreover, when I click on the drop-down, it takes time to expand and retract.&lt;/p&gt;

</description>
      <category>vue</category>
      <category>javascript</category>
      <category>help</category>
    </item>
  </channel>
</rss>
