<?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: Adithyan A</title>
    <description>The latest articles on DEV Community by Adithyan A (@adithyana).</description>
    <link>https://dev.to/adithyana</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%2F801793%2F852111e5-fc6b-415f-8517-f77e187c51b8.jpeg</url>
      <title>DEV Community: Adithyan A</title>
      <link>https://dev.to/adithyana</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adithyana"/>
    <language>en</language>
    <item>
      <title>Unlock the Power of ChatGPT: Learn to Code Effortlessly</title>
      <dc:creator>Adithyan A</dc:creator>
      <pubDate>Mon, 30 Jan 2023 14:30:39 +0000</pubDate>
      <link>https://dev.to/adithyana/unlock-the-power-of-chatgpt-learn-to-code-effortlessly-2091</link>
      <guid>https://dev.to/adithyana/unlock-the-power-of-chatgpt-learn-to-code-effortlessly-2091</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Coding is an essential skill in today's digital world. It is the backbone of the technology industry and is used to create everything from websites and apps to software and games. However, learning to code can be a challenging task, especially for beginners. With so many programming languages and concepts to master, it can be difficult to know where to start. In this blog, we will explore how ChatGPT, a large language model developed by OpenAI, can be used to learn code more effectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Can We Use ChatGPT to Learn Code
&lt;/h2&gt;

&lt;p&gt;ChatGPT, a large language model developed by OpenAI, can be used to learn code in a number of ways. Here are a few examples:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Code Completion: ChatGPT can be used to generate code snippets based on a given prompt. This can be especially useful for beginners who are still learning the syntax of a particular programming language. By providing a partial code and asking ChatGPT to complete it, the model can help users understand the correct syntax and structure of the code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Code Explanation: ChatGPT can also be used to provide explanations for specific lines of code. By inputting a line of code and asking ChatGPT to explain it, the model can provide a clear and concise explanation of what the code does, which can be helpful for understanding more complex code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Code Troubleshooting: ChatGPT can be used to help troubleshoot coding issues. By inputting an error message and the code that is causing the issue, ChatGPT can suggest possible solutions to the problem.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Code Generation: ChatGPT can generate code based on the requirement or the input, it can be beneficial for the developers who are working on the project and they are stuck at some point, they can input the requirement to the model and it will generate the code for the same.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Coding Challenges: ChatGPT can be used to create coding challenges for users. The model can be trained on a particular programming language or task, and then used to generate coding challenges that users can complete to test their understanding of the language or task.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In conclusion, ChatGPT can be a valuable tool for anyone looking to learn code. Whether you're a beginner just starting out or an experienced developer looking to improve your skills, ChatGPT can help you understand and write code more effectively.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>career</category>
    </item>
    <item>
      <title>Securing Your Future in the Language Model Era: Tips for Developers</title>
      <dc:creator>Adithyan A</dc:creator>
      <pubDate>Sun, 29 Jan 2023 14:30:39 +0000</pubDate>
      <link>https://dev.to/adithyana/securing-your-future-in-the-language-model-era-tips-for-developers-27jh</link>
      <guid>https://dev.to/adithyana/securing-your-future-in-the-language-model-era-tips-for-developers-27jh</guid>
      <description>&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;In the age of rapid technological advancement, it's more important than ever for developers to stay ahead of the curve and protect their careers.&lt;/p&gt;

&lt;p&gt;One area that is seeing significant growth and development is natural language processing, with language models such as ChatGPT becoming increasingly prevalent in the workforce.&lt;/p&gt;

&lt;h3&gt;
  
  
  In this blog post
&lt;/h3&gt;

