<?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: Abhay Prajapati</title>
    <description>The latest articles on DEV Community by Abhay Prajapati (@theabhayprajapati).</description>
    <link>https://dev.to/theabhayprajapati</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%2F833427%2F0f28495e-0f43-4248-a16c-1925515a2b81.jpeg</url>
      <title>DEV Community: Abhay Prajapati</title>
      <link>https://dev.to/theabhayprajapati</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/theabhayprajapati"/>
    <language>en</language>
    <item>
      <title>I made a maze which follows the principles of the 👑 N-Queen Problem.</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Sun, 28 Aug 2022 10:03:23 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/i-made-a-maze-which-follows-the-principles-of-the-n-queen-problem-1eln</link>
      <guid>https://dev.to/theabhayprajapati/i-made-a-maze-which-follows-the-principles-of-the-n-queen-problem-1eln</guid>
      <description>&lt;p&gt;&lt;a href="https://nqueen.vercel.app/"&gt;try Maze!&lt;/a&gt;&lt;br&gt;
The maze is a simple chess board with &lt;em&gt;n number of rows and columns&lt;/em&gt;.&lt;br&gt;
The work is simple for n number of rows and columns you have to place n number of queens in such a way that none of the queens should intersect to its rows, columns, and even diagonals.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qEUvDmmT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kv5qgspz371u2fv3mvmg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qEUvDmmT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kv5qgspz371u2fv3mvmg.png" alt="Nqueens" width="644" height="642"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In Computer Science the main goal is solve this problem in minimum number of attempts.&lt;/p&gt;

&lt;p&gt;There are several ways to solve this problem using methods like brute force, backtracking, dynamic programming etc.&lt;br&gt;
Give it a try!&lt;br&gt;
&lt;a href="https://nqueen.vercel.app/"&gt;n-queen&lt;/a&gt;&lt;/p&gt;

</description>
      <category>problem</category>
      <category>project</category>
      <category>nqueen</category>
      <category>maze</category>
    </item>
    <item>
      <title>Recoil: How was your experience using it ?</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Tue, 26 Jul 2022 04:17:54 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/recoil-how-was-your-experience-using-it--350o</link>
      <guid>https://dev.to/theabhayprajapati/recoil-how-was-your-experience-using-it--350o</guid>
      <description>&lt;p&gt;Explain your experience while using &lt;strong&gt;Recoil&lt;/strong&gt;, what benefits your got? are you enjoying it?, even try make a comparison with any state management that you have used before.&lt;br&gt;
Also, what's your views on state management ?. &lt;/p&gt;

</description>
      <category>discuss</category>
      <category>recoil</category>
      <category>react</category>
      <category>state</category>
    </item>
    <item>
      <title>So tried bun! the new JS runtime.</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Fri, 08 Jul 2022 03:12:57 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/so-tried-bun-the-new-js-runtime-1bdd</link>
      <guid>https://dev.to/theabhayprajapati/so-tried-bun-the-new-js-runtime-1bdd</guid>
      <description>&lt;h1&gt;
  
  
  bun-scripts
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;curl https://bun.sh/install | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;after this i opened my .bashrc and added the following line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;BUN_INSTALL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/root/.bun"&lt;/span&gt;
&lt;span class="nv"&gt;PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$BUN_INSTALL&lt;/span&gt;&lt;span class="s2"&gt;/bin:&lt;/span&gt;&lt;span class="nv"&gt;$PATH&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="c"&gt;# as it wasn't added automatically, i added it manually&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;i restarted my terminal and it worked! 🎉&lt;/p&gt;

&lt;h2&gt;
  
  
  working with &lt;a href="//./.env"&gt;.env&lt;/a&gt; and bun
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# then i did a fancy stuff&lt;/span&gt;
&lt;span class="nb"&gt;echo &lt;/span&gt;&lt;span class="nv"&gt;PORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;5000 &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; .env
&lt;span class="nb"&gt;touch &lt;/span&gt;http.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// http.js&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;PORT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;// USING ENVIRONMENT VARIABLES WITHOUT DOTENV MODULES.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;bun run http.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F06ex1iafdpeqexvsm514.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F06ex1iafdpeqexvsm514.png" alt="bunrun"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  checkout the code &lt;a href="https://github.com/theabhayprajapati/bun-projects" rel="noopener noreferrer"&gt;@repo&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;sugggest me what should i try next with &lt;a href="https://bun.sh" rel="noopener noreferrer"&gt;bun&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🤝🏾Connect me on:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Twitter&lt;/strong&gt;: 🕊️&lt;a href="https://twitter.com/Abhayprajapati_" rel="noopener noreferrer"&gt;&lt;code&gt;@Abhayprajapati_&lt;/code&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Github&lt;/strong&gt;: 🐧&lt;a href="https://github.com/theabhayprajapati" rel="noopener noreferrer"&gt;&lt;code&gt;@theabhayprajapati&lt;/code&gt;&lt;/a&gt; &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>bunjs</category>
      <category>node</category>
      <category>discuss</category>
    </item>
    <item>
      <title>I Got access to the Dall-E 2 and here what i created first</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Fri, 17 Jun 2022 08:20:02 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/i-got-access-to-the-dall-e-2-and-here-what-i-created-first-58dd</link>
      <guid>https://dev.to/theabhayprajapati/i-got-access-to-the-dall-e-2-and-here-what-i-created-first-58dd</guid>
      <description>&lt;p&gt;it was Thu, Apr 7, 10:52 PM when i joined the waitlist for the Dall-E 2.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcbfdxqorrmo6yc2hh08v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcbfdxqorrmo6yc2hh08v.png" alt="waitlist for dalle"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;comeback to today I got access to for using it, big thanks to the Dall-E 2 team for giving me access to it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fycgjix65i1r13cgq7ji7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fycgjix65i1r13cgq7ji7.png" alt="createwithdalle"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  I x Dalle
