<?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: Nishiki Asumi Yapa</title>
    <description>The latest articles on DEV Community by Nishiki Asumi Yapa (@nishiki97).</description>
    <link>https://dev.to/nishiki97</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%2F549240%2F9e0ff71a-2d04-406e-9fd5-66edaf4bac41.png</url>
      <title>DEV Community: Nishiki Asumi Yapa</title>
      <link>https://dev.to/nishiki97</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nishiki97"/>
    <language>en</language>
    <item>
      <title>Azure Computer vision - Introduction</title>
      <dc:creator>Nishiki Asumi Yapa</dc:creator>
      <pubDate>Fri, 02 Apr 2021 07:59:27 +0000</pubDate>
      <link>https://dev.to/nishiki97/azure-computer-vision-introduction-34l0</link>
      <guid>https://dev.to/nishiki97/azure-computer-vision-introduction-34l0</guid>
      <description>&lt;p&gt;This is the first part of the 'Azure cognitive service - Computer vision' article series. The article describes the fundamentals of computer vision service.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What is cognitive service?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Cognitive Services are a set of machine learning algorithms that Microsoft has developed to solve problems in the field of Artificial Intelligence (AI). The importance of the cognitive service is that it is used pre-trained models to analyse images.&lt;/p&gt;

&lt;p&gt;There are a set of services under cognitive service as follow.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Vision&lt;/li&gt;
&lt;li&gt;Speech&lt;/li&gt;
&lt;li&gt;Language&lt;/li&gt;
&lt;li&gt;Knowledge &lt;/li&gt;
&lt;li&gt;Search&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hiktckeO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xzxlpgmwptwjrd5jkqag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hiktckeO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xzxlpgmwptwjrd5jkqag.png" alt="image001"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What is computer vision?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The Computer Vision service from Azure provides you with access to advanced algorithms that process images and return information based on the visual features you're interested in. Pixel values of the image can be used as 'features' to train machine learning models and make the prediction.&lt;/p&gt;

&lt;p&gt;There are mainly three steps on the ways of using computer vision service.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tWu6ueqa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x2gd9549hel0q1a0wefh.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tWu6ueqa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x2gd9549hel0q1a0wefh.PNG" alt="Capture"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h6&gt;
  
  
  Step 01 - Create a resource
&lt;/h6&gt;

&lt;p&gt;Before you create a resource on Microfot azure portal, you should have an Azure subscription. &lt;/p&gt;

&lt;p&gt;There are basically two (02) types of resources.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Computer vision &lt;br&gt;
 If you are using only &lt;strong&gt;one cognitive service (only for image analysis)&lt;/strong&gt;, you can use a computer vision resource. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cognitive service&lt;br&gt;
 If you are using &lt;strong&gt;more than one cognitive service&lt;/strong&gt;, you can use a cognitive service resource. &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h6&gt;
  
  
  step 02 - get the key and endpoint
&lt;/h6&gt;

&lt;p&gt;After you are choosing the relevant resource type according to your preference, you may create that resource in your account. &lt;/p&gt;

&lt;p&gt;You can copy the key and the endpoint from the resource management section, to the code which you are using to implement the service.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;key&lt;/strong&gt; is used to authenticate the client application&lt;br&gt;
&lt;strong&gt;endpoint&lt;/strong&gt; provides the HTTP address at which your resource can be accessed. &lt;/p&gt;

&lt;h6&gt;
  
  
  step 03 - submit the image
&lt;/h6&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Y3uWjAyw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nwnc9jw6u2rocdsizndb.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y3uWjAyw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nwnc9jw6u2rocdsizndb.PNG" alt="11111"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Read the text with the computer vision service&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;As discussed in the previous topic, we can use either computer vision or cognitive service resource to do the process.&lt;/p&gt;

&lt;p&gt;Under the process of reading text, the word &lt;strong&gt;OCR (Optimal Character Recognition)&lt;/strong&gt; is mostly used.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What is OCR?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;OCR is the basic foundation of processing printed image. This technique is used to take notes, digitizing forms and, scan printed or handwritten checks, etc. &lt;/p&gt;

&lt;p&gt;Computer vision service provides two (02) API's that can be used to read the text in images.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;OCR API&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;OCR API extract a &lt;strong&gt;small amount&lt;/strong&gt; of text in the image. It can be recognized text in numerous languages. This API returns a hierarchy of information to process an image. The hierarchy as follows.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; Region
 Lines
 words
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;For each element, OCR API also returns boundary box coordinates, which is similar to the outline of the text. It defines a rectangle to indicate the location in the image where the region, lines and words appear. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Read API&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Read API is a better option for &lt;strong&gt;scanned document with lots of text&lt;/strong&gt; and to extract text from both &lt;strong&gt;handwritten and printed images&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;There are mainly three (03) processes to use Read API.&lt;/p&gt;

