<?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: Suraj Shrestha</title>
    <description>The latest articles on DEV Community by Suraj Shrestha (@syuraj).</description>
    <link>https://dev.to/syuraj</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%2F137037%2F18e85b52-fdce-4809-aa36-ca306891b40a.jpeg</url>
      <title>DEV Community: Suraj Shrestha</title>
      <link>https://dev.to/syuraj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/syuraj"/>
    <language>en</language>
    <item>
      <title>Launching DevPolls, a platform to take polls for developers</title>
      <dc:creator>Suraj Shrestha</dc:creator>
      <pubDate>Sun, 06 Jun 2021 20:08:57 +0000</pubDate>
      <link>https://dev.to/syuraj/launching-devpolls-a-platform-to-take-polls-for-developers-37k1</link>
      <guid>https://dev.to/syuraj/launching-devpolls-a-platform-to-take-polls-for-developers-37k1</guid>
      <description>&lt;p&gt;I had always wanted to know opinions of developers while selecting a library or platform. &lt;br&gt;
Yes, you can google and read blogs on their pros and cons, but it takes time. &lt;br&gt;
Despite being on the field for 10+ years, I despise reading long documentations/blogs 😞&lt;/p&gt;

&lt;p&gt;So, I created a platform &lt;a href="https://DevPolls.app"&gt;DevPolls.app&lt;/a&gt; to create/vote short fun polls only for developers. &lt;br&gt;
It is still in preliminary phase. &lt;br&gt;
Any feature suggestions and review are welcome.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Do you keep `console.log` in tests?</title>
      <dc:creator>Suraj Shrestha</dc:creator>
      <pubDate>Sat, 15 May 2021 19:39:49 +0000</pubDate>
      <link>https://dev.to/syuraj/do-you-keep-console-log-in-tests-28fb</link>
      <guid>https://dev.to/syuraj/do-you-keep-console-log-in-tests-28fb</guid>
      <description>&lt;p&gt;On one hand it is very helpful to debug issues locally. &lt;br&gt;
On other hand it pollutes CI machines.&lt;br&gt;
Thoughts?&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>jest</category>
    </item>
    <item>
      <title>Are there some common algorithms published to sort news/feeds based on date, likes, user, and other attributes?</title>
      <dc:creator>Suraj Shrestha</dc:creator>
      <pubDate>Thu, 03 Oct 2019 04:33:55 +0000</pubDate>
      <link>https://dev.to/syuraj/are-there-some-common-algorithms-published-to-sort-news-feeds-based-on-date-likes-user-and-other-attributes-2lka</link>
      <guid>https://dev.to/syuraj/are-there-some-common-algorithms-published-to-sort-news-feeds-based-on-date-likes-user-and-other-attributes-2lka</guid>
      <description>

</description>
    </item>
    <item>
      <title>What is the best serverless platform?</title>
      <dc:creator>Suraj Shrestha</dc:creator>
      <pubDate>Sun, 29 Sep 2019 04:41:23 +0000</pubDate>
      <link>https://dev.to/syuraj/what-is-the-best-serverless-platform-1l48</link>
      <guid>https://dev.to/syuraj/what-is-the-best-serverless-platform-1l48</guid>
      <description>&lt;p&gt;I have used Azure extensively and the summary is it sucks.&lt;br&gt;
UI is terribly complex, quite unresponsive.&lt;br&gt;
CLI is not easy to use either.&lt;br&gt;
And cold starts are terrible, reaching 30 seconds for a simple nodejs app.&lt;br&gt;
Why do I have to deal with storage accounts, resource groups, application insights? &lt;/p&gt;

&lt;p&gt;I have used Netlify functions too and it has it's own issues too.&lt;br&gt;
I have listed the differences in this medium article.&lt;br&gt;
&lt;a href="https://medium.com/siristechnology/azure-function-vs-netlify-function-1509f1dcec52"&gt;https://medium.com/siristechnology/azure-function-vs-netlify-function-1509f1dcec52&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What are your thoughts? &lt;br&gt;
Which one is the best one comparatively in your experience?&lt;/p&gt;

</description>
      <category>serverless</category>
      <category>functions</category>
      <category>faas</category>
    </item>
    <item>
      <title>Do you run Integration Tests during each CI build?</title>
      <dc:creator>Suraj Shrestha</dc:creator>
      <pubDate>Sat, 21 Sep 2019 01:11:53 +0000</pubDate>
      <link>https://dev.to/syuraj/do-you-run-integration-tests-during-every-ci-builds-1387</link>
      <guid>https://dev.to/syuraj/do-you-run-integration-tests-during-every-ci-builds-1387</guid>
      <description>&lt;p&gt;Integration tests are tests that cross boundary. There are many pros and cons of running those every time.&lt;/p&gt;

&lt;p&gt;Pros&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A more complete functionality test&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cons&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Slow&lt;/li&gt;
&lt;li&gt;External dependencies not related to the code you are testing&lt;/li&gt;
&lt;li&gt;Need to create external test environment (e.g. test database, qa account in prod)&lt;/li&gt;
&lt;li&gt;Network restrictions from CI server in Enterprise environment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So, what do you do?&lt;/p&gt;

</description>
      <category>integrationtests</category>
    </item>
  </channel>
</rss>