&lt;/h2&gt;

&lt;p&gt;actually i has been interacting with ai model / tool like Github Copilot, and i was impressived by the way it worked.&lt;br&gt;
So i was super excited to try dalle out&lt;/p&gt;

&lt;p&gt;Here, are few results of my first try with dalle&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;live 🔴&lt;/strong&gt; &lt;a href="https://labs.openai.com/s/rwLP4Wa7Dur2JEyUIZywdDR1" rel="noopener noreferrer"&gt;Abhay x Dall•E&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://labs.openai.com/s/rwLP4Wa7Dur2JEyUIZywdDR1" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnsjgwg2elh0cujtrfbyk.png" title="Abhay X Dalle" alt="Abhay X Dalle"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br&gt;
“Nikola tesla working on a Gadget, pixel art”&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;this is my favourite one, i am super impressed by the way it &lt;br&gt;
worked&lt;/p&gt;

&lt;p&gt;share your comment that i should try with dalle out&lt;/p&gt;

&lt;p&gt;&lt;a href="https://twitter.com/abhayprajapati_" rel="noopener noreferrer"&gt;twitter : @abhayprajapati_&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>dalle</category>
      <category>machinelearning</category>
      <category>models</category>
    </item>
    <item>
      <title>OOPs Lecture 1</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Fri, 10 Jun 2022 15:14:37 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/oops-lecture-1-2lbk</link>
      <guid>https://dev.to/theabhayprajapati/oops-lecture-1-2lbk</guid>
      <description>&lt;h1&gt;
  
  
  OOPs Lecture 1
&lt;/h1&gt;

&lt;p&gt;learned about contructor's&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;here is what understand about contructor is that;&lt;/li&gt;
&lt;li&gt;we can create object of a class
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Person&lt;/span&gt;&lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="nc"&gt;String&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;creating object of class Person&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="c1"&gt;// &lt;/span&gt;
&lt;span class="nc"&gt;Person&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Person&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"John"&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;age&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;// so here as we have not created constutor's we need to write p.name; p.age;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Human&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="nc"&gt;String&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="nf"&gt;Human&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="o"&gt;){&lt;/span&gt;
        &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;age&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="nc"&gt;Human&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Human&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"John"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// as we have created constuctor's we need not to write h.name; h.age;&lt;/span&gt;
&lt;span class="c1"&gt;// else we add that in the parameter of constructor's/fn&lt;/span&gt;
&lt;span class="c1"&gt;// contructors is a special function that is used to initialize the object&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;pay attention to the &lt;strong&gt;this&lt;/strong&gt; keyword;&lt;br&gt;
it is nothing but the object itself;&lt;br&gt;
&lt;code&gt;this.name == h.name&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;under the hood the &lt;code&gt;this&lt;/code&gt; keyword will be replaced by the object (&lt;code&gt;h&lt;/code&gt;) itself&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If we donot provide &lt;code&gt;this&lt;/code&gt; then we need to always need to write &lt;code&gt;h.name&lt;/code&gt; object name;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://github.com/theabhayprajapati/dsa/blob/trunk/OOPs/learn/Intro.java"&gt;&lt;strong&gt;&lt;em&gt;repo for code🧑🏻‍💻&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🤝🏾Connect me on:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Twitter&lt;/strong&gt;: 🕊️&lt;a href="https://twitter.com/Abhayprajapati_"&gt;&lt;code&gt;@Abhayprajapati_&lt;/code&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Github&lt;/strong&gt;: 🐧&lt;a href="https://github.com/theabhayprajapati"&gt;&lt;code&gt;@theabhayprajapati&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://github.com/theabhayprajapati/dsa/blob/trunk/OOPs/learn/Intro.md"&gt;&lt;strong&gt;&lt;em&gt;suggest and edit🖋️&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>oops</category>
      <category>objects</category>
      <category>programming</category>
    </item>
    <item>
      <title>remove windows home screen icons with this</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Sun, 22 May 2022 12:10:21 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/remove-windows-home-screen-icons-with-this-2fmn</link>
      <guid>https://dev.to/theabhayprajapati/remove-windows-home-screen-icons-with-this-2fmn</guid>
      <description>&lt;p&gt;if you want a clean home screen with any apps/file/folder on windows you can try this &lt;/p&gt;