&lt;p&gt;We will explore strategies for developers to protect their careers in the age of ChatGPT and similar language models. We will discuss the importance of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Staying up-to-date with the latest technologies&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Developing a strong understanding of the data and techniques used to train language models&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Focusing on skills that are complementary to language models&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Being adaptable&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Staying abreast of ethical and societal implications&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Diversifying your skillset and experience to adapt to new technologies and developments in the field.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Jobs that are safe
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Data analysts and scientists&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Natural Language Processing (NLP) experts&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Machine learning engineers&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AI/ML researchers&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ethical AI/ML experts&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Jobs at risk
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Low-skilled data entry jobs&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Simple language translation jobs&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Low-skilled customer service jobs&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Basic data analysis jobs&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's worth noting that while some jobs may be at risk of being automated, it doesn't mean they will disappear entirely, they may evolve and change, requiring different set of skills. Additionally, with the growth of language models and AI, new job opportunities will arise in fields such as data analysis, NLP, and ethical AI.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Using ChatGPT to Solve Programming Errors</title>
      <dc:creator>Adithyan A</dc:creator>
      <pubDate>Sat, 31 Dec 2022 03:10:09 +0000</pubDate>
      <link>https://dev.to/adithyana/using-chatgpt-to-solve-programming-errors-31gb</link>
      <guid>https://dev.to/adithyana/using-chatgpt-to-solve-programming-errors-31gb</guid>
      <description>&lt;p&gt;As a programmer, you are bound to encounter errors and bugs in your code at some point. Debugging and fixing these errors can be a time-consuming and frustrating process, especially if you are not sure where to start.&lt;/p&gt;

&lt;p&gt;Fortunately, ChatGPT, an open-source chatbot framework that uses the power of GPT-3, can help you solve programming errors faster and more effectively.&lt;/p&gt;

&lt;p&gt;In this blog post, we will learn how ChatGPT can assist you in debugging your code and fixing errors.&lt;/p&gt;

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

&lt;p&gt;To use ChatGPT for debugging, you will need the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A machine with Python 3.6 or above installed&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;An API key for GPT-3 from OpenAI&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The &lt;code&gt;openai&lt;/code&gt; and &lt;code&gt;chatgpt&lt;/code&gt; Python libraries, which you can install using &lt;code&gt;pip install openai chatgpt&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Setting Up ChatGPT
&lt;/h2&gt;

&lt;p&gt;To get started with ChatGPT, you will need to create a &lt;code&gt;ChatGPT&lt;/code&gt; object and pass it your API key and the model ID of the GPT-3 model that you want to use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;chatgpt&lt;/span&gt;

&lt;span class="c1"&gt;# Set the API key
&lt;/span&gt;&lt;span class="n"&gt;openai&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;YOUR_API_KEY&lt;/span&gt;

&lt;span class="c1"&gt;# Set the model ID of the GPT-3 model you want to use
&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;text-davinci-002&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;

&lt;span class="c1"&gt;# Create a ChatGPT object
&lt;/span&gt;&lt;span class="n"&gt;chatbot&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;chatgpt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ChatGPT&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Using ChatGPT to Debug Your Code
&lt;/h2&gt;

&lt;p&gt;Now that you have set up ChatGPT, you can use it to help you debug your code. Here is an example of how you can use ChatGPT to troubleshoot a simple Python program that calculates the average of a list of numbers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;average&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;numbers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;# Run the average function
&lt;/span&gt;&lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;average&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;The average of &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; is &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="nb"&gt;ZeroDivisionError&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Cannot calculate the average of an empty list&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# If the function raises a ZeroDivisionError, ChatGPT can help you troubleshoot the problem
&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;chatbot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_response&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;I am getting a ZeroDivisionError when trying to calculate the average of a list of numbers&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;In this example, if the &lt;code&gt;average&lt;/code&gt; function is called with an empty list, it will raise a &lt;code&gt;ZeroDivisionError&lt;/code&gt; because it is trying to divide by the length of an empty list. In this case, ChatGPT can help you troubleshoot the problem by suggesting possible solutions or explaining the cause of the error.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this blog post, we learned how ChatGPT can assist you in debugging your code and fixing errors. By leveraging the natural language processing capabilities of GPT-3, ChatGPT can help you troubleshoot programming errors faster and more effectively.&lt;/p&gt;

&lt;p&gt;I hope you found this blog post useful.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Introduction to ChatGPT: A Powerful Chatbot Framework</title>
      <dc:creator>Adithyan A</dc:creator>
      <pubDate>Sat, 31 Dec 2022 02:54:17 +0000</pubDate>
      <link>https://dev.to/adithyana/introduction-to-chatgpt-a-powerful-chatbot-framework-5a70</link>
      <guid>https://dev.to/adithyana/introduction-to-chatgpt-a-powerful-chatbot-framework-5a70</guid>
      <description>&lt;p&gt;Are you looking to build a chatbot that can engage in natural conversation with your users? ChatGPT is an open-source chatbot framework that uses the power of GPT-3, the largest and most advanced language generation model in the world, to enable your chatbot to understand and respond to user input in a natural and engaging way.&lt;/p&gt;

