<?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 Ageng Anugrah Wardoyo Putra on Medium]]></title>
        <description><![CDATA[Stories by Ageng Anugrah Wardoyo Putra on Medium]]></description>
        <link>https://medium.com/@agenganugrah?source=rss-1eea9ebb6549------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eHUdXvNEe2brfBey65ol0g.jpeg</url>
            <title>Stories by Ageng Anugrah Wardoyo Putra on Medium</title>
            <link>https://medium.com/@agenganugrah?source=rss-1eea9ebb6549------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:24:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@agenganugrah/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[Money can’t Buy Time, but Money can Buy VPS]]></title>
            <link>https://agenganugrah.medium.com/money-cant-buy-time-but-money-can-buy-vps-616b3e9f3e40?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/616b3e9f3e40</guid>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[ppl2022]]></category>
            <category><![CDATA[gitlab-runner]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Wed, 11 May 2022 17:27:51 GMT</pubDate>
            <atom:updated>2022-05-11T17:27:51.632Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*V0XaMtJSXdImwwQaLn6HzA.png" /><figcaption>Source: Personal Meme</figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><h4>Have you ever felt the deployment time or waiting for the pipeline in Gitlab CS UI takes forever?</h4><p>Chill, you are not alone, we felt the same. I know that’s really frustrating when your pipelines take forever but your deadline is around the corner. So how do we overcome those never-ending pipelines?</p><p>In this article, I want to share how we overcome that problem. First of all, the reason why our pipelines are slow is that we use the shared runner, but that is not the main problem. The main problem is we pushed to the repository at the same time so that the existing runners are overwhelmed. I know being a deadliner is fun 😂, but it hurts us at the same time.</p><p>Look at the picture below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*lsWB9rzIO9ZX-5bJitjGAw.png" /><figcaption>Source: AAdP Gitlab</figcaption></figure><p>It takes almost 1 hour to run the pipelines, noted that’s only for the test and quality-gates not included the deployment pipeline. If it included the deployment pipeline it may take 1 and a half hours. Also noted that only pipelines for <strong>one person </strong>imagine if all your team members push at the same time.</p><h4>VPS to the rescue</h4><p>Fortunately, our team has a VPS and some GCP. It helps us with the pipeline problem so much. So, the idea is to create our own runner in VPS and GCP and use it on our GitLab repositories. Here’s the step how we implemented it:</p><ul><li>Simply download one of the binaries for your system:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f48da08a151e4477c7aaaafc1edbeb10/href">https://medium.com/media/f48da08a151e4477c7aaaafc1edbeb10/href</a></iframe><ul><li>Give it permission to execute:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/034f2fb2368301b6e2b54e8455686c16/href">https://medium.com/media/034f2fb2368301b6e2b54e8455686c16/href</a></iframe><ul><li>Create a GitLab CI user:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d4be995fa8fb29e4d99a3adb6cca444/href">https://medium.com/media/7d4be995fa8fb29e4d99a3adb6cca444/href</a></iframe><ul><li>Install and run as a service:</li></ul><p>Ensure you have /usr/local/bin/ in $PATH for root or you might get a command not found error. Alternately, you can install gitlab-runner in a different location, like /usr/bin/.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2613640fab3b6ec93cb7d8b78bbf4bd4/href">https://medium.com/media/2613640fab3b6ec93cb7d8b78bbf4bd4/href</a></iframe><ul><li>Register a runner<br>- Go to the project’s <strong>Settings &gt; CI/CD</strong> and expand the <strong>Runners</strong> section.<br>- Note the URL and token.<br>- Run the command below</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7d00508b0514de799a41936fe2f2d34/href">https://medium.com/media/e7d00508b0514de799a41936fe2f2d34/href</a></iframe><ul><li>Done</li></ul><p>After your runner is up, you can push your code to the repository, and will automatically use your created runner.</p><p>You can see your runner in your pipelines terminal, this is the shared runner</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*ac8zYdnrP_RgsTUC62eDKg.png" /></figure><p>If you are successfully created and registered your new runner you may see your new runner’s name, like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*scGr7_cRkGnl_qdqd3y6Ig.png" /></figure><p>After using your own Gitlab runner, you can see your pipeline is dramatically increased</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*TYCAkrAV4RSHwJdBblNcKA.png" /></figure><p>It takes only 6 minutes to run the pipeline including the deployment pipeline. It’s about <strong>10 times faster</strong> than using the shared runner, especially when it comes to deadline time.</p><h4>Final Words</h4><p>As you know, time is money. Time is very important, especially if it’s close to deadline 😂. If you don’t want to face with pipeline’s problem and setting up so many things like this you need to push your code long before the deadline. But if you are true deadliner like me, you need to consider having VPS, GCP, or any other alternative.</p><p>Thanks for reading and don’t forget to be grateful!</p><blockquote>Due tomorrow, do tomorrow<br>- <em>Deadliner</em></blockquote><h4>References</h4><ul><li><a href="https://docs.gitlab.com/runner/install/linux-manually.html">Install GitLab Runner manually on GNU/Linux | GitLab</a></li><li><a href="https://docs.gitlab.com/ee/ci/runners/runners_scope.html#specific-runners">The scope of runners | GitLab</a></li><li><a href="https://docs.gitlab.com/runner/register/">Registering runners | GitLab</a></li><li><a href="https://digitalvarys.com/how-to-configure-gitlab-runner-by-your-own/">How to Configure GitLab Runner on your own - Digital Varys</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=616b3e9f3e40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It Works with My Machine, Should be the Same with Deployment? Isn’t it?]]></title>
            <link>https://agenganugrah.medium.com/it-works-with-my-machine-should-be-the-same-with-deployment-isnt-it-7ffec0291368?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ffec0291368</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[ppl2022]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Wed, 11 May 2022 17:25:07 GMT</pubDate>
            <atom:updated>2022-05-11T17:25:07.462Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*20hkHl_Jq-Olp_zU3Hpdlw.jpeg" /><figcaption>source: meme-arsenal.com</figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><p>If you read this article I assume you already know what deployment is. If not I’ll try to explain it briefly</p><h4>What is Deployment?</h4><p>Deployment in software and web development means pushing changes or updates from one deployment environment to another. When setting up a website you will always have your live website, which is called the live environment or production environment. By deploying your app or website we expect the software or website can be accessible by all users around the world via the internet. But sometimes when we try to deploy our website or application to the internet it does not work as expected. But in the local or development, it works perfectly fine. Here we need something to make developers and servers have the same environment so it works well on both sides. Here comes docker to help you.</p><h4>What is Docker?</h4><p>Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. Docker is composed of the following elements:</p><ul><li>a Daemon, which is used to build, run, and manage the containers</li><li>a high-level API which allows the user to communicate with the Daemon,</li><li>and a CLI, the interface we use to make this all available.</li></ul><p>Some docker terminologies:</p><ul><li><strong>Docker Image:</strong> A Docker image is a single file that comprises all the dependencies, Configurations files, and source code that are required to run an application. It is sort of a read-only snapshot or template which is used by containers to run applications. Docker image also consists of a very specific startup command that is useful when a Container start. For instance, if the image is for a node.js web app, it will contain a base image for node.js, a package.json file, node_modules, source code, and a startup command like npm start or node index.js.</li><li><strong>Container:</strong> Docker image can’t run an application as it’s only a read-only file. Therefore, to run the application inside a docker image we need a run time environment that is called a container. Containers are lightweight and contain everything needed to run the application, so you do not need to rely on what is currently installed on the host. A container is a running process along with a subset of physical resources(on your system) that are allocated to that process specifically. A docker Container has many advantages like portability, security, Quick and easy configuration, etc. You can deploy Docker containers on any physical and virtual machines and even on the cloud.</li><li><strong>Dockerfile:</strong> A Dockerfile is a way to create your custom docker images. It is a file or a script that contains a set of instructions to build an image. Usually, the first line specifies the base image followed by steps of copying the Dependency list, installing dependencies, copying source Code, and a startup command.</li><li><strong>Docker Build:</strong> It simply means building or creating a Docker image from a Dockerfile.</li><li><strong>Docker Compose:</strong> It is a tool used for developing multi-container applications. Such as, if the application has multiple containers like a front-end container, one back-end container, and a container for the database, docker-compose will build that application. Containers are isolated and can’t communicate with the other containers directly, but docker-compose automatically connects all the containers over the bridge network.</li><li><strong>Base Image:</strong> A base image is a sort of an initial starting point or initial set of programs you can use to further customize your images. You can consider it as a kind of an operating system.</li></ul><h4><strong>Why using docker?</strong></h4><h4>1. Consistent &amp; Isolated Environment</h4><p>The very first advantage of Docker is that it provides you with a consistent and isolated environment. It takes the responsibility of isolating and segregating your apps and resources in such a way that each container becomes able to access all the required resources in an isolated manner i.e., without disturbing or depending on another container.</p><h4>2. Rapid Application Deployment</h4><p>Docker indeed fastens the application deployment process to a greater extent. It efficiently organizes the entire development lifecycle by providing a standardized working environment to the developers. You need to know that Docker creates a container for every individual process and subsequently the Docker apps do not boot into an OS — that saves a lot of time.</p><h4>3. Ensures Scalability &amp; Flexibility</h4><p>Docker leverages you with the utmost level of scalability and flexibility. Due to the consistent environment — the Docker images can be easily sorted across multiple servers. For instance, if you’re required to do an upgrade during the release of the application — you can conveniently do the changes in Docker containers, can test them &amp; roll out new containers.</p><h4>4. Better Portability</h4><p>Another enriching advantage of Docker is Portability! The applications created with Docker containers are immensely portable. The Docker containers can run on any platform whether it be Amazon EC2, Google Cloud Platform, VirtualBox, Rackspace server, or any other — though the host OS should support Docker.</p><h4><strong>How we implemented in PPL</strong></h4><p>Actually, we use docker both in the backend and frontend. But in this example I’ll show how we implemented it on Frontend side.</p><p>First we need Dockerfile in root of project directory, a Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. This is our Dockerfile configuration in frontend:</p><pre>FROM node:14-alpine AS builder<br>WORKDIR /app<br>COPY package.json .<br>COPY yarn.lock .<br>RUN yarn install --frozen-lockfile<br>COPY . .<br>COPY .env.$ENVIRONMENT .env<br>RUN yarn build<br><br>FROM node:14-alpine as runner<br>WORKDIR /app<br>COPY --from=builder /app/.env ./.env<br>COPY --from=builder /app/next.config.js ./<br>COPY --from=builder /app/public ./public<br>COPY --from=builder /app/.next ./.next<br>COPY --from=builder /app/node_modules ./node_modules<br>COPY --from=builder /app/package.json ./package.json<br>EXPOSE $PORT<br>CMD [&quot;yarn&quot;, &quot;start&quot;]</pre><p>FROM is used as our base image, you can consider is like a operating system. The WORKDIRcommand is used to define the <em>working directory</em> of a Docker container at any given time. The command is specified in the Dockerfile. Any RUN, CMD, ADD, COPY, or ENTRYPOINT command will be executed in the specified working directory. COPY is used to copy our file from computer to container. EXPOSE is to expose the port in container so we can call it outside the container. And the last thing is EXPOSE it used to run our app inside the container. After that we use docker build to create image of our app</p><pre>docker build</pre><p>If image successfully created we need to run it by using</p><pre>docker run -d &lt;image id&gt;</pre><p>We use -d to detach our app or to run it in the background. Horray now you successfully create your own container and run it in your server. Don’t forget to add certain configurations on your server, so we can access it through the internet. For example to expose your VPS port to the internet.</p><h4>Final Words</h4><p>By using docker it helps a lot, especially in deployment. By using docker we can have the same condition or environment between machines. Learning docker can be a complex thing, but will help you in many ways.</p><p>Thanks for reading and don’t forget to be grateful!</p><h4><strong>References</strong></h4><ul><li><a href="https://umbraco.com/knowledge-base/deployment/">What is deployment in software &amp; web development?</a></li><li><a href="https://www.linkedin.com/pulse/docker-terminology-commands-dockerized-web-app-harpreet-singh?trk=public_profile_article_view">Docker Terminology, Commands, and Dockerized Node.JS+Express.JS Web App</a></li><li><a href="https://www.freecodecamp.org/news/what-is-docker-used-for-a-docker-container-tutorial-for-beginners/">What is Docker Used For? A Docker Container Tutorial for Beginners</a></li><li><a href="https://www.geeksforgeeks.org/why-should-you-use-docker-7-major-reasons/">Why Should You Use Docker - 7 Major Reasons! - GeeksforGeeks</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ffec0291368" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Living in T̶o̶x̶i̶c̶ Environments]]></title>
            <link>https://agenganugrah.medium.com/living-in-t%CC%B6o%CC%B6x%CC%B6i%CC%B6c%CC%B6-environments-311452cc8b87?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/311452cc8b87</guid>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[ppl2022]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Wed, 11 May 2022 17:24:09 GMT</pubDate>
            <atom:updated>2022-05-11T17:24:09.646Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*XdextjS2mc6aQEf7CkF2pg.jpeg" /></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><p>Have you ever faced a problem where your code works fine on your computer but after deploying it, your code suddenly contains bugs that never come while testing in your local environment? Each machine can have different environment based on many things, if it works on your local machine it doesn’t guarantee to work on other machines.</p><h4>What is Environment?</h4><p>An environment is the context in which code is executing. This includes all code executables and variables available to the code being executed. You can think of an environment as a unique machine executing code. Each machine is a different environment. Environment is used in other ways to express a type of configuration, such as a networking environment, database environment, transaction processing environment, batch environment, interactive environment and so on.</p><h4>Why is there a need?</h4><p>Why do we need different places to deploy our code to. Now imagine you work for a bank, and want to test a feature where a customer can withdraw Rp10.000.000 from their account.</p><p>You seriously don’t want your developers to withdraw money every time they load up the App. Actually, you don’t even want to do it <strong>once</strong>. What we want is to have some sort of development environment where you can (in this case) withdraw money without it changing the balance of real customers.</p><p>Multiple environments allow the developer or QA team to<strong> </strong>have private application. We want to see if our code has fulfilled the expected outcome, but we want any issues<strong> </strong>or debugging logs to be visible only to us and not to the real users.</p><h3><strong>The Environments</strong></h3><h4><strong>Development</strong></h4><p>Here we generally would want some logging for developers to see what isn’t working correctly. You don’t (usually) want development environments to use the same database, logging or analytics systems as a production environment.</p><p>· Usually uses test databases</p><p>· API calls may be directed to a test backend</p><p>· Debug symbols may be turned on, which makes applications run slower than in production</p><p>· Analytics disabled</p><p>· Push actions from a server (websockets, mobile notifications, Forced updates) only apply to DEV software</p><h4><strong>Staging</strong></h4><p>Usually used for human testing (although dev may be used for this purpose).</p><p>The idea is that the environment is similar to Development in that the system uses test databases, but is also similar to Prod in that the speed of the execution should be the same as the production version.</p><p>· Uses test databases</p><p>· Most of the environment is the same as Prod</p><h4><strong>Production</strong></h4><p>In production everything is “real”, or at least should be as this is the environment that your users are going to use. However, when you use a Prod app and (for example) charge a credit card, that credit card will be charged. That is, be careful.</p><p>· Uses real databases</p><p>· No debugging</p><h4>How do we set up our environment in PPL</h4><p>In our PPL Project, we have 3 environments that are development, staging, and production. Development is running on our local computer from each developer. Staging and Production run on the same server but different port. Here is some environments variable that we use in our product.</p><p>On Backend</p><pre>DB_USERNAME=<br>DB_PASSWORD=<br>DB_HOST=<br>DB_PORT=<br>DB_NAME=<br>PORT=<br>FORWARD_PORT=<br>GIN_MODE=<br>GOOGLE_APPLICATION_CREDENTIALS=<br>SERVER_PATH_GOOGLE_APPLICATION_CREDENTIALS=<br>GCS_PROJECT_ID=<br>GCS_BUCKET_NAME=<br>GCS_UPLOAD_PATH=<br>TALENTA_HMAC_USERNAME=<br>TALENTA_HMAC_SECRET=<br><br>JWT_PRIVATE_KEY=<br>WHITELISTED_EMAIL_DOMAINS=<br><br>GOOGLE_OAUTH_CLIENT_ID=</pre><p>On Frontend</p><pre>NEXT_PUBLIC_API_URL=<br>NEXT_PUBLIC_APP_ENV=<br>NEXTAUTH_URL=<br>GOOGLE_CLIENT_ID=<br>GOOGLE_CLIENT_SECRET=</pre><p>Each environment has different dependencies like database, URL, etc. So that we need different variables for each environment so we don’t infer the other environment or application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*WIhY-bfil9R9Ufat-3FVgg.png" /></figure><h4>Final Words</h4><p>So in the conclusion, each environment has its own variable and different place from each other. It has different functions to test is our application works well or not. Here is the summary of our environment terminology:</p><ul><li><strong>Production Environment:</strong> The environment used by the end user of your software</li><li><strong>Development Environment</strong>: The environment you use when you create software</li><li><strong>Environment:</strong> The Operating System, API calls and databases used by software</li><li><strong>Staging Environment:</strong> An environment somewhere between Development and Production</li></ul><p>Thanks for reading and don’t forget to be grateful!</p><h4>References</h4><ul><li><a href="https://www.pcmag.com/encyclopedia/term/environment">Definition of environment</a></li><li><a href="https://medium.com/swlh/environments-in-software-development-cf84adbbf197">Environments in Software Development</a></li><li><a href="https://www.quora.com/What-is-the-programming-environment">What is the programming environment?</a></li></ul><p>Panduan PPL 2022 Deployment</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=311452cc8b87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Every Team Member is a People Manager]]></title>
            <link>https://agenganugrah.medium.com/every-team-member-is-a-people-manager-6ccf59c2a6d0?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ccf59c2a6d0</guid>
            <category><![CDATA[people-management]]></category>
            <category><![CDATA[ppl2022]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Wed, 11 May 2022 17:23:13 GMT</pubDate>
            <atom:updated>2022-05-11T17:23:13.975Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OiuEgHTkgKZzyC2n2i1pkw.jpeg" /><figcaption>Source: ia-kw.com</figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><p>Effective management of people is important for any organisation’s productivity and output. People managers are leaders who care about every person’s growth and well-being and also manage people effectively. Understanding the basic people-management skills can help you discover your strengths and identify areas for improvement. In PPL Project, I think it’s unfair if we only give that task to one person (scrum master). That’s why I think every team member is a People Manager, at least for himself.</p><h4>What does a people manager do?</h4><p>People managers improve workplace communication and prepare employees for success by using their people-management skills. From handling interpersonal conflicts to building company culture, they play an important role in the success of an organisation. People managers understand their team members and care about the organisation and the people in it.</p><p>Management is not just about serving a commercial or an administrative purpose. People managers perform a number of activities, such as onboarding new employees, making decisions and solving problems. They use their people-management skills to get work done by engaging and developing their team members.</p><h4>What is people management?</h4><p>People management is the process of training, motivating and directing employees to optimize workplace productivity and promote professional growth. Workplace leaders, such as team leads, managers and department heads use people management to oversee workflow and boost employee performance every day.</p><h3>Essential people management skills</h3><p>People management requires several soft skills, including those that can lead to open and honest communication as well as improved employee experience. Each of these skills can better help you interact with your employees and perform organizational tasks.</p><h4>Trust</h4><p>Trust means believing that you can rely on someone’s abilities, assistance or advice when you need it most. Building trust helps your team work together more efficiently and productively. Teams should be able to trust that their leader supports them and believes in their hard work. Leaders should be able to trust that their team can complete tasks correctly and on time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rCEcXgF7qHR3U6R1xD1l7w.png" /></figure><p>In, PPL we must trust other team members. We believe that we can rely on each other’s abilities to finish the tasks on time. We can also build other’s trust to us by doing the task as best as possible.</p><h4>Good communication</h4><p>People managers have clarity in what they say so that they can make sure that all members understand them. Good communication skills enable people managers to work together in solving problems, brainstorming new ideas and adapting to new changes. They use clear and simple language so that every member understands their message. Practice effective communication skills so that every member understands what you want to say.</p><p>This skill is one of the most important skills in teamwork. In PPL project we maintain good communication between team member’s to make sure there is no miscommunication between each other.</p><h4>Honesty</h4><p>If our team want to grow, so we need to give them feedback that allows them to improve. But the only way that feedback can lead to real growth, is if it is honest. This means being truthful, at both the good time, and the bad.</p><p>When communicating with each other, try to understand what happened and why it happened in that way. You can then give honest, helpful feedback without being critical or negative. Not only will this show honesty and trust to your employees, it also assists with development without bringing down morale. It’s okay to tell the truth even though it’s not good news.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*HL0IQ1NeAkJJT4lJ-z8eRA.jpeg" /></figure><h4>Active listening</h4><p>Active listening is the practice of listening to the speaker to fully understand their perspective, question or concern before responding. Active listeners remove distractions, maintain eye contact and offer verbal or non-verbal cues to indicate their engagement and understanding.</p><p>We can practice active listening to give feedback when online meetings. It’s can as simple as saying “OK”, “Understandable”, “Hmmm”, or any other word’s that indicate that you understand and pay attention to the meetings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gbCLOZ4FQawLoXHBRXs16Q.png" /><figcaption>Evey team member open their mic or communicate via chat</figcaption></figure><h4>Flexibility</h4><p>Knowing when to be flexible and when to more firmly direct members is an important aspect of effective people management. You can demonstrate flexibility in your management style by accommodating individual member needs — such as adjustable schedule options — and allowing them to adjust their individual workflow so they can be as productive as possible.</p><p>In PPL Project we divide the tasks depending on the abilities and specialists of each person. With the division of tasks like that, everyone can do the task according to their abilities and also not burden the person. For example, if a member understands the backend better, that person will get more assignments on the backend and vice versa.</p><h4>Final Words</h4><p>We already know what is people management, people manager and its purpose, and several skills included in people management. Having people management skills is not only for the leader or scrum master but also for every team member. By having all of those people management skills we hope we can grow better as a team and not only depend on one person.</p><p>Thanks for reading and don’t forget to be grateful!</p><blockquote><strong>The key to managing well is understanding people.</strong></blockquote><h4>References</h4><ul><li><a href="https://www.perkbox.com/uk/platform/recognition/people-management-skills-to-thrive-as-a-manager">9 people management skills to thrive as a manager | Perkbox</a></li><li><a href="https://in.indeed.com/career-advice/finding-a-job/what-does-people-manager-do">What Does a People Manager Do? (With Skills and Salary)</a></li><li><a href="https://www.indeed.com/career-advice/career-development/guide-to-people-management">Guide To People Management: Definition, Tips and Skills</a></li><li><a href="https://www.leavedates.com/blog/how-to-be-a-good-people-manager/">The Ultimate Guide to People Management</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ccf59c2a6d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solving Problem with Software
Engineering]]></title>
            <link>https://agenganugrah.medium.com/solving-problem-with-software-engineering-5c861b89ad94?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c861b89ad94</guid>
            <category><![CDATA[ppl2022]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Wed, 11 May 2022 17:22:44 GMT</pubDate>
            <atom:updated>2022-05-11T17:22:44.146Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*uD0zaYqu2LV3N8HIVz0sSQ.jpeg" /><figcaption>source: imgflip.com</figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><p>Of course we have had problems in the real world and sometimes we are tired and fed up with these problems. Then why should we continue to work on it if machines can do it, that’s where software engineering is there to help us.</p><h4>What is Software Engineering?</h4><p>Software engineering is defined as a process of analyzing user requirements and then designing, building, and testing software application which will satisfy those requirements.</p><p>Software engineers often encounter problems related to a computer or existing computer system but sometimes the underlying problem have nothing to do with computers.</p><p>Therefore, we must understand the nature of the problem first:</p><ul><li>Do not impose computing machinery or techniques on every problems.</li><li>Solve the problem first and if needed we can use technology as a tool to implement our solution</li></ul><h4>Solving Problem with Software Engineering</h4><p><strong>Begin investigating a problem by analyzing it.</strong></p><ul><li>Break the problem in pieces that we understand and try to deal with.</li><li>Understand the relationship between pieces that hold the problem.</li></ul><p><strong>Once analyzed, construct the solution from the components that address the problem’s various aspects.</strong><br>•This reverse process is called synthesis: putting together of a large structure from small building</p><h3>The Essence of Practice</h3><h4>Understand the Problem</h4><ul><li>Who has a stake in the solution to the problem? That is, who are the stakeholders?</li><li>What are the unknowns? What data, functions, and features are required to properly solve the problem?</li><li>Can the problem be compartmentalized? Is it possible to represent smaller problems that may be easier to understand?</li><li>Can the problem be represented graphically? Can an analysis model be created?</li></ul><h4>Plan the Solution</h4><ul><li>Have you seen similar problems before? Are there patterns that are recognizable in a potential solution? Is there existing software that implements the data, functions, and features that are required?</li><li>Has a similar problem been solved? If so, are elements of the solution reusable?</li><li>Can subproblems be defined? If so, are solutions readily apparent for the subproblems?</li></ul><h4>Carry Out the Plan</h4><ul><li>Does the solution conform to the plan? Is source code traceable to the design model?</li><li>Is each component part of the solution provably correct? Has the design and code been reviewed, or better, have correctness proofs been applied to algorithm?</li></ul><h4>Examine the Result</h4><ul><li>Is it possible to test each component part of the solution? Has a reasonable testing strategy been implemented?</li><li>Does the solution produce results that conform to the data, functions, and<br>features that are required? Has the software been validated against all stakeholder requirements?</li></ul><h4>Case Example in PPL</h4><p>In our current project (Sirclo Learning Lab) one of the current problems is contributors still <strong>manually </strong>created certificates <strong>for each</strong> student who completed the quiz. It will take a lot of time and energy, that’s why in this case we can use software engineering to solve the problem. This is an example of code we implemented so the contributors can take another activity and let the machine do the rest for them.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/35c539cbe5a841597350ab978a080adc/href">https://medium.com/media/35c539cbe5a841597350ab978a080adc/href</a></iframe><p>By some lines of code, it can save a lot of time, imagine if you need to create 100 certificates a day and each of them takes 3 minutes. You will spend 5 hours a day only to make those certificates. That’s why software engineering can save you energy and time if the problem is well defined and it is possible to do.</p><h4>Final Words</h4><p>Software engineering is important because the specific problem has specific software implementation. It is needed in almost every industry, in every business, and for every function. It becomes more important as time goes on — if something breaks within your application portfolio, a quick, efficient, and effective fix needs to happen as soon as possible. It also can save many aspects of real-life problems.</p><p>Thanks for reading and don’t forget to be grateful!</p><blockquote>“Walking on water and developing software from a specification are easy if both are frozen.”</blockquote><h4>References</h4><ul><li><a href="https://www.guru99.com/what-is-software-engineering.html">What is Software Engineering? Definition, Basics, Characteristics</a></li><li><a href="https://developerpitstop.com/why-is-software-engineering-important/">Why is software engineering important: 7 key reasons it&#39;s vital</a></li><li><a href="https://www.castsoftware.com/glossary/importance-of-software-engineering-code-of-ethics-future">Importance of Software Engineering &amp; Code of Ethics | Free Whitepaper</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c861b89ad94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Code Refactoring]]></title>
            <link>https://agenganugrah.medium.com/code-refactoring-3e3ac4e63b16?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e3ac4e63b16</guid>
            <category><![CDATA[ppl2022]]></category>
            <category><![CDATA[refactoring]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Mon, 11 Apr 2022 04:50:31 GMT</pubDate>
            <atom:updated>2022-04-11T04:50:31.038Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*1m3eGqdRo-vKjdUVFmmBTQ.jpeg" /><figcaption>source: 9gag.com</figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><h4>What is Refactoring?</h4><p>Refactoring is the process of restructuring code, while not changing its original functionality. The goal of refactoring is to improve internal code by making many small changes without altering the code’s external behavior.</p><blockquote>Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. It is a disciplined way to clean up code that minimizes the chances of introducing bugs. In essence when you refactor you are improving the design of the code after it has been written</blockquote><blockquote>— Martin Fowler</blockquote><p>TDD is very important when doing a refactoring process. It’s making sure your code behavior doesn’t change after refactoring the code.</p><h4>When should code be refactored?</h4><p>Refactoring can be performed after a product has been deployed, before adding updates and new features to existing code, or as a part of day-to-day programming.</p><p>When the process is performed after deployment, it is normally done before developers move on to the next project. An organization may be able to refactor more code at this point in the <a href="https://www.techtarget.com/searchitoperations/definition/IT-service-delivery-information-technology-service-delivery">software delivery lifecycle</a>, where the developers have increased availability and more time to work on the source code changes needed.</p><p>A better time to perform refactoring, though, is before adding updates or new features to existing code. When performed at this point, refactoring makes it easier for developers to build onto the existing code because they are going back and simplifying the code, making it easier to read and understand.</p><p>But in our PPL Project usually, we do a refactor after writing the code and passing the test.</p><h4>What are the benefits of refactoring?</h4><p>Refactoring can provide the following benefits:</p><ul><li>Makes the code easier to understand and read because the goal is to simplify code and reduce complexities.</li><li>Improves maintainability and makes it easier to spot bugs or make further changes.</li><li>Encourages a more in-depth understanding of code. Developers have to think further about how their code will mix with code already in the code base.</li><li>Focus remains only on functionality. Not changing the code’s original functionality ensures the original project does not lose scope.</li></ul><h4>What are the challenges of refactoring?</h4><p>Challenges do come with the process, however. Some of these include:</p><ul><li>The process will take extra time if a development team is in a rush and refactoring is not planned for.</li><li>Without clear objectives, refactoring can lead to delays and extra work.</li><li>Refactoring cannot address software flaws by itself, as it is made to clean code and make it less complex.</li></ul><h4><strong>PPL Implementation</strong></h4><h4>Refactoring in Gin Gonic</h4><p>Go is a very flexible language with so many libraries we can explore. It’s can be a benefit, but it also can be a drawback to users because it literally has no design pattern when it comes. For example, this is Gin Gonic Project if we don’t refactor the code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d877aa395d9fc574e7c7a63324dae216/href">https://medium.com/media/d877aa395d9fc574e7c7a63324dae216/href</a></iframe><p>Yes, it&#39;s the whole application with all the logic inside it, notice it only contains one endpoint in this application. Imagine you are working with your team and editing one file at once for the entire project. It’s very frustrating, right? That’s why for the maintainability aspect, and team aspect we need to refactor this program to be more modular and better. We need to divide this file into other small files, that have each responsibility.</p><h4>Repositories</h4><p>According to its name, repositories have responsibility to handle any transaction to database. We can make new file called example_repository.go to handle any transaction related to example table.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/40606eb1d30dd2967033c52e297368dc/href">https://medium.com/media/40606eb1d30dd2967033c52e297368dc/href</a></iframe><p>Now we have one file to handle any transaction related to database</p><h4>Services</h4><p>Services is a layer between controller and repositories. It helps to connect the URL with the repositories, also it can also contain any logic inside it. We can refactor our code to separate code like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a391d802e5338c19243a4968f52de000/href">https://medium.com/media/a391d802e5338c19243a4968f52de000/href</a></iframe><h4><strong>Controller</strong></h4><p>Like any other framework, controller is used to accept requests from users and then proceed to service layer.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1467aa1fb04fedde713cabf47f67e9be/href">https://medium.com/media/1467aa1fb04fedde713cabf47f67e9be/href</a></iframe><p>Now after refactoring the code into a few separate files, we can assemble it on our main.go</p><h4>Any other refactoring??</h4><p>You can ask your SonarQube, he knows everything 😂</p><h4>Final Words</h4><p>With refactoring your code it help you and your team to maintain the code and make your code more readable. Also in our case, separating our application into some files with each own responsibility, it helps the teams to work more modular and not be afraid of a lot of conflicts in one file.</p><p>Thanks for reading and don’t forget to be grateful!</p><h4>References</h4><ul><li><a href="https://blog.logrocket.com/how-to-build-a-rest-api-with-golang-using-gin-and-gorm/">How to build a REST API with Golang using Gin and Gorm - LogRocket Blog</a></li><li><a href="https://tutorialedge.net/golang/golang-orm-tutorial/">Golang ORM Tutorial</a></li><li><a href="https://semaphoreci.com/community/tutorials/building-go-web-applications-and-microservices-using-gin">Building Go Web Applications and Microservices Using Gin - Semaphore</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e3ac4e63b16" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hire a Maid to Clean Your Code]]></title>
            <link>https://agenganugrah.medium.com/hire-a-maid-to-clean-your-code-bfe03b9dcc88?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfe03b9dcc88</guid>
            <category><![CDATA[clean-code]]></category>
            <category><![CDATA[ppl2022]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Mon, 11 Apr 2022 04:36:11 GMT</pubDate>
            <atom:updated>2022-04-11T04:36:11.660Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*a-lkA6CSLHYHzKYNRm-GeQ.jpeg" /><figcaption>Source: devrant.com</figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><h4><strong>What is Clean Code?</strong></h4><p>The most popular definition of <strong><em>clean code is code that is easy to understand and easy to change</em></strong>. On the face of it this may get heads nodding and chins stroked, but ultimately it’s one of those definitions that states something without really stating anything at all. In the Agile methodology, <strong>clean code is an important</strong> part because it can maximize the collaboration process with other programmers. Therefore, Clean Code is very important and really helps the adaptive software development process, whose needs are always changing and evolving.</p><h4><strong>Why Clean Code?</strong></h4><ul><li><strong>Code Maintainability</strong>: Writing Clean Code is writing good literature. It reflects you. Every line is stanza carefully handcrafted interwoven into a beautiful mosaic of code pieces.</li><li><strong>Code Readability:</strong> Writing Clean Code is explaining the Physics. The code should implicitly explain in small details exhibiting simplicity what the magical functions does.</li><li><strong>Code Smell Repellent</strong> : Writing Clean Code is like wine-making. It may take ceremonies but in the end you will feel comfortable with the code (at the least). Bugs will find it hard to hide.</li><li><strong>Code Epithet: </strong>Once you commit with version control. The name gets etched with the code forever.</li></ul><p>Writing clean code is important because it allows you to clearly communicate with the next person who works with what you’ve written. Being able to return to previously written code and understand what it does is key, especially in the software development world. The more declarative code is the better it communicates, and the easier it is to fix problems when they arise. By writing clean code, you will make yourself a better teammate, employee, and developer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*XgTDQMNBK0oW2xadhAj4WQ.jpeg" /></figure><h4>How to Clean Code?</h4><h4>DRY</h4><p>This is a very common software development principle. It stands for <strong>Don’t Repeat Yourself</strong>. And it essentially means that when you’re writing code, you should consider modularizing functionality that you use more than once. The simple solution is copy, paste, and modify. With DRY principle we just create one function in one place and then call/use the function repeatedly.</p><p>The opposite of the DRY principle is WET (Write Everything Twice). With WET, the same code is written over and over again. Here’s the example between DRY and WET principle</p><p><strong>WET</strong></p><pre>// Flow A<br>user      := getCurrentUser();<br>firstName := user.getFirstName();<br>lastName  := user.getLastName();<br>fmt.Println(firstName, lastName);<br><br>// Flow B<br>user      := getCurrentUser();<br>firstName := user.getFirstName();<br>lastName  := user.getLastName();<br>fmt.Println(firstName, lastName);</pre><p><strong>DRY</strong></p><pre>func getFullName(user User) {  <br>    firstName := user.getFirstName();<br>    lastName  := user.getLastName();<br>    return firstName+lastName;<br>}<br><br>// Flow A<br>fmt.Println(getFullName(getCurrentUser());<br><br>// Flow B<br>fmt.Println(getFullName(getCurrentUser());<br><br>// Other Flows...<br>fmt.Println(getFullName(getCurrentUser());</pre><h4>KISS</h4><p>It stands for <strong>Keep It Simple, Stupid. </strong>Sometimes, when solving a problem, you might incur in what is known as over-engineering or how I like to call it: using a bazooka to kill a mosquito. It’ll get the job done, but you can definitely do the same thing a lot simpler.</p><p>There are moments when complexity is required, don’t get me wrong. When simple code, or a simple architecture is definitely not useful, adding complexity to your logic is required. However, more often than not, you should ask yourself whether you’re KISS’ing it or not.</p><h4><strong>SOLID</strong></h4><p>SOLID consists of five principles:</p><ul><li>SRP, Single Responsibility Principle</li><li>OCP, Open Closed Principle</li><li>LSP, Liskov Substitution Principle</li><li>ISP, Interface Segregation Principle</li><li>DIP, Dependency Inversion/Injention Principle</li></ul><p>SOLID seems to need a separate post considering the items are quite large and complex. In essence, with SOLID, we can make programs more flexible, maintainable, extensible, scalable, etc.</p><h4><strong>Use Meaningful Names</strong></h4><p>Names are the smallest building block of code. Names are everywhere: Function, class, file, component, and container all have names. The best name for the names are the one that tells you what it does.</p><h4>Comments</h4><p>Comments are there to explain things your code does. Comments should be as little as possible. The code should be self-explanatory by its naming or its names.</p><h4>YAGNI</h4><p>Otherwise known as “You ain’t gonna need it” is a principle taken from <a href="https://www.agilealliance.org/glossary/xp/">eXtreme Programming</a> that argues that you should not build functionality in advance, or rather, until you actually need it.</p><p>The point being that within an <a href="https://medium.com/agileinsider/the-agile-developers-survival-guide-for-2020-be6621560188">agile development framework</a>, you should only focus on your current work iteration and not in the ones to come. This is because even though it might sound tempting to work ahead of time and deliver more functionality that you were expecting, the changing nature of the agile workflow makes the future unstable.</p><p>What do I mean by unstable? I mean that given the short-iterations that characterize this methodology, you can receive early feedback, potentially completely changing the future of your project and rendering that feature you delivered without needing, useless.</p><h4>And many more…</h4><p>Yes, if you want to know about all of the clean code principles you’ll be overwhelmed by all of them. That’s why in our PPL project we hired a few maids or assistants to help maintain our code clean.</p><h3>Our PPL Assistants</h3><h4><strong>GO Extension</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*mvwrxLEGHzqbn-4meuJ9VA.png" /><figcaption>Source: VSCode</figcaption></figure><p>Our backend program using Golang as the main language, the GO extension has helped us a lot on our PPL Project. It includes such features like:</p><ul><li>Linter</li><li>Formatter</li><li>IntelliSense</li><li>AutoCompletion</li><li>etc</li></ul><p>The most useful feature related to clean code (in my opinion) is Linter and Formatter. The Golang Linter is pretty strict it will complain to you if there is any unused import. Also if there is any redeclared variable the linter also warns you to keep the code clean. And it’s also important to have formatter because we need to have same code style across developers who work on our project to maintain readability and maintainability.</p><h4>Husky</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8EdrzX41B1yI5qzGjut97A.jpeg" /><figcaption>Source: dev.to</figcaption></figure><p>Git hooks allow custom scripts to be ran on your repository. Husky is a very popular (30 million downloads a month) npm package that allows custom scripts to be ran against your repository. Husky works with any project that uses a package.json file. It also works out of the box with SourceTree! <a href="https://www.npmjs.com/package/husky">Husky</a> helps us do more things along with git commands. For example, we can run npm test in pre-commit phase and do something else in post-commit phase.</p><p>We use husky in our FE repository because our FE is using Next.js that is part of npm package. This is our husky and eslint configuration.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/30b191a5735f64bd250f34e0442fdb8b/href">https://medium.com/media/30b191a5735f64bd250f34e0442fdb8b/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/078fa4442701306fd78f1129914251fe/href">https://medium.com/media/078fa4442701306fd78f1129914251fe/href</a></iframe><p>With husky we can check some aspects of clean code before committing the code to git. From the code above, we check if our code already use the formatting convention or not, in line 6 we run the formatter with the style that we defined on .eslintrc. In eslint we state that code must sufficient certain style or clean code, such as, for unused import, it will trigger an error and if there is an unused variable it will trigger a warning, etc. After that husky will check the type convention in typescript, and the last thing husky will try to build the next app for our production.</p><h4>SonarQube</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0gAwet0yJ__9RcINLFK4FA.png" /><figcaption>SonarQube AAdP</figcaption></figure><blockquote><a href="http://www.sonarqube.org/">SonarQube</a>® is an automatic code review tool to detect bugs, vulnerabilities, and code smells in your code. It can integrate with your existing workflow to enable continuous code inspection across your project branches and pull requests.<br> — docs.sonarqube.org</blockquote><p>If we accidentally push our dirty code to repository, then SonarQube will come to rescue. SonarQube will automatically SonarQube evaluate the quality of our code, including bugs, code smells, coverage, security vulnerabilities, etc. This alert indirectly pushes our team members to follow the clean code standards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*_blv7MGtkogZh7zSS5LvXA.jpeg" /></figure><h4>Final Word</h4><p>Clean code is very important, especially in the maintainability aspect. But it’s almost impossible to know, remember, and implement all clean code principles. All you can do is just try your best, and let your clean code assistances help you with the things you forgot.</p><p>Thanks for reading and don’t forget to be grateful!</p><h4><strong>References</strong></h4><ul><li><a href="https://echobind.com/post/why-should-i-write-clean-code">Why Should I Write Clean Code?</a></li><li><a href="https://biratkirat.medium.com/clean-code-series-i-e1d60fc6d6ec">Clean Code Series: I</a></li><li><a href="https://blog.bitsrc.io/kiss-solid-yagni-and-other-fun-acronyms-b5d207530335">KISS, SOLID, YAGNI And Other Fun Acronyms</a></li><li><a href="https://kodebagus.medium.com/obat-untuk-kode-yang-sakit-kiss-dry-soc-yagni-solid-11be573fea9b">Obat untuk Kode yang Sakit: KISS, DRY, SoC, YAGNI, SOLID</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfe03b9dcc88" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TDD: Saver or Blocker?]]></title>
            <link>https://agenganugrah.medium.com/tdd-saver-or-blocker-68718c68a8a3?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/68718c68a8a3</guid>
            <category><![CDATA[tdd]]></category>
            <category><![CDATA[ppl2022]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Sat, 19 Mar 2022 18:03:53 GMT</pubDate>
            <atom:updated>2022-03-19T18:03:53.028Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*iz9uvIuVrUlxRuqSfH7vwg.jpeg" /><figcaption>Source: <a href="http://www.quickmeme.com/meme/352fpf">http://www.quickmeme.com/meme/352fpf</a></figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><p>In this PPL course, we are <strong>required </strong>to do TDD on our code. But is TDD <strong>really necessary</strong>?</p><p>Wait, what?? You don&#39;t know about TDD? Okay, let’s get into it first</p><h4>What is TDD?</h4><p><strong>Test Driven Development (TDD)</strong> is software development approach in which test cases are developed to specify and validate what the code will do. In simple terms, test cases for each functionality are created and tested first and if the test fails then the new code is written in order to pass the test and making code simple and bug-free.</p><h4>The TDD cycle</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yUFZ-KcQ8GZjOxjbLkwGEg.png" /><figcaption>Source: <a href="https://marsner.com/blog/why-test-driven-development-tdd/">https://marsner.com/blog/why-test-driven-development-tdd/</a></figcaption></figure><p>When you are doing TDD you are locked in this cycle. These are the common steps in the TDD process:</p><ul><li><strong>RED<br></strong>So first we write just enough test code to make it fail. In this step, you try to run the test case. As there is no code, you will get compile error itself. This is referred as Red stage indicating failure of test case</li><li><strong>GREEN<br></strong>Then you start writing just enough production code to make that test work.</li><li><strong>REFACTOR<br></strong>In this step developer refactor the code to ensure the functionality is intact and code is refined, clean, and effective. There are some tools that can help you to refactor the code, one of them is sonarqube.</li></ul><h4><strong>Why TDD?</strong></h4><p>Some of the benefits of TDD from what I understand and read:</p><ul><li>Tests ensure that the code stays focused and clear during each stage of development, that&#39;s reduce the possibility of bugs.</li><li>No fear to change code. We all have had that big pile of bad code that no one dares to touch. Sometimes when we touch the code somehow the code is not working again. With TDD they make sure the code must run as it should.</li><li>TDD makes the code simpler and clear. It allows the developer to maintain less documentation.</li><li>etc</li></ul><p>So far TDD sounds <strong>really</strong> <strong>good,</strong> right? Yeah, it is true. Hmmm, <strong>isn’t it(?)</strong>. <br>Before further explanation let’s see how it is implemented in my PPL’s project.</p><h4><strong>Implementation in Sirclo Learning Lab</strong></h4><p>One of the features that use the TDD implementation in my project is the Module feature. Actually, it’s just CRUD feature, but can have so many negative test cases, because it’s TDD let’s make the test first</p><p><strong>[!!!ATTENTION!!!] <br></strong>The test code will be <strong>very, very, very, incredibly long</strong>, you can just scroll to the next section</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5c47b191cf134bc4efa83fbbf3c24713/href">https://medium.com/media/5c47b191cf134bc4efa83fbbf3c24713/href</a></iframe><p>How? Are you annoyed to see that long code? If yes, then calm down, because I feel it too 🙃. Okay, after struggling with the test let&#39;s commit it to GitLab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*X17OHsXRE8voYkWk22MhDA.png" /><figcaption>Source: GitLab Repository</figcaption></figure><p>Okay, RED as expected now let’s move to code implementation.</p><p>The code is not as long as the test, but you can scroll down too if you want.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0000f4bbc2b2eff186a44e3c2f54104a/href">https://medium.com/media/0000f4bbc2b2eff186a44e3c2f54104a/href</a></iframe><p>Okay, let’s commit it to GitLab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*7JBk-5qp4jqLlt-HvBGReQ.png" /><figcaption>Source: GitLab Repository</figcaption></figure><p>Nice GREEN as expected.</p><h3>The Downside</h3><p>Okay, do you feel annoyed with the TDD above? If yes, then let’s talk about the downside of TDD. The downside and also to reason why some people or companies don’t start with TDD is because the process adds 10 to 30% to the initial development costs. This is just reality, this is a development process that require time to get used to. Imagine you need to write <strong>1200</strong> line of test, only to test you <strong>250</strong> line of actual code. Of course it’s a waste of time isn’t it?</p><h4><strong>Why (people think) TDD is Bad?</strong></h4><ul><li><strong>“We have a QA department, writing tests is their job”<br></strong>Some companies don’t implement TDD because they feel it’s not their job but QA job. Leaving the test writing to the QA Department doesn’t, in my opinion, belong to a developer’s list of responsibilities. The QA’s have other more important things to do than spend their days primarily doing blackbox testing.</li><li><strong>“Setting up the test, potentially with mocks and stubs, can be a lot of extra effort”<br></strong>I understand the frustration. You need to implement a method which takes 3 different inputs, each of them being an object, each of them having no nullable attributes, and you want to test this and that and so on and so forth. To do so, you’ve got to set up Stubs and Mocks and that can be a lot of extra code for testing one method.</li><li><strong>“It’s slow”<br></strong>The developers who say this are usually the ones who have tried TDD out for a little while and then they went back to writing tests post-development. Regardless, this is the reason most often given as to why a developer does not do TDD. I can understand why people think that too. Thinking about code before it’s written, and spending extra time writing tests for everything that is implemented, even for the methods which may even have not had tests anyways, can take extra time. <strong>Including me, I feel TDD takes a lot of time.</strong></li></ul><h4>But, Is TDD (really) stupid?</h4><p>At first when I start using TDD I ask the same thing. Isn’t this going to slow me down? This kinda sounds like a waste of time to always write tests first. But after some time using TDD I think is necessary a good thing, it allows you to write a lot of quality code(fast != good). This TDD cycle keeps you awake and also make it easier to refocus efforts when you are disturbed. It makes you a better programmer more aware of creating clean code.</p><p>Okay before going to my final words, I want to share some difficulties when adopting TDD:</p><ul><li><strong>The test is not run as expected, but the code does<br></strong>With this problem, I think all I need to do is only to fix the test. I know maybe it’s wrong, but for beginners, I think nothing wrong with it. Adapting to TDD is not an easy thing for me, so I guess it’s a natural thing to do.</li><li><strong>It’s hard to start with a test first<br></strong>Same with the first problem, I think I used the illegal solution to fix it. Write the implementation first then write the test later, hehehe. Sorry for doing this 😔, but it’s really hard for beginners like me to implement the test first but as time goes by you will adapt to write the test first.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*d76ClIYcled0YyUe" /><figcaption>Source: <a href="https://twitter.com/PR0GRAMMERHUM0R">https://twitter.com/PR0GRAMMERHUM0R</a></figcaption></figure><h4>Final Word</h4><p>Okay, so Is TDD Saver or Blocker? For me it’s both. If you use it for the first time, maybe it’s a blocker for you. It’s required a lot of time to write the test, then you also need to write the implementation. But as times goes by, it will be your saver, just like all tools and practices, Test Driven Development can be awkward at first and a little slow while you get the hang out it.</p><blockquote>“If it hurts, do it more frequently, and bring the pain forward”<br>- Jez Humble</blockquote><p>So instead you feel much pain at the end, it’s better to feel a bit of pain at the beginning 😊.</p><p>Thanks for reading and don’t forget to be grateful!</p><blockquote>“You don&#39;t have to worry about failing tests, if you don&#39;t write any tests”<br>- Not me, of course</blockquote><h4>References</h4><ul><li><a href="https://www.guru99.com/test-driven-development.html">What is Test Driven Development (TDD)? Example</a></li><li><a href="https://marsner.com/blog/why-test-driven-development-tdd/">Why Test-Driven Development (TDD) | Marsner Technologies</a></li><li><a href="https://levelup.gitconnected.com/test-driven-development-is-overrated-ad9f0491c11d">“Test Driven Development is overrated”</a></li><li><a href="https://theqalead.com/general/statistics-studies-benefits-test-driven-development/">Statistics &amp; Studies: The Benefits Of Test Driven Development</a></li><li><a href="https://www.thinktocode.com/2018/02/05/what-is-tdd/">What is TDD? - Think To Code</a></li><li><a href="https://www.quora.com/Is-writing-unit-tests-best-done-by-developers-or-QA">Is writing unit tests best done by developers or QA?</a></li><li><a href="https://www.quora.com/How-common-is-TDD-at-product-companies-Most-of-the-TDD-evangelism-I-have-heard-is-from-people-at-consulting-companies-How-often-is-it-used-at-product-companies-What-large-well-known-product-companies-use-TDD">How common is TDD at product companies? Most of the TDD evangelism I have heard is from people at consulting companies. How often is it u...</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68718c68a8a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Does Agile Make Us More ‘Agile’?]]></title>
            <link>https://agenganugrah.medium.com/does-agile-make-us-more-agile-a4c1190ff7b5?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4c1190ff7b5</guid>
            <category><![CDATA[ppl2022]]></category>
            <category><![CDATA[agile-methodology]]></category>
            <category><![CDATA[scrum]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Sat, 19 Mar 2022 11:20:04 GMT</pubDate>
            <atom:updated>2022-03-19T11:20:04.165Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*3ebCfjT56u8tad2s8QY-EA.jpeg" /><figcaption>Source: <a href="https://i.redd.it/kqbwfalzvsf61.png">https://i.redd.it/kqbwfalzvsf61.png</a></figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><p>In this article, I will try to write the scrum method we used in PPL or Software Engineering Project Course. Maybe there are some questions in our minds. Why do we use the scrum method? Will that make it easier for us? What is the relation between agile and scrum? ̶A̶r̶e̶ ̶t̶h̶e̶y̶ ̶d̶a̶t̶i̶n̶g̶?̶</p><p>Before answering that question we need to know about SDLC or Software Development Life Cycle.</p><h4><strong>What is SDLC?</strong></h4><p>In brief, SDLC or the Software Development Life Cycle is a process that produces software with the highest quality and lowest cost in the shortest time possible.</p><h4>Why use SDLC?</h4><p>SDLC <strong>allows developers to analyze the requirements</strong>. It helps in reducing unnecessary costs during development. During the initial phases, developers can estimate the costs and predict costly mistakes. It enables developers to design and build high-quality software products.</p><p>In general, SDLC can be divided into 7 phases (Can be different depending on the source):</p><ol><li><strong>Planning<br></strong>In the Planning phase, project leaders evaluate the terms of the project. This includes calculating labor and material costs, creating a timetable with target goals, and creating the project’s teams and leadership structure. Planning can also include feedback from stakeholders.</li><li><strong>Define Requirements</strong><br>Defining requirements is considered part of planning to determine what the application is supposed to do and its requirements. For example, a social media application would require the ability to connect with a friend. An inventory program might require a search feature.</li><li><strong>Design and Prototyping<br></strong>The Design phase models the way a software application will work. Some aspects of the design may include user interface, architecture, security, etc.</li><li><strong>Software Development<br></strong>This is the actual writing of the program. A small project might be written by a single developer, while a large project might be broken up and worked by several teams. The coding process includes many other tasks. Many developers need to brush up on skills or work as a team. Finding and fixing errors and glitches is critical.</li><li><strong>Testing<br></strong>It’s critical to test an application before making it available to users. Much of the testing can be automated, like security testing. Other testing can only be done in a specific environment.</li><li><strong>Deployment<br></strong>In the deployment phase, the application is made available to users. Many companies prefer to automate the deployment phase. This can be as simple as a download link or a website.</li><li><strong>Operations and Maintenance<br></strong>At this point, the development cycle is almost finished. The application is done and being used in the field. The Operation and Maintenance phase is still important, though. In this phase, users discover bugs that weren’t found during testing. These errors need to be resolved, which can spawn new development cycles.</li></ol><p>There are some common SDLC models but for now, we will only discuss 2 of them:</p><ol><li><strong>Waterfall Model<br></strong>This SDLC model is the oldest and most straightforward. With this methodology, we finish one phase and then start the next. The biggest drawback of this model is that small details left incomplete can hold up the entire process.</li><li><strong>Agile Model<br></strong>The Agile SDLC model separates the product into cycles and delivers a working product very quickly. This methodology produces a succession of releases. Testing of each release feeds back info that’s incorporated into the next version. The Agile model was designed by developers to put customer needs first. This method focuses strongly on user experience and input. <strong>Agile seeks to release software cycles quickly, to respond to a changing market.</strong></li></ol><p>From the brief explanation above, we can find out some of the differences between waterfall and agile:</p><ul><li>Agile is an incremental and iterative approach; Waterfall is a linear and sequential approach.</li><li>Agile separates a project into sprints (each sprint including some phase); Waterfall divides a project into phases.</li><li>Agile methodology is known for its flexibility whereas Waterfall is a structured software development methodology</li></ul><p>At this moment we know agile is better in some aspects:</p><ul><li>Flexible in accepting changes</li><li>It’s better on large project because it divides requirements into some sprint and each sprint has its own phase</li><li>Ideal for projects with non-fixed requirements</li></ul><p>The Agile Manifesto of Software Development put forth a groundbreaking mindset on delivering value and collaborating with customers when it was created. <strong>Agile’s four main values are</strong>:</p><ul><li>Individuals and interactions over processes and tools</li><li>Working software over comprehensive documentation</li><li>Customer collaboration over contract negotiation</li><li>Responding to change over following a plan</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*EskaOpWl0FHDMu9Ydj-N_A.png" /><figcaption>Source: <a href="https://mj110.ilearning.me/2021/02/25/pemahaman-introducing-agile-mj110a-yoga-prassetyo-1911428632/">https://mj110.ilearning.me/2021/02/25/pemahaman-introducing-agile-mj110a-yoga-prassetyo-1911428632/</a></figcaption></figure><h3><strong>Scrum</strong></h3><p><strong>What is Scrum?<br></strong>Scrum is a subset of Agile. It is a lightweight process framework for agile development and the most widely-used one. Scrum is a framework that helps teams work together on software development, it is a method that focuses on project leadership and how to manage it well until the team reaches the finished product. Scrum enables the team that uses it to sustain the development of complex products and is based on the values and principles of Agile methodology.</p><p><strong>Scrum artifacts<br></strong>Let’s start with identifying the three artifacts in scrum. Artifacts are something that we make, like a tool to solve a problem. In scrum, these three artifacts are a product backlog, a sprint backlog, and an increment with your definition of “done”.</p><ul><li><strong>The Product Backlog</strong> is a list of features , defects, or technical work that is prioritized that has yet to be worked on.</li><li><strong>The Sprint Backlog</strong> is a list from the Product Backlog that will be worked on during the Sprint.</li><li><strong>The Product Increment</strong> is sum of product work completed during the Sprint, combined with all the work completed during the previous Sprints.</li></ul><p><strong>Three essential roles for scrum success<br></strong>A scrum team needs three specific roles: product owner, scrum master, and the development team. And because scrum teams are cross-functional, the development team includes testers, designers, UX specialists, and ops engineers in addition to developers.</p><ol><li><strong>The Product Owner:</strong> Product Owner is the one who is responsible for maximizing the product value and have direct communication with both stakeholders and end users. Product Owner have the sole responsibility to manage the Product Backlog.</li><li><strong>The Scrum Master:</strong> Scrum Master can be seen as a servant-leader for the Scrum Team, they have the responsibility to help mentor the Development Team in organizational environments in order to create high-value products.</li><li><strong>The Development Team:</strong> Development Team consists of professionals on software engineering and have the responsibility on fully working on the product. The team has to be organized well in order to bring synergy to the work environment. In the end of each sprint, the Development Team has to deliver a potentially releasable increment of the product based on the product backlogs given.</li></ol><h4>Scrum ceremonies or events</h4><p>Some of the more well-known components of the scrum framework are the set of sequential events, ceremonies, or meetings that scrum teams perform on a regular basis. The ceremonies are where we see the most variations for teams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xyDY2ezQkrwEeUMY9IEu5A.png" /><figcaption>Source: <a href="https://martech.org/what-is-scrum-the-project-management-framework-agile-teams-rely-on/">https://martech.org/what-is-scrum-the-project-management-framework-agile-teams-rely-on/</a></figcaption></figure><p><strong>1. Organize the backlog<br></strong>Sometimes known as backlog grooming, this event is the responsibility of the product owner. The product owner’s main jobs are to drive the product towards its product vision and have a constant pulse on the market and the customer. Therefore, he/she maintains this list using feedback from users and the development team to help prioritize and keep the list clean and ready to be worked on at any given time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bcuO8HXOs9GObJxEQjqaLg.jpeg" /><figcaption>Source: twitter.com/iamscrummaster</figcaption></figure><p><strong>2. Sprint planning<br></strong>The work to be performed (scope) during the current sprint is planned during this meeting by the entire development team. This meeting is led by the scrum master and is where the team decides on the sprint goal. Specific use stories are then added to the sprint from the product backlog. These stories always align with the goal and are also agreed upon by the scrum team to be feasible to implement during the sprint.</p><p><strong>3. Sprint<br></strong>A sprint is the actual time period when the scrum team works together to finish an increment. Two or Three weeks is a pretty typical length for a sprint, though some teams find a week to be easier to scope or a month to be easier to deliver a valuable increment. During this period, the scope can be re-negotiated between the product owner and the development team if necessary. <br>All the events — from planning to retrospective — happen during the sprint. Once a certain time interval for a sprint is established, it has to remain consistent throughout the development period. This helps the team learn from past experiences and apply that insight to future sprints.</p><p><strong>4. Daily scrum or stand up<br></strong>This is a daily super-short meeting that happens at the same time (usually mornings) and place to keep it simple. Many teams try to complete the meeting in 15 minutes, but that’s just a guideline. This meeting is also called a ‘daily stand-up’ emphasizing that it needs to be a quick one. The goal of the daily scrum is for everyone on the team to be on the same page, aligned with the sprint goal, and to get a plan out for the next 24 hours.<br>The stand up is the time to voice any concerns you have with meeting the sprint goal or any blockers. A common way to conduct a stand up is for every team member to answers three questions in the context of achieving the sprint goal:<br><strong>• What did I do yesterday?<br>• What do I plan to do today?<br>• Are there any obstacles?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*-kCHLWlDo1KxFG_lAwc87g.jpeg" /><figcaption>Source: memegenerator.net</figcaption></figure><p><strong>5. Sprint review<br></strong>At the end of the sprint, the team gets together for an informal session to view a demo of, or inspect, the increment. The development team showcases the backlog items that are now ‘Done’ to stakeholders and teammates for feedback. The product owner can decide whether or not to release the increment, although in most cases the increment is released.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*RfBsitV7G8QahjmZ6QNnsA.jpeg" /><figcaption>Source: memegenerator.net</figcaption></figure><p><strong>6. Sprint retrospective<br></strong>The retrospective is where the team comes together to document and discuss what worked and what didn’t work in a sprint, a project, people or relationships, tools, or even for certain ceremonies. The idea is to create a place where the team can focus on what went well and what needs to be improved for the next time, and less about what went wrong.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CwDr-a4x0GLucXg-vFXl-g.png" /><figcaption>Source: Ada Apa dengan PPL? Sprint Retro</figcaption></figure><h3>After the long explanation above, then what?</h3><p>Hehehe, before answering previous questions, let me talk about my first sprint experience in PPL specifically with my Ada Apa dengan PPL’s team. I can say our first sprint went pretty well. Why did I say ‘went pretty well’ and not well? Because this is our first sprint together, some things go well and some don’t. There is a little miscommunication between lecturers, teaching assistants, and students, especially regarding the timeline. My team was a little late for the sprint because there was a bit of miscommunication. There are several PBIs that have not been completed during the UAT in class but fortunately, we managed to finish them all during the UAT with the client using the Bandung Bondowoso theory (Fortunately all my PBI have been implemented so I can help my friends who have difficulties). Although there were some difficulties in the first sprint, I gained a lot of new experiences and I also learned to adapt myself in the team and try to be even better in the next sprint.</p><p>Okay let&#39;s answer the question at the beginning:</p><ul><li><strong>Why do we use the scrum method?</strong></li></ul><p>Because at PPL we are working on a fairly large project. Some even work on projects starting from scratch including in my team. Imagine if we do everything in 5 months at once and only get feedback at the end, then it looks like our group will repeat the PPL for the next semester hahaha 🙃.</p><ul><li><strong>Will that make it easier for us?</strong></li></ul><p>Yes, although there were some difficulties in the beginning, I think it’s because we are all still adapting the scrum method and adapting to our capacities. By using the scrum method we can fix our shortcomings in the previous sprint and get feedback from clients regarding what we need to improve in the next sprint.</p><ul><li><strong>What is the relation between agile and scrum?</strong></li></ul><p>I think this has been answered in the contents of the article, scrum is a subset of agile methodology and it is based on the values and principles of agile methodology. Some other agile process models are Dynamic System Development Method, Adaptive Software Development, Crystal, etc.</p><h4><strong>Final Word</strong></h4><p>Yes, agile make us more ‘agile’. Actually, it depends on project you working on. If you have a large project and need feedback at a certain time, or your project has changing requirements over time you need to do agile method. Otherwise, you can try any other SDLC models. For me, it’s nice to be able to learn new things by applying the scrum method in PPL courses because in other courses we usually use waterfall models. Hopefully, in the next sprint our team can perform even better, cheers for AAdP team’s 😊🥂.</p><p>Thanks for reading and don’t forget to be grateful!</p><blockquote>“Knock knock.”<br>Who’s there?<br>“Carrie.”<br>Carrie who?<br>“Carrie over to next sprint.”</blockquote><blockquote>- <em>Developer when he didn’t complete the story on that sprint</em></blockquote><h4>Reference</h4><ul><li><a href="https://stackify.com/what-is-sdlc/">What Is SDLC? Understand the Software Development Life Cycle</a></li><li><a href="https://www.ekrut.com/media/sdlc-adalah">Apa itu SDLC? Berikut cara kerja, fungsi, dan 7 tahapannya</a></li><li><a href="https://www.section.io/engineering-education/understanding-software-development-life-cycle/">Understanding the Software Development Life Cycle</a></li><li><a href="https://project-management.com/agile-vs-waterfall/">Agile vs Waterfall | Software Development Methodologies</a></li><li><a href="https://martech.org/what-is-scrum-the-project-management-framework-agile-teams-rely-on/">What is Scrum, the project management framework agile teams rely on?</a></li><li><a href="https://www.atlassian.com/agile/scrum">What is Scrum? [+ How to Start] | Atlassian</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4c1190ff7b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UCD with Persona: What if I were you?]]></title>
            <link>https://agenganugrah.medium.com/ucd-with-persona-what-if-i-were-you-1b4f7ab124dd?source=rss-1eea9ebb6549------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b4f7ab124dd</guid>
            <category><![CDATA[personas]]></category>
            <category><![CDATA[ppl2022]]></category>
            <category><![CDATA[user-centered-design]]></category>
            <dc:creator><![CDATA[Ageng Anugrah Wardoyo Putra]]></dc:creator>
            <pubDate>Sun, 27 Feb 2022 05:35:57 GMT</pubDate>
            <atom:updated>2022-03-20T18:57:24.529Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*ciQIR2cdYTRlhEOG.gif" /><figcaption>Tulus — Bertukar Jiwa</figcaption></figure><blockquote>This article is part of Proyek Perangkat Lunak (PPL) or Software Engineering Project Course. Any information written here may or may not be true. Please use it wisely and let me know if there is any wrong information in it.</blockquote><h4>What is User Centered Design?</h4><p>User-centered design (UCD) is an iterative design process in which designers focus on the users and their needs in each phase of the design process. In UCD, design teams involve users throughout the design process via a variety of research and design techniques, to create highly usable and accessible products for them.</p><h4>User Centered Design Process</h4><p>In UCD there are 4 distinct phase that need to known by As designers working in teams, we try to understand the <em>context</em> in which users may use a system. Then, we identify and specify the users’ <em>requirements</em>. A <em>design</em> phase follows, in which the design team develops solutions. The team then proceeds to an <em>evaluation</em> phase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/0*angxnDzEdIg-ogmj.png" /></figure><ol><li><strong>Specify the use context</strong> &amp; <strong>Requirements </strong>— collect information about their users’ needs. In this process we only need to analyze so that we can know the goals of the product of the user. In UCD it is better to involved with the users itself, so that we know not only what they need but also the best way we delivered what they need.</li><li><strong>Create unique design solutions</strong> — building a solution, from rough concept to finished design. The design build by the requirements that already made. User-centered design arrives at solutions that are desirable, feasible, and viable.</li><li><strong>Evaluate designs</strong> — through usability testing with actual users. The test is needed to be able to get feedback on how the current design is. If it needed to be fixed or the design is okay to be used by the users.</li><li><strong>Implementation</strong> &amp; <strong>Deployment</strong> — the process of developing and delivering the product. The final product is launched and then the product evaluated, as consumer needs evolve and change. This will create new requirements and what will bring us to the first process.</li></ol><p>If you are involved in work that uses UCD, then you should know what a Persona is.</p><h3>Persona</h3><h4>What is Persona?</h4><p><a href="https://www.interaction-design.org/literature/topics/personas">Personas</a> are fictional characters, which you create based upon your research in order to represent the different user types that might use your service, product, site, or brand in a similar way. Creating personas will help you to understand your users’ needs, experiences, behaviours and goals. Creating personas can help you step out of yourself. It can help you to recognise that different people have different needs and expectations, and it can also help you to identify with the user you’re designing for. Personas make the design task at hand less complex, they guide your <a href="https://www.interaction-design.org/literature/topics/ideation">ideation</a> processes, and they can help you to achieve the goal of creating a good user experience for your target user group.</p><h4>How to Create Persona?</h4><p>The first is to do research so that the personas that are created can represent users accurately. The research is only the most important user groups, so that the design is focused on meeting the needs of these user groups as best as possible. After the data is collected, we can create a persona as a summary of the research that has been done.</p><p>A persona has 4 key pieces of information:</p><ul><li>Header</li><li>Demographic Profile</li><li>End Goal(s)</li><li>Scenario</li></ul><p>Headers are basic user information such as name, photo, and a short quote to make the persona easier to remember. Demographic Profile is a detail based on research that has been done such as personal and professional background and user environment. End Goal is the goal of the user when using an application. Scenario is any case in which the user uses the application.</p><h3>Personas in Our Project (SIRCLO Learning Lab)</h3><p>In our PPL project (SIRCLO Learning Lab), we created 4 different personas to illustrate the types of users who will use our application.</p><ol><li><strong>Admin</strong></li></ol><p>Admin is a SIRCLO employee whose job is to set roles or access rights to other users. As an admin, I want to have all the permissions on the system. As an admin, I also want to be able to easily manage the permissions of another employee. I as an admin can also do all the things that other roles can do. However, the current system is still ineffective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*cEtz1_imz_xVzX6NpRCkeA.png" /></figure><p><strong>2. Contributor</strong></p><p>Contributors are users who can manage a learning module, such as creating new modules, adding quizzes, and so on. As a contributor, I want to be able to easily contribute by making learning modules and quizzes to increase the knowledge of Sirclo employees. I also want to be able to easily generate certificates for participants who have successfully completed a module as a token of appreciation. However, now I have to manually create a certificate for each participant who completes the quiz and it’s a hassle if you have to do it one by one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*ovG57wXlaRVRWkaE008PsA.png" /></figure><p><strong>3. Organizer</strong></p><p>Contributors are users who can manage an event, such as creating new events, adding schedules, and others. As an organizer, I want to be able to create events and manage event participants on the system. But for now, this is still not supported by the system and must be done manually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*HWloO4PN6a2sVjdCWHHTwQ.png" /></figure><p><strong>4. Student</strong></p><p>Student is a user who can study in a module or participate in an event. As a student I want to improve my skills and knowledge through the system. Unfortunately on the current system most processes must be done manually so that it can slow down my learning process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*c8ozjsC0eSVn8D1huvNtAQ.png" /></figure><h4><strong>Final Word</strong></h4><p>Creating personas is easy but also difficult because you have to do some research for each persona. Personas are also quite important to determine who our products will be made and used for. Also with persona system engineers or developers can decide which approaches to take based on user behaviors.</p><p>Thanks for reading and don’t forget to be grateful!!</p><h4>References</h4><ul><li><a href="https://www.interaction-design.org/literature/topics/user-centered-design">What is User Centered Design (UCD)? - updated 2025</a></li><li><a href="https://www.interaction-design.org/literature/article/personas-why-and-how-you-should-use-them">Personas - A Simple Introduction</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b4f7ab124dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>