&lt;p&gt;leftclick &amp;gt; views &amp;gt; uncheck &lt;code&gt;show desktop icons&lt;/code&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jwNchZgK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d4vloz26itoat1bq9dkt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jwNchZgK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d4vloz26itoat1bq9dkt.png" alt="show desktop icons" width="880" height="578"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;wow so clean 😲,&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sBvC67wn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/njvl1ex9l0jn0t9ho3jk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sBvC67wn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/njvl1ex9l0jn0t9ho3jk.png" alt="Image description" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>suggestion</category>
      <category>windows</category>
    </item>
    <item>
      <title>I have made a npm package that can help us to see UTC time right in your terminal</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Mon, 02 May 2022 14:11:44 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/i-have-made-a-npm-package-that-can-help-us-to-see-utc-time-right-in-your-terminal-1fc0</link>
      <guid>https://dev.to/theabhayprajapati/i-have-made-a-npm-package-that-can-help-us-to-see-utc-time-right-in-your-terminal-1fc0</guid>
      <description>&lt;h1&gt;
  
  
  timeis
&lt;/h1&gt;

&lt;h2&gt;
  
  
  安装 || Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i timeis &lt;span class="nt"&gt;-g&lt;/span&gt;
&lt;span class="c"&gt;# global install help to access anywhere in computer&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i timeis    
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Help's to see the UTC time right in your terminal, without any hassle
&lt;/h2&gt;

&lt;p&gt;type &lt;code&gt;timeis&lt;/code&gt; in your terminal to see the current time in UTC.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--szCLzKYn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/theabhayprajapati/timeis/blob/trunk/assets/usage.png%3Fraw%3Dtrue" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--szCLzKYn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/theabhayprajapati/timeis/blob/trunk/assets/usage.png%3Fraw%3Dtrue" alt="@usage" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;timeis&lt;/code&gt; with this you can access your UTC time in your terminal
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;timeis 
UTC 12:48:56
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Usage📝
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;-h, --help: help&lt;br&gt;
-v, --version: version&lt;br&gt;
-l, --local: local time&lt;br&gt;
-u, --utc: utc timeis&lt;br&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Thank you for using.&lt;br&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;🤝🏾share your reviews on Twitter that'll make me happy😊&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;any problem or suggestion, please ping on Twitter &lt;a href="https://twitter.com/abhayprajapati_"&gt;@abhayprajapati_&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="//abh.vercel.app"&gt;@abhayprajapati (website)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/theabhayprajapati/timeis"&gt;@timeis repo&lt;/a&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>cli</category>
      <category>npm</category>
      <category>package</category>
    </item>
    <item>
      <title>What are🤯 Main Memory, Stack, RAM, ROM, secondary Memory SSD and else? complete answer</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Fri, 29 Apr 2022 13:33:03 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/what-are-main-memory-stack-ram-rom-secondary-memory-ssd-and-else-complete-answer-2gl5</link>
      <guid>https://dev.to/theabhayprajapati/what-are-main-memory-stack-ram-rom-secondary-memory-ssd-and-else-complete-answer-2gl5</guid>
      <description>&lt;h1&gt;
  
  
  Memory and Storage in electronics
&lt;/h1&gt;

&lt;p&gt;Electronics have two main types of memory Main and secondary.&lt;/p&gt;

&lt;p&gt;The primary use of &lt;strong&gt;Main(Primary) Memory&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.icons8.com%2Fplasticine%2F100%2F000000%2Fcomputer-ram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.icons8.com%2Fplasticine%2F100%2F000000%2Fcomputer-ram.png"&gt;&lt;/a&gt;&lt;br&gt;
 is to store the data of task👨🏾‍🏭 that is working currently, as Main memory is very close to &lt;strong&gt;CPU(Processor)&lt;/strong&gt; 🖥, to CPU can talk to Main memory very easily, this could be anything the tab us are currently open, webpage, cursor, the variable that you have written these all are stored in &lt;strong&gt;RAM&lt;/strong&gt;,&lt;/p&gt;