&lt;h6&gt;
  
  
  step 01 - submit an image to the API and retrieve an operation ID in response
&lt;/h6&gt;

&lt;h6&gt;
  
  
  step 02 - use operation ID to check the state of the image analysis operator and wait until it has completed.
&lt;/h6&gt;

&lt;h6&gt;
  
  
  step 03 - retrieve the result of the operation.
&lt;/h6&gt;

&lt;p&gt;Read API also returns the hierarchy of information to process the image.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; Pages
 Lines
 words
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;How to extract text from the handwritten image and printed image?&lt;br&gt;
Continued for part 02 of this article series... 😉&lt;/p&gt;

</description>
      <category>azure</category>
    </item>
    <item>
      <title>Nevertheless, Nishiki Coded in 2021! 👩‍💻</title>
      <dc:creator>Nishiki Asumi Yapa</dc:creator>
      <pubDate>Fri, 05 Mar 2021 09:36:37 +0000</pubDate>
      <link>https://dev.to/nishiki97/nevertheless-nishiki-coded-in-2021-189g</link>
      <guid>https://dev.to/nishiki97/nevertheless-nishiki-coded-in-2021-189g</guid>
      <description>&lt;h1&gt;
  
  
  Hey you! Yes, you! Stop right here ✋
&lt;/h1&gt;

&lt;h1&gt;
  
  
  You know what? If I am doing this, you can do it too!
&lt;/h1&gt;

&lt;p&gt;'Nevertheless, she's coded!' As soon as I spotted a post about this on LinkedIn, Me to myself: "Yes, it's time to write another article and share something, Let's give it a try!"&lt;/p&gt;

&lt;p&gt;So here I am 😉.&lt;/p&gt;

&lt;p&gt;Let me tell you about myself first!&lt;/p&gt;

&lt;p&gt;I am Nishiki Asumi Yapa, from a small island in the Indian Ocean called Sri Lanka. I'm reading Software Engineering, and I'm going to graduate in a year from today. After that, I can call myself a 'Software Engineering graduate with a first/second-upper (hopefully 🤞) degree'.&lt;/p&gt;

&lt;p&gt;I'll start like this;&lt;/p&gt;

&lt;p&gt;What is the most annoying thing you ever heard from others?&lt;/p&gt;

&lt;h6&gt;
  
  
  "Oh! Can you do the documentation right? Girls can do that task better than boys,"
&lt;/h6&gt;

&lt;h6&gt;
  
  
  "Can you check the documents with your girlfriends?"
&lt;/h6&gt;

&lt;h6&gt;
  
  
  "Certainly you can do the presentation"
&lt;/h6&gt;

&lt;h6&gt;
  
  
  "Let's appoint a boy as a leader"
&lt;/h6&gt;

&lt;h6&gt;
  
  
  "Girls can not do coding"
&lt;/h6&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ursg9yxq47ekw7fs0bn.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ursg9yxq47ekw7fs0bn.gif" alt="c4c55553ea3f28a1e5da9271ac0bc773" width="220" height="123"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Why do people keep saying these things? Is it their fault? No! No! No!&lt;/p&gt;

&lt;h5&gt;
  
  
  It's your fault girl! 😥
&lt;/h5&gt;

&lt;p&gt;You are the reason behind their actions!&lt;br&gt;
Maybe you're wondering what is the reason behind their action too!.&lt;/p&gt;

&lt;p&gt;I've been volunteering for dev activities for a couple of years now. What I've noticed from the events I've been taking part in is that girls are not involved. It doesn't matter whether it's a hackathon or a technical session or some other competition.&lt;/p&gt;

&lt;p&gt;I'm holding a position at Women in FOSS at my university, and even though we're planning any events, the girls don't come forward. No matter how hard we forced them, and request them repeatedly. They won't step up.&lt;/p&gt;

&lt;p&gt;Why don't you step forward? Is there anyone who tells you that you can't do it? Is there anyone who tells you that you can't code?&lt;/p&gt;

&lt;p&gt;I'm a really shy girl in my first year of college, too. But I realized that there is no one but you are the only person responsible for your life.&lt;/p&gt;

&lt;p&gt;If somebody says you can not do it, just show them your capability.  Even though we are quarantined and we are spending our new normal life, do not let your skills die. &lt;/p&gt;

