<?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 Anisha Varshney on Medium]]></title>
        <description><![CDATA[Stories by Anisha Varshney on Medium]]></description>
        <link>https://medium.com/@anishavarshney28?source=rss-8661e7241bfb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*wFeWjHcO0iklt6hH.jpg</url>
            <title>Stories by Anisha Varshney on Medium</title>
            <link>https://medium.com/@anishavarshney28?source=rss-8661e7241bfb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:34:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anishavarshney28/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[Journey as a Web Development Intern]]></title>
            <link>https://anishavarshney28.medium.com/journey-as-a-web-development-intern-c58376811b1?source=rss-8661e7241bfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c58376811b1</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Anisha Varshney]]></dc:creator>
            <pubDate>Tue, 02 May 2023 19:18:28 GMT</pubDate>
            <atom:updated>2023-05-02T19:18:28.640Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>📅 May 02, 2023</strong></p><p><strong>🖊By Anisha Varshney</strong></p><p>This blog documents my four months of work as a web development intern at Business Web Solutions, one of the most cost-effective web agencies, where we listen to your needs, plan and design the ideal website for your business, and then publish it. Our office is located in New Delhi’s Ludlow Castle Civil Lines.</p><p>My understanding was greatly enhanced throughout the first two months of training in topics like What Is Web Development, HTML, CSS, JavaScript, ReactJS, Firebase, etc. Additionally, we were given practice assignments on a variety of topics during the training. I undertook 2 projects in April after the training that helped me put what I had learned into practice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_hNqyrr-hzqD6RFC39O1kw.jpeg" /></figure><p>The first of my projects in this internship period was to create a Front-end for a business. I made an E-commerce responsive website front-end named CARA. I started working on VS Code as it supports 100+ languages and features a lightning-fast source code editor, perfect for day-to-day use. I used HTML as the basis for creating websites is HTML (Hypertext Markup Language). The structure and content of web pages are created using it. After structuring the pages of the website I used CSS, which is used to style and layout web pages. It allows us to control the appearance of elements such as fonts, colors, and spacing. Then we used Javascript to add interactivity and dynamic functionality to web pages. Here are some glimpses of the website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IgCqns3bVHuifjklGv4I0A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6-tAKlo7aPdggeyWBcSDkw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h-ltSnipMkvTL94MNRxehg.jpeg" /></figure><p>The front end of the website took about two weeks to construct. During the creation process, there were many difficulties and mistakes. But my mentors supported me through it all and gave me the motivation to finish the project by the deadline. After this project, there was another client who demanded a website for his business, so I planned and started working on the website. This is a full-stack responsive E-commerce website called Multimart. In order to create this website, I am using HTML, CSS, Javascript, ReactJS, and Firebase.</p><p>Facebook created the open-source React.js framework, a JavaScript framework, and a library. It is used to quickly and effectively create interactive user interfaces and online applications. I choose ReactJs because it allows us to create reusable UI components. For the backend, I am using Firebase. The work is still in progress. I choose Firebase because it allows Real-time database creation. By enabling secure access to the database directly from client-side code, the Firebase Realtime Database enables you to create robust, collaborative apps. Here are some glimpses of the website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MAjaQFp86Te-KpE0je3l3w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GLWfxQiIjs_USnNr4KjFNw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FRUexPcZjr_2Pm8t9LY6dA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dLilFeTigDlG-1OheFz5_g.jpeg" /></figure><p>It took 2 weeks to complete this much of the project and the latest task which is going on in this project is linking the front end with the backend, this is a much more complex task than the previous one, and I am still working on it.</p><p>I would like to conclude by thanking the company that gave me the confidence and the responsibility to work on major projects which helped me gain invaluable experience. I would also like to thank my colleagues and seniors who taught me many new things and helped me when I was stuck on some tricky aspects of the project.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c58376811b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Future of AI: How AI will affect mankind?]]></title>
            <link>https://anishavarshney28.medium.com/future-of-ai-how-ai-will-affect-mankind-893d023b8ccf?source=rss-8661e7241bfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/893d023b8ccf</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[ai-and-machine-learning]]></category>
            <category><![CDATA[ai-and-humans]]></category>
            <category><![CDATA[ai-and-ml]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Anisha Varshney]]></dc:creator>
            <pubDate>Fri, 16 Dec 2022 17:30:54 GMT</pubDate>
            <atom:updated>2022-12-16T18:01:46.645Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>📅 Dec 16, 2022 🖊By Anisha Varshney</strong></p><p>The idea of Artificial Intelligence is fascinating, and advancements in this field are accelerating. Since its origin, artificial intelligence has attracted both professionals and people with its potential consequences, both positive and negative. As we know only humans are capable of creating machines. By doing this, we increase our powers beyond what is possible for us biologically. But many people are concerned about how these developments will change their lives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*aS-bnixsWmjon-C_" /></figure><p>Over the next ten years, experts predict that the advent of artificial intelligence will improve the lives of the majority of people. The majority of people on the planet currently utilize AI-powered technology that is part of their daily life. Many of us are unaware that when we use Siri to check the weather or ask Alexa to switch off our smart lights, we are using AI.</p><p>Each of us has seen Hollywood representations of AI. Hollywood frequently portrays AI as the antagonist or wicked. There is always a malicious AI prepared to rule the earth. Is this the future we deserve? Is it people vs technology?</p><p>In my opinion, no.</p><p>When we pose this query to a GPT-3 chatbot, we receive the following response:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nsVV5wEP7vbU3_V2" /></figure><p><em>“AI can be our friend.” — Bill Gates</em></p><p>In actuality, both humans and AI are necessary for each other to thrive. However, there are several important benefits of AI that may be overlooked but let&#39;s discuss them.</p><p><strong>AI has improved automation and will do so going forward.</strong></p><p>Robots that have been enhanced with AI may now effortlessly complete a wide range of automated duties both in and off the workplace without the need for ongoing human involvement. For various tasks and uses in a diverse range of industries, artificial intelligence (AI) is poised to be a game-changing technology. In the future, it’s possible that more robots may join human workers in the workforce. These robot coworkers, known as “cobots,” can supplement human workers rather than replace them completely, thereby enhancing their productivity and general well-being.</p><p><strong>AI may help people is through improving weather forecasts.</strong></p><p>Due to the complexity of weather forecasting, deep learning networks and intense processing are required. These technologies enable computers to evaluate and process vast or large amounts of data far more quickly than humans. Numerous AI applications are geared toward precise weather forecasting. For instance, IBM began using its computers to enhance its forecasts in the middle of the 1990s.</p><p><strong>AI could prevent people from risking their lives.</strong></p><p>The idea is that artificial intelligence will eventually put an end to humanity because robots and technology would either deskill, eradicate, or enslave us all. AI, however, has the potential to save lives in other contexts, such as emergency rescue operations. One day, AI-powered firemen may help first responders find victims of environmental or industrial disasters and save their lives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*pb-jhfBOoGAeSavT" /></figure><p>We can automate a lot of tasks thanks to AI. We can work on monotony for a shorter period of time. Task complexity can be reduced by AI. Robotic equipment is used in manufacturing facilities to handle all labor-intensive tasks. The manufacturing workers are spared years of good health as a result.</p><p>AI systems also never report sick to work. They do not have any personal or family problems. Interventions in maintenance are still necessary, factory workers continue to do less labor-intensive tasks. Workflow becomes more streamlined and reliable as a result. AI is the muscle, and humans are it. AI powers chipsets and improves their performance. Numerous software programs that enhance our quality of life are built on AI.</p><p>But still, a Question arises can robots make people jobless?</p><p>Any technology, including AI, might be dangerous for people.</p><p>According to Ben Nye, Director of Learning Sciences at the USC-ICT, some of these risks include weaponization, overoptimization, and ecological collapse. According to him on Metafact, “test releases of a weaponized, viral AI might easily be one of the next important Manhattan Project scenarios” if the AI is specifically intended to harm people or destabilize countries. According to Nye, “we are already witnessing more sophisticated coronavirus disease attacks by country, which is most definitely how this starts.”</p><p>The concept that machines would somehow develop awareness and turn against their creators has given rise to the dread of AI taking over. In addition to having intellect comparable to humans, AI would also have to be able to forecast the future or make plans in advance in order to accomplish this. Currently, AI is unable to perform either task.</p><p>So with this, I want to conclude that AI is not at all a threat to mankind but When building AI solutions, we are also challenging and improving ourselves. As there is a saying:</p><p><em>“Nobody phrases it this way, but I think that artificial intelligence is almost a humanities discipline. It’s really an attempt to understand human intelligence and human cognition.” –Sebastian Thrun</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=893d023b8ccf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why should you migrate from ECS to EKS and how?]]></title>
            <link>https://anishavarshney28.medium.com/why-should-you-migrate-from-ecs-to-eks-and-how-515b46658a31?source=rss-8661e7241bfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/515b46658a31</guid>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Anisha Varshney]]></dc:creator>
            <pubDate>Tue, 12 Jul 2022 06:42:29 GMT</pubDate>
            <atom:updated>2022-07-12T06:43:08.521Z</atom:updated>
            <content:encoded><![CDATA[<p>📅 Jul 12, 2022 🖊By Anisha Varshney</p><p>If you are starting with container services then you might come across a question…“Which Amazon service is superior EKS or ECS? Which service we should use?” Don’t worry I got you. In this article, we’ll contrast and compare Amazon ECS and Amazon EKS, two widely used container orchestration services, to make it easier for you to decide which orchestration system is best for your business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*i1Xt2OKP1KmYginuvCYBLA.jpeg" /></figure><p>Here is what I think: I think EKS is significantly superior to ECS. Many of you will be familiar with what ECS and EKS are. But let’s quickly take a glance at what are these.</p><h3><strong>Amazon Elastic Container Service (ECS)</strong></h3><p>Amazon ECS, A highly scalable and quick container management service that is used to manage, run, and stop containers on a cluster. It also supports Docker Containers. Your containers using the Amazon ECS service are specified in a task description that you use to execute a single task or a task inside of a service. In simple words, this service allows you to run and maintain several tasks simultaneously which are defined in a cluster by you. You can also use a serverless infrastructure that is maintained by AWS Fargate to run your tasks and services. There is another alternative, for more control over your cluster you can execute it on Amazon EC2 instances. ECS provides features like:</p><ul><li>Continuous integration and continuous deployment (CI/CD)</li><li>Integration with AWS Identity and Access Management (IAM).</li><li>Fully managed AWS Container orchestration.</li><li>CloudWatch to monitor AWS Containers.</li></ul><h3><strong>Amazon Elastic Kubernetes Service (EKS)</strong></h3><p>It is simple to install, operate, and scale containerized applications using Kubernetes on AWS. Thanks to Amazon Elastic Container Service for Kubernetes (Amazon EKS). All applications managed by Amazon EKS are entirely compatible with apps managed by any standard Kubernetes environment because this service makes use of the open-source tool Kubernetes. It might be claimed that Amazon EKS is more extensible than Amazon ECS in this regard. Kubernetes offers us a wide variety of tools like Helm a tool for templating deployment, Istio, Envoy, a variety of service meshes, Jetstack’s cert-manager for managing certificates, and a wide range of tracing, monitoring, and metrics reporting tools like Prometheus, Jaeger, Grafana, etc. ECS does not support all these third-party tools but a few i.e. Grafana and Prometheus.</p><h3><strong>Some Pros And Cons of ECS &amp; EKS</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IGmTIQT1nk5tcTtL" /></figure><ul><li>You only pay for the services you use in ECS; there is no extra fee charged for EC2 instances. But in EKS, some extra costs you have to pay for the clusters. However, you can use a single cluster to run numerous apps by utilizing Kubernetes namespaces and IAM security, so it’s not as horrible as it seems.</li><li>Compared to Kubernetes, ECS has very slow resource management (launching ECS services/tasks is several times slower than EKS launch.)</li><li>As ECS is not an open-source as EKS (With Kubernetes you can build a bunch of amazing custom plugins utilizing Kubernetes API )</li><li>EKS is difficult to debug all thanks to Kubectl, a feature of Kubernetes.</li><li>The container limit in ECS is only up to 120 tasks but EKS offers you up to 750 pods to work upon.</li></ul><p>So, switching from ECS to EKS has a lot of other benefits. Already, many companies are migrating from ECS to EKS (i.e. Kubernetes). And many companies like Amazon, JP Morgan Chase, and HSBC have already done it for the betterment and fast working of their company. Now, we will see how you can migrate. But we discovered some more issues that must be resolved before your ECS to EKS conversion.</p><ol><li>You have to <strong>convert all the information about the ECS job definition to Kubernetes deployment YAML.</strong></li><li><strong>Spinning the atmosphere </strong>means you must spin the EKS environment versions that you have. Typically, people utilize Terraform, CloudFormation, or Pulumi as part of IaC (Infrastructure as Code) for that. And it’s icing on the cake that EKS is supported by the most common IaC tools.</li><li>You have to<strong> configure your Continuous Integration and Continuous deployment (CI/CD) pipeline</strong>. To deploy your applications onto the EKS cluster, you must do this.</li><li><strong>Networking </strong>includes all the networking features like ALB &amp; NLB which are supported by both ECS and EKS.</li><li>The next thing is you have to<strong> Run your test </strong>suite against your new setup to ensure everything is working as it should.</li><li>You can<strong> change the IP </strong>that your area points to so that you can make it level with the load balancer that your EKS cluster uses. This is how you ensure that the utility site visitor now counts toward the EKS cluster.</li></ol><h3><strong>Migration From ECS To EKS</strong></h3><p>The first step for the migration is you have to create Cloudformation files separately for ECS and EKS.</p><p>Steps to follow:</p><ul><li>Make an EKS Cluster</li><li>You have to launch nodes i.e. EKS worker nodes</li><li>Then, launch K8 (Kubernetes) services which should match your existing ECS services</li><li>You will then Test your K8 (Kubernetes) services by balancing the percentage of traffic amongst EKS and ECS</li><li>Now you can discard all your ECS services.</li></ul><h3><strong>Explanation:</strong></h3><p>You have to make a simple EKS Cluster. IAM and a special piece of software called <strong>aws-iam-authenticator</strong>, which creates Kubernetes auth tokens, are used for the authentication of the EKS Cluster. All you need to create an actual AWS ELB is deployment and service with a type of <strong>LoadBalancer</strong>. You can now use a new variety of Kubernetes resources, observe that they are created in a matter of seconds, and troubleshoot your application almost immediately without affecting the production. Your DNS can be easily set up to send a specific, minimal percentage of your traffic. First, try to direct 50% of your traffic to Kubernetes to check that everything is functioning as expected. If there is no such error then, you can adjust your settings to eliminate ECS resources and direct all traffic to Kubernetes.</p><h3><strong>Conclusion</strong></h3><p>Kubernetes has advanced significantly since a few years ago in terms of documentation (outside of GCP), managed service providers, and the tooling that enables it to be used by small teams. Compared to ECS, Kubernetes offers a lot more cool features, including Ingress controllers (such as Nginx/traefik and others), Cluster auto scalers, Pod/Deployment scalers, and various types of logging setup, etc. But still, there is a lot to discover and understand about the K8s (or Kubernetes) landscape, we have just scratched the surface!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=515b46658a31" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to fix the Weather app not updating on iPhone]]></title>
            <link>https://anishavarshney28.medium.com/how-to-fix-the-weather-app-not-updating-on-iphone-43631cb4fa6?source=rss-8661e7241bfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/43631cb4fa6</guid>
            <category><![CDATA[iphone]]></category>
            <category><![CDATA[weather-apps]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[technical-writing]]></category>
            <dc:creator><![CDATA[Anisha Varshney]]></dc:creator>
            <pubDate>Mon, 11 Jul 2022 15:39:28 GMT</pubDate>
            <atom:updated>2022-07-11T15:39:28.335Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>📅 Jul 10, 2022, </strong>🖊️By Anisha Varshney</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/1*C-d4EI5sC-Z2oJ0O0zVctw.png" /></figure><p>IOS provides excellent weather forecasting services. The Weather app, which is readily available on every iPhone (with the logo on the left) has a highly appealing and interactive user interface. Via this app, you can select any city in the world you want to receive a 10-day weather forecast because it supports numerous locations you’ve never heard of. Not only this you can also see the UV index, Sunset and sunrise timing for each day, Wind speed, Humidity, Pressure, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*oL670T1digXEu2EgvDrcTQ.png" /></figure><p>You need not worry if you frequently forget to update your phone’s applications, the iPhone’s weather app automatically updates. As this app uses an online service to obtain all the information about the weather you must be connected to the Internet for the proper functioning of the app. If still, the weather app on your iPhone isn’t updating. Make sure you restart your phone as it is an easy solution to any issues. If the problem hasn’t been resolved already, it will be by the end of the article.</p><p><strong>Check your Internet Connection: </strong>Make sure your device is connected to the Internet and you can access The Weather Channel via Safari. There can be another possibility that you have accidentally disabled the internet for the weather app. You can check it by going to the Phone’s setting → Scroll down and choose the weather app → Turning on Mobile data if it is off. Recheck your app, I hope it must be updated.</p><p><strong>Check the Location Access: </strong>If your internet service is functioning properly then Location Access can be another reason. To access your current location the app always asks for permission. It won’t update if it has problems getting your location. Go to the Phone’s setting → Again scroll down and choose the weather app → Select Location → In toggle down you can see many options, You need to select ‘While using the app or widget’ → Then turn on the switch of precise Location. Now check your app, it will automatically get updated.</p><p><strong>Reinstall the application:</strong> Although the weather app is a built-in iOS application, the advantage for you is that it can be removed and then reinstalled. It’s a quick solution to all the app’s issues.</p><p>● On the icon for the Weather app, tap, and long hold.</p><p>● A toggle will appear, and select Remove the app.</p><p>● After it has been removed, you can redownload or reinstall it from the App Store.</p><p><strong>Conclusion:</strong></p><p>Follow all the steps mentioned above and I hope your app must be working now. The weather app provides many features and is very easy to use. You can also make a weather app widget on your iPhone’s Home screen. There are a lot of customizable options available within this app you need to look around.</p><p><strong>“There is always a solution to every challenging problem.”<em>― Lailah Gifty Akita</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43631cb4fa6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debunked: Open Source vs. Paid Licensed Software: Which is better?]]></title>
            <link>https://anishavarshney28.medium.com/debunked-open-source-vs-paid-licensed-software-which-is-better-c1dcdf61cbd?source=rss-8661e7241bfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1dcdf61cbd</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[paid]]></category>
            <category><![CDATA[free]]></category>
            <category><![CDATA[softwaresuggest]]></category>
            <dc:creator><![CDATA[Anisha Varshney]]></dc:creator>
            <pubDate>Sun, 03 Jul 2022 14:59:02 GMT</pubDate>
            <atom:updated>2022-07-03T14:59:02.385Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>📅 July 03, 2022 </strong>🖊️By Anisha Varshney</p><p>Prior to starting a project, you must select the software you wish to use. Deciding between Open Source Software and Commercially Licensed Software, it’s difficult to make a choice right? Don’t worry after reading this article you can easily make a choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/0*HI6j3gOkZA-co32s" /></figure><p><strong>WHICH SOFTWARE IS BETTER? </strong>The debate, which has divided the world in two, appears to have no definitive resolution because both supporters and detractors have reasonable opinions about it. Well, In my opinion, I think the use of Open source and Paid Licensed Software is very subjective. It totally depends on the type of project you are making. In Open source, there is a lot of exposure and resources meanwhile in Paid Software you have limited resources.</p><p><strong>WHAT IS OPEN-SOURCE SOFTWARE?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/0*H0jHFxi9Q8VhZkna" /></figure><p>To start off with, Do you understand what open source software is?</p><p>If you don’t then let’s explore it together.</p><p>Open sources mean Free to use by all. YES, you heard it right FREE. Open Source Software (OSS) is the software created by people and their source code is accessible online so that anyone can view it, share it, and do the inspection, modification, or enhancement according to their requirements. Doing innovation is a lot easier with OSS as you can use a variety of unique designs than a single company can offer you.</p><p>There are a lot of OSS available, like Linux operating system, Android by Google, Open Office, Firefox browser, etc. But OSS sometimes exposes consumers to hacker attacks.</p><p>Worldwide there are 80 Open-Source licenses available. Although they primarily fall into the copyleft and permissive categories. Now you will ask me what are these. Let’s dive right into the details.</p><p><strong>Permissive Licenses</strong> are mostly used because it gives leverage to do everything you want to do with the source code available online. You can distribute, Modify or reuse but under some rules, you have to acknowledge the author of the source code.</p><p>Some of the examples of permissive open-source licenses are Apache, Berkeley Source Distribution(BSD), Unlicense, and MIT License.</p><p><strong>Copyleft Licenses</strong> are the type of license in which creators like you must include all the Permissive Licenses requirements and in addition to that, you can’t add restrictions by yourself. Your derived code should inherit all the license terms from the original OSS. The code you created should also be available as Open Source with the same terms and conditions applied. In terms of restrictions, the most frequently used copyleft open-source licenses are General Public License(GPL), Affero General Public License(AGPL), Eclipse Public License(EPL), Lesser General Public License (LGPL), and Mozilla.</p><p><strong>WHAT IS PAID-LICENSED SOFTWARE?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/0*SZY82ysc9vGE-FVT" /></figure><p>These are the type of Software with the source codes only available to the creators, team, or organization who designed it. The Source Code Owners are exclusive in charge of Copying, Inspecting, and Performing all the modifications required. It is completely the converse of Open Source software. The source code of these types of software is shared with authorized users only. They are not freely available to us we have to pay them for using their services. This software is also known as “Proprietary” or “Closed Source” software. Windows, Adobe Photoshop, and Microsoft Office are proprietary software available in the market.</p><p><strong>MAJOR DIFFERENCE BETWEEN OPEN SOURCE SOFTWARE AND PAID LICENSE SOFTWARE</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/0*mwj_KlzH943MhsOf" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*8UQCeXLwOg7lZ8ooMIXQVw.png" /></figure><p><strong>Summing Up</strong></p><p>According to recent surveys more than 80% of companies are preferring Open source software. There is much more to an Open Source program than just the published code. In today’s scenario, No Open Source project can be found which contains outdated developing techniques. As per the analysis, the analyst believes that the technology landscape will become more collaborative in the future.<strong> </strong>There are several myths about Open source but Let me tell you</p><p><strong>“The future lies in the hands of Open Source software.”</strong></p><p>Open-source software offers great transparency as it is not controlled by any organization. Thousands of developers work on a software product available so the chances of formation of bugs are negligible. The primary factor driving the growth of open source’s commercial application is its quality. Eight out of 10 firms prefer to use the open-source platform, with quality being the main motivator.</p><p>A proprietary software system, however, has its own benefits. You always have a good chance of getting troubleshooting assistance from the program provider. They have exclusive features that an open-source platform cannot offer, as I have already explained earlier.</p><p>Both Open Source software and Paid-Licensed software have their share of drawbacks and benefits. To operate a business successfully in a global market, having the appropriate software is very important.</p><p>Typically you have two roads to choose from.</p><p><strong>“You can’t take two roads at the same time. And once you are on one, there is no going back.”</strong></p><p>So, it’s totally up to you which road you want to walk up on and make all the difference.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1dcdf61cbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prim’s Algorithm]]></title>
            <link>https://anishavarshney28.medium.com/prims-algorithm-a617a8520607?source=rss-8661e7241bfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/a617a8520607</guid>
            <dc:creator><![CDATA[Anisha Varshney]]></dc:creator>
            <pubDate>Tue, 23 Mar 2021 20:38:20 GMT</pubDate>
            <atom:updated>2021-03-23T20:38:20.001Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*QKVfGIzH19z9IpnE6fUeLw.png" /></figure><p>Prim’s Algorithm was developed by Mathematician Jarnik in 1930 and later relived and republished by computer scientist Robert C. Prim in 1957 and Edsger W. in 1959. This algorithm helps to find a minimum spanning tree for a connected weighted undirected graph. The concept of Prim’s algorithm is a spanning tree which means all the vertices must be attached. And they must be linked with the minimum weight edge to get the Minimum spanning tree. A group of edges that unites two sets of vertices in a graph is called cut in graph theory. At every step of Prim’s algorithm, we find a cut (of two sets, one comprises the vertices already included in MST and the other comprises the rest of the vertices), choose the minimum weight edge from the cut, and comprise this vertex to MST Set (the set that contains already included vertices).</p><p><strong>Prerequisites:</strong></p><p>What is a Spanning tree?</p><p>Given a connected and undirected graph, a spanning tree of that graph is a subgraph that is a tree and connects all the vertices together.</p><p>What is the Minimum Spanning tree?</p><p>The spanning tree of the graph whose sum of weights of edges is minimum.</p><p><strong>Algorithm:</strong></p><p>The algorithm continually increases the size of a tree beginning with a single vertex until it spans all the vertices.</p><p>· Input: A connected weighted graph with vertices V and edges E.</p><p>· Initialize: Vnew = {x}, where x is starting point from V, Enew = { } .</p><p>· Repeat until Vnew = V:</p><p>(a) Choose edge (u,v) with minimal weight such that u is in Vnew and v is not.</p><p>(b) Add v to Vnew , add (u,v) to Enew .</p><p>· Output: Vnew and Enew describe a minimal spanning tree.</p><p><strong>Example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*2_Gc7JwHhHPDI97sWhwyCQ.png" /><figcaption>Let’s Start with a connected weighted and undirected graph.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/1*7AO9d1xmwYXlYtYicXHCXA.png" /><figcaption>We will choose C as the first vertex according to our wish.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*wQ49jw5scQZDymO-aeh9mQ.png" /><figcaption>We must choose the shortest edge from B, we have two options we can choose either 4 or 2. As we must choose the minimum, we will go for 2 and add it.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*gFd8MEHiGAFRalL5HlrHNw.png" /><figcaption>Moving on to the next vertex, we again must choose the minimum one among all the three. So, we choose C-E that is 2.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*iRDMM1dVX1-ky1Uh-pYN0w.png" /><figcaption>From E moving onwards we have one option only i.e. E-F which is 2.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*u6-Dx2Gi-aC2VD8FNz-K1w.png" /><figcaption>For A, we have two options, and both are 4. So, we decided to choose A-C. And for D also we have two options, and both are 3. According to my wish, I will choose C-D. And here we obtained the minimum spanning tree which is required.</figcaption></figure><p><strong>Pseudo Code for Prim’s Algorithm:</strong></p><p>The pseudocode for the algorithm demonstrates how we make two sets of vertices U and V-U. U contains the list of visited vertices and V-U contains the list of unvisited vertices. One by one, we move vertices from set V-U to set U by linking the least weight edges.</p><p>G = Φ ;</p><p>U = {1} ;</p><p>while ( U ≠ V)</p><p>let (u,v) be the lowest cost edge such that u ∈ U and v ∈ V — U;</p><p>G = G ∪ {(u, v)}</p><p>U = U ∪ {v}</p><p><strong>CODE :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*WRjxRC9apUuoLiUyFxWuXw.png" /></figure><p><strong>To Check:</strong></p><p>Now to check whether the graph that we made is a Minimum Spanning tree (MST) or not. So, to do this we will have to take care of two conditions here.</p><p>Assume that our original graph was G(A,M) where A and M are vertices and edges in graph G then our new graph G’ (A’,M’) where A’ and M’ are vertices and edges of the new graph obtained then,</p><p>1. A’ = A</p><p>2. M’ &lt;= M (M’ should be a subset of M)</p><p><strong>Pros and Cons of Prim’s Algorithm:</strong></p><p>Pros:</p><p>It is a simple and easy-to-understand algorithm.</p><p>Cons:</p><p>a) List of edges must be searched from the beginning as new edges get added.</p><p>b) If there is more than one edge having the same weight, then all possible spanning trees are required to be found for the minimal tree.</p><p><strong>Time Complexity:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*qj3rW3lIjrPPrF3qaR1L3g.png" /></figure><p>An easy execution using an adjacency matrix graph representation and searching an array of weights to find the minimum weight edge to add needs O(<em>V2</em>) running time. Using a simple binary heap data structure and an adjacency list representation, this algorithm can be shown to run in time O(<em>E</em> log <em>V</em>) where E is the number of edges and V is the number of vertices. Using a more advanced Fibonacci heap, this can be taken down to O(<em>E</em> + <em>V</em> log <em>V</em>), which is considerably quicker when the graph is dense enough that <em>E</em> is ω(<em>V</em>).</p><p><strong>Applications of Prim’s Algorithm:</strong></p><p>1. Distance in the middle of the cities for the minimum route calculation for transportation.</p><p>2. For Establishing the network cables play a crucial role in discovering the minimum cables needed to cover the whole region.</p><p>3. Cluster Analysis: k clustering problem can be considered as obtaining an MST and deleting the k-1 most pricey edges.</p><p>4. Path-finding algorithms used in AI (Artificial Intelligence).</p><p>5. Game Development.</p><p>6. Especially maze games.</p><p>7. To make protocols in network cycles.</p><p>8. Cognitive Science</p><p><strong>Conclusion:</strong></p><p>So from the above, we saw how a greedy algorithm works, what are a spanning tree and a <em>minimum spanning tree</em>. We also saw the working of the <em>prim’s algorithm with the help of an example</em> along with its algorithm and pseudo code implementation. Alongside it, we saw its pros and cons, we also talked about how to check whether the graph you obtained is the Minimum Spanning tree or not and its time complexity. We also learned about the applications of Prim’s Algorithm. So today we learned all about <em>Prim’s algorithm</em>.</p><p><em>The important thing is to not stop questioning. Curiosity has its own reason for existing.</em></p><p><em>-Albert Einstein</em></p><p><strong>Thank you!</strong></p><p>I really hope that you liked my blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a617a8520607" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>