&lt;p&gt;but even you when you &lt;strong&gt;&lt;em&gt;close&lt;/em&gt;&lt;/strong&gt; you know when you close the tab, or programme if you &lt;strong&gt;&lt;em&gt;haven't save📁&lt;/em&gt;&lt;/strong&gt; that data, it will be &lt;strong&gt;lost❌&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;so this should be saved somewhere else, and when you open the tab again, it will be there, here Storage, comes into play you can store your data in any device, &lt;strong&gt;Floppy💾&lt;/strong&gt;, &lt;strong&gt;Hard Disk Drive&lt;/strong&gt;💽, &lt;strong&gt;SSD🖴&lt;/strong&gt; and &lt;strong&gt;USB🔌&lt;/strong&gt;, also it can be on &lt;strong&gt;Cloud☁️&lt;/strong&gt;, it totally depends on you &lt;strong&gt;the user&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Use of &lt;strong&gt;Secondary Memory&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.icons8.com%2Fexternal-rabit-jes-outline-color-rabit-jes%2F62%2F26e07f%2Fexternal-ssd-drive-computer-hardware-rabit-jes-outline-color-rabit-jes.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.icons8.com%2Fexternal-rabit-jes-outline-color-rabit-jes%2F62%2F26e07f%2Fexternal-ssd-drive-computer-hardware-rabit-jes-outline-color-rabit-jes.png" alt="SSD Image"&gt;&lt;/a&gt;&lt;br&gt;
as talked above &lt;strong&gt;Secondary&lt;/strong&gt; have of &lt;em&gt;a different type&lt;/em&gt; but the function is the same as &lt;strong&gt;store permanently✅&lt;/strong&gt;.&lt;br&gt;
from &lt;strong&gt;operating system🐧&lt;/strong&gt;, &lt;strong&gt;application📱&lt;/strong&gt;, and other files📂.&lt;/p&gt;

&lt;h1&gt;
  
  
  Main memory
&lt;/h1&gt;

&lt;p&gt;It offers a very &lt;strong&gt;fast read/write speed&lt;/strong&gt; but less storage capacity, it requires a power supply and as power goes it losses it's data.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;RAM&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ROM&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cache(cash)&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;are in the Main memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  RAM
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.icons8.com%2Fplasticine%2F100%2F000000%2Fcomputer-ram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.icons8.com%2Fplasticine%2F100%2F000000%2Fcomputer-ram.png" alt="RAM Stick"&gt;&lt;/a&gt;&lt;br&gt;
any thing runs has to &lt;strong&gt;loads&lt;/strong&gt; on the &lt;strong&gt;RAM&lt;/strong&gt; as &lt;strong&gt;CPU&lt;/strong&gt; can process that fast, and also any location(data) can be &lt;strong&gt;access&lt;/strong&gt; by &lt;strong&gt;CPU&lt;/strong&gt; in no time(&lt;strong&gt;instantly&lt;/strong&gt;), so it is called as &lt;strong&gt;Random Access Memory&lt;/strong&gt;, it is &lt;strong&gt;read/write&lt;/strong&gt; speed.&lt;/p&gt;

&lt;p&gt;the code you write; and when you run it; it runs here, &lt;strong&gt;Stack&lt;/strong&gt; the famous word in &lt;strong&gt;CS&lt;/strong&gt; which I don't understand at the beginning, makes its house inside the &lt;strong&gt;RAM&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  ROM
&lt;/h2&gt;

&lt;p&gt;Rom is directly writing for you from the manufacturer, it is &lt;strong&gt;read-only&lt;/strong&gt;, so it is called &lt;strong&gt;Read-Only Memory&lt;/strong&gt;&lt;br&gt;
the basic function is to start the applications' control of the Input/Output devices, and also to start the &lt;strong&gt;OS&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;As, you don't need to config this stuff they are &lt;strong&gt;read-only&lt;/strong&gt;, which means you and your computer can read from those files.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cache
&lt;/h2&gt;

&lt;p&gt;it stores the &lt;strong&gt;command👆🏾&lt;/strong&gt; that are &lt;strong&gt;frequently&lt;/strong&gt; told to the processor(&lt;strong&gt;CPU&lt;/strong&gt;), so it is called &lt;strong&gt;Cache Memory&lt;/strong&gt;. It is quickest to access with the least storage capacity&lt;/p&gt;

&lt;h1&gt;
  
  
  Secondary Storage (Memory)
&lt;/h1&gt;

&lt;p&gt;it offers &lt;strong&gt;read/write speed&lt;/strong&gt; and &lt;strong&gt;storage capacity&lt;/strong&gt;, but it is &lt;strong&gt;not fast&lt;/strong&gt; to access as compared to Main memory(&lt;strong&gt;RAM&lt;/strong&gt;), not dependent on the power you can access you even if the power goes,&lt;strong&gt;1000X&lt;/strong&gt; or times. think na you have to turn your &lt;strong&gt;computer&lt;/strong&gt; off📴 does it losses it's &lt;strong&gt;operating system🐧&lt;/strong&gt; memory, you saved &lt;strong&gt;files&lt;/strong&gt;📂, and you can access them again, also you can 🚌 from one device to another, and &lt;strong&gt;access&lt;/strong&gt; there&lt;/p&gt;