&lt;p&gt;There is always first time for everything. At first, you might feel it is hard to do, it is impossible to do. but when you start doing something and make it as habit, the impossible will turn into possible task. &lt;/p&gt;

&lt;p&gt;No one is perfect, including myself. I am not a super techy person but I am still trying to achieve my goal.&lt;/p&gt;

&lt;p&gt;One of my wise friends once said "Grab your opportunities, if not, make opportunities for you!"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7fl0vmm3d377hxaciwxt.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7fl0vmm3d377hxaciwxt.gif" alt="tenor" width="220" height="192"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Do not give up, believe in yourself! 💖&lt;br&gt;
Good luck with your journey and stay safe&lt;/p&gt;

</description>
      <category>wecoded</category>
    </item>
    <item>
      <title>REST architectural constraints</title>
      <dc:creator>Nishiki Asumi Yapa</dc:creator>
      <pubDate>Wed, 03 Mar 2021 13:25:51 +0000</pubDate>
      <link>https://dev.to/nishiki97/rest-architectural-constraints-4o03</link>
      <guid>https://dev.to/nishiki97/rest-architectural-constraints-4o03</guid>
      <description>&lt;p&gt;REST is a distributed network platform that uses Web protocols and technologies. The REST architecture includes client and server interactions built around resource transfer.&lt;br&gt;
Additionally, online publishers use REST by enabling Web page content and XML statements while delivering syndicated content to users. Users can access the web page through the URL of the website, read the XML file with a web browser, and interpret and use data as appropriate.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Constraints in REST&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;There are 6 constraints in REST. Such constraints limit the way the server can manage and respond to client requests, such that the system achieves desirable non-functional properties such as consistency, scalability, usability, editability, accessibility, portability and reliability by working within these constraints. If a system violates any of the necessary constraints, it cannot be called RESTful.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;uniform interface&lt;/li&gt;
&lt;li&gt;client-server&lt;/li&gt;
&lt;li&gt;stateless&lt;/li&gt;
&lt;li&gt;cacheable&lt;/li&gt;
&lt;li&gt;layered system&lt;/li&gt;
&lt;li&gt;code on demands&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Uniform interface&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As the name of the constraint itself applies, you MUST determine the APIs interface for resources within the network that is exposed to and faithfully followed by API users. A device resource should have only one logical URI, and that should provide a way to get relevant or supplementary data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bAaZTHJj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dq3ff4jeq0i50pjobf0w.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bAaZTHJj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dq3ff4jeq0i50pjobf0w.jpg" alt="uniform interface"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Client-server&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This basically means that applications for clients and servers Should be able to develop independently without any reliance on each other. A client should only know URIs for resources. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4UXVkiSm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m2y68pwitblipbw9bf80.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4UXVkiSm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m2y68pwitblipbw9bf80.jpeg" alt="client s erver"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stateless&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If the client application needs to be a stateful application for the end-user, where the user logs in once and then conducts other approved operations, then each client request will include all the information required to support the request–including authentication and authorization details. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Grz-fLBQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yim9o6fq7hxtdd0tpvsk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Grz-fLBQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yim9o6fq7hxtdd0tpvsk.png" alt="Screenshot (184)"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cacheable&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In REST, where necessary, caching must be applied to resources, and then those resources MUST declare themselves cacheable. Server or client-side caching may be applied. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uFPF6-uV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hgy4bloy26njosislw10.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uFPF6-uV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hgy4bloy26njosislw10.jpg" alt="cacheable"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Layered system&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;REST allows you to use a layered system architecture to deploy the APIs on server A, store data on server B, and, for example, authenticate requests in server C. A client can’t normally say whether it’s directly connected to the end server, or to an intermediary along the way. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--GyxW2_eG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qyjn1hjb52yr9ksyafyv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GyxW2_eG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qyjn1hjb52yr9ksyafyv.png" alt="Screenshot (185)"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code on demand&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The constraint is optional. Most of the time, you’ll send the static resource representations in XML or JSON format. But if you need to, you are free to return executable code to support a component of your application. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to create your first application using node.js?</title>
      <dc:creator>Nishiki Asumi Yapa</dc:creator>
      <pubDate>Thu, 18 Feb 2021 19:03:29 +0000</pubDate>
      <link>https://dev.to/nishiki97/how-to-create-your-first-application-using-node-js-5cb</link>
      <guid>https://dev.to/nishiki97/how-to-create-your-first-application-using-node-js-5cb</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;What is node.js?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Over the years, the modern web application has really come a long way with the implementation of many common frameworks like bootstrap, Angular JavaScript, etc. All these frameworks are based on popular application JavaScript. Yet there was a kind of void when it came to creating server-based applications, and this is where Node.js comes into the scenario. Node.js is also based on the JavaScript framework.&lt;/p&gt;