&lt;p&gt;In this blog post, we will learn how to use ChatGPT to build a chatbot that can have conversations with your users.&lt;/p&gt;

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

&lt;p&gt;To use ChatGPT, you will need to have the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A machine with Python 3.6 or above installed&lt;/li&gt;
&lt;li&gt;An API key for GPT-3 from OpenAI&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;openai&lt;/code&gt; Python library, which you can install using &lt;code&gt;pip install openai&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Setting Up ChatGPT
&lt;/h2&gt;

&lt;p&gt;To get started with ChatGPT, you will need to install the &lt;code&gt;chatgpt&lt;/code&gt; Python library using the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;chatgpt

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

&lt;/div&gt;



&lt;p&gt;Next, you will need to create a &lt;code&gt;ChatGPT&lt;/code&gt; object and pass it your API key and the model ID of the GPT-3 model that you want to use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;chatgpt&lt;/span&gt;

&lt;span class="c1"&gt;# Set the API key
&lt;/span&gt;&lt;span class="n"&gt;openai&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;YOUR_API_KEY&lt;/span&gt;

&lt;span class="c1"&gt;# Set the model ID of the GPT-3 model you want to use
&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;text-davinci-002&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;

&lt;span class="c1"&gt;# Create a ChatGPT object
&lt;/span&gt;&lt;span class="n"&gt;chatbot&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;chatgpt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ChatGPT&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

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

&lt;/div&gt;



&lt;h2&gt;
  
  
  Using ChatGPT
&lt;/h2&gt;

&lt;p&gt;Now that you have set up ChatGPT, you can use it to have conversations with your users. Here is an example of how you can use ChatGPT to build a simple chatbot that responds to user input:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Start the chatbot
&lt;/span&gt;&lt;span class="n"&gt;chatbot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;start_conversation&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="c1"&gt;# Get user input
&lt;/span&gt;&lt;span class="n"&gt;input_text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;input&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;You: &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Get the chatbot's response
&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;chatbot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_response&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input_text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Chatbot: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Continue the conversation
&lt;/span&gt;&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# Get user input
&lt;/span&gt;    &lt;span class="n"&gt;input_text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;input&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;You: &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="c1"&gt;# Check if the user wants to end the conversation
&lt;/span&gt;    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;input_text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;exit&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;break&lt;/span&gt;

    &lt;span class="c1"&gt;# Get the chatbot's response
&lt;/span&gt;    &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;chatbot&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_response&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input_text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Chatbot: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

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

&lt;/div&gt;



&lt;p&gt;That's it! You now have a chatbot that can have natural conversations with your users using the power of GPT-3.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this blog post, we learned how to use ChatGPT to build a chatbot that can engage in natural conversation with your users. ChatGPT makes it easy to leverage the power of GPT-3 to build chatbots that can understand and respond to user input in a natural and engaging way.&lt;/p&gt;

&lt;p&gt;I hope you found this blog post useful. If you have any questions or comments, please feel free to leave them in the comments section below.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Host ReactJS App On GitHub Pages</title>
      <dc:creator>Adithyan A</dc:creator>
      <pubDate>Wed, 28 Dec 2022 05:19:14 +0000</pubDate>
      <link>https://dev.to/adithyana/host-reactjs-app-on-github-pages-hle</link>
      <guid>https://dev.to/adithyana/host-reactjs-app-on-github-pages-hle</guid>
      <description>&lt;h3&gt;
  
  
  What is this blog about
&lt;/h3&gt;

&lt;p&gt;In this blog, I am going to tell you how we can host a react-js web app on GitHub Pages&lt;/p&gt;