&lt;p&gt;There are two types of Secondary memory, &lt;strong&gt;Optical Dics💿&lt;/strong&gt;, &lt;strong&gt;Floppy Disk💾&lt;/strong&gt;, &lt;strong&gt;SSD&lt;/strong&gt;🖴, &lt;strong&gt;HDD(hard disk drives)💽&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;And these are the &lt;strong&gt;storage devices&lt;/strong&gt; great storage capacity, it has multiple faces&lt;/p&gt;




&lt;p&gt;these are all I knew about memory and storage, and that i wanted to share, if you want to learn memory I would recommend you to read the article from &lt;a href="https://isaaccomputerscience.org/topics/memory_and_storage?examBoard=all&amp;amp;stage=all" rel="noopener noreferrer"&gt;@Issac_Computer_Science&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;images credits: &lt;strong&gt;icons8.com&lt;/strong&gt;&lt;br&gt;
suggest edit✍🏾&lt;br&gt;
&lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/blob/main/day7/memory.md" rel="noopener noreferrer"&gt;@repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ping me 🤙🏾on &lt;a href="https://twitter.com/abhayprajapati_" rel="noopener noreferrer"&gt;@twitter/abhayprajapati_&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

</description>
      <category>computer</category>
      <category>database</category>
      <category>discuss</category>
      <category>memory</category>
    </item>
    <item>
      <title>6 /100 DaysOfFlutter : Introduction to flutter Codebase</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Thu, 28 Apr 2022 16:43:26 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/6-100-daysofflutter-introduction-to-flutter-codebase-34ec</link>
      <guid>https://dev.to/theabhayprajapati/6-100-daysofflutter-introduction-to-flutter-codebase-34ec</guid>
      <description>&lt;h1&gt;
  
  
  Create Flutter Project.
&lt;/h1&gt;

&lt;p&gt;Flutter projects can be created using multiple ways.&lt;br&gt;
here we will create using terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;flutter create &amp;lt;project_name&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it will create a new project in the current directory.&lt;/p&gt;

&lt;h1&gt;
  
  
  Project Structure
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fskgodz4ze0uk5m4x4g8b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fskgodz4ze0uk5m4x4g8b.png" alt="Project Stucture"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp/android" rel="noopener noreferrer"&gt;&lt;code&gt;Andriod folder&lt;/code&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;As flutter is the cross-platform mobile app development framework, making apps for android configuration is required, and that is done in &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp/android" rel="noopener noreferrer"&gt;`android&lt;/a&gt; folder, you can also find Gradle file in this folder.which is package manager for andriod.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="[./ios/](https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp/ios)"&gt;&lt;code&gt;ios folder&lt;/code&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;for making apps for ios configuration is required, and that is done in &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp/ios" rel="noopener noreferrer"&gt;&lt;code&gt;ios&lt;/code&gt;&lt;/a&gt; folder, even here you can find Xcode project file, for packages and plugins.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp/lib/main.dart" rel="noopener noreferrer"&gt;&lt;code&gt;lib&lt;/code&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;this is the main folder for all the code, which is used for creating the app, everything start's from here in a flutter.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;same stuff for &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp/windows/runner/main.cpp" rel="noopener noreferrer"&gt;&lt;code&gt;windows&lt;/code&gt;&lt;/a&gt; and &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp/web/" rel="noopener noreferrer"&gt;&lt;code&gt;web&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp/pubspec.yaml" rel="noopener noreferrer"&gt;&lt;code&gt;pubspec.yaml&lt;/code&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Here is every information regarding your application form &lt;strong&gt;name:&lt;/strong&gt;, &lt;strong&gt;description&lt;/strong&gt;, &lt;strong&gt;version&lt;/strong&gt;, what other packages you are using.&lt;/p&gt;

&lt;h1&gt;
  
  
  Packages What you they?
&lt;/h1&gt;

&lt;p&gt;Packages are the libraries which can be used in your application.&lt;br&gt;
In simple words, here &lt;strong&gt;people&lt;/strong&gt;, &lt;strong&gt;organisations&lt;/strong&gt;, even other  &lt;strong&gt;open source communities&lt;/strong&gt; have been built and you can use them then&lt;/p&gt;

&lt;p&gt;it is similar to &lt;strong&gt;NPM&lt;/strong&gt; for nodejs, &lt;strong&gt;pip&lt;/strong&gt; for python, and so on&lt;/p&gt;

&lt;h2&gt;
  
  
  Package Manager for Flutter(dart)🎯
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://pub.dev" rel="noopener noreferrer"&gt;&lt;code&gt;pub.dev&lt;/code&gt;&lt;/a&gt; is the package manager for flutter, it is used for installing packages, and for managing packages&lt;/p&gt;