&lt;p&gt;Node.js is an open-source server-side runtime environment based on the JavaScript V8 engine from Chrome. This offers an event-driven asynchronous I / O and cross-platform runtime environment for the use of JavaScript to create highly scalable server-side applications.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How to install node.js to your machine?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Installation of node.js framework is the first step to start building the Node.js applications. The node.js framework is designed for a range of operating systems, from Windows to Ubuntu to OS X. You can start building your first node.js applications once the node.js framework is installed.&lt;/p&gt;

&lt;p&gt;Go to the [Link] https:/nodejs.org/en/download/ website and download the required binary files.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What is NPM (Node Package Manager)?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Node.js is installed to npm. The name NPM(Node Package Manager) derives from the time NPM was first created as Node.js package manager. All the NPM packages are defined in package.json files. The contents of package.json must be written in JSON.&lt;/p&gt;

&lt;p&gt;You can check the installed NPM version by using &lt;strong&gt;npm -v&lt;/strong&gt; command in command prompt.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Run your first application ‘Hello World’ in Node.js&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;After downloading and installing Node.js on your computer, let’s try displaying “Hello World” in a web browser. Let’s create a Node.js file with file name firstprogram.js in notepad.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rWNnJ2yj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0x9bqxkl5sroz0jfpfbn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rWNnJ2yj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0x9bqxkl5sroz0jfpfbn.png" alt="pic 3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can save your code in your preferred location and I’ll save it in: ‘D:\nodeJS’&lt;/p&gt;

&lt;p&gt;Navigate to the folder where the file is stored in the command prompt. Type ‘node firstprogram.js’ command in command prompt.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gCHfC8ln--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/44neg6yxvvyjp1yxbtxh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gCHfC8ln--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/44neg6yxvvyjp1yxbtxh.png" alt="pic 4"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now your computer is functioning as a server! If anyone on port 8080 tries to access your device, they will get the message “Hello World!” in return! Launch your browser, and enter the following address: http:/localhost:8080&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CATP8k9V--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vnt1717hyuia2tvfmxoq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CATP8k9V--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vnt1717hyuia2tvfmxoq.png" alt="pic 5"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Node.js can be installed through a package manager, too. The windows package manager is called Chocolatey. The Chocolatey package manager automatically downloads the appropriate files and then installs them on the client computer by executing a few simple commands in the command prompt.&lt;/p&gt;

&lt;p&gt;A basic program called Node.js consists of building a server that listens to a specific port. The server will immediately send a ‘Hello World’ message to the client when a request hits the server.&lt;/p&gt;

</description>
      <category>node</category>
    </item>
    <item>
      <title>Getting started with MongoDB</title>
      <dc:creator>Nishiki Asumi Yapa</dc:creator>
      <pubDate>Wed, 17 Feb 2021 21:23:04 +0000</pubDate>
      <link>https://dev.to/nishiki97/getting-started-with-mongodb-aa8</link>
      <guid>https://dev.to/nishiki97/getting-started-with-mongodb-aa8</guid>
      <description>&lt;p&gt;Before we start, let’s discover what is MongoDB and its features.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What is MongoDB?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;MongoDB is document-oriented, as known as the non-relational database used for the storage of high volume data.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What are the differences between relational and non-relational?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;MongoDB is based on Binary JSON (BSON). And it is a simple query language which combines rich and document-based queries. The MongoDB data contains a flexible schema. Unlike in SQL databases, where you must have the schema of a table declared before inserting data, the collections of MongoDB do not enforce document structure. That kind of flexibility is what makes MongoDB so strong.&lt;/p&gt;

&lt;p&gt;The environments on MongoDB are very scalable. Companies worldwide have identified clusters with some running 100 + nodes in the database with around millions of documents.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Why MongoDB?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Since MongoDB is a NoSQL style database, it stores the data in records, rather than having data in a relational type format. That makes MongoDB very versatile and adaptable to the situation and requirements of the real business world. And also Indexes can be created to improve search performance within MongoDB. It is possible to index any area in a MongoDB database.&lt;/p&gt;

&lt;p&gt;Below are some of MongoDB’s main term differences with RDBMS.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Procedure for installing MongoDB on windows&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;download MongoDB Community Edition&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;[Link] &lt;a href="https://www.mongodb.com/download-center/community?jmp=docs"&gt;https://www.mongodb.com/download-center/community?jmp=docs&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;When you select a version, you can select ‘MongoDB server 4.2’ since it is the latest one.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the package drop down you have to select ‘MSI’.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Run the previously downloaded MongoDB installer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Follow the MongoDB community edition installation wizard.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For more information on MongoDB installation:&lt;/p&gt;

