<?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 Akshay Agrawal on Medium]]></title>
        <description><![CDATA[Stories by Akshay Agrawal on Medium]]></description>
        <link>https://medium.com/@akshayagrawal87?source=rss-95ceeb754b1d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6hkLWM56RF4KHA2M.jpg</url>
            <title>Stories by Akshay Agrawal on Medium</title>
            <link>https://medium.com/@akshayagrawal87?source=rss-95ceeb754b1d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:10:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akshayagrawal87/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[Genrative AI evolution]]></title>
            <link>https://medium.com/@akshayagrawal87/genrative-ai-evolution-c464fadc2236?source=rss-95ceeb754b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c464fadc2236</guid>
            <dc:creator><![CDATA[Akshay Agrawal]]></dc:creator>
            <pubDate>Mon, 15 May 2023 07:19:58 GMT</pubDate>
            <atom:updated>2023-05-15T07:19:58.018Z</atom:updated>
            <content:encoded><![CDATA[<p>Generative AI, also known as creative AI, is a field of artificial intelligence that focuses on creating computer-generated content that is indistinguishable from content created by humans. The evolution of generative AI has been a fascinating journey that has seen tremendous progress in recent years. In this article, we will explore the evolution of generative AI and its potential impact on various industries.</p><p>Early Generative AI: The Birth of Neural Networks The early days of generative AI saw the birth of neural networks, which were first introduced in the 1950s. These early neural networks were basic and could only perform simple tasks, such as pattern recognition. However, they laid the foundation for more advanced neural networks that would be developed later.</p><p>Rebirth of Generative AI: Deep Learning and GANs The rebirth of generative AI came with the development of deep learning, which is a subset of machine learning that uses neural networks with multiple layers. Deep learning made it possible to create more complex models capable of performing a wide range of tasks, including image and speech recognition.</p><p>One of the most significant breakthroughs in generative AI was the development of Generative Adversarial Networks (GANs) in 2014 by Ian Goodfellow. GANs are a type of neural network that consists of two models: a generator and a discriminator. The generator creates new content, while the discriminator tries to distinguish between the generated content and real content. Through a process of trial and error, the generator learns to create content that is indistinguishable from real content.</p><p>Applications of Generative AI Generative AI has a wide range of applications across various industries. In the entertainment industry, generative AI is being used to create music, art, and even entire movies. In the gaming industry, generative AI is being used to create new game content, such as levels and characters.</p><p>In the field of design, generative AI is being used to create new products and designs. For example, car manufacturers are using generative AI to create new car designs that are optimized for performance and efficiency.</p><p>In the field of medicine, generative AI is being used to create new drugs and treatments. Generative AI models can analyze vast amounts of data to identify new drug compounds and predict their efficacy.</p><p>Future of Generative AI The future of generative AI is exciting, with the potential to revolutionize various industries. As generative AI models become more advanced, they will be able to create content that is increasingly indistinguishable from content created by humans. This will lead to the creation of new types of content and experiences that were previously impossible.</p><p><strong>The Evolution of Chat GPT</strong></p><p>The first version of GPT was introduced in 2018 by OpenAI, and it was a breakthrough in natural language processing. GPT-1 was a language model that was pre-trained on a massive dataset of text and could generate human-like text in response to prompts. However, GPT-1 had limitations, and it was not as advanced as later versions.</p><p>In 2019, OpenAI released GPT-2, which was a significant improvement over GPT-1. GPT-2 was pre-trained on a much larger dataset, and it could generate longer and more coherent text. It was also capable of performing a wider range of tasks, such as question-answering and text completion. However, OpenAI chose not to release the full version of GPT-2 due to concerns about the potential misuse of the technology.</p><p>In 2020, OpenAI released GPT-3, which is currently the most advanced language model available. GPT-3 was trained on an enormous dataset of text and can generate human-like text that is almost indistinguishable from text written by humans. It has the capability to perform a wide range of tasks, including language translation, text summarization, and even creative writing.</p><p>In conclusion, the evolution of generative AI has been a fascinating journey that has seen tremendous progress in recent years. With its wide range of applications and potential to revolutionize various industries, generative AI is set to have a significant impact on the world in the coming years.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c464fadc2236" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terraform : When to use.]]></title>
            <link>https://medium.com/@akshayagrawal87/terraform-when-to-use-5fb55dac9425?source=rss-95ceeb754b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fb55dac9425</guid>
            <dc:creator><![CDATA[Akshay Agrawal]]></dc:creator>
            <pubDate>Mon, 15 May 2023 06:35:06 GMT</pubDate>
            <atom:updated>2023-05-15T06:35:06.896Z</atom:updated>
            <content:encoded><![CDATA[<h3>Terraform</h3><p>Terraform is an open-source tool that enables users to create, manage and deploy infrastructure as code (IaC) in a cloud environment. It has quickly become a popular tool among DevOps professionals, infrastructure engineers, and cloud architects. In this article, we will explore the benefits of using Terraform for managing cloud infrastructure.</p><ol><li>Infrastructure as Code (IaC) Terraform allows teams to manage their infrastructure using code, which means they can version control, share, and collaborate on infrastructure like they would with any other code. This makes it easy to track changes, collaborate, and maintain a consistent environment.</li><li>Multi-Cloud Support Terraform supports a wide range of cloud providers, including AWS, Azure, Google Cloud, and more. This means you can use Terraform to manage infrastructure across multiple cloud providers and avoid vendor lock-in.</li><li>Consistency and Predictability Using Terraform to manage infrastructure ensures that all resources are created and configured in a consistent and predictable manner. This helps reduce human error, increases efficiency, and makes it easier to troubleshoot issues.</li><li>Infrastructure as Data Terraform represents infrastructure as data, which means it can be treated like any other data structure. This allows for more flexible and dynamic infrastructure management. Terraform can also create and manage complex relationships between resources.</li><li>Automation Terraform enables teams to automate infrastructure deployment and management. This means that infrastructure can be spun up and down quickly, and scaling can be automated. This helps reduce downtime and ensures that infrastructure is always up-to-date.</li><li>Reusability Terraform allows teams to create modules that can be reused across different projects. This makes it easy to share infrastructure code between teams, departments, and projects. This also helps reduce duplication of work and promotes consistency.</li><li>Scalability Terraform can manage infrastructure at scale. As an infrastructure grows, Terraform can be used to manage it effectively and efficiently. This helps to reduce the need for manual intervention and ensures that infrastructure is always consistent.</li></ol><p>Terraform was first released in 2014 by HashiCorp, a software company that specializes in infrastructure automation. Since then, Terraform has gone through several iterations and has evolved into a mature and widely-used infrastructure as code tool. In this article, we will explore the evolution of Terraform over the years.</p><p>some of the best resources for learning and using Terraform.</p><ol><li>Terraform Documentation The Terraform documentation is the most comprehensive resource for learning about the tool. It covers everything from getting started to advanced topics like modules and state management. The documentation also includes a detailed reference for all of Terraform’s configuration options.</li><li>HashiCorp Learn HashiCorp Learn is a free, self-paced learning platform that offers a variety of courses and tutorials on Terraform. It provides hands-on exercises, quizzes, and labs to help you learn Terraform and its features. The courses are designed for beginners and experienced users alike.</li><li>Terraform Registry The Terraform Registry is a public repository of Terraform modules that can be used to provision resources in various cloud environments. It includes modules for popular cloud providers like AWS, Azure, and Google Cloud Platform, as well as modules for other services like Kubernetes and Docker.</li><li>Terraform GitHub Repository The Terraform GitHub repository is the official source code repository for Terraform. It includes the latest source code, bug reports, and feature requests. It’s also a great resource for finding community-maintained modules and plugins.</li><li>Terraform Community The Terraform community is an active and engaged group of developers and users who are passionate about the tool. The community includes forums, Slack channels, and meetups, where you can get help, share ideas, and collaborate with other users.</li><li>Terraform Providers Terraform Providers are plugins that enable Terraform to interact with different cloud providers and services. The official Terraform Providers list includes over 200 providers for various cloud services. You can also find community-maintained providers on GitHub.</li><li>Terraform on YouTube There are many YouTube channels that offer tutorials and walkthroughs on Terraform. Some of the popular channels include HashiCorp, CloudSkills, and Udacity. These channels offer video courses, webinars, and demos that can help you learn Terraform and its features.</li></ol><p>In conclusion, Terraform is a powerful tool that requires some investment to learn and master. These resources can help you get started and take advantage of Terraform’s features to provision, manage and automate infrastructure in cloud environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fb55dac9425" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Golang vs Java]]></title>
            <link>https://medium.com/@akshayagrawal87/golang-vs-java-df058d7310?source=rss-95ceeb754b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/df058d7310</guid>
            <dc:creator><![CDATA[Akshay Agrawal]]></dc:creator>
            <pubDate>Mon, 15 May 2023 06:29:59 GMT</pubDate>
            <atom:updated>2023-05-15T06:29:59.563Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to selecting a programming language for a project, developers often find themselves in a dilemma. Among the many languages available, two of the most popular ones are Golang (Go) and Java. Both languages are high-level, widely used, and have their unique features and capabilities. However, there are situations when one language is more suitable than the other. In this article, we will explore when to use Golang and when to use Java.</p><p>When to use Golang:</p><ol><li>Building web applications: Golang is a suitable choice when building web applications that require high concurrency, such as chatbots, real-time applications, and streaming services. Its ability to handle multiple requests at once makes it a great choice for building scalable and high-performance web applications.</li><li>Building network tools: Golang has strong support for network programming, making it an ideal choice for building network tools such as load balancers, proxies, and DNS servers. It provides libraries that can handle raw network sockets, HTTP, and other network protocols.</li><li>Building system tools: Golang’s low-level features and high performance make it an excellent choice for building system-level tools such as operating systems, drivers, and compilers.</li><li>Building command-line tools: Golang provides excellent support for command-line interfaces (CLI), making it a suitable choice for building tools such as file converters, database migration tools, and backup utilities.</li><li>Developing microservices: Golang’s lightweight nature and fast compilation make it an excellent choice for developing microservices. Its simplicity and ease of use make it easier to maintain and scale microservices over time.</li></ol><p>When to use Java:</p><ol><li>Building enterprise applications: Java is the most popular language for building enterprise applications. Its vast ecosystem, robust libraries, and frameworks make it an ideal choice for developing large-scale applications such as ERP, CRM, and financial applications.</li><li>Developing Android apps: Java is the primary language for developing Android applications. Its support for Android SDK and Android Studio makes it easier for developers to build and deploy Android apps.</li><li>Developing desktop applications: Java’s cross-platform capabilities make it a great choice for developing desktop applications that can run on multiple operating systems such as Windows, Mac, and Linux.</li><li>Developing server-side applications: Java’s vast array of libraries and frameworks makes it a great choice for developing server-side applications such as web servers, middleware, and backends for mobile apps.</li><li>Developing machine learning and data science applications: Java provides excellent support for machine learning and data science applications. Its vast libraries such as Apache Spark, Hadoop, and Weka make it easier for developers to build, test, and deploy machine learning models.</li></ol><p>In conclusion, both Golang and Java have their unique strengths and weaknesses. The choice of language depends on the specific project requirements, the team’s expertise, and the available resources. By understanding the strengths and weaknesses of each language, developers can make an informed decision and choose the most suitable language for their project.</p><p>Comparison:</p><p>Java and Go have different approaches to concurrency. Java’s concurrency model is based on threads, while Go’s concurrency model is based on goroutines and channels.</p><p>Java’s thread-based approach provides a more traditional and well-established mechanism for managing concurrency. However, managing threads can be complex, and errors such as deadlock and race conditions can occur if not managed properly.</p><p>On the other hand, Go’s goroutine-based approach provides a simpler and more lightweight mechanism for managing concurrency. Goroutines are much lighter than threads, which means that they can be created and destroyed more efficiently. Additionally, Go’s use of channels provides a safer and more efficient means of synchronizing goroutines than Java’s traditional locking mechanisms.</p><p>Overall, both Java and Go provide excellent support for concurrency. The choice between the two languages depends on the specific needs of the project and the developer’s expertise in each language. While Java provides a more traditional approach to concurrency, Go’s lightweight approach and use of channels make it a great choice for building high-performance, concurrent applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df058d7310" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Objects and its internal representation in Javascript]]></title>
            <link>https://medium.com/@akshayagrawal87/objects-and-its-internal-representation-in-javascript-a501f5e14007?source=rss-95ceeb754b1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a501f5e14007</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[oops-concepts]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[objects]]></category>
            <dc:creator><![CDATA[Akshay Agrawal]]></dc:creator>
            <pubDate>Mon, 07 Sep 2020 09:13:12 GMT</pubDate>
            <atom:updated>2020-09-07T09:13:12.816Z</atom:updated>
            <content:encoded><![CDATA[<p>In JavaScript, almost “everything” is an object.<br>Nearly all objects in JavaScript are instances of Object; a typical object inherits properties (including methods) from Object.prototype, although these properties may be shadowed</p><p>The Object class represents one of JavaScript’s data types. It is used to store various keyed collections and more complex entities.</p><p>All JavaScript values, except primitives, are objects.</p><p>To begin with let us understand the difference between primitive<br>types and objects</p><p>JavaScript defines 5 types of primitive data types:</p><p>string<br>number<br>boolean<br>null<br>undefined</p><p>Booleans can be objects (if defined with the new keyword)<br>Numbers can be objects (if defined with the new keyword)<br>Strings can be objects (if defined with the new keyword)<br>Dates are always objects<br>Maths are always objects<br>Regular expressions are always objects<br>Arrays are always objects<br>Functions are always objects<br>Objects are always objects</p><p>JavaScript variables can contain single values</p><p>Primitive values are immutable (they are hardcoded and therefore cannot be changed).</p><p>if x = 3.14, you can change the value of x. But you cannot change the value of 3.14.</p><p>Objects are variables too. But objects can contain many values.</p><p>In Objects,The values are written as name : value pairs</p><p>Example</p><p>var person = {firstName:”John”, lastName:”Doe”, age:50, eyeColor:”blue”};</p><p>A JavaScript object is a collection of named values and the named values, in JavaScript objects, are called properties.</p><p>Creating a JavaScript Object</p><p>With JavaScript, you can define and create your own objects.</p><p>There are different ways to create new objects:</p><p>Define and create a single object, using an object literal.</p><p>Ex:var person = {firstName:”John”, lastName:”Doe”, age:50, eyeColor:”blue”};</p><p>Define and create a single object, with the keyword new.</p><p>Ex:var person = new Object();<br>person.firstName = “John”;<br>person.lastName = “Doe”;<br>person.age = 50;<br>person.eyeColor = “blue”;</p><p>Define an object constructor, and then create objects of the constructed type.</p><p>function obj(value1, value2, …) {<br> this.key1 = value1;<br> this.key2 = value2;<br> …<br>}</p><p>In ECMAScript 5, an object can also be created with the function Object.create().</p><p>Object.create() can be used for single inheritance and Object.assign() for multiple inheritance.<br>Object.fromEntries() — method transforms a list of key-value pairs into an object.</p><p>JavaScript Objects are Mutable</p><p>Objects are mutable: They are addressed by reference, not by value.</p><p>If person is an object, the following statement will not create a copy of person:</p><p>Ex: var x = person;<br>This will not create a copy of person.<br>The object x is not a copy of person. It is person. Both x and person are the same object.</p><p>Any changes to x will also change person, because x and person are the same object.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a501f5e14007" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>