&lt;p&gt;see and sample the flutter project here&lt;br&gt;
&lt;strong&gt;repo link&lt;/strong&gt;: &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/tree/main/day6/flutter/myapp" rel="noopener noreferrer"&gt;&lt;code&gt;@github&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ping 🤙🏾 me on &lt;a href="https://twitter.com/abhayprajapati_" rel="noopener noreferrer"&gt;&lt;code&gt;@twitter&lt;/code&gt;&lt;/a&gt;                            &lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>app</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Basic Logic Not Math behind the boolean operator.</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Wed, 27 Apr 2022 15:37:39 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/basic-logic-not-math-behind-the-boolean-operator-1925</link>
      <guid>https://dev.to/theabhayprajapati/basic-logic-not-math-behind-the-boolean-operator-1925</guid>
      <description>&lt;h1&gt;
  
  
  Gorege Boole tossed the concept of Boolean Algebra
&lt;/h1&gt;

&lt;p&gt;and said one can represent any logical statement with &lt;strong&gt;AND, OR, NOT&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Basic Logic is in their name
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Starting with &lt;code&gt;AND&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;assume &lt;strong&gt;AND&lt;/strong&gt; as a 5-year-old child who demands &lt;strong&gt;telescope 🔭 and Starship🚀&lt;/strong&gt;, so if you provide him with both stuff he will be happy, and if anyone or both aren't there the child will start crying.&lt;/p&gt;

&lt;p&gt;Similar with &lt;strong&gt;AND&lt;/strong&gt; if it say I want value &lt;code&gt;x &amp;gt; 3 &amp;amp; y &amp;lt; 5&lt;/code&gt; then the condition will only satisfy if &lt;strong&gt;both&lt;/strong&gt; stuff are &lt;strong&gt;true&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Telescope 🔭&lt;/th&gt;
&lt;th&gt;Starship 🚀&lt;/th&gt;
&lt;th&gt;Output Q&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Moving towards &lt;code&gt;OR&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;the same child here also, where now he demand &lt;strong&gt;Falcon 9&lt;/strong&gt; &lt;strong&gt;OR&lt;/strong&gt; &lt;strong&gt;Saturn 5&lt;/strong&gt; as he wants to Mars. So, if you provide him &lt;strong&gt;Falcon 9&lt;/strong&gt; he will be happy as his Mission will be completed with &lt;strong&gt;Falcon 9&lt;/strong&gt;, but show you aren't able to contact &lt;strong&gt;Elon&lt;/strong&gt; to arrange &lt;strong&gt;Falcon 9&lt;/strong&gt; but you are able to contact &lt;strong&gt;NASA&lt;/strong&gt; for &lt;strong&gt;Saturn 5&lt;/strong&gt; even then the 5 yr Child will be happy. Also, if you provided him with both &lt;strong&gt;Falcon 9&lt;/strong&gt; and &lt;strong&gt;Saturn 5&lt;/strong&gt; he will be happy as now he can talk to the crew too.&lt;/p&gt;

&lt;p&gt;Similar, to &lt;strong&gt;OR&lt;/strong&gt;, if it wants &lt;code&gt;Falcon 9 || Saturn 5&lt;/code&gt; if it gets &lt;strong&gt;Falcon 9&lt;/strong&gt; it will be satisfied even if it got &lt;strong&gt;Saturn 5&lt;/strong&gt; he will be satisfied, but it won't satisfy if both are &lt;strong&gt;False&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Falcon 9🚀&lt;/th&gt;
&lt;th&gt;Saturn 5 🪐🚀&lt;/th&gt;
&lt;th&gt;Output Q&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Now comes &lt;code&gt;NOT&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;not is very simple to understand, it is used to negate the condition, so if just convert's the value of the condition, from true to false and false to true.&lt;br&gt;
| Input A | Input B |&lt;br&gt;
|:-------:|:-------:|&lt;br&gt;
|    0    |    1    |&lt;br&gt;
|    1    |    0    |&lt;/p&gt;

&lt;h3&gt;
  
  
  Now comes &lt;code&gt;XOR&lt;/code&gt;, &lt;code&gt;NAND&lt;/code&gt;, &lt;code&gt;NOR&lt;/code&gt; above basics.
&lt;/h3&gt;

