<?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: Sujitkumar Singh</title>
    <description>The latest articles on DEV Community by Sujitkumar Singh (@singhsujitkumar).</description>
    <link>https://dev.to/singhsujitkumar</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%2F269981%2Feb1d4764-3e71-402a-8e4b-2b6b99e546c3.jpg</url>
      <title>DEV Community: Sujitkumar Singh</title>
      <link>https://dev.to/singhsujitkumar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/singhsujitkumar"/>
    <language>en</language>
    <item>
      <title>Data Analysis in Python</title>
      <dc:creator>Sujitkumar Singh</dc:creator>
      <pubDate>Fri, 15 May 2020 16:56:51 +0000</pubDate>
      <link>https://dev.to/singhsujitkumar/data-analysis-in-python-1c1a</link>
      <guid>https://dev.to/singhsujitkumar/data-analysis-in-python-1c1a</guid>
      <description></description>
      <category>python</category>
      <category>datascience</category>
      <category>datanalysis</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Getting started with Deno! </title>
      <dc:creator>Sujitkumar Singh</dc:creator>
      <pubDate>Fri, 15 May 2020 11:16:14 +0000</pubDate>
      <link>https://dev.to/singhsujitkumar/what-should-you-know-about-deno-4k21</link>
      <guid>https://dev.to/singhsujitkumar/what-should-you-know-about-deno-4k21</guid>
      <description>&lt;h1&gt;
  
  
  What is Deno?
&lt;/h1&gt;

&lt;p&gt;Deno is a general-purpose JavaScript/TypeScript programming environment.If you are familiar with Node.js, the popular server-side JavaScript ecosystem, then Deno is just like Node. Except deeply improved in many ways.&lt;/p&gt;

&lt;h1&gt;
  
  
  Deno's Birth
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7osKMt9b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media2.giphy.com/media/28x4tF6ZAOkYo/source.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7osKMt9b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media2.giphy.com/media/28x4tF6ZAOkYo/source.gif" alt="birth"&gt;&lt;/a&gt;&lt;br&gt;
Created by Ryan Dahl, best known as the mastermind behind Node.js, Deno takes advantage of the JavaScript features that have been available since Node.js was released back in 2009. It also addresses the design flaws that Ryan talked about in his “10 Things I Regret About Node.js” lecture.&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/M3BM9TB-8yA"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  It was built with:
&lt;/h1&gt;

&lt;p&gt;1.Rust (Deno’s core was written in Rust, Node’s in C++)&lt;br&gt;
2.TypeScript (Deno supports both JavaScript and TypeScript out of the box)&lt;br&gt;
3.V8 (Google’s JavaScript runtime used in Chrome and Node, among others)&lt;/p&gt;

&lt;h1&gt;
  
  
  Some Shortcomings of Node
&lt;/h1&gt;

&lt;p&gt;1.Any program can write to the filesystem and the network which is a big security concern.&lt;br&gt;
2.In node, the dependencies are stored in node_modules and there is a package.json but the module system isn’t compatible with browsers so our code isn’t fully isomorphic.&lt;/p&gt;

&lt;h1&gt;
  
  
  Features of Deno
&lt;/h1&gt;

&lt;p&gt;1.It is based on modern features of the JavaScript language&lt;br&gt;
2.It has an extensive standard library&lt;br&gt;
3.It has TypeScript at its core.&lt;br&gt;
4.It embraces ES modules.&lt;br&gt;
5.It has no package manager.&lt;br&gt;
6.Security- Deno is secure by default unlike  Node.js which has full access to your file system and network.&lt;/p&gt;

&lt;h1&gt;
  
  
  Will it replace Node?
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--43jNRnCL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://i.imgur.com/iKkgKT4.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--43jNRnCL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://i.imgur.com/iKkgKT4.gif" alt="No"&gt;&lt;/a&gt;&lt;br&gt;
No. Node.js is a giant, well established, incredibly well-supported technology that is going to stay for decades.&lt;/p&gt;