&lt;h3&gt;
  
  
  Prerequisite
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The ReactJS app should have a GitHub repository&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The GitHub repositories visibility should be public&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You should know the basics of git&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Steps By Step Instruction
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Add a &lt;code&gt;remote&lt;/code&gt; that points to the GitHub repository&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install the GH-Pages package inside the react app&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add &lt;code&gt;homepage&lt;/code&gt; field to the &lt;code&gt;package.json&lt;/code&gt; file&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add &lt;code&gt;predeploy&lt;/code&gt; and &lt;code&gt;deploy&lt;/code&gt; scripts to the package.json scripts section&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In my case, it will be&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fw98dtfef2la7g05zlhja.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fw98dtfef2la7g05zlhja.png" width="800" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Run the deploy command in terminal&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Publishing the newly deployed branch - &lt;code&gt;gh-pages&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>crypto</category>
      <category>cryptocurrency</category>
      <category>blockchain</category>
      <category>web3</category>
    </item>
    <item>
      <title>How to make a JS function wait after executing a specific line of code</title>
      <dc:creator>Adithyan A</dc:creator>
      <pubDate>Sun, 25 Dec 2022 14:48:49 +0000</pubDate>
      <link>https://dev.to/adithyana/how-to-make-a-js-function-wait-after-executing-a-specific-line-of-code-ali</link>
      <guid>https://dev.to/adithyana/how-to-make-a-js-function-wait-after-executing-a-specific-line-of-code-ali</guid>
      <description>&lt;h2&gt;
  
  
  Basis Idea
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;The basic idea is that we have a function and for some reason we need to make the JS program wait after executing some part of the function&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Application
&lt;/h2&gt;

&lt;p&gt;Let's assume that we have a function to find the sum of two numbers and we need to make the program wait 3 second before printing the result&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;sumOfTwoNumbers&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;22&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="c1"&gt;// Wait for 3sec before executing&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="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;The sum is:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step-1
&lt;/h3&gt;

&lt;p&gt;Create a new function sleep which returns a promise.&lt;br&gt;
This function will make the program wait for the specified milliseconds&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Remember &lt;em&gt;1 second&lt;/em&gt; =  &lt;em&gt;1000 millisecond&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;


&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;sleep&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;timeInMilliSecond&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;setTimeout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;timeInMilliSecond&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step-2
&lt;/h3&gt;

&lt;p&gt;Convert the function (In which we need to make the program wait) to a &lt;code&gt;Asynchronous function&lt;/code&gt;, In our case &lt;code&gt;sumOfTwoNumbers()&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Put keyword async before function keyword to convert function to a asynchronous function&lt;/span&gt;
&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;sumOfTwoNumbers&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;22&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="c1"&gt;// Wait for 3sec before executing&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="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;The sum is:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step-3
&lt;/h3&gt;

&lt;p&gt;Make the program wait for specified amount of milliseconds&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;sumOfTwoNumbers&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;22&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="c1"&gt;// Add the below line to make the program wait for 3seconds&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;sleep&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3000&lt;/span&gt;&lt;span class="p"&gt;);&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="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;The sum is:&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Result
&lt;/h2&gt;

&lt;p&gt;Now the program will wait for 3 seconds before it prints the output&lt;/p&gt;

</description>
      <category>gratitude</category>
    </item>
    <item>
      <title>I Created A Text-To-Speech Converter With Flask</title>
      <dc:creator>Adithyan A</dc:creator>
      <pubDate>Sun, 30 Jan 2022 17:03:41 +0000</pubDate>
      <link>https://dev.to/adithyana/a-text-to-speech-converter-with-flask-1c2b</link>
      <guid>https://dev.to/adithyana/a-text-to-speech-converter-with-flask-1c2b</guid>
      <description>&lt;p&gt;Hello Friends❗ 😀😎&lt;/p&gt;

&lt;h3&gt;
  
  
  What Is This?
&lt;/h3&gt;

&lt;p&gt;Simply this is AdiSpeaks a text-to-speech converter on the web.&lt;/p&gt;

&lt;p&gt;This is a website in which you can enter your text and emojis and then it will be converted to an mp3 file which you can also download&lt;/p&gt;

&lt;h3&gt;
  
  
  How To Use It?
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Clone the GitHub repository&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/AdithyanA2005/Text_To_Speech_Converter_Flask
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Install the required dependencies&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the server&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python main.py
&lt;/code&gt;&lt;/pre&gt;