&lt;h2&gt;
  
  
  XOR
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;XOR&lt;/code&gt;only wants one true value to be true, example the child only wants &lt;strong&gt;SpaceX&lt;/strong&gt; or &lt;strong&gt;Saturn 5&lt;/strong&gt; but not both, if you give both he will break the rocket in two pieces, so please with &lt;strong&gt;XOR&lt;/strong&gt; you can only give him one of them.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Input A&lt;/th&gt;
&lt;th&gt;Input B&lt;/th&gt;
&lt;th&gt;Output Q&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;NOR&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;A situation where one except's nothing from anyone, the child is now grown up, now he doesn't need your help to build a complete rocket. If you don't give him anything he will be happy, &lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Input A&lt;/th&gt;
&lt;th&gt;Input B&lt;/th&gt;
&lt;th&gt;Output Q&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0❌&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0❌&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;NAND&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Here the child doesn't want both things from you he only even if you don't give anything to him he will be happy, but if you give him both he will cry, but you can give one of any.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Input A&lt;/th&gt;
&lt;th&gt;Input B&lt;/th&gt;
&lt;th&gt;Output Q&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0❌&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://isaaccomputerscience.org/concepts/sys_bool_logic_gates?examBoard=all&amp;amp;stage=all&amp;amp;topic=boolean_logic"&gt;&lt;code&gt;credits to Isaac Computer Science&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/blob/main/day5/operator.md"&gt;&lt;code&gt;@Day5 Blog&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ping 🤙🏾 me on Twitter &lt;a href="https://twitter.com/abhayprajapati_"&gt;&lt;code&gt;@abhayprajapati&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>operator</category>
      <category>boolean</category>
      <category>discuss</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>4 /100DaysOfFlutter : Dart: Enumerations, Classes and Objects</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Tue, 26 Apr 2022 07:06:37 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/4-100daysofflutter-dart-enumerations-classes-and-objects-2495</link>
      <guid>https://dev.to/theabhayprajapati/4-100daysofflutter-dart-enumerations-classes-and-objects-2495</guid>
      <description>&lt;h1&gt;
  
  
  Dart List: &lt;code&gt;List&amp;lt;String&amp;gt; skills = ['Swiming', 'running', 'Karate']&lt;/code&gt;
&lt;/h1&gt;

&lt;p&gt;This line wiil be spoken as List of String named skills has values Swiming running Karate; you can also use your own way of reading and pro-nounching it.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;List&lt;/code&gt; can also be called as &lt;code&gt;array&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;a List can contain only one data type of element.&lt;br&gt;
for mutliple type of element we can use something called as Objects in the list.&lt;/p&gt;
&lt;h1&gt;
  
  
  Classes: Classes give us ability to make own type of data, a sort of template, protocol, rule for some Objects/ Variables.
&lt;/h1&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Insan&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="n"&gt;LivingThings&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
  &lt;span class="kt"&gt;String&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;Insan&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;age&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Now I can use this data types to make own variables with this data types.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;  &lt;span class="n"&gt;Insan&lt;/span&gt; &lt;span class="n"&gt;Abhay&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="n"&gt;Insan&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Abhay"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;19&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;as before Insan is the type of variable, Abhay is the variable name 🆕 key word is for before it is new Variables made which has combination of data types/ mostly new key used when for a single variables we use mutilple dataytypes. Like, here we are using String and int at the same time passing the parameter's in the Class&lt;/p&gt;

&lt;h2&gt;
  
  
  Objects: Objects gives ability to make the variables the classes we make,
&lt;/h2&gt;

&lt;p&gt;in reality anything that takes place, area, &lt;strong&gt;memory&lt;/strong&gt; is a Objects as the Variable named &lt;strong&gt;Abhay&lt;/strong&gt; which is created above is going to take place in the memory then it is an Object, Object have type can your own type also, Like &lt;strong&gt;Insan&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;  &lt;span class="n"&gt;Insan&lt;/span&gt; &lt;span class="n"&gt;Abhay&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="n"&gt;Insan&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Abhay"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;19&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Object are also known as Instances; you can check by your self just print the Variable name&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="n"&gt;print&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Abhay&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="c1"&gt;//Instance of 'Insan'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Making classes helps us to make better Objects; &lt;em&gt;classes are created outside of the Function&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Check The code here with example press . and open the in the browser and start practicing.&lt;/p&gt;

&lt;p&gt;If dont' got at some  point feel free to ping me on twitter &lt;a href="https://twitter.com/Abhayprajapati_"&gt;&lt;code&gt;@abhayprajapati_&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ok Bye. &lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>tutorials</category>
      <category>app</category>
    </item>
    <item>
      <title>3 / 100DaysOfFlutter: Dart Sound Null Safety, Null Assign, Null Check, Everything null.</title>
      <dc:creator>Abhay Prajapati</dc:creator>
      <pubDate>Mon, 25 Apr 2022 01:12:23 +0000</pubDate>
      <link>https://dev.to/theabhayprajapati/3-100daysofflutter-dart-sound-null-safety-null-assign-null-check-everything-null-2837</link>
      <guid>https://dev.to/theabhayprajapati/3-100daysofflutter-dart-sound-null-safety-null-assign-null-check-everything-null-2837</guid>
      <description>&lt;h1&gt;
  
  
  Learning null Safety in Dart:
&lt;/h1&gt;

&lt;p&gt;understanding why we need null Safety; &lt;strong&gt;Null&lt;/strong&gt; means nothing is there. so handle the programme at any point in time if there is a value which is null what should be performed?&lt;/p&gt;

&lt;h1&gt;
  
  
  Sound NullSafety:
&lt;/h1&gt;