&lt;p&gt;[Link] &lt;a href="https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/"&gt;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Crud operations in MongoDB&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Insert&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There are multiple ways to insert data into the database&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inserting a single document&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;db.collection.insertOne()&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inserting multiple documents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;db.collection.insertmany()&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inserting single/multiple documents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;db.collection.insert()&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ways to update data in the database&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;db.collection.updateOne(, , )&lt;/li&gt;
&lt;li&gt;db.collection.updateMany(, , )&lt;/li&gt;
&lt;li&gt;db.collection.replaceOne(, , )&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Delete&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ways to delete data in the database&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;db.collection.deleteMany()&lt;/li&gt;
&lt;li&gt;db.collection.deleteOne()&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can find more information on MongoDB:&lt;/p&gt;

&lt;p&gt;[Link] &lt;a href="https://docs.mongodb.com/manual/"&gt;https://docs.mongodb.com/manual/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mongodb</category>
      <category>database</category>
    </item>
    <item>
      <title>What is Artificial Intelligence?</title>
      <dc:creator>Nishiki Asumi Yapa</dc:creator>
      <pubDate>Wed, 13 Jan 2021 07:39:04 +0000</pubDate>
      <link>https://dev.to/nishiki97/what-is-artificial-intelligence-2emd</link>
      <guid>https://dev.to/nishiki97/what-is-artificial-intelligence-2emd</guid>
      <description>&lt;p&gt;When we first hear about artificial intelligence, it’s robots that have come to our mind. Then what is Artificial intelligence? Artificial intelligence as known as AI enables for robots to learn from experience, to adapt to new experiences, and to perform tasks of human nature.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Artificial intelligence, sometimes called machine intelligence, is intelligence demonstrated by machines, in contrast to the natural intelligence displayed by humans.” ~wikipidia&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Nowadays, everyone is using a smartphone. Siri in iPhones, google assistant in android is using this artificial intelligence. AI is used to filtering news in the most popularly used application — Facebook. And also google search engine using the same technology for filtering results. Artificial Intelligence is evolving quickly from these things to immense creatures like self-driving cars.&lt;/p&gt;

&lt;p&gt;Deep blue was manufactured by IBM, and that is the first computer to win chess in 1996 against the world record holder, Garry Kasper.&lt;/p&gt;

&lt;p&gt;Over time AI is capable of learning from errors, make them and move on. That’s how deep blue could win the competition in 1996. In late 2017 the team at Cornell University unveiled AlphaZero, which uses artificial intelligence to play chess, Go(Baduk), shogi(Japanese chess). In each case, it may be beating a world-champion program.&lt;/p&gt;

&lt;p&gt;AI is a fully human being who operates without the influence of other humans. A lot of things can be done using AI. Did you know that AI is capable of producing music without human help? Yes, it can!&lt;/p&gt;

&lt;h1&gt;
  
  
  How does Artificial Intelligence work?
&lt;/h1&gt;

&lt;p&gt;Data is fed (input) into the computer’s artificial neural network and output data, similar to the human process inside their nervous system. The computer is learning the way to analyze the data through humans at the first stage and then they could do it alone.&lt;br&gt;
In each nation, AI can be used to improve security in slots for parking, expressways, shops etc. In Sri Lanka, there is a company called AI &amp;amp; Vision Technology (Pvt) Ltd that has been working on the equipment that can use AI technology to read number plates on vehicles.&lt;/p&gt;

&lt;h1&gt;
  
  
  What is the difference between AI and Machine Learning?
&lt;/h1&gt;

&lt;p&gt;Many people have been facing in toughness in differing artificial intelligence and machine learning. People think as both terms are the same but they are not. ML’s purpose is to allow machines to learn on their own using the data provided and to make precise predictions.&lt;/p&gt;

&lt;p&gt;ML is a subset of artificial intelligence, merely a technique for AI realization. Computers have two ways to teach approaches as supervised learning and unsupervised instruction.&lt;br&gt;
‘Teachable machine’ is an application which can use to train the computer to recognize images, sounds etc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://teachablemachine.withgoogle.com/"&gt;https://teachablemachine.withgoogle.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope to discuss upcoming blogs on these topics. For further information on the AI and ML:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.geeksforgeeks.org/machine-learning-versus-artificial-intelligence/"&gt;https://www.geeksforgeeks.org/machine-learning-versus-artificial-intelligence/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
