<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shantun Singh Parmar</title>
	<atom:link href="https://shantunparmar.in/feed/" rel="self" type="application/rss+xml" />
	<link>https://shantunparmar.in/</link>
	<description>Software Engineer</description>
	<lastBuildDate>Thu, 20 Jun 2024 19:54:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7</generator>

<image>
	<url>https://shantunparmar.in/wp-content/uploads/2021/03/cropped-download-1-32x32.jpg</url>
	<title>Shantun Singh Parmar</title>
	<link>https://shantunparmar.in/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Debug a Node.js application in a Docker Container</title>
		<link>https://shantunparmar.in/how-to-debug-a-node-js-application-in-a-docker-container/</link>
					<comments>https://shantunparmar.in/how-to-debug-a-node-js-application-in-a-docker-container/#respond</comments>
		
		<dc:creator><![CDATA[Shantun Parmar]]></dc:creator>
		<pubDate>Tue, 23 Mar 2021 12:00:58 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[node.js]]></category>
		<guid isPermaLink="false">https://shantunparmar.in/?p=223</guid>

					<description><![CDATA[<p>In this post, we&#8217;ll investigate how you can troubleshoot a Node.js application in a Docker Container. More often than not you can be wealthy running your application on your nearby machine and use containers just to sandbox your data sets and informing lines. however a few bugs will show themselves just when the actual application...</p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/how-to-debug-a-node-js-application-in-a-docker-container/">How to Debug a Node.js application in a Docker Container</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this post, we&#8217;ll investigate how you can troubleshoot a Node.js application in a <a href="https://shantunparmar.in/what-is-a-docker-container-the-benefits-of-a-docker-container/">Docker Container.</a></p>



<p>More often than not you can be wealthy running your application on your nearby machine and use containers just to sandbox your data sets and informing lines. however a few bugs will show themselves just when the actual application is containerized also. In these cases, it is extremely useful to realize how to join a debugger to the assistance.</p>



<p>As per the Foundation&#8217;s Node.js Developer Survey, half of Node.js clients use Docker for advancement. While containerization. by and large, is an amazing asset &#8211; and here at RisingStack we generally fire new tasks by turning up the required foundation in a docker-compose.yaml. </p>



<p>It very well may be interesting to arrive at the encompassed Node measure on the off chance that you don&#8217;t have the foggiest idea how to do it.</p>



<h3 class="wp-block-heading"><strong>How to use the Node inspector</strong></h3>



<p>On the off chance that you for the most part use printf, also known as mountain man investigating. It very well may be hard to track down the perfect worth at the perfect time.</p>



<p>Things deteriorate in the event that you need to revamp your container image each time you add console.log to it. It very well may be much simpler to have the image assembled once and hop around inside it. Inspecting your factors while it&#8217;s running. </p>



<p>To all the more likely comprehend what we&#8217;re going to do here. I exceptionally propose to acclimate yourself with the hub investigate orders first.</p>



<p>To run your Node application in investigate mode, essentially add review after hub, something to that effect:</p>



<pre class="wp-block-code"><code>$ node inspect index.js
&lt; Debugger listening on ws://127.0.0.1:8289/5acd6217-0757-4761-55a3-6ab53455d7d25
&lt; For help, see: https://nodejs.org/en/docs/inspector
&lt; Debugger attached.
Break on start in index.js:1
&gt; 1 (function (exports, require, module, __filename, __dirname) { const http = require('http')
  2 const PORT = process.env.PORT || 3000
  3 
debug&gt; </code></pre>



<p>At the point when you run your code in review mode, it generally stops at the main line. Hanging tight for you to connect with it. For the individuals who were raised utilizing gdb to troubleshoot their code, this interface may be convincing. </p>



<p>Notwithstanding, in the event that you are accustomed to associating with your debugger utilizing a GUI. You should open up your chrome and explore to <strong>chrome://examine</strong> .</p>



<p>You should see something like this:</p>



<figure class="wp-block-image"><img decoding="async" src="https://blog.risingstack.com/content/images/2018/08/nodejs-docker-chrome-inspector.png" alt="Node.js with Docker Chrome Inspector"/></figure>



<p>Under remote target, click review and you&#8217;ll be given the Chrome Developer Tools debugger.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="637" height="627" src="https://shantunparmar.in/wp-content/uploads/2021/03/nodejs-docker-chrome-debugger.png" alt="How to Debug a Node.js app in a Docker" class="wp-image-224" srcset="https://shantunparmar.in/wp-content/uploads/2021/03/nodejs-docker-chrome-debugger.png 637w, https://shantunparmar.in/wp-content/uploads/2021/03/nodejs-docker-chrome-debugger-300x295.png 300w" sizes="(max-width: 637px) 100vw, 637px" /></figure>



<p>Presently you can utilize the debugger however you see fit. It&#8217;s an ideal opportunity to wrap our application in a container.</p>



<h3 class="wp-block-heading">Debugging Node.js in a Docker container</h3>



<p>First, we&#8217;ll need to create a Dockerfile,</p>



<pre class="wp-block-code"><code>FROM node

COPY package.json package.json  
RUN npm install

COPY . .  

EXPOSE 3000
CMD &#91;"node", "."]</code></pre>



<p>and a&nbsp;<code>docker-compose.yaml</code></p>



<pre class="wp-block-code"><code>version: '3.6'

services:
  app: 
    build: .
    ports:
      - "3000:3000" </code></pre>



<p>Presently on the off chance that you run docker-make up. you&#8217;ll have the option to arrive at your administration on <strong>http://localhost:3000</strong>.</p>



<p>The following stage is to uncover the troubleshoot port to the rest of the world. In the first place, we should make a <strong>debug-compose.yaml</strong>.</p>



<pre class="wp-block-code"><code>version: '3.6'

services:
  app: 
    build: .
    ports:
      - "3000:3000" 
      - "8289:8289"
    command:
      - node
      - "--inspect-brk=0.0.0.0"
      - "." </code></pre>



<p>As should be obvious, we opened up port 8289, which is the investigate port of Node.js applications. We additionally superseded the order we determined in the Dockerfile. The &#8211;inspect-brk=0.0.0.0 argument does two distinct things:</p>



<ul class="wp-block-list"><li>assess discloses to Node that we need to run our application in troubleshoot mode.</li><li>by adding &#8211; brk we likewise ensure that the application stops at the main line. So we have sufficient opportunity to open up the controller</li><li>adding =0.0.0.0 opens up the debugger to associations from any IP.</li></ul>



<p>Naturally, the monitor is bound to 127.0.0.1. Which bodes as well,we generally don&#8217;t have any desire to permit individuals from all around the globe to append a debugger to our application. </p>



<p>In any case, the compartment is an alternate host with an unexpected IP in comparison to our host machine. So we will not have the option to arrive at it. It is fine as long as we do it locally; nonetheless, we would prefer not to run it on a live worker like this.</p>



<p>For this reason&nbsp;<strong>make sure it is a different file from your&nbsp;<code>docker-compose.yaml</code></strong>.</p>



<p>With a smidgen more work, you can uncover the troubleshoot port from your arranging group to your IP. However all things considered, to your IP just — and investigate issues there also.</p>



<p>Additionally, note that the port sending rules are encased in &#8220;- s. In the event that you exclude the statements the standard probably won&#8217;t work. Making it hard to sort out why you can&#8217;t join the debugger to your cycle.</p>



<p>With all that said, you ought to have the option to investigate your application in the dev devices.</p>



<figure class="wp-block-image is-resized"><img decoding="async" src="https://blog.risingstack.com/content/images/2018/08/nodejs-docker-devtools-docker.png" alt="Node.js Docker Devtools" width="601" height="444"/></figure>



<h3 class="wp-block-heading">Happy debugging!</h3>



<p></p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/how-to-debug-a-node-js-application-in-a-docker-container/">How to Debug a Node.js application in a Docker Container</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://shantunparmar.in/how-to-debug-a-node-js-application-in-a-docker-container/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is a Docker Container: The Benefits of a Docker Container</title>
		<link>https://shantunparmar.in/what-is-a-docker-container-the-benefits-of-a-docker-container/</link>
					<comments>https://shantunparmar.in/what-is-a-docker-container-the-benefits-of-a-docker-container/#comments</comments>
		
		<dc:creator><![CDATA[Shantun Parmar]]></dc:creator>
		<pubDate>Thu, 04 Mar 2021 05:13:29 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://shantunparmar.in/?p=193</guid>

					<description><![CDATA[<p>Maybe you&#8217;re considering what Docker is. Absolutely, it&#8217;s an intriguing issue in distributed computing, one that individuals are securing adequate position openings with abilities in it. Yet, in the event that you don&#8217;t have the foggiest idea what is Docker and where it is utilized, you&#8217;ll always be unable to capitalize on these chances. Try...</p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/what-is-a-docker-container-the-benefits-of-a-docker-container/">What is a Docker Container: The Benefits of a Docker Container</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Maybe you&#8217;re considering what Docker is. Absolutely, it&#8217;s an intriguing issue in distributed computing, one that individuals are securing adequate position openings with abilities in it. Yet, in the event that you don&#8217;t have the foggiest idea what is Docker and where it is utilized, you&#8217;ll always be unable to capitalize on these chances. Try not to worry – we&#8217;re here to fill you in.</p>



<p>This article covers the accompanying subjects:</p>



<ul class="wp-block-list"><li>What is Docker?</li><li>What is Docker Container?</li><li>The advantages of Docker Container</li><li>Why you ought to learn this?</li></ul>



<p>Presently, let us start by seeing, precisely what is Docker.</p>



<h2 class="wp-block-heading">What Exactly is Docker?</h2>



<p>Evidently put, Docker is an open-source innovation utilized generally for creating, delivery, and running applications. With it, you can disconnect applications from their fundamental framework so programming conveyance is quicker than at any other time. Docker&#8217;s fundamental advantage is to bundle applications in &#8220;containers,&#8221; so they&#8217;re versatile for any framework running the Linux working framework (OS) or Windows OS. In spite of the fact that containers innovation has been around for some time, the promotion around Docker&#8217;s way to deal with containers has moved this way to deal with the standard as quite possibly the most mainstream types of containers innovation.</p>



<p>The brightness of Docker<a href="https://www.docker.com/"> </a>is that, when you bundle an application and every one of its conditions into a Docker run containers , you guarantee it will run in any climate. Additionally, DevOps experts can assemble applications with Docker and guarantee that they won&#8217;t meddle with one another. Subsequently, you can assemble a containers having various applications introduced on it and offer it to your QA group, which will at that point just need to run the containers to duplicate your current circumstance. Hence, utilizing Docker apparatuses saves time. Likewise, dissimilar to when utilizing Virtual Machines (VMs), you don&#8217;t need to stress over the thing stage you&#8217;re utilizing – Docker containers work all over.</p>



<h2 class="wp-block-heading">What is Docker Container?</h2>



<p>Presently, your interest about Docker containers is no uncertainty provoked. A Docker containers, as in part clarified above, is a standard unit of programming that saves code and every one of its conditions so the application runs quick and dependably from one processing climate to various ones. A Docker containers picture is a lightweight, independent, executable bundle of programming that has all you require to run an application – code, runtime, framework instruments, framework libraries, and settings.</p>



<p>Accessible for both Linux-and Windows-based applications, containerized programming will consistently run the equivalent, paying little mind to the framework. </p>



<p>containers confine programming from its current circumstance and guarantee that it works consistently notwithstanding contrasts.</p>



<h2 class="wp-block-heading">The advantages of <mark>Docker</mark> Container</h2>



<p>Docker Containers are famous now since they have Virtual Machines beat. VMs contain full duplicates of a working framework, the application, important doubles, and libraries &#8211; taking up several GBs. VMs can likewise be delayed for sure. Interestingly, Docker containers occupy less room (their pictures are typically just several MBs large), handle more applications, and utilize less VMs and Operating Systems. Hence, they&#8217;re more adaptable and reasonable. Also, utilizing Docker in the cloud is mainstream and gainful. Truth be told, since different applications can run on top of a solitary OS example, this can be a more viable approach to run them.</p>



<p>Another particular advantage of Docker containers is their capacity to keep applications confined from one another as well as from their fundamental framework. </p>



<p>This allows you effectively to direct how a designated containerized unit utilizes its framework assets, similar to its CPU, GPU, and organization. It likewise effectively guarantees information and code stay independent.</p>



<h2 class="wp-block-heading">Enable Portability</h2>



<p>A Docker Containers runs on any machine that underpins the compartment&#8217;s run-time climate. You don&#8217;t need to attach applications to the host working framework, so both the application climate and the basic working climate can be kept perfect and negligible.</p>



<p>You can promptly move containers based applications from frameworks to cloud conditions or from engineers&#8217; workstations to workers if the objective framework underpins Docker and any of the outsider instruments that may be utilized with it.</p>



<h2 class="wp-block-heading">Enable Composability</h2>



<p>Most business applications comprise of a few separate segments coordinated into a stack—a web worker, an information base, an in-memory reserve. Compartments empower you to form these pieces into a practical unit with effectively inconsistent parts. An alternate compartment gives each piece so each can be kept up, refreshed, traded out, and adjusted freely of the others.</p>



<p>Fundamentally, this is the microservices model of use plan. By isolating application usefulness into discrete, independent administrations, the model offers a choice to moderate, conventional improvement measures and firm applications. Lightweight, versatile containers simplify it to make and support microservices-based applications.</p>



<h2 class="wp-block-heading">Why you ought to learn This?</h2>



<p>Clearly, This is significant – and its pervasiveness in the work market is mind boggling. A new hunt on LinkedIn uncovered 28,941 positions the nation over are accessible. With cloud and Docker turning out to be more connected each day, that request will just develop. Consequently, you need to have apparatuses to have a brilliant future in DevOps.</p>



<p>In any case, on the off chance that you truly wanna ace Docker and be a DevOps star, choose affirmation in the field. Take up Simplilearn&#8217;s DevOps Engineer Program. You&#8217;ll leave an expert of many: This will set you up for a profession in DevOps, the quickly developing field that overcomes any barrier between programming engineers and activities. </p>



<p>You&#8217;ll turn into a specialist in the standards of consistent turn of events and organization, robotization of setup the board, between group cooperation, and IT administration dexterity, utilizing current DevOps apparatuses like Git, Docker, Jenkins, Cucumber, Ansible, TeamCity, and Nagios. Envision that! You&#8217;ll figure out how to clarify the kinds of variant control frameworks, constant joining devices, consistent observing apparatuses, and cloud models. You&#8217;ll likewise portray the significance of cloud in DevOps, utilization of AWS in DevOps, and send your private Kubernetes group. You will even set up a test-driven improvement structure with Junit 5 and a conduct driven advancement system with cucumber. Try not to stand by any more. Since you understand what Docker is utilized for, learn it!</p>



<p>For any query reach me @ <a href="//shantunparmar.in/contact-me/">contact</a></p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/what-is-a-docker-container-the-benefits-of-a-docker-container/">What is a Docker Container: The Benefits of a Docker Container</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://shantunparmar.in/what-is-a-docker-container-the-benefits-of-a-docker-container/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>JavaScript: Techniques for Checking if a Key Exists in an Object</title>
		<link>https://shantunparmar.in/javascript-check-if-key-exists-quick-guide/</link>
					<comments>https://shantunparmar.in/javascript-check-if-key-exists-quick-guide/#respond</comments>
		
		<dc:creator><![CDATA[Shantun Parmar]]></dc:creator>
		<pubDate>Sat, 16 Jan 2021 19:50:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://shantunparmar.in/?p=245</guid>

					<description><![CDATA[<p>The language of the web is Javascript. It is a scripting language, meaning that each line is interpreted rather than compiled. This post will go into great detail on what Javascript keys and objects are as well as how to determine whether an object has a key. We&#8217;ll go over many techniques for determining whether...</p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/javascript-check-if-key-exists-quick-guide/">JavaScript: Techniques for Checking if a Key Exists in an Object</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The language of the web is Javascript. It is a scripting language, meaning that each line is interpreted rather than compiled. This post will go into great detail on what Javascript keys and objects are as well as how to determine whether an object has a key. We&#8217;ll go over many techniques for determining whether a key exists in an item.</p>



<h2 class="wp-block-heading">What in JavaScript are Objects?</h2>



<p><br>Data is stored in the form of &#8220;key-value&#8221; pairs using hashmaps in C++, and similarly, data is stored in the same manner using Javascript objects. In summary, objects in Javascript are non-primitive data structures that hold an unordered set of key-value pairs.</p>



<p>Objects are collections of properties because properties represent the associations between key and value.</p>



<p>For illustration, we&#8217;ve defined an object called &#8220;car&#8221; below with a number of characteristics.</p>



<pre class="wp-block-code"><code>let car = {
    name: "Audi",
    model: 2015,
    price: 340000
};</code></pre>



<p>For the object &#8220;car,&#8221; a number of characteristics are defined, including name, model, and price. Here, the keys are indicated by the name, model, and price; the values that correlate to the linked keys are &#8220;Audi,&#8221; 2015, and 340000.</p>



<h2 class="wp-block-heading">What JavaScript Keys Are There?</h2>



<p>Keys are usually used as names or identifiers to access an object&#8217;s properties, as was covered in the preceding section.</p>



<p>Let&#8217;s use an illustration. Let&#8217;s say we have an object called &#8220;student&#8221; with multiple properties, such as age, rollnumber, lastName, and firstName.</p>



<pre class="wp-block-code"><code>let student = {
    firstName:"Joshua",
    lastName:"Benz",
    rollnumber:2000104,
    age:16
};</code></pre>



<h2 class="wp-block-heading">How to Check if the Key Exists in an Object?</h2>



<p>We are now aware of keys and things. What would happen if we wanted to see if an item contained a key? Using only the prior example, how can we determine whether the key &#8220;age&#8221; is present in the object &#8220;student&#8221; or not? Let&#8217;s examine this.</p>



<p>There are various methods for determining whether a key is present in an object.</p>



<p><strong>Syntax:</strong></p>



<p>The &#8220;in&#8221; operator can be used as follows in syntax:</p>



<pre class="wp-block-code"><code>‘key’ in object_name;</code></pre>



<p>&#8220;key&#8221; in object_name; let&#8217;s use an example to better understand it. An object called &#8220;employee&#8221; has specific key-value pairs (properties). We&#8217;ll see if the employee object has a specific key or not. The following code can be used to check using the &#8220;in&#8221; operator.</p>



<pre class="wp-block-code"><code>//defining an object employee
let employee={
&nbsp;&nbsp;&nbsp;&nbsp;empId:2301,
&nbsp;&nbsp;&nbsp;&nbsp;name: "Joshua",
&nbsp;&nbsp;&nbsp;&nbsp;email:"josh232@gmail.com",
&nbsp;&nbsp;&nbsp;&nbsp;age:32
};

//both the statements below return true
'name' in employee;
'age' in employee;

//below statement returns false
'salary' in employee</code></pre>



<pre class="wp-block-code"><code>true
true
false</code></pre>



<p>The code above checks to see if the name and age keys are present in the object &#8220;employee&#8221; and returns true if they are. However, it returns false when the key &#8220;salary&#8221; is not present in the object.</p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/javascript-check-if-key-exists-quick-guide/">JavaScript: Techniques for Checking if a Key Exists in an Object</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://shantunparmar.in/javascript-check-if-key-exists-quick-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to become proficient blockchain developer?</title>
		<link>https://shantunparmar.in/how-to-become-proficient-blockchain-developer/</link>
					<comments>https://shantunparmar.in/how-to-become-proficient-blockchain-developer/#respond</comments>
		
		<dc:creator><![CDATA[Shantun Parmar]]></dc:creator>
		<pubDate>Thu, 03 Dec 2020 16:26:00 +0000</pubDate>
				<category><![CDATA[Blockchain]]></category>
		<category><![CDATA[blockchain]]></category>
		<category><![CDATA[crypto]]></category>
		<guid isPermaLink="false">http://shantunparmar.in/?p=187</guid>

					<description><![CDATA[<p>Need to turn into a Blockchain proficient however don&#8217;t have a clue where to begin? Considering what are the ranges of abilities required and how to turn into a capable Blockchain engineer? Indeed, we have you covered. Table of content OverviewAbilities Required to be a Blockchain ProfessionalConclusion: instructions to Become One? Overview Blockchain is a...</p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/how-to-become-proficient-blockchain-developer/">How to become proficient blockchain developer?</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Need to turn into a Blockchain proficient however don&#8217;t have a clue where to begin? Considering what are the ranges of abilities required and how to turn into a capable Blockchain engineer? Indeed, we have you covered.</p>



<h3 class="wp-block-heading">Table of content</h3>



<p>Overview<br>Abilities Required to be a <strong>Blockchain</strong> Professional<br>Conclusion: instructions to Become One?</p>



<p><strong>Overview</strong></p>



<p><strong>Blockchain</strong> is a developing innovation whose coming has surprised the world. It is a P2P decentralized dispersed record innovation that guarantees straightforwardness, permanence, and wellbeing of recorded exchanges without including any focal power. As of now, Blockchain innovation is one of the quickest developing areas. </p>



<p>Associations and organizations are chasing for <strong>Blockchain </strong>Developers to make new executions and advance their current cycles, and excel on the lookout. In any case, here, note that they are searching for talented experts who are less in accessibility. In this way so as to make higher progress, it is essential to ace the aptitudes of <strong>Blockchain </strong>innovation.</p>



<p><br><strong>Skills Required to be a Blockchain Professional</strong></p>



<p>Presently without further deferring we should comprehend what are ranges of abilities needed to turn into an effective Blockchain proficient.</p>



<p><strong>Blockchain Fundamentals</strong></p>



<p>There are a couple of abilities that are an absolute necessity so as to turn into a capable Blockchain proficient. So it bodes well that you comprehend and realize what its basics are. The essential agreement incorporates appropriated frameworks and ideas of systems administration alongside inside and out information on shrewd agreements and cryptography.&nbsp;</p>



<p>At amateurs level, an essential comprehension of what is Blockchain and how it functions, why it is a dispersed P2P organization? What are the advantages and use-cases? Understanding what are distinctive Blockchain advancements will be sufficient for the underlying stage?</p>



<p><strong>Get Extensive Knowledge of Data Structures and Programming Languages</strong></p>



<p>On the off chance that you have just chosen to turn into a Blockchain Developer, it is essential to comprehend information structures so as to comprehend the perplexing structure of Blockchain. This innovation utilizes a lot of information structures alongside cutting edge cryptography for building a safe and permanent framework. </p>



<p>Hence, one ought to have active experience on connected records, charts, hash maps, Markel trees, search trees, and so forth Having information just about Blockchain will be viewed as fragmented. Henceforth, it is critical to comprehend the information structures appropriately. </p>



<p>Aside from learning information structures, you ought to likewise consider learning a couple of programming dialects, for example, Java, Solidity, C++, Python. You can likewise learn JavaScript, Ruby, C#, and so on, alongside the dialects referenced previously.</p>



<p><strong>Become proficient in Blockchain Architecture</strong></p>



<p>It is significant that an engineer has a magnificent comprehension of the working of a Blockchain and its design. Directly from understanding its engineering nuts and bolts to understanding instruments required, you should increase a top to bottom comprehension of everything identified with Blockchain design. </p>



<p>It is the duty of a Blockchain designer to comprehend business parts and specialized components of blockchain engineering, and figure out how to make an interpretation of necessities into capacities, architecting your own Blockchain arrangements, and so on</p>



<p><strong>Know About Blockchain Security</strong></p>



<p>Security aptitudes are compulsory in the event that you are intending to turn into a fruitful Blockchain Developer. You should increase an intensive comprehension of Merkle Tree, cryptographic hashing, private key, and public-key cryptography, and significantly more. </p>



<p>You have to have a total comprehension of Blockchain&#8217;s characteristic security includes and related danger, top to bottom information on best security rehearses for Blockchain foundation, investigation of known Blockchain digital assaults, capacity to separate between Blockchain digital assaults and dangers, and capacity to alleviate Blockchain security hazard. </p>



<p>In the event that this sounds excessively, you can get selected Blockchain Council that covers all known parts of Blockchain security existing in the Blockchain climate today and become a Certified Blockchain Security Professional.</p>



<p><strong>Understand Various Blockchain Platforms</strong></p>



<p>Picking the best Blockchain stage for your undertaking can be an overwhelming assignment. In this way so as to create Blockchain-based applications, it is important to have an away from of its different stages. Blockchain stages empower the advancement of Blockchain-based applications that are in incredible interest and helpful for organizations and undertakings. </p>



<p>The Blockchain stages, for example, Ethereum, Hyperledger, R3, Ripple, and EOS are utilized generally by ventures, new businesses, and SMEs. </p>



<p>Scarcely any famous blockchain-based stages, for example, R3 Corda, Quorum, Ripple, Ethereum, Hyperledger are a portion of the amazing stages that an amateur can begin to find out about.</p>



<p><strong>Conclusion: How to Become one of them?</strong></p>



<p>Turning into an expert in this area has become a lot less difficult currently, all gratitude to the huge loads of web based learning material. On the off chance that you are wanting to begin a vocation in the Blockchain space, presently is the ideal chance to get into Blockchain advancement. For this, Blockchain Council, a universally eminent online stage, can assist you with turning into a Certified Blockchain Developer/Architect.</p>



<p>You may checkout blockchain ICO <a href="https://shantunparmar.in/portfolio/">here</a></p>



<p>Read more about blockchain <a href="https://www.coodingdessign.com/category/blockchain">here</a></p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/how-to-become-proficient-blockchain-developer/">How to become proficient blockchain developer?</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://shantunparmar.in/how-to-become-proficient-blockchain-developer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>For what reason Should You Use Top-level Await in JavaScript?</title>
		<link>https://shantunparmar.in/for-what-reason-should-you-use-top-level-await-in-javascript/</link>
					<comments>https://shantunparmar.in/for-what-reason-should-you-use-top-level-await-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Shantun Parmar]]></dc:creator>
		<pubDate>Wed, 04 Nov 2020 16:21:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://shantunparmar.in/?p=183</guid>

					<description><![CDATA[<p>Before the presentation of high level anticipate, in the event that you actually attempt to utilize the anticipate watchword outside of an async work, you would get a Syntax mistake. To stay away from this, engineers utilized Immediately Invoked Function Expressions(IIFEs). Be that as it may, the above case and arrangement is only a glimpse...</p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/for-what-reason-should-you-use-top-level-await-in-javascript/">For what reason Should You Use Top-level Await in JavaScript?</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Before the presentation of high level anticipate, in the event that you actually attempt to utilize the anticipate watchword outside of an async work, you would get a Syntax mistake. To stay away from this, engineers utilized <strong>Immediately Invoked Function Expressions(IIFEs)</strong>.</p>



<p><strong>Be that as it may, the above case and arrangement is only a glimpse of something larger.</strong></p>



<p>At the point when you work with ES6 modules, there will be plentiful occasions where you will trade esteems and bringing in them. We should take a gander at such a model.&nbsp;</p>



<p>In the above model, we fare and import factors among&nbsp;library.js&nbsp;and&nbsp;middleware.js&nbsp;. You can name the documents in any capacity you need.</p>



<p>In the event that you cautiously see, you would see a&nbsp;delay&nbsp;function that essentially restores a Promise which would resolve after a break. Since it is nonconcurrent, we utilize the&nbsp;await&nbsp;catchphrase inside our async IIFE to stand by until the execution finishes.</p>



<p> In a true model, the guarantee would be supplanted by a get call or an errand of non concurrent nature. When the guarantee is settled, we appoint qualities to our factors which are processed from the capacities imported from&nbsp;<strong>library.js</strong>&nbsp;.</p>



<p id="3b65">This basically means that our variables are&nbsp;<code>undefined</code>&nbsp;until the promise gets resolved.</p>



<p id="4680">When you have a look at the end of the above code snippet, you will see that the variables we have calculated are being exported, so that another module can use them.</p>



<p id="e7d3">Let’s look at a module that imports and uses the above-exported variables.</p>



<p id="1e67">If you run the above code snippet, you will notice that the first two log statements are undefined and the latter print values 169 and 13. How does this happen?</p>



<p id="39d9">This is because the exports from the module&nbsp;<code>middleware.js</code>&nbsp;are accessed by&nbsp;<code>main.js</code>&nbsp;before the completion of the async function.&nbsp;<em>Remember we had a promise waiting to be resolved…</em></p>



<p id="64bd"><em>To solve this problem, we should somehow notify the modules importing these variables when it is ready to access them.</em></p>



<h2 class="wp-block-heading" id="95a7"><strong>Workarounds</strong></h2>



<p id="3458">There are two commonly used workarounds available for the above problem.</p>



<p id="cde2"><strong>1.Export a Promise to represent initialization</strong></p>



<p id="0634">You can export the IIFE and can use that to identify when the exports are ready to be accessed. The&nbsp;<code>async</code>&nbsp;keyword makes a method&nbsp;<strong>asynchronous</strong>, which in turn&nbsp;<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function">always&nbsp;<strong>returns a promise</strong></a><strong>.&nbsp;</strong>This is why the async IIFE returns a promise in the below solution.</p>



<p id="47c9">When you access these exports from&nbsp;<code>main.js</code>&nbsp;, you can wait for the async IIFE to resolve and then access the variables.</p>



<p id="5a72">Although the above solution does the job, it introduces some new problems.</p>



<ul class="wp-block-list"><li>Everyone should start following this pattern as a standard as you have to find the right promise to wait.</li><li>If another module depends on the variables&nbsp;<code>squareOutput</code>&nbsp;and&nbsp;<code>diagonalOutput</code>&nbsp;from&nbsp;<code>main.js</code>&nbsp;, we should make sure we re-export the IIFE promise as well. So that the other module too knows when to access our variables.</li></ul>



<p id="b4f6">There is another workaround that tackles the above-said issues.</p>



<p id="58c6"><strong>2.Resolve the IIFE guarantee with the factors that ought to be exported</strong></p>



<p id="9370">In this workaround, as opposed to sending out the factors independently, we return them from our async IIFE. This permits our&nbsp;<code>main.js</code>&nbsp;file to just trust that the guarantee will resolve and recover the value.</p>



<p id="e100">But this arrangement also has its own arrangement of complications.</p>



<p id="5a66">According to the proposition, &#8220;this example has the bothersome impact of requiring a wide redesign of the connected source into more powerful examples and setting a significant part of the module body inside the&nbsp;<code>.then()</code>&nbsp;callback to utilize the progressively accessible imports. </p>



<p id="5a66">This addresses a critical relapse regarding static investigate capacity, test capacity, ergonomics, and the sky is the limit from there, contrasted with <strong>ES2015</strong> modules&#8221;.</p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/for-what-reason-should-you-use-top-level-await-in-javascript/">For what reason Should You Use Top-level Await in JavaScript?</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://shantunparmar.in/for-what-reason-should-you-use-top-level-await-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to create an dynamic sitemap for wordpress sites? Do your own seo.</title>
		<link>https://shantunparmar.in/how-to-create-an-dynamic-sitemap-for-wordpress-sites-do-your-own-seo/</link>
					<comments>https://shantunparmar.in/how-to-create-an-dynamic-sitemap-for-wordpress-sites-do-your-own-seo/#respond</comments>
		
		<dc:creator><![CDATA[Shantun Parmar]]></dc:creator>
		<pubDate>Wed, 14 Oct 2020 15:58:00 +0000</pubDate>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[webdevelopment]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://shantunparmar.in/?p=173</guid>

					<description><![CDATA[<p>What is sitemap? A sitemap is where you give data about the pages, recordings, and different documents on your site, and the connections between them. Web indexes like Google read this document to all the more astutely slither your website. A sitemap reveals to Google which pages and documents you believe are significant in your...</p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/how-to-create-an-dynamic-sitemap-for-wordpress-sites-do-your-own-seo/">How to create an dynamic sitemap for wordpress sites? Do your own seo.</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>What is sitemap?</strong></h2>



<p>A <strong>sitemap</strong> is where you give data about the pages, recordings, and different documents on your site, and the connections between them. Web indexes like Google read this document to all the more astutely slither your website. </p>



<p>A sitemap reveals to <strong>Google</strong> which pages and documents you believe are significant in your site, and furthermore gives important data about these records: for instance, for pages, when the page was last refreshed, how frequently the page is changed, and any other language adaptations of a page.</p>



<p><strong>How to create in wordpress?</strong></p>



<p>WordPress has similar structure if you are running a blog and you need to listed category and post in sitemap. If you will go for free tool you will get limited url indexed in sitemap. However you want to create sitemap , You have to include&nbsp;<strong>wp-blog-header.php</strong>&nbsp;as per your located file. It will allow you to access <strong>wordpress</strong> DB connection. For example :</p>



<p>I have placed a file&nbsp;<a href="https://www.coodingdessign.com/">https://www.coodingdessign.com/</a>&nbsp;over root folder and allowed</p>



<p><strong><code>include (‘/var/www/html/’ . $file . ‘/wp-blog-header.php’);</code></strong><br><br>//$file means your root path which might be different</p>



<p><strong>1.Add categories to sitemap first</strong></p>



<p>There are two types to add category pages , You may pick from database then can create url then added to sitemap , Else you can scrap data from live url which will return complete url of category as i have followed second way. For which i have added a <strong>http.php </strong>client library to get content and it will return all url containing categories.</p>



<p><strong>2. Add to all post urls to sitemap</strong></p>



<p>Being a wordpress developer as you know all post saved in&nbsp;<strong>wp_posts</strong>&nbsp;table over there you can see guid column. You need to fetch all post and add to sitemap.</p>



<p><strong>3.How to create structure for sitemap</strong></p>



<p>To create structure and get best crawling you need to require four fields:</p>



<p>I. &lt;loc&gt;<br>II.&lt;changefreq&gt;<br>III.&lt;lastmod&gt;<br>IV.&lt;priority&gt;</p>



<p>Loc means your category/page/post URL which needs to be crawl<br>Change Freq will depicts timely updated data<br>Last mode as it’s say last modification of your page/post<br>Priority mean which url need to be highly crawled</p>



<p>You can generate sitemap you have wordpress knowledge or not. There are two parameter one as&nbsp;<strong>$file</strong>&nbsp;which means your domain name. Another is&nbsp;<strong>$ishttp</strong>&nbsp;that means your site is SSL secure or not .</p>



<p>Example $file=’coodingdessign.com’<br>$ishttp = 1 or 0;</p>



<p>To get complete code please visit here: <a href="https://github.com/shantun7792/sitemaps">Github</a></p>
<p>The post <a rel="nofollow" href="https://shantunparmar.in/how-to-create-an-dynamic-sitemap-for-wordpress-sites-do-your-own-seo/">How to create an dynamic sitemap for wordpress sites? Do your own seo.</a> appeared first on <a rel="nofollow" href="https://shantunparmar.in">Shantun Singh Parmar</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://shantunparmar.in/how-to-create-an-dynamic-sitemap-for-wordpress-sites-do-your-own-seo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
