<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Hammad on Medium]]></title>
        <description><![CDATA[Stories by Hammad on Medium]]></description>
        <link>https://medium.com/@dammahhammad?source=rss-2b384f9b70ad------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8QiaZ5Fc9GsttIhrnUWKJg.jpeg</url>
            <title>Stories by Hammad on Medium</title>
            <link>https://medium.com/@dammahhammad?source=rss-2b384f9b70ad------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 16 Jun 2026 07:52:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dammahhammad/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Design Patterns: Singleton Design]]></title>
            <link>https://levelup.gitconnected.com/design-patterns-singleton-design-a4b5b7cc305b?source=rss-2b384f9b70ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4b5b7cc305b</guid>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[object-oriented]]></category>
            <category><![CDATA[singleton-pattern]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Hammad]]></dc:creator>
            <pubDate>Wed, 07 Jun 2023 01:28:17 GMT</pubDate>
            <atom:updated>2023-06-07T01:28:17.202Z</atom:updated>
            <content:encoded><![CDATA[<p>Design patterns are formalized best practices and the solution to general problems that software developers faced during software development.</p><p><strong>Gang Of Four: </strong>In 1994, four authors Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides published a book titled <strong>Design Patterns — Elements of Reusable Object-Oriented Software</strong> which initiated the concept of Design Pattern in Software development.</p><p>Design patterns are divided into 3 main categories:</p><ol><li><strong>Creational:</strong> Creational patterns deal with the creation of objects.</li><li><strong>Structural:</strong> Structural patterns deal with class structure such as Inheritance and composition.</li><li><strong>Behavioral: </strong>Behavioral patterns provide solution for the better interaction between objects. How to provide loose coupling &amp; flexibility to extend easily in future.</li></ol><p>In this blog, we will proceed with Singleton pattern which is a type of Creational design patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*YgJgmeQ6sYghfnV4dsf2mg.png" /><figcaption>Creational Design Patterns</figcaption></figure><h3><strong>Singleton Design Pattern</strong></h3><p>This pattern is used when we need only one instance of a class. All furthur references to the objects are referred to the same underlying instance created.</p><p><strong>Implementation:</strong></p><ul><li>Declare all constructors as private.</li><li>Provide static method that returns an instance of class.</li><li>The instance is stored as a private static variable.</li></ul><pre>public static sealed class Singleton<br>{<br>  private static Singleton instance = null; // private static variable.<br><br>  private Singleton()<br>  {  <br>    //Private Constructor<br>  }<br><br>  public static Singleton GetInstance // Returns instance of class.<br>  {<br>    get<br>    {<br>      if(instance == null)<br>        instance == new Singleton();<br>      return instance;<br>    }<br>  }<br>}</pre><p>Before proceeding further, let’s discuss why should we seal the singleton class.</p><p>The Sealed keyword prevents the class to be inherited by some other class.</p><pre>public static class Singleton<br>{<br>  private static Singleton instance = null; // private static variable.<br><br>  private Singleton()<br>  {  <br>    //Private Constructor<br>  }<br><br>  public static Singleton GetInstance // Returns instance of class.<br>  {<br>    get<br>    {<br>      if(instance == null)<br>        instance == new Singleton();<br>      return instance;<br>    }<br>  }<br>}<br><br>public class DerivedSingleton : Singleton <br>{<br>  // Singleton.Singleton() is inaccessible due to it&#39;s protection level.<br>}</pre><p>Although the private constructor will restrict the class to be inherited but if we move our class inside the singleton class, that’s where the problem starts.</p><pre>public static class Singleton<br>{<br>  private static Singleton instance = null; // private static variable.<br><br>  private Singleton()<br>  {  <br>    //Private Constructor<br>  }<br><br>  public static Singleton GetInstance // Returns instance of class.<br>  {<br>    get<br>    {<br>      if(instance == null)<br>        instance == new Singleton();<br>      return instance;<br>    }<br>  }<br>  <br>  public class DerivedSingleton : Singleton <br>  {<br>    // If we create an instance of DerivedSingleton, another instance of<br>    // singleton class will be created.<br>  }<br>}</pre><p>Thus, we have to provide the sealed keyword, to restrict the class to be inherited to follow the singleton design pattern.</p><p><strong>Conclusion:</strong> The singleton pattern is a great choice based on our use case but should be used moderatly and should not be overused. The instance created here will not be destroyed for as long as the application keeps running. This can be a little problematic if we have a large application with several such instances created, and so our memory is filling up with such instances which we don’t necessarily need all the time.</p><p>Thanks, hope it helps. Do checkout my other C# blogs.</p><p><a href="https://levelup.gitconnected.com/interfaces-in-c-cd85460f3c50">Interfaces in C#</a></p><h3>Level Up Coding</h3><p>Thanks for being a part of our community! Before you go:</p><ul><li>👏 Clap for the story and follow the author 👉</li><li>📰 View more content in the <a href="https://levelup.gitconnected.com/?utm_source=pub&amp;utm_medium=post">Level Up Coding publication</a></li><li>💰 Free coding interview course ⇒ <a href="https://skilled.dev/?utm_source=luc&amp;utm_medium=article">View Course</a></li><li>🔔 Follow us: <a href="https://twitter.com/gitconnected">Twitter</a> | <a href="https://www.linkedin.com/company/gitconnected">LinkedIn</a> | <a href="https://newsletter.levelup.dev">Newsletter</a></li></ul><p>🚀👉 <a href="https://jobs.levelup.dev/talent/welcome?referral=true"><strong>Join the Level Up talent collective and find an amazing job</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4b5b7cc305b" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/design-patterns-singleton-design-a4b5b7cc305b">Design Patterns: Singleton Design</a> was originally published in <a href="https://levelup.gitconnected.com">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nike, Steve Jobs, And a Story to Remember….]]></title>
            <link>https://medium.com/illumination/nike-steve-jobs-and-a-story-to-remember-970ea5cbddcf?source=rss-2b384f9b70ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/970ea5cbddcf</guid>
            <category><![CDATA[steve-jobs]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[advertising]]></category>
            <category><![CDATA[campaign]]></category>
            <category><![CDATA[nike]]></category>
            <dc:creator><![CDATA[Hammad]]></dc:creator>
            <pubDate>Sat, 20 May 2023 08:04:09 GMT</pubDate>
            <atom:updated>2023-05-20T08:04:09.867Z</atom:updated>
            <content:encoded><![CDATA[<p>This story started when Steve Jobs returned to Apple in 1997, when Apple was going through heavy losses because of 11 consecutive years of failure, and people lost their trust in them.</p><p>That’s when Steve Jobs came up with a game-changing idea and launched a campaign popularly known as <strong>‘Think Different’,</strong> which is one of the best marketing campaigns even today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Bgsd2fsVso_6UiJ1" /><figcaption>Photo by <a href="https://unsplash.com/@mahdi17?utm_source=medium&amp;utm_medium=referral">Md Mahdi</a> on <a href="https://unsplash.com?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In one of his Masterclass Jobs said, “Apple brand has clearly suffered from neglect”. He continued with how they can bring Apple back by not talking about the speed and fees, by not talking about bits and megahertz, and by not talking about how Apple is better than Windows.</p><p>And for inspiration, he turned to <strong>Nike</strong>.</p><p>“The best example of all, and one of the greatest jobs of marketing the universe has ever seen is Nike,” Jobs explained. In their ads, they don’t ever talk about their products. What does Nike do? They honor great athletes and they honor great athletics. That’s who they are, that’s what they are about.”</p><p>And, Let’s not get started about what Nike did when they lost the title sponsorship to Adidas of the 2012 London Olympics. Even after losing the title sponsorship, when the results came out, there we 9000 tweets associating Adidas with the Olympics, while there were 16,000 tweets associating Nike with it. And to conclude their genius strategy, in a survey after the Olympics, 27% of people said Adidas was the title sponsor of the Olympics, while 37% of people said that Nike was the title sponsor of the London Olympics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/0*V2IuIGfmlmjO-vHy.jpg" /><figcaption>Survey Results ~ Business Today</figcaption></figure><p>You can checkout the survey here:</p><p><a href="https://www.businesstoday.in/magazine/lbs-case-study/story/branding-strategies-at-london-olympics-2012-130660-2013-09-14">Case study: Branding strategies deployed at the 2012 Games in London</a></p><p>And what was the genius strategy of Nike? their “<strong>Find Your Greatness</strong>” campaign.</p><ol><li>Nike was not allowed to showcase London of UK in their commercials, but they found a loophole and showcased the other 28 locations named as London in different parts of the world.</li><li>Nike was not allowed to hire athletes taking part in Olympics for it’s brand endorsement. So it hired teenagers for commercials and came out with beautiful advertisement. It literally broke the internet. They played with the emotion of inspiration to communicate their idea. Below I am attaching the link of that commercial because I feel words are not enough to describe this masterpiece.</li></ol><p>Here’s the campaign video as words are not enough to describe this masterpiece.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWYP9AGtLvRg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWYP9AGtLvRg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWYP9AGtLvRg%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e796c8299140ffdfc38264e895213b95/href">https://medium.com/media/e796c8299140ffdfc38264e895213b95/href</a></iframe><h3><strong>Conclusion</strong></h3><p>Steve Jobs was inspired by Nike and launched the “Think Different” campaign.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L8OTA1VI9Q4QVrCT" /><figcaption>Photo by <a href="https://unsplash.com/@medhatdawoud?utm_source=medium&amp;utm_medium=referral">Medhat Dawoud</a> on <a href="https://unsplash.com?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Albert Einstein, Bob Dylan, Martin Luther King, Jr., Richard Branson, John Lennon (with Yoko Ono), Buckminster Fuller, Thomas Edison, Muhammad Ali, Ted Turner, Maria Callas, Mahatma Gandhi, Amelia Earhart, Alfred Hitchcock, Martha Graham, Jim Henson (with Kermit the Frog), Frank Lloyd Wright and Pablo Picasso. These are the famous personalities that were on the billboard and TV Ads. Indeed, this ad is strong and motivating, it can draw viewer’s attention from the first second and it remains unique until now.</p><p><strong>Enjoy it:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F5sMBhDv4sik%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D5sMBhDv4sik&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F5sMBhDv4sik%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ab9a2b16bbbf0cf6fb6056a667cdc83d/href">https://medium.com/media/ab9a2b16bbbf0cf6fb6056a667cdc83d/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=970ea5cbddcf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/nike-steve-jobs-and-a-story-to-remember-970ea5cbddcf">Nike, Steve Jobs, And a Story to Remember….</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interfaces in C#]]></title>
            <link>https://levelup.gitconnected.com/interfaces-in-c-cd85460f3c50?source=rss-2b384f9b70ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd85460f3c50</guid>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[interfaces]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Hammad]]></dc:creator>
            <pubDate>Fri, 19 May 2023 16:12:57 GMT</pubDate>
            <atom:updated>2023-05-19T16:12:57.952Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*QTy_pMKgRP1LgMhL.jpg" /></figure><p>In C# an Interface is like a contract, in which every class which inherits it, must abide by all the interface rules, i.e., the class should provide implementation for all the interface methods.</p><p>A class must comply with the contract set out by the interface. A class simply says that I will provide you the implementation of all the methods, it’s a contract that must be fulfilled.</p><p>It should be noted that the class which inherits an interface can have other methods and fields too. Interfaces do not force you to <strong>only</strong> comply with the contract, you must implement them, yes, but you can add other methods and fields too. Your class will work as it does, just that it must provide an implementation of all the interface methods.</p><p><strong>How do we declare an Interface?</strong></p><ul><li>An interface is declared using the interface keyword, followed by the name of the interface. It’s a convention to put the letter “I” before the name of the interface in C#. The methods of an interface have access modifiers(public) return type and the method name.</li></ul><pre>public interface IEmployee<br>{<br>  public void Salary();<br>}</pre><ul><li>We don’t provide the implementation of methods here, but in the class that inherits the interface. By using the: operator in its declaration followed by the names of the interfaces, a class can implement one or more interfaces.</li></ul><pre>public class Company : IEmployee<br>{<br>  public void Salary()<br>  {<br>    //Logic for Salary<br>  }<br>  public void Location()<br>  {<br>    //Locations Data<br>  }<br>}</pre><ul><li>A class should provide implementation of all the methods of interface and can have other methods too.</li><li>Interfaces don’t have constructors, as we cannot make an instance of an interface.</li><li>We can inherit more the one interface in a class.</li></ul><pre>public class Company : IEmployee, IIntern, IPartTime<br>{<br>  public void Salary()<br>  {<br>    //Logic for Salary<br>  }<br>  public void Location()<br>  {<br>    //Locations Data<br>  }<br>}</pre><ul><li>Interface members are by default abstract and public.</li><li>Interfaces can contain properties and methods, but not fields/variables.</li></ul><p><strong>Why do we use Interface?</strong></p><ul><li>To achieve security: Interfaces help us achieve security in our application by hiding details and showing only the important details of an object(interface).</li><li>Interface helps us overcome the problem of multiple inheritance which is not possible in C#. We cannot inherit more than one class but we can inherit more than one interface keeping in mind that we have to abide by and must provide an implementation of all the methods of all the interfaces we inherit.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd85460f3c50" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/interfaces-in-c-cd85460f3c50">Interfaces in C#</a> was originally published in <a href="https://levelup.gitconnected.com">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to enable Virtualization: Docker Installation Error]]></title>
            <link>https://levelup.gitconnected.com/how-to-enable-virtualization-docker-installation-error-46587f1e2686?source=rss-2b384f9b70ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/46587f1e2686</guid>
            <category><![CDATA[firmware]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[docker-desktop]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Hammad]]></dc:creator>
            <pubDate>Thu, 11 May 2023 04:33:37 GMT</pubDate>
            <atom:updated>2023-05-11T04:33:37.443Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*Hif6QMBFD0_q3_80uokiVg.png" /><figcaption>Docker Error on Startup</figcaption></figure><p>Are you facing this issue on the startup of Docker Desktop? Let’s discuss how to resolve this error, <strong>“Docker Desktop is unable to detect Hypervisor”</strong> on installing the Docker desktop on Windows 11.</p><p>The issue behind this error is Virtualization or Secure Virtual Machine(SVM) is disabled in the firmware.</p><h3><strong>Check if Virtualization is disabled on your PC</strong></h3><p>In the Windows search bar type ‘Task Manager’ and open it. Go to the performance tab in the navigation tab and check if virtualization is enabled or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fteIqSnz3_mIc8Pr3Gga1g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*0jEJ__F0Lftit_IRrdrKaQ.png" /><figcaption>Virtualization Disabled</figcaption></figure><h3><strong>Let’s discuss how easily we quickly change this in the firmware</strong></h3><p><strong>Step 1)</strong> Go to “<strong>Setting&gt;Recovery&gt;Advance Startup</strong>” and click on Restart Now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IGtNWrHYQXAr2zVc2WEhbw.png" /><figcaption>Step 1</figcaption></figure><p>Step 2) A new tab will appear, Choose Troubleshoot and then select Advanced options</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O9YTQuyBT85T7fWhIA4Aag.jpeg" /><figcaption>Choose Troubleshoot</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XXWPO-2Q9bJQ1oFouE2jCw.jpeg" /><figcaption>Click on Advanced Options</figcaption></figure><p>Step 3) Select UEFI Firmware Settings. If you don’t see this icon, then press Startup Repair, instead. When your PC is restarting, tap F1 (or F2) to access the BIOS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2xTKbWA4TJyX0_0vN6Vlag.jpeg" /><figcaption>Select UEFI Firmware Settings</figcaption></figure><p>Step 4) Now, you will land on this page, Select Advanced Mode on the bottom left or Press F7.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q6mLt_ZS-PdBMEOrs9y-bA.jpeg" /></figure><p>Step 4) Choose the Advanced option in the navigation menu and Enable the SVM Mode. Also, if you are using an ASUS device change the UMA Frame Buffer Size to Auto instead of 512M.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CAdTIxVsmTwFNAaDXcwP3A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5BGI1a9mNdtnG5PDXdBtLg.png" /></figure><p>Step 5) Press F10 to Save and Exit. Your system will reboot with the updated features</p><p><strong>Check Again the Virtualization in the Task Manager. Voilà !!!Now you should be able to install Docker and run any Docker image in your Windows system.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*1KEm9FATdVax-VEOIZgWoA.png" /><figcaption>Virtualization Enabled</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L70vDnU0LUFvF7JOFa14eg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46587f1e2686" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/how-to-enable-virtualization-docker-installation-error-46587f1e2686">How to enable Virtualization: Docker Installation Error</a> was originally published in <a href="https://levelup.gitconnected.com">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Install Jenkins: Complete Step by Step guide]]></title>
            <link>https://levelup.gitconnected.com/how-to-install-jenkins-complete-step-by-step-guide-959297f600db?source=rss-2b384f9b70ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/959297f600db</guid>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[jenkins-pipeline]]></category>
            <category><![CDATA[jenkins-plugins]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[devops-practice]]></category>
            <dc:creator><![CDATA[Hammad]]></dc:creator>
            <pubDate>Sun, 30 Apr 2023 14:35:55 GMT</pubDate>
            <atom:updated>2023-05-11T04:13:38.028Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How to Install Jenkins? A complete step-by-step guide.</strong></p><p>Continuous Integration is an important part of DevOps, and Jenkins is the most famous and widely used tool for Continuous Integration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*NbPpycLmksow4NAI1ki5pg.png" /></figure><p><strong>What is Jenkins, and why do we use it?</strong></p><p>Jenkins is a self-contained Java-based program with plugins built for continuous integration. Jenkins is used to build and test your software projects continuously, making it easier for developers to integrate changes.</p><p><strong>How to Install Jenkins on Windows</strong></p><p><strong>1) To start configuring Jenkins on Windows, you first need </strong><a href="https://www.oracle.com/java/technologies/downloads/#jdk20-windows"><strong>Java Development Kit(JDK).</strong></a></p><p><strong>2) Set the Environment Variable path for JDK</strong></p><ul><li>Search for Environment Variable in the Task Bar and click on “Edit the system environment variables”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*GQS-BYYt1-iTxjra81Apug.png" /></figure><ul><li>Under the system variables, select the “Path” variable and click on “Edit”. Click on “New” then paste the Path Address of your JDK i.e. <strong>C:\Program Files\Java\jdk-</strong>{YOUR_JDK_VERSION}<strong>\bin</strong>. Click on <strong>“OK”</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1QrM2OJwVU06GdLKUQueEw.png" /></figure><ul><li>Now, in the <strong>Environment Variables</strong> dialogue, under <strong>System variables</strong>, click on <strong>“New”</strong> and then under <strong>Variable name: JAVA_HOME</strong> and <strong>Variable value:</strong> paste address i.e. <strong>C:\Program Files\Java\jdk-</strong>{YOUR_JDK_VERSION}. Click on <strong>OK =&gt; OK =&gt; OK</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*0YqPwVBgcZuAwk5Q9r9WiA.png" /></figure><p>3) Now, that we have installed JDK, we have to download <a href="https://www.jenkins.io/download/">Jenkins</a> LTS.</p><ul><li>Once it is downloaded, it will open a wizard on your screen. Click “Next” to start the Jenkins installation.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*3laEiiQoqJ-oEO2SWhy1Yw.png" /></figure><ul><li>Click on change, and I would advise you to keep things simple and don’t change the path.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*sBl-mtCbhxmJuOKdMzTnYg.png" /></figure><ul><li>Select ‘Run service as LocalSystem” or you can also select the second option, ‘Run service as local or domain user’. I am .moving forward with the first option</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*u4n0wim3d97Zb_1PLls2ig.png" /></figure><ul><li>It is recommended that you accept the selected default port. Test the port and click on the “Next” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*q_erHRoR9X21OgWNItHG3g.png" /></figure><ul><li>Select the Java home directory, and then click on the “Next” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*fUCK1Nh4ZF-poaMOVpTKRA.png" /></figure><ul><li>Click on the “Next” button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*RWL84iS1Jg8A4Hp2xQ31tw.png" /></figure><ul><li>Click on the Install button to start the installation process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*rXk8T818tm5uj1lBvRbeog.png" /></figure><ul><li>When done, click on “Finish” to complete the installation process. Now that the installation process is out of the way, you need to follow a few more quick steps before you start using Jenkins on Windows.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*6XHr68k0KhJGMI7sG3i3BQ.png" /></figure><h3>Unlock Jenkins For Windows</h3><ul><li>Paste the URL <a href="http://localhost:8080">http://localhost:8080</a> in a browser or change the port if you changed it in the installation process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CetNfobdNNq92BChZOxt5A.png" /></figure><ul><li>Go to the path specified, you will get the initial password there, paste it here and click on the ‘Continue’ button.</li><li>Next, Install the suggested plugins</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ou7rVLdR8woMq8IMaMcAJw.png" /></figure><ul><li>The plugins will be installed and will take some time, be patient.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YmTkTve9V933hotqo_lwzw.png" /></figure><ul><li>Click on ‘Save and Finish’ button and you will be redirected to the admin page of Jenkins.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2UxGq_SM8798L503Quk1oA.png" /></figure><ul><li>Finally, here is the default Jenkins page. Jenkins is now installed and running on Windows, and you are ready to start building your CI/CD pipeline.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u-gD3HmoSvArpL0vfbTypg.png" /></figure><ul><li><strong>Finally, here is the default Jenkins page.</strong> Jenkins is now installed and running on Windows, and you are ready to start building your CI/CD pipeline. ( The initial password used above is the admin password.)</li></ul><h3><strong>Conclusion</strong></h3><p>Now, you can install Jenkins on Windows and start creating your continuous integration pipeline. You are well on your way to becoming a DevOps and CI/CD expert.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=959297f600db" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/how-to-install-jenkins-complete-step-by-step-guide-959297f600db">How to Install Jenkins: Complete Step by Step guide</a> was originally published in <a href="https://levelup.gitconnected.com">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI will not take your job, But a person using AI will]]></title>
            <link>https://medium.com/illumination/ai-will-not-take-your-job-but-a-person-using-ai-will-1b4b37892ee3?source=rss-2b384f9b70ad------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b4b37892ee3</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Hammad]]></dc:creator>
            <pubDate>Sat, 29 Apr 2023 14:43:28 GMT</pubDate>
            <atom:updated>2023-05-08T00:53:24.112Z</atom:updated>
            <content:encoded><![CDATA[<p>As a software developer, you may have heard concerns about AI taking over your job. However, the reality is that AI is not a threat to your career but rather a tool that can help you become more productive and efficient.</p><p>For now, Let’s see how Github Copilot and ChatGPT are used as a tool in software development:</p><p><strong>GitHub Copilot:</strong> With GitHub Copilot, more than 1.2 million developers rely on AI to generate code on their behalf, saving them time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*jLz5oOK2fG6xbZObnBSF_Q.png" /><figcaption>Code snippet suggested by Copilot</figcaption></figure><p>Copilot uses machine learning algorithms and natural language processing to examine code patterns and provide suitable suggestions. It uses the code available on GitHub and suggests code snippets that increase productivity and efficiency by reducing the time and effort required to write code.</p><p><strong>ChatGPT:</strong> I am sure you have heard of ChatGPT and probably used it too. ChatGPT is an AI-powered chatbot that uses a deep learning model designed for natural language processing tasks, Phew!</p><p>In basic terms, It can generate human-like responses to text-based input (Wait for ChatGPT 4, it will blow your mind).</p><p>And now, you may ask, How it helps a software developer?</p><ol><li>Show the HTML for the login form.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*A5SjXq_KijOdGq2ImWnsjQ.png" /><figcaption>Login form code and explanation by ChatGPT</figcaption></figure><p>2)How to use redux in React?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cjrk6qP3T_3W1O6Z9D62UQ.png" /><figcaption>The response generated by ChatGPT</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zIHQ5qYDWtxKKNWa2VBkyA.png" /><figcaption>The response generated by ChatGPT</figcaption></figure><p>3)How can I connect the .Net backend with the Angular frontend?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*sL_MvAfDZDe-PJZPLXUb-A.png" /><figcaption>The response generated by ChatGPT</figcaption></figure><p>With the above three examples, you can see the power of ChatGPT and how it can be used. Yes, there are limitations to it but you get the idea right.</p><p><strong>Developer VS Developer using AI</strong></p><p>I have been working in a multinational software development company for more than a year now, and what I realized is that a developer using AI, such as Github Copilot or ChatGPT, will increase a developer’s productivity and efficiency. Either you can write the HTML for the login form or get it from chatGPT in a few seconds, write your code, or use copilot that can suggest and predict the next line of code based on context, allowing developers to write code faster and with fewer errors.</p><p>The choice is yours, as the person next to you can use AI and will most likely do a better job than you. As the title says,<strong> AI will not take your job, but a person using AI will.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b4b37892ee3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/ai-will-not-take-your-job-but-a-person-using-ai-will-1b4b37892ee3">AI will not take your job, But a person using AI will</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>