&lt;p&gt;This will show the output as&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; &lt;span class="k"&gt;*&lt;/span&gt; Serving Flask app &lt;span class="s1"&gt;'app.app'&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;lazy loading&lt;span class="o"&gt;)&lt;/span&gt;
 &lt;span class="k"&gt;*&lt;/span&gt; Environment: production
   WARNING: This is a development server. Do not use it &lt;span class="k"&gt;in &lt;/span&gt;a production deployment.
   Use a production WSGI server instead.
 &lt;span class="k"&gt;*&lt;/span&gt; Debug mode: on
 &lt;span class="k"&gt;*&lt;/span&gt; Running on http://127.0.0.1:5000/ &lt;span class="o"&gt;(&lt;/span&gt;Press CTRL+C to quit&lt;span class="o"&gt;)&lt;/span&gt;
 &lt;span class="k"&gt;*&lt;/span&gt; Restarting with &lt;span class="nb"&gt;stat&lt;/span&gt;
 &lt;span class="k"&gt;*&lt;/span&gt; Debugger is active!
 &lt;span class="k"&gt;*&lt;/span&gt; Debugger PIN: 145-064-838
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open the running website&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://localhost:5000"&gt;http://localhost:5000&lt;/a&gt; or &lt;a href="http://127.0.0.1:5000"&gt;http://127.0.0.1:5000&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the opened website click on the &lt;code&gt;Get Started&lt;/code&gt; Button to open form&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hZ0cM_P---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1672031604441/94bdeee1-c0c8-4894-808d-4a6e966e6f2d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hZ0cM_P---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1672031604441/94bdeee1-c0c8-4894-808d-4a6e966e6f2d.png" alt="Screenshot" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In the form enter the desired text and click the &lt;code&gt;Play Audio&lt;/code&gt; Button&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fdyOPmXh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1672031835066/30b73d30-0dda-473e-9d5b-26dd2d41c8f8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fdyOPmXh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1672031835066/30b73d30-0dda-473e-9d5b-26dd2d41c8f8.png" alt="Screenshot" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To download the audio file first click on the &lt;code&gt;triple-dot&lt;/code&gt; button and then click the &lt;code&gt;download&lt;/code&gt; button&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lpuHncg4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1672031722991/3ed2eef6-9fff-4d33-bf74-14b1cd14c44f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lpuHncg4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn.hashnode.com/res/hashnode/image/upload/v1672031722991/3ed2eef6-9fff-4d33-bf74-14b1cd14c44f.png" alt="Screenshot" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>gtts</category>
      <category>python</category>
      <category>webdev</category>
      <category>texttospeech</category>
    </item>
    <item>
      <title>I Created A Gui Calculator With Java Swing</title>
      <dc:creator>Adithyan A</dc:creator>
      <pubDate>Mon, 24 Jan 2022 10:51:12 +0000</pubDate>
      <link>https://dev.to/adithyana/i-created-a-gui-calculator-with-java-swing-9b7</link>
      <guid>https://dev.to/adithyana/i-created-a-gui-calculator-with-java-swing-9b7</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Hai Friends&lt;/em&gt;&lt;/strong&gt; ❗❗&lt;br&gt;
I am Adithyan A and Thank you for clicking on my first ever post&lt;/p&gt;
&lt;h3&gt;
  
  
  &lt;strong&gt;What is this ?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;It is a arithemetical calculator made with java and swing library&lt;br&gt;
This was my first ever project and now it in its complete stage&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This is the Screenshot of the Complete version of the app&lt;/p&gt;

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

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

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

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F74vc81ysenqeet12wobv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F74vc81ysenqeet12wobv.png" alt="Image-4" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  &lt;strong&gt;Features&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Fast&lt;/li&gt;
&lt;li&gt;Simple&lt;/li&gt;
&lt;li&gt;Responsive&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  &lt;strong&gt;Use it with .jar executable file&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;1 - Clone the github repository&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/AdithyanA2005/Calculator_Swing.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2 - Change the directory To Calculator_Swing/out/artifacts/Swing_Calculator_Java_jar&lt;/p&gt;

&lt;p&gt;3 - Copy the executable file Swing_Calculator_Java.jar to your desired location&lt;/p&gt;

&lt;p&gt;4 - Run the executable file by double clicking it&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;How To Use It With the Source Code ?&lt;/strong&gt;
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Using it is very simple, Follow the below steps&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;1 - Clone the github repository&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/AdithyanA2005/Calculator_Swing.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2 - Change the directory&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="nb"&gt;cd &lt;/span&gt;Calculator_Swing/src
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3 - Compile the java file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;javac Main.java
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4 - Run The Program&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;java Main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Evolution Of The App ?
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;As This is my first ever project&lt;br&gt;
This has evolved a lot&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;The Screenshot of The First Ever Version&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;The Final Version Of The App&lt;/strong&gt;&lt;/p&gt;

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

</description>
      <category>java</category>
      <category>swing</category>
      <category>calculator</category>
      <category>gui</category>
    </item>
  </channel>
</rss>
