<?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 Rahmad Hidayat on Medium]]></title>
        <description><![CDATA[Stories by Rahmad Hidayat on Medium]]></description>
        <link>https://medium.com/@dxmhxr?source=rss-57006af9e28a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9D17_yCH_kM7Cpg8nBTy8Q@2x.jpeg</url>
            <title>Stories by Rahmad Hidayat on Medium</title>
            <link>https://medium.com/@dxmhxr?source=rss-57006af9e28a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:42:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dxmhxr/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[Predicting Cash Payments in Indonesian Rupiah]]></title>
            <link>https://medium.com/qasir/predicting-cash-payments-in-indonesian-rupiah-58727495aaa9?source=rss-57006af9e28a------2</link>
            <guid isPermaLink="false">https://medium.com/p/58727495aaa9</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[pos]]></category>
            <dc:creator><![CDATA[Rahmad Hidayat]]></dc:creator>
            <pubDate>Wed, 31 May 2023 08:04:59 GMT</pubDate>
            <atom:updated>2023-06-01T04:10:37.221Z</atom:updated>
            <content:encoded><![CDATA[<p>A few years ago, I wrote a function to predict cash payments based on the transaction bill at Qasir. When dealing with cash transactions, it can be helpful to suggest appropriate payment amounts to the cashier. It can improve the experience and make the process faster instead of typing the amount of cash manually.</p><p>In the case of the Indonesian Rupiah (IDR), there are specific denominations that can be used for cash payments. In this article, we will explore how to create a Kotlin function that generates suggestions for cash payment amounts based on IDR denominations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*A7w4lD-x_M-fgnWn6XTSFg.jpeg" /><figcaption>Cash Payments prediction feature based on IDR denominations in Qasir POS.</figcaption></figure><h3>Setting Up the Function</h3><p>To begin, let’s define the function generateSuggestedPayments(). This function takes an integer parameter representing the transaction amount and returns a list of integers representing the suggested cash payment amounts.</p><pre>fun generateSuggestedPayments(transactionAmount: Int): List&lt;Int&gt; {<br>    // Function body will be added in the next steps<br>}</pre><h3>Determining Suggested Payment Amounts</h3><p>To generate the suggestions, we need to consider the available IDR denominations and the transaction amount. We’ll start by declaring the denominations and creating an empty mutable list to store the suggestions.</p><pre>val denominations = listOf(1000, 2000, 5000, 10000, 20000, 50000, 100000)<br>val suggestions = mutableListOf&lt;Int&gt;()</pre><p>Next, we iterate over each denomination. If a denomination is greater than the transaction amount, we add it to our list of suggestions.</p><pre>for (denomination in denominations) {<br>    if (denomination &gt; transactionAmount) {<br>        suggestions.add(denomination)<br>    }<br>}</pre><p>We also want to include the next rounded amounts, such as the next thousand, ten thousand, or hundred thousand, depending on the transaction amount. For example, if the transaction amount is 6000 IDR, the next rounded thousand is 7000 IDR. We’ll add these rounded amounts to our suggestions.</p><pre>if (transactionAmount &gt; 1000) {<br>    val nextThousand = ((transactionAmount / 1000) + 1) * 1000<br>    suggestions.add(nextThousand)<br>}<br><br>if (transactionAmount &gt; 10000) {<br>    val nextTenThousand = ((transactionAmount / 10000) + 1) * 10000<br>    suggestions.add(nextTenThousand)<br>}<br><br>if (transactionAmount &gt; 100000) {<br>    val nextHundredThousand = ((transactionAmount / 100000) + 1) * 100000<br>    val nextFiftyThousand = ((transactionAmount / 50000) + 1) * 50000<br><br>    suggestions.add(nextHundredThousand)<br>    suggestions.add(nextFiftyThousand)<br>}</pre><p>Confused by the formula? Let’s break down ((transactionAmount / 1000) + 1) * 1000 step by step to understand its purpose.</p><ol><li>transactionAmount / 1000: This division calculates the quotient when the transactionAmount is divided by 1000. Since both transactionAmount and 1000 are integers, the division performs integer division, which discards the decimal part and keeps only the whole number quotient.</li><li>(transactionAmount / 1000) + 1: After calculating the quotient, we add 1 to the result. This step ensures that we round up to the next whole number. For example, if the transactionAmount is 6000, the division would yield 6, and adding 1 gives us 7.</li><li>((transactionAmount / 1000) + 1) * 1000: Finally, we multiply the result from the previous step by 1000. This step is done to get the next multiple of 1000. Multiplying by 1000 brings the rounded-up value back to the original scale. In the example above, the result would be 7000.</li></ol><p>In summary, this formula rounds up the transactionAmount to the next multiple of 1000. It ensures that the suggestion is always a whole number and is greater than or equal to the original transactionAmount.</p><p>After generating the suggestions, we want to ensure they are unique, sorted in ascending order, and limit the list to a maximum of 5 suggestions.</p><pre>val uniqueSuggestions = suggestions.sorted().distinct().take(5)</pre><p>Finally, we can return the list of suggested payment amounts.</p><pre>return uniqueSuggestions</pre><p>Here is the full code:</p><pre>fun generateSuggestedPayments(transactionAmount: Int): List&lt;Int&gt; {<br>    val denominations = listOf(1000, 2000, 5000, 10000, 20000, 50000, 100000)<br>    val suggestions = mutableListOf&lt;Int&gt;()<br><br>    for (denomination in denominations) {<br>        if (denomination &gt; transactionAmount) {<br>            suggestions.add(denomination)<br>        }<br>    }<br><br>    if (transactionAmount &gt; 1000) {<br>        val nextThousand = ((transactionAmount / 1000) + 1) * 1000<br>        suggestions.add(nextThousand)<br>    }<br><br>    if (transactionAmount &gt; 10000) {<br>        val nextTenThousand = ((transactionAmount / 10000) + 1) * 10000<br>        suggestions.add(nextTenThousand)<br>    }<br><br>    if (transactionAmount &gt; 100000) {<br>        val nextHundredThousand = ((transactionAmount / 100000) + 1) * 100000<br>        val nextFiftyThousand = ((transactionAmount / 50000) + 1) * 50000<br><br>        suggestions.add(nextHundredThousand)<br>        suggestions.add(nextFiftyThousand)<br>    }<br><br>    return suggestions.sorted().distinct().take(5)<br>}</pre><h3>Testing the Function</h3><p>To verify that our function works as expected, let’s add a main() function to test it with different transaction amounts.</p><pre>fun main() {<br>    val amounts = listOf(4000, 6574, 7400, 13000, 15600, 213000)<br>    for (transactionAmount in amounts) {<br>        val suggestions = generateSuggestedPayments(transactionAmount)<br>        println</pre><p>And, here is the result:</p><pre>For the transaction of IDR 4000, the suggested cash amounts are: <br>IDR 5000<br>IDR 10000<br>IDR 20000<br>IDR 50000<br>IDR 100000<br><br>For the transaction of IDR 6574, the suggested cash amounts are: <br>IDR 7000<br>IDR 10000<br>IDR 20000<br>IDR 50000<br>IDR 100000<br><br>For the transaction of IDR 7400, the suggested cash amounts are: <br>IDR 8000<br>IDR 10000<br>IDR 20000<br>IDR 50000<br>IDR 100000<br><br>For the transaction of IDR 13000, the suggested cash amounts are: <br>IDR 14000<br>IDR 20000<br>IDR 50000<br>IDR 100000<br><br>For the transaction of IDR 15600, the suggested cash amounts are: <br>IDR 16000<br>IDR 20000<br>IDR 50000<br>IDR 100000<br><br><br>For the transaction of IDR 213000, the suggested cash amounts are: <br>IDR 214000<br>IDR 220000<br>IDR 250000<br>IDR 300000</pre><p>There is more combination that is not covered. But in our case, this prediction is enough to help the cashier settle the transaction faster than inputting the amount manually. Or do you have any idea to improve it? let’s discuss this in the comment section below.</p><p>Thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58727495aaa9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/qasir/predicting-cash-payments-in-indonesian-rupiah-58727495aaa9">Predicting Cash Payments in Indonesian Rupiah</a> was originally published in <a href="https://medium.com/qasir">Qasir</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Bot to Help Code Review]]></title>
            <link>https://medium.com/qasir/a-bot-to-help-code-review-b130556eea90?source=rss-57006af9e28a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b130556eea90</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[danger]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[code-review]]></category>
            <dc:creator><![CDATA[Rahmad Hidayat]]></dc:creator>
            <pubDate>Mon, 20 Jun 2022 09:06:36 GMT</pubDate>
            <atom:updated>2022-06-20T09:06:36.527Z</atom:updated>
            <content:encoded><![CDATA[<p>Code Review is an essential activity in software development. Many aspects must be taken care of when we review a code, mainly when we review code from people who have just joined the team. Even though there is already a code convention, sometimes we forget some basic things. Likewise, code reviewers sometimes skip things they should comment on when reviewing code. Maybe they&#39;re busy or just too tired.</p><p>In this article, I will share the stack I use to build a simple bot to help the code review process in the mobile team.</p><h3>Danger</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8RDY9nz6gUSgKOzkmfz6A.png" /><figcaption>danger system website</figcaption></figure><p><a href="https://danger.systems/">Danger</a> is a tool to help automate common code review chores. Danger is available in Ruby, JS, and Swift. There are also Kotlin and Python versions that are still under development.</p><p>Not only code review, with so many plugins available, we can also automate a lot of things like analyzing the APK, checking the permissions, and many more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XvWAJh9cRVPKEM2o8SiTIw.png" /><figcaption>plugins available</figcaption></figure><p>I&#39;m using the Ruby version on my project. To <a href="https://danger.systems/guides/getting_started.html">install Danger</a>, the <a href="https://danger.systems/guides/getting_started.html">documentation</a> itself is pretty straightforward. After that, you will have two files on your repo.</p><h4>Gemfile</h4><pre>source &quot;https://rubygems.org&quot;<br><br>gem &#39;danger&#39;<br>gem &#39;danger-gitlab&#39;</pre><p>This file is where we put the dependencies or plugins we need.</p><h4>Dangerfile</h4><pre># ENSURE THAT ALL MRS HAVE AN ASSIGNEE.<br>warn &quot;This MR does not have any assignees yet.&quot; unless gitlab.mr_json[&quot;assignee&quot;]<br><br># ENSURE THERE IS A SUMMARY FOR A MR.<br>failure &quot;Please provide a summary in the Merge Request description&quot; if gitlab.mr_body.length &lt; 5<br><br>WARN WHEN AN MR IS CLASSED AS WORK IN PROGRESS.<br>warn &quot;MR is classed as Work in Progress&quot; if gitlab.mr_title.include? &quot;[WIP]&quot;</pre><p>This file is where we configure the dependency settings or set any bot rules.</p><p>Later, we will add some things needed to connect Detekt with Danger.</p><h3>Detekt</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YIFFBzu9TWCbcGSa7GyA4A.png" /><figcaption>detekt website</figcaption></figure><p><a href="https://detekt.dev/">Detekt</a> is a static code analyzer for Kotlin. We use this to review the standard coding best practice and set any custom rules we need to match our code convention.</p><p>There are several ways to <a href="https://detekt.dev/docs/gettingstarted/cli/">install</a> Detekt. However, I prefer the CLI version because I only run Detekt in CI.</p><p>To connect Detekt with Danger, I&#39;m using a plugin called <em>danger-checkstyle_format. </em>There is also a Detekt plugin for Danger, but when I tried, the inline comment was not working.</p><p>To use <em>danger-checkstyle_format</em>, add the plugin to the Gemfile.</p><pre>gem &#39;danger-checkstyle_format&#39;</pre><p>And add the configuration in the Dangerfile.</p><pre># Detekt CLI<br> report_dir = &quot;build/reports/detekt/detekt.xml&quot;<br> checkstyle_format.base_path = Dir.pwd<br> checkstyle_format.report report_dir</pre><p>As you can see, we pass the Detekt report location file to the Checkstyle format configuration, so the Danger can read the report and publish it on the Gitlab MR page.</p><h3>Gitlab CI</h3><p>We use Gitlab for our CI/CD, the service where we run the Bot to review our code.</p><p>If you read the Danger <a href="https://danger.systems/guides/getting_started.html">installation doc</a>, we need one Gitlab account with an access token and at least have Gitlab &quot;reporter&quot; permission level.</p><p>And the important thing is the variable <em>DANGER_GITLAB_API_TOKEN</em> should be available in the CI.</p><p>If all setup is complete, the last step is adding the Danger and Detekt command to the CI. Here&#39;s for example:</p><pre>bundle install</pre><pre>detekt-cli -c config/detekt/detekt.yml -ex &#39;**/.gradle/**&#39; --report xml:build/reports/detekt/detekt.xml</pre><pre>bundle exec danger</pre><p>But there is a problem, Detekt scanning all classes in the repo, which ends up spamming too many reports on MR. To solve this issue, I use <em>git-diff</em> to scan the changed classes only. Here&#39;s the sample script in case you are facing the same problem and curious about how to solve it:</p><pre>mkdir $CI_BUILDS_DIR/git-diff</pre><pre>git diff --diff-filter=d --name-only $CI_MERGE_REQUEST_DIFF_BASE_SHA HEAD | xargs -I % sh -c &#39;cp -v --parents &quot;%&quot; $CI_BUILDS_DIR/git-diff/&#39;</pre><pre>bundle install</pre><pre>detekt-cli -i $CI_BUILDS_DIR/git-diff -c config/detekt/detekt.yml -ex &#39;**/.gradle/**&#39; --report xml:build/reports/detekt/detekt.xml</pre><pre>bundle exec danger</pre><h3>Result</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b0QgX5uA8MZMlUTga9Ec1g.png" /><figcaption>bot comment on MR</figcaption></figure><p>This Bot is very helpful in maintaining coding best practice standards and internal code conventions. So the code reviewers can focus on things that still need humans to understand the purpose of the code being written and makes the MR process faster than before.</p><p>I hope these topics can give you an idea to build something on your projects. See ya!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b130556eea90" width="1" height="1" alt=""><hr><p><a href="https://medium.com/qasir/a-bot-to-help-code-review-b130556eea90">A Bot to Help Code Review</a> was originally published in <a href="https://medium.com/qasir">Qasir</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Technical Debt” dalam Software Development]]></title>
            <link>https://medium.com/qasir/technical-debt-dalam-software-development-eb824f40839e?source=rss-57006af9e28a------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb824f40839e</guid>
            <category><![CDATA[technical-debt]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[tech-debt]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Rahmad Hidayat]]></dc:creator>
            <pubDate>Mon, 22 Jun 2020 16:35:14 GMT</pubDate>
            <atom:updated>2020-06-23T07:07:33.769Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OPpKFpgdTCPisQRV92U9Yg.jpeg" /><figcaption>Credit: Alice Pasqual — Unsplash</figcaption></figure><p>Dalam <em>development</em> sebuah software, sebagai <em>engineer</em> sering kali kita berhadapan dengan penentuan berapa lama <em>timeline</em> yang dibutuhkan untuk men-<em>develop</em> sebuah fitur yang ideal dari sudut pandang <em>engineer</em> <em>vs</em> <em>timeline</em> yang diberikan oleh <em>product team.</em></p><p><em>Timeline</em> yang dipersingkat biasanya menghasilkan <em>Technical Debt</em> karena <em>engineer</em> tidak mempunyai waktu yang cukup untuk berpikir secara jangka panjang maupun memikirkan <em>best overall solution</em> dari sebuah <em>code</em>.</p><p>Sangat lumrah jika beberapa proses <em>technical</em> dipangkas oleh e<em>ngineer</em> untuk membantu <em>product team</em> mengejar momentum, terutama di <em>Startup</em>. Tapi tentu ada n̶y̶a̶w̶a̶ harga yang harus dibayar di kemudian hari.</p><p><strong>Inilah yang disebut utang teknikal alias <em>Technical Debt</em> atau kita singkat <em>“tech debt”</em>.</strong></p><p>Utang jika tidak dibayar, akan menghasilkan bunga. Semakin besar bunganya, semakin berat pula untuk melunasi utang. Jika kita tidak bisa membayar utang, semakin lama hidup kita akan semakin tidak nyaman karena bakal dikejar-kejar <em>debt collector.</em></p><p>Ini juga terjadi terjadi dalam <em>software development</em>, <em>tech debt </em>yang besar akan mempersulit <em>scalability</em> dan <em>maintenability</em> dari sebuah <em>software</em>. Mungkin awalnya bisa saja kita “akali” implementasinya agar tetap bisa <em>deliver</em>. Tapi semakin lama, <em>tech debt</em> ini akan mengurangi produktivitas karena kita harus mencari cara kotor hingga akhirnya tidak bisa lagi menambahkan fitur sama sekali. Bahkan yang lebih buruk, kita juga akan kesulitan <em>me-maintain software</em> kita, karena ketika kita baca code nya, isinya tambal sulam sana-sini. Ruwet lah, kalo kata Pak Jokowi.</p><p><strong>Lalu dengan apa kita membayarnya? Tentu saja dengan “<em>refactoring”.</em></strong></p><p>Oke, cukup <em>intro</em>-nya. Setelah ini saya ingin berbagi pengalaman tentang apa yang kami lakukan untuk mengatasi <em>tech debt </em>di Qasir.</p><h3>Samakan Persepsi tentang Technical Debt</h3><p>Hal pertama yang kami lakukan adalah menyamakan persepsi. Tidak semua <em>stakeholder</em> paham tentang <em>tech debt</em>. Biasanya yang sering disalahpahami adalah <em>bugs</em>, masalah <em>UI /UX</em>, dan fitur-fitur yang tertunda dianggap termasuk <em>technical debt. </em>Padahal<em> </em>sebenarnya <strong>tidak</strong>.</p><p>Saya suka penjelasan <em>tech debt</em> dari <a href="https://www.agilealliance.org/introduction-to-the-technical-debt-concept/">Agile Alliance</a> ini:</p><blockquote><strong><em>“</em>The Technical Debt concept is an effective way to communicate about the need for refactoring and improvement tasks related to the source code and its architecture.</strong></blockquote><blockquote><strong>Code issues may be related to architecture, structure, duplication, test coverage, comments and documentation, potential bugs, complexity, code smells, coding practices and style. All these types of issues incur technical debt because they have a negative impact on productivity.”</strong></blockquote><p>Singkatnya <em>Technical Debt</em> terjadi ketika kita membangun <em>software</em> secara cepat dan tidak mendesign untuk jangka panjang.</p><p>Hal-hal yang seperti <em>bugs</em>, <em>UI/UX</em>, fitur yang dikurangi, memang termasuk utang, tetapi tidak dikategorikan sebagai <em>tech debt</em>. Untuk mempermudah pemahaman, mari kita kategorikan jenis-jenis utang ini dengan istilah lain.</p><ul><li><strong>Feature Debt.</strong> Contohnya adalah fitur yang <em>delay</em>, atau fitur yang butuh iterasi secara keseluruhan karena respon <em>market-</em>nya negatif.</li><li><strong>User Experience Debt.</strong> Contohnya ketika ada komponen <em>UI/UX</em> yang gagal untuk mengarahkan user untuk melakukan suatu hal.</li><li><strong>Quality Debt. </strong>Contohnya <em>bugs</em> yang muncul karena “cacat” dari sebuah <em>code</em>, atau terjadi <em>error</em> maupun <em>crash</em>.</li><li><strong>Technical Debt.</strong> Nah ini, <em>tech debt </em>lebih ke masalah-masalah teknis yang semakin lama memperlambat <em>development</em> dari waktu ke waktu. Seperti yang dibahas di atas, mulai dari <em>architecture, structure, duplication, test coverage, comments and documentation, potential bugs, complexity, code smells, coding practices </em>dan<em> style.</em></li></ul><p>Selain dari masalah <em>code</em>, <em>tech debt</em> juga mencakup masalah dari pihak ke-3. Bisa seperti <em>code</em> yang <em>deprecated</em>, <em>Library</em> yang sudah tidak di-<em>maintain</em>, ataupun kemajuan teknologi di <em>platform</em> yang kita pakai sehingga membuat <em>code</em> kita tidak <em>relevan</em> lagi dan membuat <em>software</em> yang kita buat cepat atau lambat sulit untuk <em>scale-up</em> dan di-<em>maintain </em>atau malah menurunkan produktivitas kita.</p><p>Setelah semua <em>stakeholder</em> sepemahaman, kita lanjut ke perencanaan dan eksekusinya.</p><h3>Perencanaan dan Eksekusi</h3><p>Tidak ada solusi yang singkat untuk menangani <em>tech debt</em> ini. Hal pertama yang kami lakukan adalah dokumentasi <em>tech debt</em>. Mendokumentasikan <em>tech debt </em>adalah hal yang wajib untuk <em>engineer</em>. Kemudian kita urutkan berdasarkan <em>impact</em> dan <em>effort</em>-nya. Setelah itu kita ajukan dan presentasikan ke <em>product team</em> untuk meminta waktu<em> refactoring</em> di dalam <em>product roadmap</em>.</p><p>Semudah itu? tidak juga. Kita harus bisa menerjemahkan manfaat teknis dari <em>refactoring</em> yang akan kita lakukan ke dalam kepentingan bisnis dan produk. (dibaca: meyakinkan tim produk). Hal ini sangat penting, karena ketika antar-<em>stakeholder</em> sama-sama mengerti konteks, <em>urgency</em>, dan mendapatkan nilai lebih dari sebuah <em>refactoring, </em>akan lebih mudah untuk <em>product team</em> memprioritaskan antara fitur / <em>refactoring</em>.</p><p><strong>Strategi pertama</strong> yang kita lakukan adalah menyisipkan waktu 30% di tiap <em>sprint</em> untuk <em>tech debt</em>. Satu <em>sprint</em> umumnya mengalokasikan waktu 2 minggu yang dibagi menjadi 7 hari <em>development</em> dan 3 hari <em>QA testing</em>. Artinya kita bisa memakai 2 hari kerja itu <em>tech debt </em>di setiap sprint.</p><p>Tetapi untuk menyelesaikan <em>tech debt</em> yang kompleks, 30% tiap sprint itu sangat-sangat kurang dan sulit untuk memecah pekerjaannya untuk tiap sprint.</p><p><strong>Strategi kedua </strong>yang kita lakukan sekarang adalah <em>tech debt </em>punya wadah sendiri yang dinamakan <em>sprint cooldown</em> dan dieksekusi tiap kuartal, dengan 1 <em>sprint</em> yang berdurasi 2 minggu (bisa lebih, bisa kurang, tergantung dengan pekerjaan <em>refactoring</em> apa yang kita angkat dan seberapa <em>impact</em>-nya).</p><p>Menurut saya, siklus <em>cooldown</em> ini cukup efektif jika dilakukan secara konsisten. Ingat, nggak ada yang namanya <em>stop development </em>berbulan-bulan untuk <em>refactoring</em> atau kita akan kehilangan <em>market share</em> dan keluar dari kompetisi bisnis itu sendiri.</p><p>Selain dari sprint <em>cooldown</em> yang kita punya, di <em>engineering</em> <em>team</em> juga menerapkan satu peraturan sederhana yang sangat berguna untuk <em>tech debt</em> yang sifat nya kecil-kecil: <em>The Boy Scout Rule.</em></p><h3>The Boy Scout Rule</h3><p>Prinsip sederhana yang di adopsi dari Boy Scout Rule adalah:</p><blockquote><strong><em>“</em>Leave the campground cleaner than you found it.<em>”</em></strong></blockquote><p>Seorang pramuka, ketika selesai berkemah membiasakan diri untuk membersihkan tempat dia berkemah lebih bersih dari saat dia datang.</p><p>Setiap kali <em>engineer</em> mengubah sebuah code, <em>engineer</em> proaktif membersihkan <em>code-smell</em> yang ditemukan di <em>class</em> tersebut diluar dari fitur yang sedang dikerjakan.</p><p>Sederhananya seperti masalah <em>typo</em>, <em>naming</em>, kompleksitas sebuah <em>method</em>, <em>style, duplikasi sebuah helper </em>dan hal kecil lainnya bisa diatasi secara berkala dan tidak membutuhkan waktu yang lama menjadi kebiasaan yang sangat membantu mengurangi <em>tech debt</em> dan meningkatkan <em>technical ownership.</em></p><p>Tidak ada yang salah dari strategi <em>faster time-to-market</em>. Tetapi <em>stakeholder </em>diluar <em>engineering team</em> harus punya <em>awareness</em> bahwa cepat atau lambat <em>tech debt</em> akan mengganggu kita.</p><p><em>Tech debt</em> tidak akan pernah selesai selama <em>software</em> terus dikembangkan. yang kita perlukan adalah strategi untuk terus menjaga <em>tech debt</em> tidak menjadi <em>monster</em> untuk kita dan kita terus melakukan iterasi untuk hal ini.</p><p><em>By the way,</em> ini tulisan pertama saya di Qasir. Silakan tekan tombol <em>claps </em>sebanyak-banyaknya jika tulisan ini bermanfaat, dan mari berdiskusi di kolom komentar tentang hal terkait yang mungkin tidak ter-<em>cover</em> artikel ini.</p><p>Terima Qasir.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb824f40839e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/qasir/technical-debt-dalam-software-development-eb824f40839e">“Technical Debt” dalam Software Development</a> was originally published in <a href="https://medium.com/qasir">Qasir</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Here’s my experience of taking The Associate Android Developer Fast Track Scholarship Program.]]></title>
            <link>https://medium.com/android-news/heres-my-experience-of-taking-the-associate-android-developer-fast-track-scholarship-program-8e5bae51cb18?source=rss-57006af9e28a------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e5bae51cb18</guid>
            <category><![CDATA[scholarship]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[udacity]]></category>
            <dc:creator><![CDATA[Rahmad Hidayat]]></dc:creator>
            <pubDate>Wed, 08 Nov 2017 09:49:15 GMT</pubDate>
            <atom:updated>2017-11-08T09:49:15.024Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c-bFsjLXWWmQ2K06Lnd9pw.png" /></figure><p>In May, I signed up for an Associate Android Developer Fast Track Scholarship Program. Google has funded 500 full scholarships for the Fast Track Associate Android Developer program through Udacity for Indonesia. And I was lucky to be one of them.</p><h4>So What is Associate Android Developer Fast Track Scholarship Program?</h4><p>This program is designed to teach you about every skill that you need to be a Entry-Level Android Developer. You will get four months of access, which include three courses, three projects and the Google Certification Exam fee for free.</p><p>The objective of this program is different from The Android Developer Nanodegree Program. The Nanodegree Program prepares students for more Advanced Android Development, which has double content and projects while this program is designed to teach you exactly what you need to know to successfully passed the Associate Android Developer Certification Exam from Google.</p><h4>Who was eligible to apply?</h4><p>To received one of these scholarships, you must be a current resident of Indonesia. You must also be at least 18 years old and proficient in English.</p><h4>Can I enroll The Associate Android Developer Fast Track Program without Scholarship?</h4><p>Yes, You can enroll the program through this <a href="https://www.udacity.com/course/associate-android-developer-fast-track--nd818">link</a> and it costs around $750 including Google Certification fee.</p><h3>The Course</h3><p>The Course content curated from free courses in Udacity and some content is exclusive, but you will get more benefit in this program.</p><p>The benefits of this course itself are:</p><ul><li>The Course Material was created by Google Team</li><li>Chat Mentoring</li><li>Coach supported forum</li><li>1:1 appointments with mentors via video call</li><li>Personalized feedback on projects</li></ul><p>Cool right? not only that, I’ve got access to a slack group containing scholarship students in the same country. Udacity through its Course managers in each country also provides weekly offline group discussion meet up in each city and also held Webinar. The nice thing is Scholarship Students can also be a speaker in the Webinar by bringing the course material.</p><p>You will be given a timeline to follow for 4 months. For me, studying at the weekend is enough to follow the timeline.</p><p>Don’t forget to make a weekly check-in with your mentor to tell about your progress. You can also chat your mentor anytime if you have a problem with the lessons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eu63p5sCHnHMueqYDtTS2Q.jpeg" /><figcaption>Core Curiculum</figcaption></figure><p>The course divided into 5 sections and 3 projects and you have to create and submit a simple project related to what has been learned in 3 sections.</p><p>Every project will be reviewed by Udacity staff and will be assessed whether the project meets the requirement. After you complete the 3 projects, you can take a certification exam that included in this program.</p><p>I like the project review section. Udacity reviewer not only reviews my code line by line but also give me a lot of references to the techniques, best practice or libraries that can improve my app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ccv73Sd77DqViYCZE4mgSw.png" /><figcaption>Project review.</figcaption></figure><p>Overall, I liked the video material, it’s easy to understand, using a good analogy and discussed very deeply.</p><p>Along with the course, you will get project practice that you can follow step by step. Don’t skip every single video in the course because it contains many fundamental lessons that should not be missed.</p><p>Curious about what’s being learned in every project? here I’ll tell you.</p><h4>Project 1: Popular Movies, Stage 1</h4><p>In this project, you will learn about:</p><ul><li>Creating first simple app with a Sunshine Project</li><li>Connect to the internet</li><li>Recyclerview</li><li>Intents</li></ul><p>In this section, you need to build an app to allow users to discover recent movies and the most popular movies playing using API from The Movie DB. This project was very easy for me, you will be fine with all the video material that has been learned. Don’t forget to handle the app when there is no network connection.</p><h4>Project 2: Popular Movies, Stage 2</h4><p>In this project, you will continue last project and learn about:</p><ul><li>Lifecycle</li><li>Preferences</li><li>Storing data in SQLite</li><li>Content Providers</li><li>Background Tasks</li><li>UI Fundamentals</li></ul><p>In this section, you need to continue the Popular Movies app by adding more function in detail view and adding tablet layout. This project is also quite easy for me, maybe what you should note is the content provider and persistence data using InstanceState.</p><h4>Project 3: Baking App</h4><p>In this project, you will learn about advanced android development.</p><ul><li>Fragments</li><li>Libraries</li><li>Firebase Cloud Messaging</li><li>Places</li><li>Media Playback</li><li>Widgets</li><li>Espresso</li><li>Publishing your app</li></ul><p>In this section, you need to build an app to view video recipes. This project is quite challenging. Things you should note is to use the Exoplayer efficiently, master-detail flow, widgets, and UI testing.</p><p>To be noticed, don’t use code from any other Udacity student’s or graduate’s submission of the same project. Udacity team will check your submission for plagiarism. And this may affect your enrollment or certificate in accordance with the Udacity policy. For more about Udacity honor code, you can read <a href="https://udacity.zendesk.com/hc/en-us/articles/210667103-What-is-the-Udacity-Honor-Code-">here</a>.</p><p>After taking all of the material course, you can take the certification exam. All tasks on the exam have been covered by all the materials in the course.</p><h3>The Certification Exam</h3><p>This is the interesting part, the exam consists of a coding project and an exit interview. On the coding project, you will be simulated as a new developer who will handle the project that has been running. You will continue the previous developer work, adding new features, testing and debugging the app. You have 24 hours to complete the project. I have completed my exam within half a day. If you failed in first attempt, you can immediately retake the exam. But I think if you follow the lesson well, you will not get any obstacles.</p><p>Your submission should follow Android UI best practices. Like don’t transfer data to disk or to the network on the main thread. Abstract strings and dimensions into resources whenever possible. Don’t lock activity orientations, and preserve the user experience between rotations. Another important thing is you shouldn’t move or rename any of the classes provided to you in the original project because your submission will be graded automated by system.<strong><em> </em></strong>Want more clue about exam content? you can check <a href="https://developers.google.com/training/certification/associate-android-developer/">here.</a></p><p>After you passed the exam, you are required to verify your identity, you can use the ID card, driving license or your passport. After that, you can choose the schedule to take exit interview. My exit interview was pretty fast, less than 5 minutes. You will be asked about the exam project and Android fundamental. The thing I didn’t like is my interviewer didn’t turn on the webcam. During the interview, I just saw a black screen like being interrogated, hahaha. I have got my certificate after waiting for 2 weeks. This is <a href="https://www.credential.net/frrsmgqb">mine</a>.</p><h3>Conclusion</h3><p>This course is a good start for you who wants to become a Professional Android Developer and learn more about Android Fundamental.</p><p>But remember, certification is just your first step to start a career or to exist on Company radar. For those of you who are just starting out as an Android Developer, you may want to learn more skill about development like Architecture Pattern, Design Pattern, Clean Code, Reactive Programming and maybe Kotlin.</p><p>If you interested in getting this scholarship, you can subscribe about the upcoming scholarship program through this <a href="https://www.udacity.com/scholarships">link</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3e491f%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3e491f%2F&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252F3e491f%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/fedb9f91e907af2468a937c944ed32ab/href">https://medium.com/media/fedb9f91e907af2468a937c944ed32ab/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e5bae51cb18" width="1" height="1" alt=""><hr><p><a href="https://medium.com/android-news/heres-my-experience-of-taking-the-associate-android-developer-fast-track-scholarship-program-8e5bae51cb18">Here’s my experience of taking The Associate Android Developer Fast Track Scholarship Program.</a> was originally published in <a href="https://medium.com/android-news">AndroidPub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>