&lt;h1&gt;
  
  
  Should you learn Deno?
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--W-e_4PtU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media2.giphy.com/media/3oz8xsjrGkoZPIWtjy/source.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--W-e_4PtU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media2.giphy.com/media/3oz8xsjrGkoZPIWtjy/source.gif" alt="yesno"&gt;&lt;/a&gt;&lt;br&gt;
Case 1: You have worked with node before and have little/no knowledge of Typescript:&lt;br&gt;
Ans: Yes you can surely go ahead and start learning Deno &lt;/p&gt;

&lt;p&gt;Case 2: You have never implemented server-side Javascript in Node&lt;br&gt;
Ans: You should start with node first then jump to Deno because: Node has been here a while and has matured over the years in terms of compatibility and community, once you get a hands-on Node you can switch to Deno&lt;/p&gt;

&lt;p&gt;Are you ready to try your hands on Deno?&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9BIkdqdk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://i.pinimg.com/originals/6a/01/89/6a01896c58e0585369d0d4fd0e41fb6a.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9BIkdqdk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://i.pinimg.com/originals/6a/01/89/6a01896c58e0585369d0d4fd0e41fb6a.gif" alt="Excited"&gt;&lt;/a&gt;&lt;br&gt;
Here are a few resources to get started with&lt;/p&gt;

&lt;p&gt;1.&lt;a href="https://deno.land/"&gt;Deno Official Site&lt;/a&gt;&lt;br&gt;
2.&lt;a href="https://flaviocopes.com/page/deno-handbook/"&gt;The Deno Handbook by falvicopes&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Thanks for reading!
&lt;/h2&gt;

</description>
      <category>deno</category>
      <category>webdev</category>
      <category>node</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Setting up a Python Virtual Environment in Windows</title>
      <dc:creator>Sujitkumar Singh</dc:creator>
      <pubDate>Thu, 14 May 2020 22:32:06 +0000</pubDate>
      <link>https://dev.to/singhsujitkumar/setting-up-a-virtual-environment-in-python-4515</link>
      <guid>https://dev.to/singhsujitkumar/setting-up-a-virtual-environment-in-python-4515</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Python, like most other modern programming languages, has its own unique way of downloading, storing, and resolving packages (or modules). While this has its advantages, there were some interesting decisions made about package storage and resolution, which has lead to some problems—particularly with how and where packages are stored.&lt;/p&gt;

&lt;h1&gt;
  
  
  What is a virtual environment?
&lt;/h1&gt;

&lt;p&gt;A virtual environment is a tool that helps to keep dependencies required by different projects separate by creating isolated Python virtual environments for them. This is one of the most important tools that most of the Python developers use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites:
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Python3 installed&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Let's Get Started
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oNnIzyc6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media1.giphy.com/media/Ln2dAW9oycjgmTpjX9/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oNnIzyc6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://media1.giphy.com/media/Ln2dAW9oycjgmTpjX9/giphy.gif" alt="Minion"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1.Installing Virtualenv
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Open command prompt and type in the following command:
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;pip install virtualenv&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2.Create a Virtualenv
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Go to the project directory say path/to/project:
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;cd path/to/project&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Once inside the project folder run to create a virtualenv named 'myvenv':
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;virtualenv myvenv&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3.Start the Virtualenv
&lt;/h3&gt;

&lt;h4&gt;
  
  
  In the same directory type the following to activate the virtual environment:
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;myenv\Scripts\activate&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Hurray! We are in our virtual environment!
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/229OX0vSVNys10AZnS/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/229OX0vSVNys10AZnS/giphy.gif" alt="Hurray"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Now you can install packages relevant to a particular project which would be confined to this virtual environment only!
&lt;/h4&gt;

&lt;h3&gt;
  
  
  4.To deactivate the Virtualenv run the following command:
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;deactivate&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Note: Whenever you are running any packages make sure the venv is active
&lt;/h4&gt;

</description>
      <category>python</category>
      <category>windows</category>
      <category>cmd</category>
    </item>
  </channel>
</rss>