&lt;p&gt;By sound you might is understand that here you may know when the value will be null; so for that flow, we use &lt;strong&gt;SOUND Null Safety&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt; &lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
 &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="err"&gt;❌&lt;/span&gt;
  &lt;span class="c1"&gt;// here i is 0; but what if somepoint it becomes null;&lt;/span&gt;
  &lt;span class="c1"&gt;// then it will throw an error&lt;/span&gt;
  &lt;span class="c1"&gt;// so we need to add a check for null&lt;/span&gt;
  &lt;span class="o"&gt;&amp;lt;!--&lt;/span&gt; &lt;span class="n"&gt;down&lt;/span&gt; &lt;span class="n"&gt;arrow&lt;/span&gt; &lt;span class="n"&gt;unicode&lt;/span&gt; &lt;span class="o"&gt;--&amp;gt;&lt;/span&gt;

  &lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="err"&gt;❓&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="c1"&gt;//^ this is a nullable variable; so in future it can be null; and wount' throw error.   &lt;/span&gt;
    &lt;span class="c1"&gt;// make any value nullable by adding ❓after the variable type.  &lt;/span&gt;
  &lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="err"&gt;✅&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="kt"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;names&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s"&gt;'Ram'&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'Shyam'&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'Hari'&lt;/span&gt;&lt;span class="o"&gt;];&lt;/span&gt;
&lt;span class="n"&gt;names&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="err"&gt;❌&lt;/span&gt;


&lt;span class="kt"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;?&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;names2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s"&gt;'Ram'&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'Shyam'&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;];&lt;/span&gt;
&lt;span class="n"&gt;names2&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="err"&gt;✅&lt;/span&gt;

&lt;span class="kt"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;?&lt;/span&gt; &lt;span class="n"&gt;names3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s"&gt;'Ram'&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'Shyam'&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'Hari'&lt;/span&gt;&lt;span class="o"&gt;];&lt;/span&gt;
&lt;span class="n"&gt;names3&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="err"&gt;✅&lt;/span&gt;
&lt;span class="c1"&gt;// for making a list nullable we need to add ? after the list type here it is String.&lt;/span&gt;

&lt;span class="kt"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;?&amp;gt;?&lt;/span&gt; &lt;span class="n"&gt;names4&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"Ram"&lt;/span&gt;&lt;span class="o"&gt;];&lt;/span&gt; &lt;span class="err"&gt;✅&lt;/span&gt;
&lt;span class="c1"&gt;// Here List as well as list Type is also nullable.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Null Assign:
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Null Assign&lt;/strong&gt; means if the &lt;strong&gt;value&lt;/strong&gt; is null &lt;strong&gt;Assign&lt;/strong&gt; this &lt;em&gt;value&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;age&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kt"&gt;int&lt;/span&gt; &lt;span class="n"&gt;RealAge&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="c1"&gt;// adding this ❓❓ after the variables (age) makes us sure that if any case the value of age is null the RealAge will be 18; &lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Null Check
&lt;/h1&gt;

&lt;p&gt;Null check is a process of checking if the value is null or not, and perform tasks accordingly.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;

&lt;span class="kt"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;?&lt;/span&gt; &lt;span class="n"&gt;names5&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;print&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;names5&lt;/span&gt;&lt;span class="o"&gt;?.&lt;/span&gt;&lt;span class="na"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// it is shortcut for&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;names5&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;print&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;names5&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;print&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"null"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;print&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Person&lt;/span&gt;&lt;span class="o"&gt;?.&lt;/span&gt;&lt;span class="na"&gt;skills&lt;/span&gt;&lt;span class="o"&gt;?.&lt;/span&gt;&lt;span class="na"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;&lt;span class="err"&gt;✅&lt;/span&gt;
&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="err"&gt;❓&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="err"&gt;❓&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="err"&gt;❓&lt;/span&gt;
&lt;span class="c1"&gt;// it will only print the length of skills if the person is not null and if the skills are not null.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I will explain Objects; Classes in the next blog.&lt;/p&gt;

&lt;p&gt;Share with me if anything is missing or you don't understand; don't shy 🥺&lt;/p&gt;

&lt;p&gt;ping me on &lt;strong&gt;Twitter&lt;/strong&gt; 🕊️ &lt;a href="https://twitter.com/Abhayprajapati_"&gt;&lt;code&gt;@Abhayprajapati_&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Check the code for today here.&lt;br&gt;
&lt;a href="https://github.com/theabhayprajapati/100DaysOfFlutter/blob/main/day3/null.dart"&gt;&lt;code&gt;Repo&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🤝🏾Connect me on:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Twitter&lt;/strong&gt;: 🕊️&lt;a href="https://twitter.com/Abhayprajapati_"&gt;&lt;code&gt;@Abhayprajapati_&lt;/code&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Github&lt;/strong&gt;: 🐧&lt;a href="https://github.com/theabhayprajapati"&gt;&lt;code&gt;@theabhayprajapati&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>tutorials</category>
      <category>learn</category>
    </item>
  </channel>
</rss>
