<?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 Inusha Peiris on Medium]]></title>
        <description><![CDATA[Stories by Inusha Peiris on Medium]]></description>
        <link>https://medium.com/@inushaumayanthapeiris?source=rss-8b7f6bc4fc48------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZIu3sNhlmENJt9IyMRbBYQ.jpeg</url>
            <title>Stories by Inusha Peiris on Medium</title>
            <link>https://medium.com/@inushaumayanthapeiris?source=rss-8b7f6bc4fc48------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 14:46:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@inushaumayanthapeiris/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[Debugging Laravel Sail on WSL2 with Xdebug and PhpStorm: A Practical Step-by-Step Guide]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/debugging-laravel-sail-on-wsl2-with-xdebug-and-phpstorm-a-practical-step-by-step-guide-df09b0fe0ee2?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/df09b0fe0ee2</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[docker-in-wsl2]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[phpstorm]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 17:06:52 GMT</pubDate>
            <atom:updated>2026-01-03T17:06:52.781Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are developing Laravel inside <strong>WSL2 </strong>on <strong>Windows 11</strong> using <strong>Laravel Sail (Docker)</strong> and your IDE is <strong>PhpStorm</strong>, getting Xdebug working can feel confusing. The official documentation historically left out a key step, especially for older Laravel versions (10 and lower), so many developers struggled with “Xdebug not connecting” problems.</p><h4>Why Xdebug instead of dd() or var_dump()?</h4><p>Tools like dd() and var_dump() are useful but limited.</p><p>With Xdebug you can,</p><ul><li>Pause execution at breakpoints</li><li>View values in real time</li><li>Step into/over functions</li><li>Inspect call stacks</li><li>Debug browser and API requests</li></ul><p>Once configured properly, it is significantly faster and more powerful.</p><h4><strong>Step 1: </strong>Point Docker to your local php.ini</h4><p>Open your <strong>docker-compose.yml</strong> file.</p><p>Update the <strong>context path</strong> to match your local PHP version folder, for example:</p><pre>docker/8.2/php.ini</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/1*TN1y0eEifvhB_Rj2Xg2D3g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*lnNNvxuGpIB0iCOS2cJarQ.png" /></figure><p>If you do not see the docker folder, publish Sail’s assets:</p><pre>php artisan sail:publish</pre><p>Make sure your PHP version in the path matches the one in docker-compose.yml (e.g., 8.1 vs 8.2).</p><h4>Step 2: Edit docker/8.x/php.ini</h4><p>Open <strong>docker/8.x/php.ini </strong>and update as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*r3Ys7yWhMWFFf5Dc-lea3w.png" /></figure><p>Then rebuild.</p><pre>./vendor/bin/sail down<br>./vendor/bin/sail build --no-cache</pre><h4>Step 3: Enable Xdebug through .env</h4><p>In your .env file add:</p><pre>SAIL_XDEBUG_MODE=debug</pre><p>If you need remove this line Xdebugger stay off.</p><p>Then restart Sail (no need to rebuild again):</p><pre>./vendor/bin/sail down<br>./vendor/bin/sail up</pre><h4>Step 4: Configure PhpStorm debug port</h4><p>Go to Settings → PHP → Debug</p><p>Confirm Debug port is 9003, and <em>“Can accept external connections”</em> is enabled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*_ZEWKDToKmvHKaxwovmTng.png" /></figure><h4>Step 5: Configure server mapping in PhpStorm</h4><p>Go to Settings → PHP → Servers</p><p>Add (“+”) a new server.</p><ul><li><strong>Name: </strong>Sail</li><li><strong>Host: </strong>0.0.0.0</li><li><strong>Port: </strong>80</li><li><strong>Debugger:</strong> Xdebug</li><li>Enable use path mapping</li></ul><p>Then map your local project path to <strong>your project path</strong>, and absolute path to <strong>“/var/www/html”</strong>.</p><p>This mapping is essential so PhpStorm understands where container files live.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ogtx_gGcSdLlg-AgRIXlGg.png" /></figure><h4>Step 6: Enable listening for connections</h4><p>Click on the bug icon on the tool bar. This will start listening to debug requests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*N4Yp8iYuNRZ5yyAooz0NRw.png" /></figure><h4>Step 7: Trigger the debugger</h4><p>Now let’s debugging. First set break point in a controller or route (or any where request will be reached).</p><p>Now you have two options to send debug request</p><ol><li>Install <strong>Xdebug extension</strong> for the browser.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*986vMbWs4ny8NH9I77O6qw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*v-qAQEjDwyNqOjKVKZ0lWA.png" /></figure><p>2. Use tool like Postman or from browser url section, send request to the API with <strong>“?XDEBUG_TRIGGER=1” </strong>query parameter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*j8ycBbuoH2CsScwcPFcBMg.png" /></figure><p>If configuration is correct, PhpStorm will stop at your breakpoint.</p><h4>Step 8: Quick test (optional but useful)</h4><p>If you want to quickly verify Xdebug without configuring Postman or browser tools, enable Run → “Break at first line in PHP scripts” on tool bar menu.</p><p>Then reload any route. This will stop the request at the first php scripts. If this works your debugger is working!</p><h3>Final thoughts</h3><p>Xdebug with Docker, Sail, and WSL2 can feel complex because multiple layers interact:</p><ul><li>Windows host</li><li>WSL2 Linux environment</li><li>Docker container</li><li>Laravel Sail wrapper</li><li>PhpStorm IDE</li></ul><p>Once the correct <strong>php.ini</strong> configuration and path mappings are in place, the setup becomes very stable and predictable. From that point onward, debugging Laravel becomes dramatically easier and faster than print-based debugging.</p><h3>What’s next?</h3><p>In the next part, I will walk through how to use a browser debugger together with Xdebug to create a full-stack debugging workflow. That guide will cover linking frontend requests, API breakpoints, and deep inspection across the entire request lifecycle.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df09b0fe0ee2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Configure Authentication for Google APIs]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/how-to-configure-authentication-for-google-apis-4cac044043ff?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cac044043ff</guid>
            <category><![CDATA[access-token]]></category>
            <category><![CDATA[google-api]]></category>
            <category><![CDATA[open-authentication]]></category>
            <category><![CDATA[google-auth-playground]]></category>
            <category><![CDATA[refresh-token]]></category>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Sat, 20 Apr 2024 08:11:56 GMT</pubDate>
            <atom:updated>2024-04-20T08:11:56.641Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Step 1: </strong>Go to the Google Cloud console and sign into your developer account.</p><p><strong>Step 2: </strong>Now let’s create a new project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W7sP1oC-6LFxLB-LdE2EuQ.png" /></figure><p><strong>Step 3:</strong> Give a name to the project</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8f_RZxGlJpgIehcgi83gug.png" /></figure><p><strong>Step 4:</strong> Then navigate to the API &amp; Services from the quick action section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aiIEOA6RuxXUAO2n8vqIUg.png" /></figure><p><strong>Step 5: C</strong>lick the 0Auth consent screen from the side panel and select the external user type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Vmz1xXFWRtaw9EYsempZw.png" /></figure><p><strong>Step 6:</strong> Give an app name and user support email. No need to fill in the other fields.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pmO8qkQMyHQnreFzDv92gQ.png" /></figure><p><strong>Step 7: </strong>Add test user accounts on which you want to test the API.</p><p><strong>Step 8: </strong>Navigate to the credential tab and click <strong>“Create new credentials”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IstIuyUIl91Qg_uPAGgN5w.png" /></figure><p><strong>Step 8:</strong> Select the application type as a web application, give an app name, add redirect URIs, and then click <strong>“Create” </strong>button.</p><p><strong>Authorized redirect URIs:</strong> <a href="https://developers.google.com/oauthplayground">https://developers.google.com/oauthplayground</a></p><p>Then you will get client secret and client ID. Save those somewhere we are going to use them later.</p><p><strong>Step 9: </strong>Go library tab and enable the Google API you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ut40KqRmNqTxMs1vexgk_A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*CyrkoEko77RmzbpVhjmrYA.png" /></figure><p>We will be using Google 0Auth 2.0 playground to generate our refresh token and access token.</p><p><strong>Refresh token: </strong>This token is automatically refreshed after the time expires and it has a longer life span than the access token.</p><p><strong>Access token: </strong>This token is a one-time token with a short life span (usually minutes to hours). If you want to keep using this token you have to refresh it manually.</p><p><strong>Step 9: </strong>Go to <a href="https://developers.google.com/oauthplayground/">Google playground</a>.</p><p>Click on the settings icon at the top right corner. Click on <strong>“Use your own 0Auth credentials” </strong>and add your client ID and client secret there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PPwRZEYFVZqfztbJLrb5_Q.png" /></figure><p>Then select the API you want to use and add all the scopes. I am using Google Drive API you can select the API that you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GiUrnqBU6-FKje18sRje3g.png" /></figure><p><strong>Step 10: </strong>Then click on <strong>“Authorize APIs”.</strong></p><p>Then you will be navigated to a pop-up screen that asks you to conform to the scopes you have selected. Accept all the scopes and click continue.</p><p><strong>Step 11: </strong>After doing that you will be navigated to the <strong>“Step 2” </strong>section. There you have to click on <strong>“Exchange authorized code for tokens”</strong></p><p>And click on <strong>“Auto refresh the token before it expires” </strong>if you want to automatically refresh the access token.</p><p>Congratulations on successfully configuring OAuth credentials for the Google API! By mastering these steps, you’re now ready to seamlessly integrate Google services into your applications. Remember to handle tokens securely and enjoy exploring the endless possibilities.</p><p>“Happy coding!”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cac044043ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building the GraphQL Schema (Continued)]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/building-the-graphql-schema-continued-e2137e50ee49?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2137e50ee49</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[graphql]]></category>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Tue, 16 Jan 2024 10:16:02 GMT</pubDate>
            <atom:updated>2024-02-04T15:41:13.744Z</atom:updated>
            <content:encoded><![CDATA[<h4>Defining Types and Resolvers (Continued)</h4><p>In the <a href="https://medium.com/@inushaumayanthapeiris/building-a-simple-graphql-server-with-express-and-mysql-a-beginners-guide-8a4eadcc572e">previous section</a>, we set up the foundation for our GraphQL server, defining types, creating resolvers, and modularizing the schema. Now, let’s delve deeper into defining types and resolvers.</p><p>Open your <strong>schema.js</strong> file, and let’s add more fields to the <strong>UserType</strong> and additional resolvers.</p><pre>// schema.js<br>const { GraphQLSchema, GraphQLObjectType, GraphQLString, GraphQLInt, GraphQLBoolean } = require(&#39;graphql&#39;);<br><br>// ... (previous code)<br><br>// Define a GraphQL User type<br>const UserType = new GraphQLObjectType({<br>  name: &#39;User&#39;,<br>  fields: {<br>    id: { type: GraphQLInt },<br>    name: { type: GraphQLString },<br>    age: { type: GraphQLInt },<br>    city: { type: GraphQLString },<br>    isAdult: {<br>      type: GraphQLBoolean,<br>      resolve: (user) =&gt; user.age &gt; 18, // Example resolver for a derived field<br>    },<br>  },<br>});<br><br>// ... (previous code)<br><br>module.exports = schema;</pre><p>In this part of the code:</p><p>We added a new field, <strong>isAdult</strong>, to the <strong>UserType</strong>. This field represents whether a user is an adult based on their age. The <strong>resolve</strong> function demonstrates how you can calculate derived fields in your resolvers.</p><h4>Testing the GraphQL Server</h4><p>Now, let’s test our GraphQL server and interact with the defined queries and mutations. Open your browser and navigate to <a href="http://localhost:3000/graphql"><strong>http://localhost:3000/graphql</strong></a> (or use a tool like Postman). You should see the GraphiQL interface.</p><p><strong>Querying Users</strong><br>Execute the following query to fetch all users:</p><pre>query {<br>  users {<br>    id<br>    name<br>    age<br>    city<br>    isAdult<br>  }<br>}</pre><p>This query should return a list of users with their details, including the derived field <strong>isAdult</strong>.</p><p><strong>Adding a New User</strong></p><p>Execute the following mutation to add a new user:</p><pre>mutation {<br>  addUser(name: &quot;Alice&quot;, age: 25, city: &quot;Wonderland&quot;) {<br>    id<br>    name<br>    age<br>    city<br>    isAdult<br>  }<br>}</pre><p>This mutation adds a new user and returns the user’s details.</p><p>With this, we’ve successfully tested our GraphQL server, performed queries, and executed mutations. In the next section, we’ll wrap up the blog post and provide additional resources for further learning.</p><p>Stay tuned for the conclusion and additional resources!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2137e50ee49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Simple GraphQL Server with Express and MySQL: A Beginner’s Guide]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/building-a-simple-graphql-server-with-express-and-mysql-a-beginners-guide-8a4eadcc572e?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a4eadcc572e</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[api-development]]></category>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Sun, 14 Jan 2024 09:05:48 GMT</pubDate>
            <atom:updated>2024-02-04T15:44:40.384Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Are you new to programming and eager to build your own applications? In this beginner-friendly guide, we’ll explore the world of GraphQL by building a simple server using Node.js, Express, and MySQL. Even if you’re just starting out, we’ll walk through each step, providing code examples and explanations along the way.</p><h3>Prerequisites</h3><p>Before we dive in, ensure you have Node.js and npm installed on your machine. If not, you can download and install them from the <a href="https://nodejs.org/en">official Node.js website</a>.</p><h3>Setting Up the Project</h3><h4>Creating a New Node.js Project</h4><p>Let’s kick things off by creating a new Node.js project. Open your terminal and run the following commands:</p><pre>npm init -y</pre><p>This initializes a new Node.js project with default settings. Next, install the necessary dependencies:</p><pre>npm install express express-graphql mysql2</pre><h4>Setting Up Express Server</h4><p>Now, let’s set up a basic Express server. Create a file named <strong>server.js </strong>and add the following code:</p><pre>// server.js<br>const express = require(&#39;express&#39;);<br>const app = express();<br>const PORT = 3000;<br><br>app.get(&#39;/&#39;, (req, res) =&gt; {<br>  res.send(&#39;Hello, GraphQL!&#39;);<br>});<br><br>app.listen(PORT, () =&gt; {<br>  console.log(`Server is running on http://localhost:${PORT}`);<br>});</pre><p>This code initializes a simple Express server that listens on port 3000 and responds with “Hello, GraphQL!” when you visit <a href="http://localhost:3000/">http://localhost:3000</a> in your browser.</p><h4>Connecting to MySQL</h4><p>Before we proceed, set up a MySQL database and create a basic ‘users’ table. Open your MySQL console and run the following SQL commands:</p><pre>-- Create a new database<br>CREATE DATABASE app1_db;<br><br>-- Use the new database<br>USE app1_db;<br><br>-- Create a &#39;users&#39; table<br>CREATE TABLE users (<br>  id INT AUTO_INCREMENT PRIMARY KEY,<br>  name VARCHAR(255),<br>  age INT,<br>  city VARCHAR(255)<br>);</pre><p>Now, let’s establish a connection between our Express server and MySQL. Update your <strong>server.js</strong> file:</p><pre>// server.js<br>const express = require(&#39;express&#39;);<br>const { createPool } = require(&#39;mysql2/promise&#39;);<br>const app = express();<br>const PORT = 3000;<br><br>// Create a MySQL connection pool<br>const pool = createPool({<br>  host: &#39;localhost&#39;,<br>  user: &#39;root&#39;,<br>  password: &#39;rootPW123&#39;,<br>  database: &#39;app1_db&#39;,<br>  waitForConnections: true,<br>  connectionLimit: 10,<br>  queueLimit: 0,<br>});<br><br>app.get(&#39;/&#39;, (req, res) =&gt; {<br>  res.send(&#39;Hello, GraphQL!&#39;);<br>});<br><br>app.listen(PORT, () =&gt; {<br>  console.log(`Server is running on http://localhost:${PORT}`);<br>});</pre><p>With these initial steps, we’ve set up our Node.js project, created an Express server, and established a connection to a MySQL database. In the next section, we’ll dive into building our GraphQL schema.</p><p>Stay tuned for the upcoming sections where we’ll define types, resolvers, and set up the GraphQL endpoint.</p><p><a href="https://medium.com/@inushaumayanthapeiris/building-the-graphql-schema-continued-e2137e50ee49">Continue: Building the GraphQL Schema.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a4eadcc572e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lunar Colonization: Humanity's Next Giant Leap]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/lunar-colonization-humanitys-next-giant-leap-5aa95bc62afd?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aa95bc62afd</guid>
            <category><![CDATA[space-exploration]]></category>
            <category><![CDATA[astronomy]]></category>
            <category><![CDATA[moon]]></category>
            <category><![CDATA[civilization]]></category>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Wed, 02 Aug 2023 18:49:07 GMT</pubDate>
            <atom:updated>2023-08-02T18:49:07.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*eLgQ16yYJbLdMkergKMcfg.jpeg" /><figcaption>A man on the Moon <a href="https://img.freepik.com/premium-photo/astronaut-outside-moon-station-research-space-station-moon-colonization_789795-202.jpg?w=740">photo </a>from <a href="http://freepik.com/">freepik</a></figcaption></figure><h4><em>Introduction</em></h4><p>Since the dawn of the space age, humanity has looked beyond the confines of our home planet in search of new frontiers. One of the most ambitious endeavors on the horizon is the prospect of lunar colonization. Setting up a sustainable human presence on the Moon has been a long-standing dream of space enthusiasts, scientists, and visionaries alike. This article will explore the potential benefits, challenges, and scientific significance of lunar colonization as we embark on a new era of space exploration.</p><h4><em>The Lunar Attraction</em></h4><p>The Moon has captivated human imagination for centuries. Its proximity to Earth, relative abundance of resources, and intriguing scientific value make it a prime candidate for colonization. From a strategic perspective, a lunar base could serve as a stepping stone for further space exploration, including missions to Mars and beyond. Additionally, lunar colonization could open up new economic opportunities, such as mining valuable resources and offering a platform for commercial space endeavors.</p><h4><em>Scientific Significance</em></h4><p>The Moon preserves a geological record dating back billions of years. By establishing a human presence on the lunar surface, scientists can conduct in-depth research and gain a deeper understanding of the solar system’s history. Lunar rocks and soil samples could hold clues about the early solar system, potential water resources, and even shed light on the evolution of life on Earth.</p><p>Moreover, the Moon’s unique environment provides an excellent testing ground for developing technologies and methods that will be crucial for long-term space exploration. From life support systems to radiation shielding, solving the challenges of living on the Moon will prove invaluable in our quest to explore more distant destinations.</p><h4><em>Challenges to Overcome</em></h4><p>While the prospect of lunar colonization is promising, it comes with numerous challenges that must be addressed. One of the most significant obstacles is the harsh lunar environment. Extreme temperature variations, micrometeoroid impacts, and high levels of radiation pose risks to human health and infrastructure.</p><p>Another major challenge is the cost of establishing and maintaining a lunar base. The expense of transporting equipment, resources, and personnel to the Moon is substantial. Collaborative efforts between space agencies, private companies, and international partners will be crucial in overcoming these financial hurdles.</p><h4><em>Sustainable Space Habitation</em></h4><p>To ensure the long-term viability of lunar colonies, sustainability is key. This involves developing closed-loop life support systems that recycle air and water, as well as implementing renewable energy sources, like solar panels, to power the base. Furthermore, utilizing lunar resources, such as water ice in permanently shadowed craters, can reduce the need for continuous resupply from Earth.</p><h4><em>International Cooperation</em></h4><p>Lunar colonization is not a race among nations; it’s a global effort. International cooperation is essential to pool resources, expertise, and ideas for the success of such a mission. Collaboration fosters a peaceful and inclusive approach to space exploration, transcending national boundaries in our collective pursuit of knowledge and advancement.</p><h4><em>Conclusion</em></h4><p>Lunar colonization represents a pivotal moment in human history. It symbolizes our relentless spirit of exploration and innovation. By establishing a sustainable human presence on the Moon, we will not only unlock the secrets of the cosmos but also demonstrate the potential of international collaboration in our grand endeavor to reach for the stars. The dream of lunar colonization is within our grasp, and as we move forward, let us remember that our efforts on the Moon will leave an indelible mark on the future of humanity’s journey into the cosmos.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aa95bc62afd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing Software Quality — The Role of QA in software development]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/enhancing-software-quality-the-role-of-qa-in-software-development-e4b343b87cbc?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4b343b87cbc</guid>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Sat, 01 Jul 2023 14:05:13 GMT</pubDate>
            <atom:updated>2023-07-01T14:10:04.113Z</atom:updated>
            <content:encoded><![CDATA[<h3>Enhancing Software Quality — The Role of QA in software development</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FPJsse8B60Nid2kV2wYNQA.jpeg" /></figure><p>In the rapidly evolving world of software development, ensuring the quality of software products has become paramount. Quality Assurance (QA) plays a crucial role in this process, serving as a critical gatekeeper to guarantee that software meets the highest standards of functionality, reliability, and user satisfaction. This article explores the significance of QA in software development and highlights its key principles and practices.</p><h3><strong>Understanding Quality Assurance</strong></h3><p>Quality Assurance refers to a systematic approach to preventing defects, identifying issues, and improving the overall quality of software products. QA encompasses a broad range of activities, including requirement analysis, test planning, test execution, and defect tracking. The primary objective of QA is to ensure that software meets both the functional and non-functional requirements, while adhering to industry best practices and standards.</p><h3>The Benefits of QA in Software Development</h3><p>Implementing robust QA practices brings numerous benefits to software development projects, such as,</p><p><strong>Enhanced Customer Satisfaction:</strong> QA ensures that software products are thoroughly tested, leading to higher customer satisfaction due to fewer bugs, improved usability, and better overall quality.</p><p><strong>Cost and Time Savings:</strong> By identifying and resolving defects early in the development cycle, QA helps minimize rework and reduces the cost and time associated with fixing issues in later stages.</p><p><strong>Improved Software Reliability: </strong>Rigorous testing and QA processes increase software reliability by identifying and fixing potential vulnerabilities and weaknesses.</p><p><strong>Compliance with Standards and Regulations:</strong> QA ensures that software meets industry-specific standards and regulatory requirements, such as data security, privacy, and accessibility.</p><h3>Key Principles of QA in Software Development</h3><p>To achieve effective QA, software development teams should adhere to the following principles.</p><p><strong>Test Early and Continuously:</strong> QA should be integrated into the software development life cycle from the early stages. Conducting tests as early as possible helps identify issues promptly, allowing for timely resolution.</p><p><strong>Comprehensive Test Coverage:</strong> QA efforts should encompass all relevant aspects, including functional, performance, security, usability, and compatibility testing, among others. This ensures that software meets all expected requirements.</p><p><strong>Test Automation:</strong> Automating repetitive and time-consuming tests can significantly enhance efficiency, allowing QA teams to focus on more complex scenarios. Automated tests also facilitate regression testing, ensuring that new updates do not introduce new issues.</p><p><strong>Collaboration and Communication: </strong>QA teams should work closely with developers, designers, and stakeholders to understand requirements, discuss potential risks, and provide feedback throughout the development process.</p><h3>Emerging Trends and Technologies in QA</h3><p>QA practices continue to evolve alongside technological advancements. Some notable trends include</p><p><strong>Shift-Left Testing: </strong>This approach involves performing tests earlier in the development cycle, enabling quick identification and resolution of issues.</p><p><strong>Agile and DevOps Integration: </strong>QA has become an integral part of Agile and DevOps methodologies, enabling continuous integration and delivery while ensuring high-quality software.</p><p><strong>Test Environment Virtualization:</strong> Virtualized test environments replicate real-world conditions, allowing QA teams to simulate complex scenarios and thoroughly test software behavior.</p><p><strong>Artificial Intelligence (AI) in Testing:</strong> AI technologies, such as machine learning and natural language processing, are increasingly employed to automate test case generation, identify patterns, and perform intelligent analysis of test results.</p><h3>Conclusion</h3><p>Quality Assurance plays a crucial role in software development by ensuring that software products are of high quality, reliable, and meet customer expectations. By following key principles and leveraging emerging trends, software development teams can enhance their QA practices and deliver robust software solutions that meet the ever-growing demands of the industry.</p><p>Remember, in the world of software development, quality should never be an afterthought. Embracing QA as an integral part of the development process is the key to success in delivering exceptional software products.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4b343b87cbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtusa Corporation]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/virtusa-corporation-126039c1f4f9?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/126039c1f4f9</guid>
            <category><![CDATA[virtusa]]></category>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Thu, 25 Aug 2022 16:06:31 GMT</pubDate>
            <atom:updated>2022-08-25T16:09:22.673Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*AvZof9kSouG9-Bw8" /></figure><h3>History</h3><p>Founded in 1996 in Sri Lanka, Virtusa is an Information Technology company that mainly provides IT consulting and outsourcing services. Their main clients are software vendors and large enterprises. Virtusa is an American company and its headquarters are based in Massachusetts, United States.</p><p>The co-founders of Virtusa belonged to a common friends circle (Kris Canekeratne, Tushara Canekeratne, John Gillis, Sandy Gillis) and they were all graduated engineers when came up with an idea to found Virtusa. They thought that the IT sector was ready for a radical transformation as the primitive methods and the way IT systems operated were becoming inefficient. So, they decided to come up with something to move the entire system off-premises, i.e., online models. Initially, they invested from their pockets, and after several maxed-out credit cards, they founded Virtusa.</p><p>The main goal behind the company was to help big enterprises with their IT legacy systems by adding some real value to them and not just reducing cost. Kris Canekeratne said that while their competitors were invested in cost arbitrage (providing the same services from lower-cost geographies), Virtusa emphasized engineering arbitrage (providing companies with all the sustainable benefits of software engineering and cost reduction as a part of it). The initial days were undoubtedly challenging because Virtusa approached the clients with a new perspective and it took time to educate the market on the business value they are offering.</p><h3>Vision and Mission</h3><p>Virtusa’s vision is <strong>Sparking innovation, one sprint at a time.</strong></p><p>The vision statement defines what and where Virtusa Corporation Company wants to be in the future. The vision statement for Virtusa Corporation is a document identifying the goals of Virtusa Corporation to facilitate its strategic, managerial, and general decision-making processes.</p><p>Virtusa’s mission is to <strong>contribute to its client’s success by delivering CORE Solutions that provide significant and sustainable value.</strong></p><p>The mission statement of Virtusa Corporation also identifies the purpose of the organization’s existence, highlighting the services and the products it offers. Further, the mission statement also identifies the organization’s operational goals for Virtusa Corporation, the processes the company uses to achieve those, the target customer groups, and the region where the company operates.</p><h3>Technology Focus</h3><p>Virtusa uses 45 technology products and services including</p><ul><li>HTML5</li><li>Google Analytics</li><li>jQuery, according to G2 Stack.</li></ul><p>Virtusa is actively using 84 technologies for its website, according to BuiltWith. These include</p><ul><li>Viewport Meta</li><li>IPhone / Mobile Compatible</li><li>SPF</li></ul><h3>Company Work Culture</h3><p>Employees at Virtusa are generally satisfied with their team. The majority believe the meetings at Virtusa are effective, and the majority look forward to interacting with their coworkers. Employees at Virtusa are mostly dissatisfied with their total compensation at Virtusa, which includes a combination of pay, stock and equity, and benefits.</p><p>The majority of employees at Virtusa believe the environment at Virtusa is positive and the pace of work at Virtusa is comfortably fast. Some of the employees at Virtusa work 8 hours or less, while the others have an extremely long day — longer than twelve hours.</p><p>Overall, the employees at Virtusa are generally happy, based on their aggregated ratings of future outlook, customer perception, and their excitement going to work.</p><h3>Clients and Operation Regions</h3><p>Virtusa provides IT consulting, business consulting, application development, product development, and legacy asset management. More than 200 companies turn to Virtusa to drive their businesses forward in the age of digital transformation.</p><p>Include mainly,</p><ul><li>Manufacturing companies</li><li>Banks</li><li>stock trading companies</li><li>retail business</li><li>accounting firms</li></ul><p>The headquarters of Virtusa Corporation is in Southborough, Massachusetts, United States. The company has several delivery centers in India and Sri Lanka with the ones in Hyderabad, Chennai, and Colombo being the largest.</p><h3>Conclusion</h3><p>In conclusion, holding a proven record of success across industries, Virtusa readily understands its clients’​ business challenges and uses its domain expertise to deliver innovative applications of technology to address its clients’ critical business challenges.</p><p>I think Virtusa has a good working environment for freshers and I would like to join them in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=126039c1f4f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dean Furness-Growth Mindset]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/dean-furness-growth-mindset-8fe6f2b4ba0f?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fe6f2b4ba0f</guid>
            <category><![CDATA[tedtalks]]></category>
            <category><![CDATA[how-to-face-challenges]]></category>
            <category><![CDATA[positive-thinking]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Thu, 25 Aug 2022 15:57:39 GMT</pubDate>
            <atom:updated>2023-08-02T18:35:56.858Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*XnkOigjTRlCLEsP8" /></figure><p>By listening to this speech, I’ve gained valuable insights. Life can take unexpected turns, and in a single moment, we may lose everything. Mr. Dean Furness’s admirable quality is that he never compares himself to others, as succinctly put by the quote, “I couldn’t compare myself to myself.”</p><p>Following his accident, Mr. Furness realized that he had undergone a profound transformation. Even without disabilities, comparing ourselves to others is fruitless, as each individual is unique. Just like in a classroom where some friends excel in academics while others shine in sports, we must recognize our own strengths and weaknesses, working to enhance our strengths and address our shortcomings gradually.</p><p>The pervasive tendency today is for people to compare their lives with others, often because they fail to acknowledge their own inherent talents and abilities. Life is a precious gift that endows us with numerous aptitudes and talents from birth. Following Mr. Furness’s example, we should all strive to discover our true selves and work towards becoming the person we aspire to be.</p><p><strong>Reference video:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fembed.ted.com%2Ftalks%2Fdean_furness_to_overcome_challenges_stop_comparing_yourself_to_others&amp;display_name=TED&amp;url=https%3A%2F%2Fwww.ted.com%2Ftalks%2Fdean_furness_to_overcome_challenges_stop_comparing_yourself_to_others&amp;image=https%3A%2F%2Fpi.tedcdn.com%2Fr%2Ftalkstar-photos.s3.amazonaws.com%2Fuploads%2Ffd989008-9c0e-4fec-ad23-87b67a800594%2FDeanFurness_2020S-embed.jpg%3Fh%3D316%26w%3D560&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=ted" width="560" height="316" frameborder="0" scrolling="no"><a href="https://medium.com/media/3fa59a8d05f68a0b618a1d4303fffcca/href">https://medium.com/media/3fa59a8d05f68a0b618a1d4303fffcca/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fe6f2b4ba0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How did the coding begin?]]></title>
            <link>https://medium.com/@inushaumayanthapeiris/how-did-the-coding-begin-1939a05ca9d?source=rss-8b7f6bc4fc48------2</link>
            <guid isPermaLink="false">https://medium.com/p/1939a05ca9d</guid>
            <category><![CDATA[assembly-language]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[high-level-language]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Inusha Peiris]]></dc:creator>
            <pubDate>Thu, 25 Aug 2022 15:47:52 GMT</pubDate>
            <atom:updated>2022-08-25T15:47:52.557Z</atom:updated>
            <content:encoded><![CDATA[<p>Computer programming is essential in our world today, running the systems for almost every device we use. Computer programming languages allow us to tell machines what to do. Machines and humans “think” very differently, so programming languages are necessary to bridge that gap</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CBVBa7sm3oxukWwI" /></figure><p>Earlier computer programs were written in the actual language of the computer. But nowadays the programmer writes his/her program in a programming language that is relatively easy to learn and error-free.</p><p>These languages can be considered as,</p><ul><li><strong>Machine language</strong></li><li><strong>Assembly language</strong></li><li><strong>High-level language</strong></li></ul><h3>Machine language</h3><p>The lowest level of language represents information as <strong>1s</strong> and <strong>0s</strong> binary digits corresponding to the <strong>“on” </strong>and <strong>“off” </strong>electrical states in the computer.</p><p><strong>Example — Hello World:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/0*GsRsEbazYmIXbNxo" /></figure><p>Machine code is not really readable by humans and humans can only do trivial things with it but all software is eventually turned into Machine code before it’s sent to the CPU.</p><h3>Assembly language</h3><p>Rather than using simply 1s and 0s, assembly language uses abbreviations or mnemonic codes to replace the numbers: A for “Add”, CMP for “Compare”, MUL for “Multiply”, and so on.</p><p><strong>Example — Hello World:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*tZjl2DCce4xpIcwN" /></figure><p>The programmer who uses an assembly language requires a translator to convert his or her assembly language program into machine language.</p><h3>High-level language</h3><p>High-level languages move away from machine dependence and are generally more problem-oriented.</p><p>A few distinct features of high-level languages,</p><ul><li><strong>Have an extensive vocabulary of words, symbols, and sentences.</strong></li><li><strong>As they are problem-oriented the programmer is able to work independently of the machine.</strong></li><li><strong>A set of rules must be obeyed when writing the source program, similar to grammar rules in writing English.</strong></li></ul><p><strong>Example — Hello World:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/0*C6EAu6VDNKtpby08" /></figure><h3>Computer Programming Languages Today</h3><p>Most computer programming languages were inspired by or built upon concepts from previous computer programming languages. Today, while older languages still serve as a strong foundation for new ones, newer computer programming languages make programmers’ work simpler. Businesses rely heavily on programs to meet all of their data, transaction, and customer service needs. Science and medicine need accurate and complex programs for their research. Mobile applications must be updated to meet consumer demands. And all of these new and growing needs ensure that computer programming languages, both old and new, will remain an important part of modern life.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1939a05ca9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>