<?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 Jeewantha Lahiru on Medium]]></title>
        <description><![CDATA[Stories by Jeewantha Lahiru on Medium]]></description>
        <link>https://medium.com/@jeewanthalahiru?source=rss-d3b5e574a967------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*o3wwzQt5WJhjC3gtuIJW0A.jpeg</url>
            <title>Stories by Jeewantha Lahiru on Medium</title>
            <link>https://medium.com/@jeewanthalahiru?source=rss-d3b5e574a967------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:28:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeewanthalahiru/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[Find the nearest location on given vector array on Unreal Engine]]></title>
            <link>https://jeewanthalahiru.medium.com/find-the-nearest-location-on-given-vector-array-on-unreal-engine-60eea1a6ebb1?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/60eea1a6ebb1</guid>
            <category><![CDATA[blueprint]]></category>
            <category><![CDATA[ue5]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[unreal-engine]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Sat, 20 Apr 2024 21:31:14 GMT</pubDate>
            <atom:updated>2024-04-20T21:31:14.236Z</atom:updated>
            <content:encoded><![CDATA[<p>When you are using Unreal Engine, sometimes you may need to find the nearest location for a certain location using a vector array. For example, if you have a line trace and there are multiple actors each having several locations stored in an array, you need to find the closest location to the impact location within your vector array. (I’m doing this using blueprints)</p><p>so you have to do like this,</p><ul><li>Create a function and name it as you need. I suggest naming it <strong>“GetNearestLocation”</strong> with a vector input called <strong>“HitPoint”</strong>. This input specifies the point from which you want to find the nearest location within the given array.</li><li>Then, obtain the array length. If the length is greater than 1, you can proceed with the calculation. Otherwise, you can simply return the value at the 0th index.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*rKYuvViAmDiH5cXRzFrqMA.png" /></figure><ul><li>Create a forEach loop for the given array. If the index equals 0, then instantiate a variable called “<strong>ClosestIndex</strong>” and set its value to 0. Next, calculate the distance from the hit location to the value at the 0th index and assign this distance to a variable named “<strong>ClosestDistance</strong>”. Ensure that these variables are declared locally.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7uzVuiiCvsy9SNmfBIEYjg.png" /></figure><ul><li>If the index is not equal to 0, then verify whether the calculated distance is less than the <strong>ClosestDistance</strong>. If this condition holds true, update the <strong>ClosestDistance</strong> with the calculated distance and set the <strong>ClosestIndex</strong> to the current <strong>ArrayIndex</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*ZI6Kt7Vq8SY1DM_Fv2VJRg.png" /></figure><ul><li>Then you can return the closest value by getting the value of the given array’s ClosestIndex.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*_EzUW_eX8ZsPAtuLaNr1xA.png" /></figure><ul><li>I will add a full code image down below</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uxh9SU46X-B4OTyP5vN-MA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60eea1a6ebb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Engineering and IKIGAI]]></title>
            <link>https://jeewanthalahiru.medium.com/software-engineering-and-ikigai-4facafe7e9a7?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/4facafe7e9a7</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ikigai]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Fri, 28 May 2021 12:34:19 GMT</pubDate>
            <atom:updated>2021-05-28T12:34:19.900Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iw-MFsHNZ_8d8Id5ixqlPQ.jpeg" /></figure><h3>Have you ever thought:</h3><p>If I earn <em>this</em> much money, I’ll be happier or if I owned <em>that</em> thing, I’ll be happier?</p><p>It’s refreshing to know that in recent years, as a society, we’ve started to move away from the idea that economic success, wealth and possessions are signs of achievement or the sole items responsible for our happiness.</p><h3>What is Ikigai?</h3><p>Philosophers have been deliberating over constructs that explain the pursuit of happiness and the meaning of life for centuries. Ikigai<em> </em>is one thought to combine the Japanese words <em>ikiru</em>, meaning “to live”, and <em>kai</em>, meaning “the sensation of what hopes for”. Together these definitions create “a reason to live” or having a life purpose.</p><p>We all strive for satisfaction and purpose in our lives. Your ikigai is your reason for jumping out of bed in the morning, what motivates you to revel in and appreciate life every day.</p><p>Ikigai is a beneficial practice in career growth because like your own passions and needs, and what the world needs — the meditation of ikigai grows and changes with you. There’s not necessarily an end to your ikigai practice, it’s an ongoing journey.</p><h4>How to find your Ikigai?</h4><p>According to Japanese culture, everyone has ikigai. Detecting our strengths is not always easy. There are four questions that can help us find our path. If you write them down somewhere where you come across them regularly, you can use them as a compass bringing you closer to your purpose.</p><p><strong>To find your Ikigai, you must ask yourself:</strong></p><blockquote><em>1. What do I love?</em></blockquote><blockquote><em>2. What am I good at?</em></blockquote><blockquote><em>3. What can I be paid for?</em></blockquote><blockquote><em>4. What does the world need?</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*1OMD_G6lVf_NjQoM6MFdJw.png" /></figure><h3>What do I love</h3><p>Passion is a feeling of intense enthusiasm towards or compelling desire for someone or something. Passion can range from eager interest in or admiration for an idea, proposal, or cause; to enthusiastic enjoyment of an interest or activity; to strong attraction, excitement, or emotion towards a person. In the IKIGAI ideology, Passion will fall under two categories: <strong>What you love</strong> and <strong>What you are good at</strong>.</p><p>Software engineering is kind of a passion for me. I love to work with computers, software. also I love play games and develop games. The software engineering degree program helps me to improve knowledge of game development.</p><h3>What am I good at</h3><p>I should memorize my skills that I am good at. I can play games with hard difficulty. I can drive vehicles really fast. I can make designs such as UI designs, flyers and I am good at 3D modelling.</p><p>Software Engineering degree program helped me to improve design skills through Interaction design development course module.</p><h3>What can I be paid for</h3><p>find the thing that you can get paid for. This requires deeper thinking and well known about the status of the career world. If I’m thinking about myself, I am going to be a Software developer. I will be paid for developing softwares.</p><h3>What does the world need</h3><p>We have to figure out What the world needs &amp; involves taking what’s going on in the world right now. Then you have to drive your skills and passion in positive change‍.</p><p>Therefore get a brief idea of IKIGAI and work that the way you love.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4facafe7e9a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethical Hacking]]></title>
            <link>https://jeewanthalahiru.medium.com/ethical-hacking-5cb77816323e?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cb77816323e</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Thu, 27 May 2021 21:00:54 GMT</pubDate>
            <atom:updated>2021-05-27T21:00:54.505Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H8GZ235Q2TL8nTk3i0D03w.jpeg" /></figure><p>In today’s times with the extensive use of the internet and modern technologies, there is a massive challenge in protecting all our digital data, such as net banking information account credentials and medical reports, to name a few.</p><p><strong>Hacking</strong> is the activity of identifying weaknesses in a computer system or a network to exploit the security to gain access to personal data or business data. An example of computer hacking can be: using a password cracking algorithm to gain access to a computer system.</p><p>let’s have a look at three different kind of <strong>Hackers.</strong></p><ol><li><a href="https://en.wikipedia.org/wiki/Black_hat_(computer_security)"><strong><em>Black Hat hackers</em></strong></a> are individuals who illegally hack into a system for monetary gain.</li><li>On the contrary, we have <a href="https://en.wikipedia.org/wiki/White_hat_(computer_security)"><strong><em>white hat hackers</em></strong></a> who explain the system’s vulnerabilities by hacking into it with permission, to defend the organization. This form of hacking is absolutely legal and ethical. They are also often referred to as ethical hackers.</li><li>Thirdly the<em> </em><a href="https://en.wikipedia.org/wiki/Grey_hat"><strong><em>grey hat hackers</em></strong>,</a> the color grey, is a blend of both white and black these hackers discover vulnerabilities in the system and report it to the owner of the system, which is a good act. Still, they do this without seeking the owner’s approval. Sometimes, grey hat hackers also ask for money in return for the spotted vulnerabilities.</li></ol><p>There are 5 phases of hacking,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*bxUGmhYVqn4yI1WVKsSFGg.png" /></figure><h4><strong>Reconnaissance:</strong></h4><p>This is the first step of Hacking. It is also called as Footprinting and information gathering Phase. This is the preparatory phase where we collect as much information as possible about the target. We usually collect information about three groups,</p><ol><li>Network</li><li>Host</li><li>People involved</li></ol><p>There are two types of footprinting,</p><p><strong>Active:</strong> Directly interacting with the target to gather information about the target. Eg Using Nmap tool to scan the target</p><p><strong>Passive: </strong>Trying to collect the information about the target without directly accessing the target. This involves collecting information from social media, public websites etc.</p><h4>Scanning</h4><p>Three types of scanning are involved:</p><p><strong>Port scanning:</strong> This phase involves scanning the target for the information like open ports, Live systems, various services running on the host.</p><p><strong>Vulnerability Scanning:</strong> Checking the target for weaknesses or vulnerabilities which can be exploited. Usually done with help of automated tools</p><p><strong>Network Mapping:</strong> Finding the topology of network, routers, firewalls servers if any, and host information and drawing a network diagram with the available information. This map may serve as a valuable piece of information throughout the hacking process.</p><h4>Gaining Access</h4><p>This phase is where an attacker breaks into the system/network using various tools or methods. After entering into a system, he has to increase his privilege to administrator level so he can install an application he needs or modify data or hide data.</p><h4>Maintaining Access</h4><p>Hacker may just hack the system to show it was vulnerable or he can be so mischievous that he wants to maintain or persist the connection in the background without the knowledge of the user. This can be done using Trojans, Rootkits or other malicious files. The aim is to maintain the access to the target until he finishes the tasks he planned to accomplish in that target.</p><h4>Clearing Track</h4><p>No thief wants to get caught. An intelligent hacker always clears all evidence so that in the later point of time, no one will find any traces leading to him. This involves modifying/corrupting/deleting the values of Logs, modifying registry values and uninstalling all applications he used and deleting all folders he created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*kwkg1e9YGfzGN1QHymbiiQ.jpeg" /></figure><p>Most of hackers use kali linux operating system.</p><h3>Kali Linux</h3><p>Kali Linux is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rolBtB3Jfl-92twkOTCboQ.jpeg" /></figure><h3>Cyber Security</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*kft4GG_PPmVRgEQ5egwe8Q.jpeg" /></figure><p>Cybersecurity is important because it protects all categories of data from theft and damage. This includes sensitive data, personally identifiable information (PII), protected health information (PHI), personal information, intellectual property, data, and governmental and industry information systems. Without a cybersecurity program, an organization cannot defend itself against data breach campaigns, making it an irresistible target for cybercriminals.</p><h3>CIA in cyber security</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UNKWIISapWFxmJ6adIkJwQ.png" /></figure><p>The CIA triad (also called CIA triangle) is a guide for measures in information security. It stands for Confidentiality, Integrity, and Availability. The goal of CIA triad pertaining to information security solutions especially applicable to business organizations. The CIA security triangle shows the fundamental goals that must be included in information security measures. The CIA triad serves as a tool or guide for securing information systems and networks and related technological assets.</p><h3>machine learning in security</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*yq8F0wcSU2y9M-7SFph6NA.jpeg" /></figure><p>Machine learning has become a vital technology for cybersecurity. Machine learning preemptively stamps out cyber threats and bolsters security infrastructure through pattern detection, real-time cyber crime mapping and thorough penetration testing. A subset of artificial intelligence, machine learning uses algorithms born of previous datasets and statistical analysis to make assumptions about a computer’s behavior. The computer can then adjust its actions and even perform functions for which it hasn’t been explicitly programmed. With its ability to sort through millions of files and identify potentially hazardous ones, machine learning is increasingly being used to uncover threats and automatically squash them before they can wreak havoc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cb77816323e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Industry Expectations and Professionalism]]></title>
            <link>https://jeewanthalahiru.medium.com/industry-expectations-and-professionalism-b4c07cf8d24f?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4c07cf8d24f</guid>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[industry-expectations]]></category>
            <category><![CDATA[professionalism]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Wed, 26 May 2021 20:43:50 GMT</pubDate>
            <atom:updated>2021-05-26T20:43:50.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kohG1y7ObGG_VZdlWrpu5w.jpeg" /></figure><h3>Professionalism</h3><p>Professionalism is the conduct, behavior and attitude of someone in a work or business environment. A person doesn’t have to work in a specific profession to demonstrate the important qualities and characteristics of a professional.</p><p>what makes you professional?</p><ul><li>Strong skills and competence in your chosen field.</li><li>The qualities and behaviors you exhibit.</li><li>The way you conduct yourself during your business affairs.</li></ul><p>There are 10 sub parts in the professionalism,</p><h4>Appearance</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*sitbw2l8Ganij3pFNJZqrg.jpeg" /></figure><p><em>A professional is always neatly dressed.</em></p><ul><li>meet or even exceed the requirements of your company’s dress code.</li><li>pay special attention to your appearance when meeting internal and external clients/ stakeholders.</li></ul><h4>Demeanor</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*kxR30QCS_Hn3kAXFwrmBbw.png" /></figure><p><em>Reflect confidence, but not cockiness.</em></p><ul><li>be polite and well spoken whether you’re interacting with customers, superiors or co-workers.</li><li>you may be the expert in a field, but that does not earn you the right to treat your colleagues and clients like ignorant idiots.</li><li>Your <strong>demeanor</strong> affects how people perceive you. An unprofessional <strong>demeanor</strong> in a professional situation could get you fired, so you’d better learn what the word means.</li></ul><h4>Reliability</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*a66LlHZiVfRU0lpQXwXjcA.jpeg" /></figure><p><em>You will be counted on to find a way to get the job done.</em></p><ul><li>Respond to people promptly and follow through on promises in a timely manner.</li><li>Clarity everything, especially when things change, to make sure you are always an the same page as your client/team.</li></ul><h4>Competence</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*l0Mc9vDCBUIy8LUkms2NvA.png" /></figure><p><em>Strive to become an expert in your field.</em></p><ul><li>continue your education by taking courses, attending seminars and obtaining related educational and professional qualitications.</li></ul><h4>Ethics</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TAQ2Bg-bQ1Q6z2Cm6YGlUQ.jpeg" /></figure><p><em>All professionals must adhere to a strict code of ethics.</em></p><ul><li>Even if your company does not have a written code, you should always display ethical behavior.</li></ul><h4>Maintaining your Poise</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aFynWHtypJxH-sUNd28yBA.jpeg" /></figure><p><em>A professional must maintain his/her poise even when facing a difficult situation.</em></p><ul><li>When you are challenged or questioned you need to be able to state your case in a calm and structured manner.</li><li>Do not loose your cool or air personal emotional baggage in a tense situation.</li></ul><h4>Phone etiquette</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*lCIvbhQsKeCo0Ni_j49HRA.jpeg" /></figure><p><em>Your phone etiquette is also an important component of professional behavior.</em></p><ul><li>When placing an official call, identify yourself by your full name, company and designation.</li><li>Do not dominate the conversation, ensure that you are listen to what the other party is saying.</li></ul><h4>Writer Correspondence</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ae2BGsCq-K6QCFDAr8YlCA.jpeg" /></figure><p><em>During written or email, correspondence keep your emails brief and to the point</em></p><ul><li>your tone should be polite and formal without being “stuffy”.</li><li>email etiquette 101 — never, ever write in capital letters in an email, no matter how frustrated you are.</li></ul><h4>Organized skills</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aveu7YL21Ts_LmXKXO5arA.jpeg" /></figure><p><em>A professional can quickly and easily find what is needed.</em></p><ul><li>your work area should be neat and organized.</li><li>when heading in for a meeting or presentation, you should only take what is necessary.</li></ul><h4>Accountability</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9u05XPG0SVsUrZIqP260QQ.jpeg" /></figure><p><em>You are always accountable for your actions.</em></p><ul><li>If you make a mistake, own up to it and try to fix it if possible, Don’t try to place the blame on a colleague.</li><li>If your company made the mistake, take responsibility and work to resolve the issue.</li></ul><h3>Industry Expectations</h3><p>the industry has an expectation of workers to be professional, productive, respectful, and responsive to customer needs. No matter which style of operation you are working in, it is important to remember why you chose this career path in the first place and always to respect your job and the other people you work with.</p><h4>Communication skills</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HL2mQ4uqAZ_t_cdpK_MjSw.png" /></figure><p>Good communication skills are essential if you expect to be hired into a reputed firm or organization.</p><p>All your knowledge will be of no use if you are unable to articulate your thoughts clearly.</p><h4>Innovative thinking</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*nYDc922BCPegddG08ZRUmQ.jpeg" /></figure><p>Companies look for individuals who can go beyond the confines of a book/ particular area of thought and produce innovative solutions.</p><h4>Ability to Lead</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*stfiAx95vNIalGbrVv8SMQ.jpeg" /></figure><p>The ability will catapult the right to the top ranks of job seekers and is are trait all leading companies look out for.</p><h4>Positive Outlook</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UGcAThLvvBcGj5x6B--Guw.jpeg" /></figure><p>The workplace is on environment full of challenges and obstacles. Those with a positive outlook will find it much easier to survive and thrive than those without.</p><h4>Versatility</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9b7iHpjWW_uY_JQAOnGVUQ.jpeg" /></figure><p>In order to make the maximum impact, you should be able to play multiple roles within your team. you can be strict boss, the helping colleague, the understanding employee and the courageous leader all at the same time.</p><h4>Willingness to Learn</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PogE0EQHLfTvTAHpzELL-Q.jpeg" /></figure><p>you should always be willing to stay updated on industry trends and learn new skills. this applies not just to technical skills, but to soft skills as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4c07cf8d24f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Test Automation]]></title>
            <link>https://jeewanthalahiru.medium.com/test-automation-ea0d732debdc?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea0d732debdc</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Fri, 22 Jan 2021 05:43:11 GMT</pubDate>
            <atom:updated>2021-01-22T05:43:11.485Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HyspcLer2Z8RKK4ISaojRg.png" /></figure><h4>What is Test Automation?</h4><p>An investigation performed by a human to provide project stakeholders with information about the quality of the software under development, we called it as <strong>Testing Software. </strong>The uses of software tools (or automation code) and the power of machines to control the execution of tests, compare their result, and report functions that would otherwise require manual testing activity. This is called as <strong>Test Automation</strong>.</p><h4>Why is Text Automation used?</h4><p>When we looking at the test automation, There we can achieve many advantages using this. Such that simplifying test execution, increaseing speed of test execution, increase the amount of test coverage and improving the reliability of tests. As well as due to the minimizing of the human interaction with testing we can improve the accuracy of software test as well save the time and money.</p><h4>Test Automation Frameworks</h4><p>A framework is a supporting structure around which something can be built. Increasing reusability, increasing maintainability, reducing complexity, improved reporting, improved error handling, improved productivity are some of the benefits of using frameworks.</p><h4>Data driven framework</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*dAkvha-4bI-pmZbfkAXgyA.png" /></figure><p>Data-driven is a test automation framework which stores test data in a table or spread spreadsheet format. In Data-driven test automation framework, input data can be stored in single or multiple data sources like xls, XML, csv, and databases.</p><h4>Keyword driver framework</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*kuzcng22Lgin1tAKC5QePg.png" /></figure><p>Keyword Driven Testing is a scripting technique that uses data files to contain the keywords related to the application being tested. These keywords describe the set of actions that is required to perform a specific step.</p><h4>Page Object design</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*jhUwgJJc8-NoWbGXyJin6A.png" /></figure><p>Page Object Model (POM) is a design pattern, popularly used in test automation that creates Object Repository for web UI elements. The advantage of the model is that it reduces code duplication and improves test maintenance.</p><h4>ATDD</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*9YOgaW8Li9KYAGITZtox6g.png" /></figure><p>Acceptance test–driven development (ATDD) is a development methodology based on communication between the business customers, the developers, and the testers. ATDD encompasses many of the same practices as specification by example, behavior-driven development (BDD), example-driven development (EDD), and support-driven development also called story test–driven development (SDD). All these processes aid developers and testers in understanding the customer’s needs prior to implementation and allow customers to be able to converse in their own domain language.</p><p>In order to gain the maximum ROI, scope of automation, selection of the right automation tool, choosing appropriate framework, scripting standards, measure metrics are some of things to be considered.</p><h4>Test Automation tools</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*VpvIe-XXjqLGqu00SJSn6w.png" /></figure><p>Tool selection is one of biggest challenges to be tackled before going for automation. First, Identify the requirements, explore various tools and its capabilities, set the expectation from the tool and go for a Proof of Concept. There are tons of Functional and Regression Testing Tools available in the market. Here are some commonly used tools:</p><ol><li>LambdaTest</li><li>TestComplete</li><li>QMetry Automation Studio</li><li>TestProject</li><li>Katalon Studio</li><li>Selenium</li><li>Subject7</li><li>Appium</li><li>Micro Focus UFT</li><li>Test Studio</li></ol><h4>Choosing appropriate framework</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*2QcUA8Q_1P5v6nCefHXqow.png" /></figure><p>To help determine which framework is right for your organization, consider about following questions.</p><ul><li>Consider the application and the technology involved. How was the application built? What is the user experience like?</li><li>Think about testing requirements. Does the application have a very complex workflow?</li><li>Determine license cost of the tool. What costs are associated with each framework?</li><li>Evaluate the skill sets available within your organization. What skills does your team already have? Is there a team that could plug into one of the frameworks?</li></ul><h4>Scripting Standards</h4><p>It’s important to look at the entire scope of your automation project when you create standards for test automation. If you overlook something while drafting the standards, it can be expensive to change standards after your team has created several thousand lines of code. Here is a list of some of the things you should consider when creating standards for test automation:</p><p>1. Test Tools.</p><p>2. Libraries</p><p>3. Logging</p><p>4. Error Handling.</p><p>5. Environment.</p><p>6. Test Harnesses so on.</p><h4>Selenium</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*dRJi24E716BRUwQOAhkCAQ.jpeg" /></figure><p>Selenium is a free (open-source) automated testing framework used to validate web applications across different browsers and platforms. It is basically used to automate the testing across various web browsers. It supports various browsers like Chrome, Mozilla, Firefox, Safari, and IE. It provides a single interface that lets you write test scripts in programming languages like Ruby, Java, NodeJS, PHP, Perl, Python, and C#, among others. Selenium Software is not just a single tool but a suite of software, each piece catering to different Selenium QA testing needs of an organization.</p><p>The entire Selenium Software Testing Suite is comprised of four components: Selenium Integrated Development Environment (IDE), Selenium Remote Control (RC), WebDriver, Selenium Grid. Selenium IDE, a Firefox add-on that you can only use in creating relatively simple test cases and test suites. Selenium Remote Control, also known as Selenium 1, which is the first Selenium tool that allowed users to use programming languages in creating complex tests. WebDriver, the newer breakthrough that allows your test scripts to communicate directly to the browser, thereby controlling it from the OS level. Selenium Grid is also a tool that is used with Selenium RC to execute parallel tests across different browsers and operating systems. Selenium RC and WebDriver was merged to form Selenium 2. Selenium is more advantageous than QTP in terms of costs and flexibility. It also allows you to run tests in parallel, unlike in QTP where you are only allowed to run tests sequentially.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea0d732debdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Human Computer Interactive Systems]]></title>
            <link>https://jeewanthalahiru.medium.com/human-computer-interactive-systems-b7607574c5f5?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7607574c5f5</guid>
            <category><![CDATA[hci]]></category>
            <category><![CDATA[humancomputer-interaction]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Sun, 27 Dec 2020 13:59:09 GMT</pubDate>
            <atom:updated>2020-12-27T13:59:09.433Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KaAdOwRDuvQsnklWTIv_iA.jpeg" /></figure><p><strong>Human–computer interaction</strong> (<strong>HCI</strong>) studies the design and use of computer technology, focused on the interfaces between people (users) and computers. Researchers in the field of HCI observe the ways in which humans interact with computers and design technologies that let humans interact with computers in novel ways.</p><h3>Design rules for <strong>Interactive Systems</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nMUrhBDRcIENGS-wAe7oMw.jpeg" /></figure><p>Human Computer Interaction is a must to have design rules which can follow to increase the usability of the eventual software product.</p><p>Principles are abstract design rules, with high generality and low authority. Principles can provide the repeatability which paradigms in themselves cannot provide. The principles can be divided into three main categories.</p><h4>Principles of Learnability</h4><p>Several principles support learnability, which focuses on the features in the software system that allows users to understand how it works or how to have a maximum level of performance. They are Predictability, Synthesizability, Familiarity, Generalizability, and Consistency. Predictability supports the user to determine the effect of future action based on past interaction history. For example, mathematical puzzles are given with three or more numbers to determine the next number. Synthesizability supports the user to assess the effect of past operations on the current state. Familiarity supports the extent to which a user’s knowledge and experience in other real-world or computer-based domains can be applied when interacting with a new system. Generalizability supports for the user to extend knowledge of specific interaction within and across applications to other similar situations. Consistency supports likeness in input-output behavior arising from similar situations or similar task objectives.</p><h4>Principles of Flexibility</h4><p>Flexibility means the multiplicity of ways in which the user and system exchange information. There should not be an tough way for user to get information from the system. It also includes the ability of the system to support user interaction for more than one task at a time. There are five principles that contribute to the flexibility.</p><p>01. Dialog initiative — Allowing the user freedom from artificial constraints on the input dialog imposed by the system<br>02. Multi-threading — Ability of the system to support user interaction pertaining to more than one task at a time<br>03. Task migratability — The ability to pass control for the execution of a given task so that it becomes either internalized by the user<br>or the system or shared between them<br>04. Substitutivity — Allowing equivalent values of input and output to be arbitrarily substituted for each other<br>05. Customizability — Modifiability of the user interface by the user or the system</p><h4>Principles of Robustness</h4><p>Robustness is the level of support provided to the user in determining successful achievement and assessment of goals. It is the extent to which the user can reach the intended goal after recognizing an error in the previous interaction. There are four principles related to Robustness.<br>01. Observability — Ability of the user to evaluate the internal state of the system from its perceivable representation<br>02. Recoverability — Ability of the user to take corrective action once an error has been recognized<br>03. Responsiveness — How the user perceives the rate of communication with the system<br>04. Task conformance — The degree to which the system services support all of the tasks the user wishes to perform and in the way that the user understands them</p><h4>Standards and Guideline for Interactive systems</h4><p>Standards for interactive system design are usually set by national or international bodies to ensure compliance with a set of design rules by a large community. Standards can be applied specifically for either the hardware or the software which are being used to build the interactive systems.<br>We have observed that the incompleteness of the theories underlying the design of interactive software make it difficult to produce authoritative and specific standards. As a result, the majority of design rules for interactive systems are suggestive and more general guidelines.</p><h4>Shneidermans’s 8 Golden Rules</h4><p>Shneiderman’s eight golden rules provide a convenient and succinct summary of the key principles of interface design. They are intended to be used during design but can also be applied, like Nielsen’s heuristics, to the evaluation of systems.</p><ol><li>Strive for consistency in action sequences, layout, terminology, command use and so on.</li><li>Enable frequent users to use shortcuts, such as abbreviations, special key sequences and macros, to perform regular, familiar actions more quickly.</li><li>Offer informative feedback for every user action, at a level appropriate to the magnitude of the action.</li><li>Design dialogs to yield closure so that the user knows when they have completed a task.</li><li>Offer error prevention and simple error handling so that, ideally, users are prevented from making mistakes and, if they do, they are offered clear and informative instructions to enable them to recover.</li><li>Permit easy reversal of actions in order to relieve anxiety and encourage<br>exploration, since the user knows that he can always return to the previous state.</li><li>Support internal locus of control so that the user is in control of the system, which responds to his actions.</li><li>Reduce short-term memory load by keeping displays simple, consolidating<br>multiple page displays and providing time for learning action sequences.</li></ol><h4>Norman’s 7 Principles</h4><ol><li>Use both knowledge in the world and knowledge in the head.</li><li>Simplify the structure of tasks.</li><li>Make things visible: bridge the gulfs of Execution and Evaluation.</li><li>Get the mappings right.</li><li>Exploit the power of constraints, both natural and artificial.</li><li>Design for error.</li><li>When all else fails, standardize.</li></ol><h3>Evaluation techniques for interactive systems</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*W3Yiz0_IjmJ-_nQgK6-sxw.jpeg" /></figure><p>Evaluation is required for any systems to understand whether system is functioning in keeping with the necessities, whether or not it complies with rules and pointers, whether or not it’s needed standards etc. analysis mustn’t be thought of as one introduce the planning method. Ideally, analysis ought to occur throughout the planning life cycle, with the results of the analysis feeding into modifications to the planning.</p><h4>Goals of Evaluation</h4><ul><li>to assess the extent and accessibility of the system’s functionality — The design of the interface should clearly reachable by the user in terms of the actions that the user needs to take to perform the task. And should include appropriate functionality within the system.</li><li>to assess users’ experience of the interaction — This includes considering aspects such as how easy the system is to learn, its usability, and the user’s satisfaction with it. And it may also include his enjoyment and emotional response, particularly in the case of systems that are aimed at leisure or entertainment.</li><li>to identify any specific problems with the system — This is related to both the functionality and usability of the design.</li></ul><h4>Evaluation through expert analysis</h4><p>A number of ways are projected to judge interactive systems through expert analysis. These depend on the designer, or a personality’s factors expert, taking the planning and assessing the impact that it’ll have upon a typical user. the essential intention is to spot any areas that are probably to cause difficulties as a result of they violate acknowledged psychological feature principles, or ignore accepted empirical results. These ways are often used at any stage within the development method from a style specification, through storyboards and prototypes, to full implementations, creating them flexible evaluation approaches.</p><p><strong>Cognitive walkthrough</strong></p><p>Walkthroughs require a detailed review of a sequence of actions which refers to the steps that an interface will require a user to perform in order to accomplish some known task. The evaluators then ‘step through’ that action sequence to check it for potential usability problems. Usually, the main focus of the cognitive walkthrough is to establish how easy a system is to learn.</p><p><strong>Heuristic evaluation</strong></p><p>A heuristic is a guideline or general principle or rule of thumb that can guide a design decision or be used to critique a decision that has already been made. Heuristic evaluation is a method for structuring the critique of a system using a set of relatively simple and general heuristics. The general idea behind heuristic evaluation is that several evaluators independently critique a system to come up with potential usability problems.</p><p><strong>Model-based evaluation</strong></p><p>Certain cognitive and design models provide a means of combining design specification and evaluation into the same framework. Design methodologies, such as design rationale, also have a role to play in evaluation at the design stage. Dialog models can also be used to evaluate dialog sequences for problems, such as unreachable states, circular dialogs and complexity.</p><h4>Evaluation through user participation</h4><p>User participation in evaluation tends to occur in the later stages of development when there is at least a working prototype of the system in place.</p><p><strong>Styles of evaluation</strong></p><ol><li><strong><em>Laboratory studies</em></strong> — users are taken out of their normal work environment to take part in controlled tests, often in a specialist usability laboratory.</li><li><strong><em>Field studies </em></strong><em>— </em>This takes the designer or evaluator out into the user’s work environment in order to observe the system in action.</li></ol><p>There are different approaches to evaluation through user participation. These include empirical or experimental methods, observational methods, query techniques, and methods that use physiological monitoring, such as eye tracking and measures of heart rate and skin conductance.</p><p><strong>Empirical methods: experimental evaluation</strong></p><p>One of the most powerful methods of evaluating a design or an aspect of a design is to use a controlled experiment. This provides empirical evidence to support a particular claim or hypothesis.</p><p>Any experiment has the same basic form. Within this basic form there are a number of factors that are important to the overall reliability of the experiment, which must be considered carefully in experimental design. These include the participants chosen, the variables tested and manipulated, and the hypothesis tested.</p><p><strong>Observational techniques</strong></p><p>A popular way to gather information about actual use of a system is to observe users interacting with it. Usually they are asked to complete a set of predetermined tasks. The evaluator watches and records the users’ actions. Few techniques used to evaluate systems by observing user behavior are: Think aloud and cooperative evaluation, Protocol analysis, Automatic protocol analysis tools, Post-task walkthroughs.</p><p><strong>Query techniques</strong></p><p>These techniques relies on asking the user about the interface directly. Query techniques can be useful in eliciting detail of the user’s view of a system. It may be difficult to get accurate feedback about alternative designs if the user has not experienced them. There are two main types of query technique: Interviews, Questionnaires<em>.</em></p><h4>Evaluation through monitoring physiological responses</h4><p>Interest has grown recently in the ways of monitoring physiological aspects of computer use. This will allow us not only to see more clearly exactly what users do when they interact with computers, but also to measure how they feel. The two areas receiving the most attention to date are eye tracking and physiological measurement.</p><h3>Universal Design for Interactive Systems</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*zW0nNWf2Xc3Iqb81c8sNtg.png" /></figure><p>Universal design is the process of designing products so that they can be used by as many people as possible in as many situations as possible. This means designing interactive systems that are usable by anyone, with any range of abilities, using any technology platform.</p><h4>Universal Design Principles</h4><p>The 7 Principles of Universal Design were developed in 1997 by a working group of architects, product designers, engineers and environmental design researchers, led by the late Ronald Mace in the North Carolina State University.</p><p>01. Equitable use <strong>— </strong>The design is useful to people with a range of abilities and appealing to all. No user is excluded or stigmatized. Wherever possible, access should be the same for all, where identical use is not possible, equivalent use should be supported. Where appropriate, security, privacy and safety provision should be available to all.</p><p>02. Flexibility in use — The design allows for a range of ability and preference, through choice of methods of use and adaptivity to the user’s pace, precision and custom.</p><p>03. simple and intuitive to use — Use of the design is easy to understand, regardless of the user’s experience, knowledge, language skills, or current concentration level.</p><p>04.Perceptible information <strong>— </strong>The design communicates necessary information effectively to the user, regardless of ambient conditions or the user’s sensory abilities.</p><p>05.Tolerance for error <strong>— </strong>Minimizing the impact and damage caused by mistakes or unintended behavior. Potentially dangerous situations should be removed or made hard to reach. Potential hazards should be shielded by warnings. Systems should fail safe from the user’s perspective and users should be supported in tasks that require concentration.</p><p>06.Low physical effort<strong> — </strong>Systems should be designed to be comfortable to use, minimizing physical effort and fatigue. The physical design of the system should allow the user to maintain a natural posture with reasonable operating effort. Repetitive or sustained actions should be avoided.</p><p>07.Requires size and space for approach and use<strong> — </strong>The placement of the system should be such that it can be reached and used by any user regardless of body size, posture or mobility. Important elements should be on the line of sight for both seated and standing users. All physical components should be comfortably reachable by seated or standing users. Systems should allow for variation in hand size and provide enough room for assistive devices to be used.</p><h4>Multi-modal interaction</h4><p>A system needs to provide information through more than one medium and that can be elicited through multi-modal interaction. Multi-modal interaction covers the five senses namely, sight, sound, touch, taste and smell. Sight. Anyhow, taste and smell are less appreciated, may be they will be needed in future.</p><p><strong>Sound in the interface</strong></p><p>Sound is an important contributor to usability. There is experimental evidence to suggest that the addition of audio confirmation of modes, in the form of changes in keyclicks, reduces errors. The dual presentation of information through sound and vision supports universal design, by enabling access for users with visual and hearing impairments respectively. It also enables information to be accessed in poorly lit or noisy environments. Sound can convey transient information and does not take up screen space, making it potentially useful for mobile applications.</p><p><strong>Touch in the interface</strong></p><p>Touch is the only sense that can be used to both send and receive information. The use of touch in the interface is known as haptic interaction. Haptics is a generic term relating to touch, but it can be roughly divided into two areas: cutaneous perception, which is concerned with tactile sensations through the skin; and kinesthetics, which is the perception of movement and position.</p><p><strong>Handwriting recognition</strong></p><p>Like speech, we consider handwriting to be a very natural form of communication. The idea of being able to interpret handwritten input is very appealing, and handwriting appears to offer both textual and graphical input using the same tools. There are problems associated with the use of handwriting as an input medium.</p><p><strong>Gesture recognition</strong></p><p>Gesture is a component of human–computer interaction that has become the subject of attention in multi-modal systems. Being able to control the computer with certain movements of the hand would be advantageous in many situations where there is no possibility of typing, or when other senses are fully occupied. It could also support communication for people who have hearing loss, if signing could be ‘translated’ into speech or vice versa.</p><h4>Designing Interfaces for diversity</h4><p>Interfaces are usually designed to cater for the ‘average’ user, but unfortunately this may exclude people who are not ‘average’. There are three main areas to be considered in this context namely disability, age and culture.</p><p><strong>Disability</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wIBFz8cGbKmzPCtBnKsHfw.jpeg" /></figure><p>When designing interfaces in the context of a disability, sensory, physical and cognitive senses must be taken into account. Systems should provide a good form of communication for the visually impaired. Indeed, if you have hearing loss, computer technology can improve communication for deaf people. E-mail and instant messaging are great organizational tools and can be used by both hearing and deaf users. Speech and visual recognition systems can be added to systems to help people with disabilities.</p><p><strong>Age</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H55V8SaWlXhJE-uNx9SPYA.jpeg" /></figure><p>In this context, older people and children have specific needs when it comes to interactive technology. The requirements of the older population may differ significantly from other population groups, and will vary considerably within the population group. Mobile technologies can be used to provide memory aids where there is age-related memory loss. Like older people, children have distinct needs when it comes to technology, and again, as a population, they are diverse. It is therefore important to involve them in the design of interactive systems that are for their use, though this in itself can be challenging as they may not share the designer’s vocabulary or be able to verbalize what they think.</p><p><strong>Culture</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hrIbZ7ujfCwof5CCZDt4tw.jpeg" /></figure><p>Cultural difference is often used synonymously with national differences but this is too simplistic. Factors such as age, gender, race, sexuality, class, religion and political persuasion, may all influence an individual’s response to a system. This is particularly the case when considering websites where often the explicit intention is to design for a particular culture or subculture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7607574c5f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Development Life Cycle (SDLC) methods and their advantages and disadvantages]]></title>
            <link>https://jeewanthalahiru.medium.com/software-development-life-cycle-sdlc-methods-and-their-advantages-and-disadvantages-73cbf2d6e9f7?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/73cbf2d6e9f7</guid>
            <category><![CDATA[sdlc-process]]></category>
            <category><![CDATA[sdlc-methodologies]]></category>
            <category><![CDATA[sdlc-model]]></category>
            <category><![CDATA[sdlc]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Thu, 19 Nov 2020 19:15:57 GMT</pubDate>
            <atom:updated>2020-11-19T19:15:57.230Z</atom:updated>
            <content:encoded><![CDATA[<p>Software Development Life Cycle (SDLC) is a process used by the software industry to design, develop and test high quality softwares. The <strong>SDLC</strong> aims to produce a high-quality software that meets of exceeds customer expectations, reaches completion within times and cost estimates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*WjFmnCMDOZerWll4-ZrZxA.jpeg" /></figure><ul><li>SDLC is the acronym of Software Development Life Cycle.</li><li>It is also called as Software Development Process.</li></ul><p>SDLC is a process followed for a software project, within a software organization. It consists of detailed plan describing how to develop, maintain, replace and alter or enhance specific software. The life cycle defines a methodology for improving the quality of software and the overall development process.</p><p>There are 7 stages of <strong>S</strong>oftware <strong>D</strong>evelopment <strong>L</strong>ife <strong>C</strong>ycle.</p><ol><li>Planning and Requirement Analysis</li><li>Defining Requirements</li><li>Designing the Product Architecture</li><li>Building or Developing the Product</li><li>Testing the Product</li><li>Deployment in the Market</li><li>Maintenance</li></ol><p>There are some methodologies, or models to consider about the <strong>S</strong>oftware <strong>D</strong>evelopment <strong>L</strong>ife <strong>C</strong>ycle.</p><h3>Waterfall SDLC Model</h3><p>Waterfall is a cascade SDLC model, in which development process looks like the flow, moving step by step through the phases of analysis, projecting, realization, testing, implementation, and support. This SDLC model includes gradual execution of every stage completely. This process is strictly documented and predefined with features expected to every phase of this software development life cycle model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VqDF9w2iHjDa1iJukvSSQg.png" /><figcaption>The Waterfall SDLC Model</figcaption></figure><p><strong>Advantages of waterfall model</strong></p><ul><li>Simple to use and understand</li><li>Management simplicity thanks to its rigidity. Every phase has a defined result and process review.</li><li>Development stages go one by one.</li><li>Perfect for the small or mid-sized projects where requirements are clear and not equivocal.</li><li>Easy to determine the key points in the development cycle.</li></ul><p><strong>Disadvantages of waterfall model</strong></p><ul><li>The software is ready only after the last stage is over.</li><li>High risks and uncertainty.</li><li>Not the best choice for complex and object-oriented projects.</li><li>Inappropriate for the long-term projects.</li><li>The progress of the stage is hard to measure while it is still in the development.</li></ul><p><strong>Use cases for the Waterfall SDLC model</strong></p><ul><li>The requirements are precisely documented.</li><li>Product definition is stable.</li><li>The technologies stack is predefined which makes it not dynamic.</li><li>No ambiguous requirements.</li><li>The project is short.</li></ul><h3>Iterative SDLC Model</h3><p>The Iterative SDLC model does not need the full list of requirements before the project starts. The development process may start with the requirements to the functional part, which can be expanded later. The process is repetitive, allowing to make new versions of the product for every cycle. Every iteration (which last from two to six weeks) includes the development of a separate component of the system, and after that, this component is added to the functional developed earlier. Speaking with math terminology, the iterative model is a realization of the sequential approximation method; that means a gradual closeness to the planned final product shape.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mSswS8cZCMjghm6jG7wSyg.png" /><figcaption>Iterative SDLC Model</figcaption></figure><p><strong>Advantages of Iterative Model</strong></p><ul><li>Some functions can be quickly developed at the beginning of the development lifecycle.</li><li>The paralleled development can be applied.</li><li>The progress is easy measurable.</li><li>The shorter iteration is the easier testing and debugging stages are.</li><li>It is easier to control the risks as high-risk tasks are completed first.</li><li>Problems and risks defined within one iteration can be prevented in the next sprints.</li></ul><p><strong>Disadvantages of Iterative Model</strong></p><ul><li>Iterative model requires more resources than the waterfall model.</li><li>Constant management is required.</li><li>Issues with architecture or design may occur because not all the requirements are foreseen during the short planning stage.</li><li>Bad choice for the small projects.</li><li>The process is difficult to manage.</li><li>The risks may not be completely determined even at the final stage of the project</li></ul><p><strong>Use cases for the Iteration model</strong></p><ul><li>The requirements to the final product are strictly predefined.</li><li>Applied to the large-scale projects.</li><li>The main task is predefined, but the details may advance with the time.</li></ul><h3><strong>Spiral SDLC Model</strong></h3><p>Spiral model is SDLC model, which combines architecture and prototyping by stages. It is a combination of the Iterative and Waterfall SDLC models with the significant accent on the risk analysis. The main issue of the spiral model is defining the right moment to make a step into the next stage. The preliminary set time frames are recommended as the solution to this issue. The shift to the next stage is done according to the plan, even if the work on the previous stage isn’t done yet. The plan is introduced basing on the statistic data, received during the previous projects even from the personal developer’s experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y55CgKYh0xmwolzCnfhNjQ.png" /><figcaption>Spiral SDLC Model</figcaption></figure><p><strong>Advantages of Spiral Model</strong></p><ul><li>Lifecycle is divided into small parts, and if the risk concentration is higher, the phase can be finished earlier to address the treats.</li><li>The development process is precisely documented yet scalable to the changes.</li><li>The scalability allows to make changes and add new functionality even at the relatively late stages.</li><li>The earlier working prototype is done sooner users can point out the flaws.</li></ul><p><strong>Disadvantages of Spiral Model</strong></p><ul><li>Can be quite expensive.</li><li>The risk control demands involvement of the highly-skilled professionals.</li><li>Can be ineffective for the small projects.</li><li>Big number of the intermediate stages requires excessive documentation.</li></ul><p><strong>Use cases for the Spiral model</strong></p><ul><li>Customer isn’t sure about the requirements.</li><li>Major edits are expected during the development cycle.</li><li>The projects with mid or high level risk, where it is important to prevent there risks.</li><li>The new product that should be released in a few stages to have enough of clients feedback.</li></ul><h3>V-shaped SDLC Model</h3><p>V-shaped SDLC model is an expansion of classic waterfall model and it’s based on associated test stage for the every development stage. This is a very strict model and the next stage is started only after the previous phase. This is also called “Validation and verification” model. Every stage has the current process control, to make sure that the conversion to the next stage is possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QxuAH3Tzbpax2aZrgDXHAg.png" /><figcaption>V-Shaped SDLC Model</figcaption></figure><p><strong>Advantages of V-shaped model</strong></p><ul><li>Every stage of V-shaped model has strict results so it’s easy to control.</li><li>Testing and verification take place in the early stages.</li><li>Good for the small projects, where requirements are static and clear.</li></ul><p><strong>Disadvantages of V-shaped model</strong></p><ul><li>Lack of the flexibility.</li><li>Bad choice for the small projects.</li><li>Relatively big risks.</li></ul><p><strong>Use cases for the V-shaped model</strong></p><ul><li>For the projects where an accurate product testing is required.</li><li>For the small and mid sized projects, where requirements are strictly predefined.</li><li>The engineers of the required qualification, especially testers, are within easy reach.</li></ul><h3>Agile SDLC Model</h3><p>In the agile methodology after every development iteration, the customer is able to see the result and understand if he is satisfied with it or he is not. This is one of the advantages of the agile software development life cycle model. One of its disadvantages is that with the absence of defined requirements it is difficult to estimate the resources and development cost. Extreme programming is one of the practical use of the agile model. The basis of such model consists of short weekly meetings Sprints which are the part of the Scrum approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0LGeKcbUbtLsel9Kgdt9oQ.png" /><figcaption>Agile SDLC Model</figcaption></figure><p><strong>Advantages of Agile model</strong></p><ul><li>Corrections of functional requirements are implemented into the development process to provide the competitiveness.</li><li>Project is divided by short and transparent iterations.</li><li>Risks are minimized thanks to the flexible change process.</li><li>Fast release of the first product version.</li></ul><p><strong>Disadvantages of Agile model</strong></p><ul><li>Difficulties with measuring the final cost because of permanent changes.</li><li>The team should be highly professional and client-oriented.</li><li>New requirements may conflict with the existing architecture.</li><li>With all the corrections and changes there is possibility that the project will exceed expected time.</li></ul><p><strong>Use cases for the Agile Model</strong></p><ul><li>The users’ needs change dynamically.</li><li>Less price for the changes implemented because of the many iterations.</li><li>Unlike the Waterfall model, it requires only initial planning to stats the project.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73cbf2d6e9f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference between Emulator and Simulator on mobile testing]]></title>
            <link>https://jeewanthalahiru.medium.com/difference-between-emulator-and-simulator-on-mobile-testing-9850736dd6af?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/9850736dd6af</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[emulation]]></category>
            <category><![CDATA[mobile-app-testing]]></category>
            <category><![CDATA[simulation]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Tue, 10 Nov 2020 13:09:54 GMT</pubDate>
            <atom:updated>2020-11-10T13:09:54.133Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*FP1vfN5ClUgnamvDBiWWpQ.jpeg" /></figure><p>When we developing mobile applications, we should be able to test any step we develop time to time. So we have a proper way to test our mobile application. There are four main methods of testing our mobile applications. They are,</p><ol><li>Device Labs</li><li>Simulator</li><li>Emulator</li><li>Using a real mobile device 😐</li></ol><h4>Device Labs</h4><p>Device Labs are a place where actual devices are present for testing. Anyone can build his own Device Lab or rent anothers’ lab. But it is so expensive choice for building and maintaining.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VVMtSHm7alZvMEgVNLp04A.jpeg" /></figure><h4>Mobile Simulator</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Epk3c__ceXamaxOzHROb6w.png" /><figcaption>Xcode Simulator</figcaption></figure><p>First of all, let’s talk about what simulating is. You must heard about truck simulators. It is used for helping truck drivers to get experience driving truck without having a real truck and they can be find errors and mistakes.</p><p>The mobile simulation is the process of simulating as we talked above. Mobile simulation can be done manually by downloading and installing the software on your own or you can use the efficient methods of testing through the cloud.</p><h4>Mobile Emulator</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zZ-kj8_VypdXESeZE6OjPw.png" /><figcaption>android studio emulator</figcaption></figure><p>Mobile emulators are the software that copy the behavior of a real mobile device. Mobile emulation and Mobile simulation sounds same. But there is a catch. Mobile emulators also take into consideration the hardware part of your mobile. So, if you are running software for mobile on your system through mobile emulator, the RAM, processor, battery performance, etc. every hardware that can affect the performance or working of the software.</p><p>Mobile emulation can be done manually by downloading the software. These technologies are efficient and advanced in their field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*Md2V-jB9D6WXXXnCQ4xZ-w.png" /><figcaption>differences between Emulator and Simulator</figcaption></figure><p>So, what is the best choice for mobile testing? Best practice indicates that, while actual development is in progress, we should use an emulator or a simulator. Before finalizing the product, there should be a sanity check with chosen real devices. For example, there is a huge number of Android smartphone users, so the smart choice is to have a sanity check for the latest Android device and regression can be conducted over simulators.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9850736dd6af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Licensing]]></title>
            <link>https://jeewanthalahiru.medium.com/software-licensing-548d2c32bd01?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/548d2c32bd01</guid>
            <category><![CDATA[software-licensing]]></category>
            <category><![CDATA[licensing]]></category>
            <category><![CDATA[software-license]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Tue, 08 Sep 2020 13:47:40 GMT</pubDate>
            <atom:updated>2020-09-08T13:47:40.411Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2hQbNRX385dQu0llOr5ejA.jpeg" /></figure><h4>What is Software Licensing?</h4><p>A software licence is a legal instrument governing the use or redistribution of software. Under United States copyright law, all software is copyright protected, in both source code and object code forms, unless that software was developed by the United States Government, in which case it cannot be copyrighted. Authors of copyrighted software can donate their software to the public domain, in which case it is also not covered by copyright and, as a result, cannot be licensed.</p><p>A typical software license grants the licensee, typical and end-user permission to use one or more copies of software in ways where such a use would otherwise potentially constitute copyright infringement of the software owner’s exclusive rights under copyright.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*UGkQRmnO2e2XOhaXpvkEbg.png" /></figure><h4>Different types of Software Licensing</h4><p>Different types of software licenses require you to meet certain obligations if you want to reuse the code. Here are 5 common types of software licences.</p><p>If you write code, you also reuse code, including code snippets, libraries, functions, frameworks, and entire applications. All software code comes with certain rights and obligations if you want to add it to your codebase. Free and open source software (FOSS) is free of cost, but you aren’t free to user it as you wish. Even unlicensed code snippets copied from Stack Overflow have obligations for reuse. But formally developed code usually comes with a specific software license.</p><p><strong>Public domain</strong></p><p>This is the most permissive type of software license. When software is in the public domain, anyone can modify and use the software without any restrictions. But you should always make sure it’s secure before addign it to you own codebase. Warning: Code that doesn’t have an explicit license is NOT automatically in the public domain. This includes code snippets you find on the internet.</p><p><strong>Permissive</strong></p><p>Permissive licenses are also known as “Apache style” or “BSD style.” They contain minimal requirements about how the software can be modified or redistributed. This type of software license is perhaps the most popular license used with free and open source software. Aside from the Apache Licence and the BSD License, another common variant is the MIT License.</p><p><strong>LGPL</strong></p><p>The GNU lesser General Public License allows you to link to open source libraries in your software. if you simply compile or link an LGPL-licensed library with your own code, you can release your application under any licence you want, even a proprietary license. But if you modify the library or copy parts of it into your code, you’ll have to release your application under similar terms as the LGPL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*FqBr1sF1OougfA130GfmsQ.jpeg" /></figure><p><strong>Copyleft</strong></p><p>Copyleft licenses are also known as reciprocal licenses or restrictive licenses. The most well-known example of a copyleft or reciprocal license is the GPL. These licenses allow you to modify the licensed code and distribute new works based on it, as long as you distribute any new works or adaptations under the same software license. For example, a component’s license might say the work is free to use and distribute for personal use only. So any derivative you create would also be limited to personal use only.</p><p><strong>Proprietary</strong></p><p>All types of software licenses, this is the most restrictive. The idea behind it is that all rights are reserved. It’s generally used for proprietary software where the work may not be modified or redistributed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=548d2c32bd01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to develop a simple OS using Assembly language]]></title>
            <link>https://jeewanthalahiru.medium.com/how-to-develop-a-simple-os-using-assembly-language-2bf11d64239d?source=rss-d3b5e574a967------2</link>
            <guid isPermaLink="false">https://medium.com/p/2bf11d64239d</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[assembly-language]]></category>
            <dc:creator><![CDATA[Jeewantha Lahiru]]></dc:creator>
            <pubDate>Sat, 25 Jul 2020 20:06:49 GMT</pubDate>
            <atom:updated>2020-07-25T20:06:49.986Z</atom:updated>
            <content:encoded><![CDATA[<p>This story will help you to develop a simple <strong>Operating System </strong>and <strong>show hardware information</strong> of the computer<strong> </strong>using assembly language on ubuntu.</p><h3>Pre-Requisites for the implementation</h3><p>This task is performed on ubuntu operating system and the tools are mentioned below should be installed to coding.</p><ol><li><strong>NASM installation</strong> — This tool can be installed using terminal of ubuntu by entering following code.</li></ol><pre>sudo bash apt-get install nasm</pre><p>2. <strong>mkisofs installation</strong> — This is used to make an ISO image of AMOS</p><pre>sudo apt-get install cdda2wav cdrecord mkisofs</pre><p>3. <strong>QEMU </strong>— This is an emulator and this is used to run <strong>.flp/.iso</strong> file that we needed.</p><pre>sudo bash apt-get install qemu-system-x86</pre><h3>File Constraints</h3><ul><li><strong>Programs/</strong> — Source code for programs added to the disk image.</li><li><strong>Source/</strong> — Contains the entire OS source code.</li><li><strong>Source/bootload/</strong> — source to generate BOOTLOAD.BIN, which is added to the image when building.</li><li><strong>Source/features/</strong> — Components of Jil OS(keyboard and screen).</li><li><strong>Source/kernel.asm</strong> — The core kernel source file, which pulls in other source files.</li></ul><h3>Implementation</h3><p>There is the all code of the jil OS in the <a href="https://github.com/JeewanthaLahiru/Jil-OS"><strong>github</strong></a>.</p><h3>Building “jil OS”</h3><p>Open the terminal and change directory to the <strong>jil OS</strong> folder and then enter the code below.</p><pre>sudo bash ./build-linux.sh</pre><p>This will use NASM to assemble the bootloader, kernal and supplied programs, then write the bootloader to the jilOs.<strong>flp</strong> floppydisk image in the disk_images/directory.(It writes the 512-byte bootloader to the first sector of the floppy disk image to create a boot sector and set up a DOS-like file system.)</p><p>Next, the build script loopback-mounts the jilOs.flp image onto the file system — in other words, mounting the image as if it was a real floppy.</p><p>The script copies over the kernel(kernel.bin) and binaries from the programs/directory, brfore unmounting the floppy image.</p><p>With that done, the script runs the mkisofs utility to generate a CD-ROM ISO image of jilOs, injecting the floppy image as a boot section.</p><p>So we end up with two files in the disk_images/directory: one for floppy disks and one for CD-Rs.</p><h3>Running the jil Os</h3><p>Now we can use jilOs.iso/jilOs.flp in an emulator or on a real pc. In here we used qemu for this and code for that is (when we are using qemu),</p><pre>sudo bash qemu-system-x86 -soundhw pcspk -drive<br>format=raw,file=disk_images/jilOs.flp,index=0,if=floppy</pre><p>is we want to run this jilOs on windows, we can use virtual box and jilOs.iso.</p><h3>Screenshot of jilOs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*oPUtghiwxFHtJnsQJilqIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*SPtszgkxuyiB4EqvYTap0g.png" /></figure><p>project files : <a href="https://github.com/JeewanthaLahiru/Jil-OS">https://github.com/JeewanthaLahiru/Jil-OS</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2bf11d64239d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>