<?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 Herman Saksono, PhD on Medium]]></title>
        <description><![CDATA[Stories by Herman Saksono, PhD on Medium]]></description>
        <link>https://medium.com/@hermansaksono?source=rss-dac5299ee0bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BnP4P6jb_mE_6DeWJP7ogg.jpeg</url>
            <title>Stories by Herman Saksono, PhD on Medium</title>
            <link>https://medium.com/@hermansaksono?source=rss-dac5299ee0bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:42:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hermansaksono/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[Peer Matching and Digital Health Storytelling Can Promote Health Equity]]></title>
            <link>https://medium.com/acm-cscw/peer-matching-and-digital-health-storytelling-can-promote-health-equity-fec61c22a8a4?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/fec61c22a8a4</guid>
            <category><![CDATA[online-community]]></category>
            <category><![CDATA[race]]></category>
            <category><![CDATA[women]]></category>
            <category><![CDATA[digital-health]]></category>
            <category><![CDATA[human-centered-design]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Tue, 26 Sep 2023 19:28:10 GMT</pubDate>
            <atom:updated>2023-09-26T19:28:10.420Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Modern illustration with bold bright colors that shows two happy women talking. © Oksana — stock.adobe.com" src="https://cdn-images-1.medium.com/max/1024/1*TOwWdsGUbjfzu0loEPobig.png" /></figure><p>Our experimental study found that peer matching can amplify the power of storytelling in digital health technologies. Matching storytellers and listeners by gender and race can motivate physical activity, among Black single-caregiver mothers. The results will be published in <a href="https://doi.org/10.1145/3610060">CSCW in October 2023</a>.</p><p>Health behavior like physical activity can be challenging to acquire. <a href="https://www.cdc.gov/nchs/data/hus/2017/057.pdf">The United States CDC reported</a> that only half of American adults met the recommended level of 150 minutes of physical activity every week. When this number is broken down by gender and racial identities, the disparities are jarring. Women are less active than men. Similarly, Black people are less active than White people. These disparities — due to structural barriers — are alarming because physical activity promotes mental health and reduces the risk of diabetes type II and cardiovascular diseases. We need innovative approaches to promote physical activity and achieve health equity.</p><p>In <a href="https://doi.org/10.1145/3610060">our CSCW paper</a>, we examined storytelling as an innovative means of health promotion. Storytelling is a form of social modeling, although an indirect one. (In the social psychology literature, social modeling is when an observer learns new behavior by looking at a social model.) Instead of looking at the model’s actions directly, the actions are communicated in spoken words. Studies have shown that <a href="https://www.sciencedirect.com/science/article/abs/pii/S0738399120302019?via%3Dihub=">storytelling can effectively promote healthy behavior</a>, especially among low-income people and Black Americans. However, storytelling is only half the picture.</p><p>The other crucial aspect is peer matching. Social modeling is more effective if the observer feels the model is similar. Peer matching works by connecting the observer with similar models. Imagine a computational system that could match peers in online health communities and effectively model positive health behavior.</p><p>However, what it mean to be similar was not clear when we started the study. Some studies suggested that demographic variables such as gender and racial identities might be effective for peer matching. Other studies suggested that people with similar abilities are better models. Lastly, some studies suggest that experiential variables such as barriers to physical activity might be a better signal of similarity. This rich body of work led us to more questions than answers. Which one is more effective, demographic, ability, or experiential variables?</p><h4>Examining peer-matching variables, an exploratory experiment</h4><p>We then set sail to test whether the aforementioned variables are effective for peer matching. We recruited 309 people to participate in this online study. Once they signed up, we asked them to listen to a brief audio story about family physical activity. Below is an excerpt of the story:</p><blockquote>“Family physical activity that makes me happy is anything that involves me being with my children. Whether it’s going for a walk, or the kids riding their bikes, or just us enjoying ourselves. We’re doing things, we’re experiencing new things. Exploring! I get a lot of enjoyment from watching my children being active and playing. And I tried to be active and play with them too.” (<a href="https://www.khoury.northeastern.edu/~hsaksono/papers/cscw2023/Saksono_et_al_CSCW2023_Sample_Story.pdf">Full sample story</a>)</blockquote><p>All participants were exposed to the same story, but the storytellers were either matched or not matched by their demography, ability, or experiential variables. Finally, we measured the changes in physical activity self-efficacy before and after listening to the story. Higher self-efficacy means the person is more likely to be physically active.</p><p>To summarize, the matching is the independent variable, and self-efficacy change is the dependent variable. We ultimately wanted to know if self-efficacy will be affected significantly between matching and not matching, across the three categories of variables.</p><p>To illustrate the matching mechanism, suppose we have a White mother participant. If she is matched in all categories, she will listen to a White mother with a similar ability level and similar barriers to exercise. In contrast, the same White mother who was not matched in all categories will listen to a story by a Black father, who was more active than her and had fewer barriers than her.</p><p>All of the participants are single-caregiver mothers. We prioritized this study for them because <a href="https://doi.org/10.1080/02701367.2016.1187705">single-caregiver mothers are dealing with more barriers to being active</a> and <a href="https://www.mdpi.com/1660-4601/17/1/135?type=check_update&amp;version=1">more likely to be impoverished</a>.</p><p>The study participants are racially balanced. That means the number of Black and White mothers in the study are similar in number (49% Black, 51% White). We think having an equal number of participants will allow us to confidently determine the efficacy of peer matching across all two racial identities.</p><h4>Statistical analyses revealed a health equity opportunity</h4><p>When we analyzed the data, we didn’t find any significant changes in self-efficacy. Figure 1 below shows that differences between matchings and not matchings are negligible.</p><figure><img alt="Three sets of bar charts show the effect of matching and not matching on self-efficacy. Each set has two bars, showing self-efficacy among Not Matched and Matched participants. The sets are Demographic, Ability, and Experiential. The bar charts show there are no significant differences across all of the three categories." src="https://cdn-images-1.medium.com/max/1024/1*uXlgsr2GG57hvmOBaDUHXw.png" /><figcaption>Figure 1. No significant self-efficacy changes after listening to the story. The chart is divided by demographic, ability, and experiential variables. The p values are larger than 0.05. This means, there were no significant differences in physical activity self-efficacy changes in any of these categories of matching variables.</figcaption></figure><p>However, our linear regression model also suggests that there is an interaction between demographic matching and racial identities. This is consistent with a literature review that shows <a href="https://www.sciencedirect.com/science/article/abs/pii/S0738399120302019?via%3Dihub=">storytelling is more effective among minoritized racial groups</a>.</p><p>We then separated the Black and White participants, then analyzed their data separately. Figure 2 shows these subgroup analyses. Among the Black mothers, matching by Demographic variables (gender and race) significantly enhanced self-efficacy, with a medium effect size Cohen <em>d</em> = 0.39.</p><figure><img alt="Two charts are arranged vertically. The top one is about Black mothers. The bottom is about white mothers. Each chart has three sets of bar plots showing the effect of matching and not matching on self-efficacy. Each set has two bars, showing self-efficacy among Not Matched and Matched participants. The sets are Demographic, Ability, and Experiential. The bar charts show there is a significant self-efficacy change when matching using demographic variables, among Black mothers." src="https://cdn-images-1.medium.com/max/1024/1*6MYLTnnfrtk7sKGB5QHZ-w.png" /><figcaption>Figure 2. Significant self-efficacy changes after listening to the story when the storyteller was matched, but only among Black mothers (p &lt; .05). No significant differences among White mothers.</figcaption></figure><p>However, we didn’t find significant differences when we analyzed the White mother participants.</p><p>In other words, Black mothers who listened to a story told by a Black mother became more motivated to exercise, whereas White mothers who listened to a story by a White mother did not.</p><h4>Interpreting differences by race using structural and agentic stances</h4><p>There are two ways to explain the results of the study, namely by using structural and agentic stances.</p><p><em>The structural stance</em> is about the way the US society is structured. Specifically, the dominance of White people in many aspects of American life. For White mothers, having a White mother storyteller is (1) congruent to their racial identity but (2) the model stood out less because having a White person in every aspect of society is very common. Conversely, for the Black mother participants having a Black mother storyteller was (1) congruent to their racial identity and (2) stood out more.</p><p><em>The agentic stance (</em><a href="https://www.tandfonline.com/doi/full/10.1080/00221546.2018.1513305">Gilkes Borr 2017</a>) took a slightly different view. As evident in education and medicine, Black individuals tend to actively seek connections with other Black individuals. They believed that Black individuals would be more supportive and understanding of each other.</p><p>Regardless of the stances you use, these differences by race are a product of racism in the US. As <a href="https://www.nejm.org/doi/10.1056/NEJMms2004740">Vyas et al.</a> have said, these differences by race often reflect “<em>the experience of being black in America rather than being black itself.</em>”</p><h3>Next Steps for Peer Matching</h3><p>In the <a href="https://doi.org/10.1145/3610060">CSCW paper</a>, we provided four detailed design implications on how to facilitate peer matching.</p><p>While the results of our peer-matching experiment are very promising, we caution everyone to stay mindful that algorithmic peer matching still needs to be studied more. Nong et al. demonstrated the challenge of peer matching. They found that people who experienced discrimination are more likely to <a href="https://www.sciencedirect.com/science/article/pii/S2352827322000714&#39;">withhold gender and racial information</a> from their healthcare provider. This systematic withholding could hamper demographic peer-matching algorithms that require gender and race information.</p><p>However, we do not argue against peer matching. Instead, to make sure online health communities can implement peer matching effectively, we need to listen to people who were marginalized by their gender and race. We need to center their values on the design of peer matching, balancing the benefits of social connections, and mitigating their concerns.</p><p>There are two clear takeaways from this study, though. First, we need to make active and concrete efforts to diversify online health communities. Any peer-matching tools would not be able to do their job in promoting health equity if there are not a lot of peers from minoritized social groups to be matched with.</p><p>Two, and more importantly, <a href="https://doi.org/10.1145/3610060"><strong>our study</strong></a><strong> shows that members of marginalized communities have a lot of power in promoting health equity</strong>. We need more technological advancements to amplify their knowledge in health promotion.</p><p><a href="https://doi.org/10.1145/3610060">Download the paper here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fec61c22a8a4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/acm-cscw/peer-matching-and-digital-health-storytelling-can-promote-health-equity-fec61c22a8a4">Peer Matching and Digital Health Storytelling Can Promote Health Equity</a> was originally published in <a href="https://medium.com/acm-cscw">ACM CSCW Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Akademisi Diaspora Indonesia Menyebarkan Kebencian Yang Merugikan Masyarakat]]></title>
            <link>https://hermansaksono.medium.com/akademisi-diaspora-indonesia-menyebarkan-kebencian-yang-merugikan-masyarakat-c47eebdae5e7?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/c47eebdae5e7</guid>
            <category><![CDATA[discrimination]]></category>
            <category><![CDATA[indonesia]]></category>
            <category><![CDATA[conversion-therapy]]></category>
            <category><![CDATA[gay-gene]]></category>
            <category><![CDATA[lgbtq]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Wed, 25 May 2022 15:15:22 GMT</pubDate>
            <atom:updated>2022-05-28T11:31:33.205Z</atom:updated>
            <content:encoded><![CDATA[<p>Peneliti postdoktoral <a href="https://www.brunel.ac.uk/people/mila-anasanti">Brunel University</a>, Mila Anasanti, menyebarkan informasi yang menyesatkan dan homofobik di Twitter pada 21 Mei 2022. Walaupun akhirnya dia mengapus tulisannya, namun konten tersebut sudah terlanjur menyebar dimana-mana dan beresiko menyesatkan masyarakat. Perilaku bermasalah Mila ini adalah satu dari rangkaian penyesatan yang rutin dilakukan oleh akademisi dan dokter Indonesia. Masyarakat harus mencecar apa agenda mereka.</p><p>Sebagai contoh, pada 21 Mei, Mila membuat klaim salah tentang riset berskala besar yang menemukan bahwa <em>liwath</em> (penetrasi seksual laki-laki dengan laki-laki lainnya) bukan karena genetik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*gSXxKwXsTNbPeOYO4T8iSA.png" /><figcaption>Twit salah dari Mila Anasanti bahwa perilaku seks bukan karena genetika (21 Mei). Twit sudah dihapus per 25 Mei.</figcaption></figure><p>Klaim Mila adalah kesalahan tafsir atas riset ilmiah. <a href="https://www.harvardmagazine.com/2019/08/there-s-still-no-gay-gene">Benjamin Neale</a>, salah satu peneliti dalam riset tersebut menegaskan bahwa “<em>berbagai efek genetik kecil yang tersebar di seluruh genom menyumbang [ke perilaku seks]</em>.” Dengan kata lain, perilaku seksual tidak dipengaruhi oleh satu gen tunggal, melainkan <a href="https://www.nytimes.com/2019/08/29/science/gay-gene-sex.html">berbagai gen</a>.</p><p>Andrea Ganna, peneliti utama dari riset tersebut, juga langsung membantah twit Mila. Dia mengatakan bahwa twit-twit Mila tidak akurat.</p><h3>Andrea ganna on Twitter: &quot;We find several places in the genome that add up to influence same-sex sexual behavior, instead of just one deterministic &quot;gay gene&quot;. Sexuality is a mix of environmental and biological influences, and our work should not be used in support of spreading anti-LGBTQ sentiment. / Twitter&quot;</h3><p>We find several places in the genome that add up to influence same-sex sexual behavior, instead of just one deterministic &quot;gay gene&quot;. Sexuality is a mix of environmental and biological influences, and our work should not be used in support of spreading anti-LGBTQ sentiment.</p><p>Ganna juga menegaskan bahwa risetnya justru menemukan bahwa beberapa titik di genom manusia mempengaruhi perilaku seks. Jadi, sekali lagi, perilaku seksual bukan efek dari satu gen, melainkan efek dari <a href="https://www.nytimes.com/2019/08/29/science/gay-gene-sex.html">berbagai gen</a>.</p><p>Twit bantahan tersebut menekankan bahwa seksualitas adalah kombinasi dari efek lingkungan dan biologis. Efek lingkungan, menurut Neale, <a href="https://www.harvardmagazine.com/2019/08/there-s-still-no-gay-gene">dimulai dari rahim hingga orang-orang di sekitar kita pada detik ini</a>.</p><p>Kesimpulannya, <a href="https://www.nature.com/articles/d41586-019-02585-6#ref-CR1">seksualitas itu sangat kompleks</a> dan faktor genetik, biologis, serta lingkungan berpengaruh. Temuan ilmiah ini bertentangan dengan twit Mila yang mengatakan bahwa gen tidak ada pengaruhnya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*OMAHv3O7X90_fa9Q3WVfcg.jpeg" /><figcaption>Twit salah Mila Anasanti bahwa faktor lingkungan adalah penentu perilaku seksual (22 Mei). Twit sudah dihapus per 25 Mei.</figcaption></figure><p>Singkat kata, genetika mempengaruhi orientasi seksual. Para peneliti riset tersebut juga menjelaskan temuan mereka dengan bahasa sehari-hari. Penjelasan tersebut dapat dibaca di <a href="https://geneticsexbehavior.info/">geneticsexbehavior.info</a>.</p><h3>Bahaya Terapi Konversi Seksual</h3><p>Mila juga menyebarkan konten-konten menyesatkan bahwa orang bisa sukses mengubah orientasi seksualnya:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Cr6S5Wo-b2rQEF6EgpRIWQ.jpeg" /><figcaption>Twit salah Mila yang mengatakan orientasi seksual bisa diubah. Twit sudah dihapus per 25 Mei.</figcaption></figure><p>Paper yang dimaksud adalah <a href="https://link.springer.com/article/10.1023/A:1025647527010">penelitan problematik</a> Robert L. Spitzer bahwa terapi konversi orientasi seksual (yang bermasalah itu) sukses mengubah orientasi seksual. Masalahnya, orang-orang yang diinterview Spitzer tidak dipilih secara acak, melainkan direkrut dari organisasi yang mengadvokasi terapi konversi.</p><p>Metode riset ini dikritik dalam <em>systematic review</em>-nya <a href="https://onlinelibrary.wiley.com/doi/abs/10.1111/cpsp.12377">Amy Przeworski dkk</a>. dari tahun 2019. Dalam systematic review ini, Przeworski dan koleganya mengumpulkan dan meninjau 35 artikel penelitian ilmiah tentang terapi konversi orientasi seksual. Mereka mengkritik riset Spitzer karena peserta penelitian tidak diseleksi secara acak dan dari populasi yang sangat religius. Akibatnya, hasil penelitiannya sangat bias karena orang-orang dari kelompok tersebut cenderung lebih melaporkan perubahan seksual pasca terapi.</p><p>Przeworski dan koleganya juga menekankan bahwa terapi konversi seksual itu berbahaya. Mereka juga menyarankan bahwa orang-orang yang tidak nyaman dengan orientasi seksualnya untuk mengambil terapi untuk menerima dan merayakan orientasi seksual mereka:</p><blockquote>Terapi yang berupaya untuk mengubah orientasi seksual tidak mungkin berhasil dan, dalam banyak kasus, dapat menyebabkan kerugian yang signifikan bagi pasien. […] Individu yang mengalami konflik antara orientasi seksual mereka dan identitas lain harus mencari terapi afirmasi untuk belajar bagaimana mengintegrasikan identitas ini. — <em>(Przeworski et al., 2019)</em></blockquote><p>Pada tahun 2012, Spitzer <a href="https://link.springer.com/article/10.1007/s10508-012-9966-y">minta maaf secara terbuka karena penelitiannya mendukung terapi konversi seksual</a>. Dia mengatakan bahwa “<em>tidak ada cara untuk menentukan apakah perubahan orientasi seksual [yang disebut di penelitiannya] itu valid</em>.” Berikut ini adalah permintaan maaf dari Spitzer tentang dukungannya ke terapi reparatif (terapi konversi orientasi seksual):</p><blockquote>Saya berutang permintaan maaf kepada komunitas gay karena penelitian saya membuat klaim yang tidak terbukti tentang kemanjuran terapi reparatif. Saya juga meminta maaf kepada setiap orang gay yang membuang waktu dan energi untuk menjalani beberapa bentuk terapi reparatif karena mereka percaya bahwa saya telah membuktikan bahwa terapi reparatif bekerja dengan beberapa individu yang “bermotivasi tinggi”.</blockquote><p>Singkat kata, klaim Mila salah. Terapi konversi seksual tidak terbukti efektif.</p><h3>Misinformasi Soal Bahaya Gay</h3><p>Mila juga menyebarkan informasi sesat bahwa sains mengatakan bahaya gay dan liwath (Mei 21):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*E1g-CPp9YUbqsFI1o_xgcQ.jpeg" /><figcaption>Twit sesat Mila yang mengaitkan orientasi seksual sebagai penyebab HIV. Twit sudah dihapus per 25 Mei.</figcaption></figure><p>Ini adalah klaim menyesesatkan yang mudah dibantah. Orang tertular HIV karena aktivitas beresiko tinggi, seperti hubungan seks yang tidak aman, berhubungan seks dengan banyak orang, dan jarum suntik yang tidak steril. Aktivitas-aktivitas ini bisa dilakukan oleh semua orang, baik yang heteroseksual, homoseksual, dan biseksual. Dengan kata lain, seseorang yang homoseksual tidak lantas menjadi rentan terinfeksi HIV.</p><p>Penularan HIV juga bisa dicegah dengan memakai kondom yang benar atau <a href="https://tirto.id/prep-masuk-indonesia-siapkah-kita-ekzf">melalui terapi PrEP</a>.</p><h3>Penutup</h3><p>Twit-twit Mila sangat jauh dari fakta ilmiah tentang orientasi seksual dan kesehatan seksual. Namun, Mila hanyalah satu dari banyak akademisi dan dokter Indonesia yang secara sistemik terus menerus menyebarkan informasi sesat tentang orientasi seksual. Tahun 2020, dosen-dosen IPB mengadakan <a href="https://twitter.com/hermansaksono/status/1291860051171434496?s=20&amp;t=nsRoMHrs1lHq7-OHNZJQMw">seminar bermasalah</a> tentang “<em>perlunya mencegah kebebasan perilaku seks menyimpang</em>.”</p><p>Seminar ini bermasalah karena orientasi seksual tidak perlu dicegah.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*mUAKi51qVCbT211pOCWPzA.jpeg" /><figcaption>Poster seminar bermasalah yang diadakan oleh Institut Pertanian Bogor (13 Agustus, 2020).</figcaption></figure><p>Tahun 2016, dalam sebuah acara televisi nasional, <a href="https://hermansaksono.com/2016/02/dr-fidiansjah-tentang-lgbt-benar-salah.html">dr. Fidiansjah membuat klaim salah</a> bahwa “<em>orientasi seksual homoseksual adalah gangguan jiwa</em>” sambil mengangkat buku panduan diagnosis gangguan jiwa. Padahal, setelah dicek langsung, buku tersebut justru mengatakan:</p><blockquote>“Orientasi seksual sendiri jangan dianggap sebagai gangguan.” <em>(PPDJG III. 1993)</em></blockquote><p>Perilaku para akademisi dan dokter ini tentu sangat berbahaya karena terus memojokkan warga LGBTQ yang sudah dipinggirkan oleh masyarakat. Privilege sosial yang dimiliki para akademisi dan dokter itu bukannya dimanfaatkan untuk melindungi manusia, tapi justru untuk menyebarkan kebencian. Alih-alih melindungi kekerasan seksual yang tidak konsensual, mereka justru sibuk mengurusi kegiatan konsensual yang pribadi. Kerusakan pada masyarakat yang mereka timbulkan akan menjadi permanen. Kita perlu mencecar para akademisi tersebut dan agenda apa yang sedang mereka giring.</p><p><em>NB: Untuk orang Indonesia, saya memakai konvensi Indonesia yang menyebut dengan nama depan. Untuk orang Amerika Serikat (AS), saya memakai konvensi Amerika Serikat yang menyebut orang dengan nama akhir.</em></p><h4>Bacaan</h4><ul><li>Riset skala besar yang menemukan bahwa faktor genetis mempengaruhi perilaku orientasi seksual (Ganna et al., 2019). (<a href="https://geneticsexbehavior.info/wp-content/uploads/2019/08/ganna190830.pdf">PDF</a>, V<a href="https://geneticsexbehavior.info/">ersi sederhana</a>).</li><li>Systematic review 35 paper yang menunjukkan terapi konversi orientasi seksual tidak efektif dan justru berbahaaya (Przeworski et al., 2020). Dengan kata lain, orientasi seksual bisa serta-merta diubah. (<a href="https://onlinelibrary-wiley-com.ezp-prod1.hul.harvard.edu/doi/full/10.1111/cpsp.12377">Link</a>).</li><li>Artikel Tirto tentang terapi PrEP di Indonesia untuk mencegah penularan HIV. (<a href="https://hermansaksono.medium.com/akademisi-diaspora-indonesia-menyebarkan-kebencian-yang-merugikan-masyarakat-c47eebdae5e7#:~:text=yang%20benar%20atau-,melalui%20terapi%20PrEP,-.">Link</a>).</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c47eebdae5e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stories are just powerful as data in personal health informatics]]></title>
            <link>https://medium.com/harvard-hci/stories-are-just-powerful-as-data-in-personal-health-informatics-66d373d57907?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/66d373d57907</guid>
            <category><![CDATA[accepted-paper]]></category>
            <category><![CDATA[fitness-trackers]]></category>
            <category><![CDATA[chi2021]]></category>
            <category><![CDATA[digital-health]]></category>
            <category><![CDATA[health-equity]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Tue, 11 May 2021 16:49:14 GMT</pubDate>
            <atom:updated>2021-05-13T16:31:09.099Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This article summarizes a </em><a href="https://doi.org/10.1145/3411764.3445087"><em>CHI paper</em></a><em> authored by </em><a href="https://medium.com/@hermansaksono"><em>Herman Saksono</em></a><em>, Carmen Castaneda-Sceppa, Jessica A. Hoffman, Magy Seif El-Nasr, and Andrea G. Parker. At the end of the article, we shared the CHI 2021 video presentation.</em></p><p>After more than a decade after the launch of fitness trackers like Fitbit and Apple Watch, we need to rethink how these personal health informatics should be redesigned. Especially when there is a growing concern of fitness tracker abandonment (<a href="https://doi.org/10.1145/2750858.2807554">Clawson et al., 2015</a>, <a href="https://doi.org/10.1145/2750858.2804250">Epstein et al., 2015</a>). Here, we begin with two critical questions. First, is relying on the person to change their health behavior enough? Second, are these personal informatics tools can equitably beneficial for people of all socioeconomic statuses?</p><p>The answer is no and no.</p><p>First, we don’t develop health behavior in a vacuum. From the perspective of social psychology, our attitudes and behavior are influenced by our social environment. Second, fitness trackers also less beneficial for families of low-socioeconomic status neighborhoods (<a href="https://doi.org/10.1145/3173574.3173883">Saksono et al., 2018</a>), because they deal with a greater barrier to be active, to begin with (<a href="https://www.tandfonline.com/doi/abs/10.1080/01944360608976726">Day, 2006</a>). Burdening work and caregiving duties of single caregivers, compounded by unsafe neighborhoods, making it significantly harder for these families to be active. Furthermore, families in poverty are at the greatest risk of obesity (CDC, 2017), which also makes them at risk of getting diabetes and cardiovascular diseases (<a href="https://doi.org/%2010.1038/ijo.2010.222">Reilly and Kelly, 2011</a>, <a href="https://doi.org/%2010.1038/ijo.2009.61">Umer et al., 2009</a>).</p><p>Thus, in our <a href="https://dl.acm.org/doi/10.1145/3411764.3445087">CHI 2021 paper</a>, we began taking the initial steps to understand how a social personal informatics tool can look like, and whether this redesign works for families of low socioeconomic status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AGGehhGHT_4qXRvxiiLDzA.png" /><figcaption><strong>StoryMap Screenshots</strong>. (1) A family begins with reading a storybook, then (2) the caregiver shared a community story. After that, (3) the caregiver logs their emotions which we will use for the interviews. (4) Families can see other families’ community stories on the story map, and (5) listen to the stories. If a family missed their goal, (6) they can spin the magic needle and get the listen to a community story balloon. Doing so will unlock the story. <em>Note: this figure does not show the actual locations of community stories.</em></figcaption></figure><h3>StoryMap and Social Cognitive Theory</h3><p>We began by developing StoryMap on top of the <a href="https://dl.acm.org/doi/10.1145/3313831.3376686">Storywell app</a> (<a href="https://hermansaksono.medium.com/social-rewards-make-wearable-fitness-tracking-tools-more-motivating-to-use-7e987908cca0">read the Medium article here</a>). In StoryMap, families can do two things. First, they can record their physical activity experiences as stories. This supports self-modeling. Second, they can share their fitness data and stories on a neighborhood map that other families can listen to and get some inspiration. This supports social modeling.</p><p><strong><em>Self-modeling</em></strong> is learning by remembering your own experiences of being successful in the past (e.g., remembering how you managed to exercise).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2cq_aU3oUHoxnpQvGJkS5Q.png" /><figcaption>This chart shows how self-modeling and social modeling can influence health behavior, from the perspective of Social Cognitive Theory (Bandura, <a href="https://psycnet.apa.org/record/1985-98423-000">1986</a>, <a href="https://doi.org/10.1111/1467-839X.00024">1999</a>, <a href="https://www.tandfonline.com/doi/abs/10.1207/S1532785XMEP0303_03">2001</a>).</figcaption></figure><p><strong><em>Social modeling</em></strong> is learning by observing other people similar to you being successful in performing the task. These two modes of learning are the key process in Social Cognitive Theory, a well-established social psychology theory used in many fields (Bandura, <a href="https://psycnet.apa.org/record/1985-98423-000">1986</a>, <a href="https://doi.org/10.1111/1467-839X.00024">1999</a>, <a href="https://www.tandfonline.com/doi/abs/10.1207/S1532785XMEP0303_03">2001</a>), including health and communication. During social modeling, you don’t have to observe the model directly. You can also observe the models’ pictures in action, read their experiences, or listen to their stories.</p><p>We then conducted in-depth qualitative fieldwork to understand whether StoryMap can fulfill its goal. We worked with 16 families of low socioeconomic status backgrounds for five weeks. We asked them to wear MiBand 2 fitness trackers and use the app regularly. And what we found was astounding.</p><h3>The Personal and Social Power of Stories + Data</h3><p>We found that both fitness data and stories are powerful means of health promotion, but they work in different ways. I will discuss the power of data and stories in self-modeling, followed by social modeling.</p><p>During self-modeling, storytelling of successful experiences in the past is a form of reflection that can be very motivating. Caregivers in the study described the power of remembering family exercises in the past. Remembering such experiences reminded them that they have the ability to exercise. Furthermore, remembering family exercises also brings good feelings from the past to the present. And because they felt good, they wanted to be active again at present. This shows that reflecting on past positive experiences is so powerful, and personal informatics should support reflections on past successes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rw06sxlalCULhOQ7pOkY_Q.png" /><figcaption><strong>Reflection as Self-Modeling in Personal Informatics framework</strong>. Reflection, in the form of remembering past successful experiences, can support self-modeling and facilitates healthy behavior.</figcaption></figure><p>During social modeling, listening to peer stories and looking at their fitness data is also motivating. Here are four ways for data and stories from our peers are very valuable:</p><ol><li>Our peer’s data helps us to know our <strong>adequacy</strong>. That is, by seeing how other people similar to us perform, we get a sense of how much is an adequate goal for us. By setting a more reasonable goal and achieving those goals, our self-efficacy goes up.</li><li>Stories from other people tell us the steps we need to take to achieve the <strong>task</strong> of being active. That’s very motivating because knowing how to do a task enhances our self-efficacy and motivation.</li><li>Stories also communicate positive <strong>emotions</strong> after exercising. Such stories, enhance our outcome expectations. In other words, it solidifies your expectations that being active is emotionally satisfying.</li><li>Stories also tell us that our behavior is aligned with our peers’ <strong>norms</strong>. Stories like that validate our actions. We feel confident about our behavior if the outcome expectations are validated by our peers’ norms.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GA-kes1XMfySim8-9DvyTA.png" /><figcaption><strong>Social Modeling in Personal Informatics framework</strong>. The exchange of stories + data in personal informatics can support social modeling and healthy behavior.</figcaption></figure><p>We further expand our theoretical contribution by delineating data and stories. <strong><em>Data</em></strong> represents the outcomes of interest (e.g., using numbers, texts, visuals) that guide future actions and can be easily compared for informing assessments of adequacy. In contrast, <strong><em>stories</em></strong> represent memories that convey processes, progress, emotions, and values related to the actions. More importantly, while data sharing is valuable for social modeling, people also benefit from stories that elucidate the steps to be healthy and the good feelings of living a healthy life.</p><h3>Conclusion</h3><p>In conclusion, social personal informatics tools should incorporate both data and stories into their design because they are both important. People should be able to share stories + data in personal informatics tools so that their peers can learn and get inspired from their social environment.</p><p>Indeed, our peers can share misleading stories. For example, someone may share stories on how to get 20,000 steps — which is an unreasonably high goal. Thus, content moderation is still needed. This is because, after all, such tools are socio-technical systems. But let’s view this kind of tool as an opportunity to complement and equalize expert feedback with more relatable peer suggestions. That is, not as a tool to replace experts, but as a tool for people similar to us to exchange health strategies that work under the unique but shared constraints we lived.</p><p>Put more broadly, <strong>our social peers hold an untapped asset for motivating healthy lives</strong>. These assets are conveyed through relatable stories + data that convey strategies and joys in managing a healthy life. And, more importantly, stories can connect people and help develop relationships. This is very useful for marginalized communities to counter health disparities. Therefore, future work should focus more on how technologies can complement and amplify these social assets towards more grounded health technologies.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ftdpq92lrRGs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dtdpq92lrRGs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Ftdpq92lrRGs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/52f1dd034c19d5d22e5244c4d9769b43/href">https://medium.com/media/52f1dd034c19d5d22e5244c4d9769b43/href</a></iframe><p><em>This article summarizes a CHI </em><a href="https://doi.org/10.1145/3411764.3445087"><em>paper</em></a><em> authored by </em><a href="https://medium.com/@hermansaksono"><em>Herman Saksono</em></a><em>, Carmen Castaneda-Sceppa, Jessica A. Hoffman, Magy Seif El-Nasr, and Andrea G. Parker. At the end of the article, we shared the CHI 2021 video presentation.</em></p><p><em>Get the </em><a href="https://dl.acm.org/doi/10.1145/3411764.3445087"><em>full paper</em></a><em> at the ACM Digital Library. Storywell for Android is an open-source project, we invite you to contribute to the </em><a href="https://github.com/WellnessLab/storywell_android"><em>source code</em></a><em> and </em><a href="https://github.com/WellnessLab/storywell_content"><em>the stories</em></a><em>.</em></p><p><em>This material is based upon work supported by the National Science Foundation under Grant Number #1618406. This study was made possible through generous engagement from the participating families and community organizations, including Mattapan Food and Fitness Coalition, Smart from the Start, and Raising a Reader Massachusetts. We would like to thank Amanda Carreiro and Arushi Singh for contributing to the story and the illustration development as well as our colleagues at the Wellness Technology Lab for their tremendous support.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66d373d57907" width="1" height="1" alt=""><hr><p><a href="https://medium.com/harvard-hci/stories-are-just-powerful-as-data-in-personal-health-informatics-66d373d57907">Stories are just powerful as data in personal health informatics</a> was originally published in <a href="https://medium.com/harvard-hci">Harvard HCI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bank Sentral Perlu Mengembalikan Perempuan di Uang Kertas]]></title>
            <link>https://hermansaksono.medium.com/bank-sentral-perlu-mengembalikan-perempuan-di-uang-kertas-88cddc694f05?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/88cddc694f05</guid>
            <category><![CDATA[feminism]]></category>
            <category><![CDATA[bankindonesia]]></category>
            <category><![CDATA[desain]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Thu, 29 Apr 2021 11:26:20 GMT</pubDate>
            <atom:updated>2021-04-29T11:27:02.058Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Saya dan </em><a href="https://medium.com/u/2e30242abc82"><em>Sofia Kartika</em></a><em> menulis </em><a href="https://www.kompas.id/baca/opini/2021/04/26/bank-sentral-perlu-mengembalikan-perempuan-di-uang-kertas/"><em>opini Kompas</em></a><em> (4/26/2021) tentang desain uang kertas rupiah yang meminggirkan peran penting perempuan dalam pembangunan.</em></p><p>Bank Indonesia perlu memperbanyak potret pahlawan perempuan pada desain uang kertas di masa datang. Saat ini, tujuh dari delapan desain uang kertas rupiah didominasi gambar pahlawan laki-laki. Di sisi sebaliknya, hampir semua bergambar perempuan penari tradisional.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MVFmdGGgjbH_iluBX9W6kw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BmFRbgecMQm2et9Z66191Q.jpeg" /><figcaption>Desain-desain uang kertas Rupiah edisi 2016. Kiri adalah sisi pahlawan, kanan adalah sisi kesenian.</figcaption></figure><p>Dengan desain ini, negara menyampaikan pesan tersirat bahwa tugas laki-laki adalah menjadi tokoh, sementara perempuan bertugas menari dan menghibur masyarakat. Bahwa desain uang tahun 2016 ini beredar tanpa banyak kontroversi, justru menegaskan bahwa masyarakat kita telah tanpa sadar mengamini paham jender yang tidak adil.</p><p>Walaupun nilai nominal uang lebih utama daripada desainnya, desain menyimbolkan kepedulian negara. Saat ini, perempuan belum mendapat kepedulian yang memadai. Partisipasi perempuan di dunia kerja formal stagnan di 54 persen, tetapi kekerasan terhadap perempuan dan pernikahan dini terus meningkat setiap hari. Artinya, kita perlu dobrakan untuk menyelesaikan permasalahan rumit ini, termasuk memperbaiki pilihan desain uang.</p><p>Uang kertas bukan sekadar tinta yang melekat pada kertas serat kapas. Tinta tersebut juga membentuk simbol-simbol yang penting. Tinta yang membentuk ”100 000” membawa simbol yang senilai dengan 1 kilogram cabai rawit merah. Demikian juga tinta yang membentuk gambar laki-laki pahlawan dan perempuan penari tradisional. Mereka menyimbolkan peran perempuan di masyarakat.</p><p>Tentu kita harus menghargai BI yang menyertakan keragaman seni Nusantara dalam desain uang. Kita juga harus mengapresiasi para pekerja seni perempuan yang telah memeragakan kesenian tersebut. Namun, kita juga perlu menilik tujuan kesenian tersebut.</p><p>Ambil contoh tari gambyong dari Jawa Tengah yang muncul di uang kertas Rp 5.000. Dalam tradisi bangsawan Jawa, tari gambyong digunakan untuk menyambut tamu. Dengan kata lain, uang kertas Rp 5.000 mengusung simbol bahwa peran perempuan itu menyambut tamu dengan gerakan badannya.</p><p>Padahal, perempuan Indonesia telah terlibat lebih sentral dalam kesenian, yaitu sebagai pencipta karya seni. Uang kertas bisa menampilkan perempuan pengarang, pelukis, pemusik, atau pencipta tari, seperti dr Bulantrisna Djelantik. Kita juga perlu terus mengangkat tokoh-tokoh perempuan seperti SK Trimurti dan Ruhana Kuddus untuk menegaskan bahwa Indonesia dibangun oleh kerja sama perempuan dan laki-laki.</p><p>Adanya desain uang yang tidak memihak perempuan ini tidak berarti BI telah sengaja meminggirkan perempuan. BI adalah korban dari budaya patriarki yang mengalir dalam tiap denyut interaksi sosial kita. Budaya ini mewajarkan laki-laki mendominasi politik dan ekonomi formal, sementara tugas perempuan dibatasi di dapur, melahirkan anak, dan menghibur laki-laki. Tanpa sadar, BI dan masyarakat kita telah meminggirkan perempuan karena budaya patriarki ini sudah lama, turun-temurun.</p><p>Oleh karena budaya patriarki mewajarkan pembagian peran jender yang kaku, kita tidak lagi mempertanyakan peran jender. Kita tidak lagi mempertanyakan kerugian yang ditanggung masyarakat akibat minimnya peran laki-laki dalam pengasuhan anak dan sedikitnya peran perempuan di dunia kerja.</p><p>Padahal, penelitian McKinsey di tahun 2015 mengatakan bahwa meningkatnya keterlibatan perempuan dalam bisnis akan membawa gagasan dan bakat-bakat baru yang menggenjot profit. Implikasinya, bisnis harus menciptakan lingkungan kerja yang ramah untuk perempuan, termasuk menyediakan cuti haid dan cuti hamil yang memadai serta cuti kehamilan istri untuk suami.</p><p>Namun, desain uang ini bukan sekadar masalah simbol, melainkan juga soal sains kognitif. Dalam psikologi sosial, perilaku manusia cenderung meniru sekelilingnya. Manusia, secara alami, lebih termotivasi untuk mengikuti jejak orang yang karakteristiknya mirip dengan diri mereka. Contohnya, riset selama empat dekade menunjukkan bahwa perempuan cenderung lebih mudah mempelajari keterampilan baru jika diberi contoh oleh perempuan yang sukses.</p><p>Dengan kata lain, partisipasi produktif perempuan di masyarakat dan dunia kerja bisa bertambah jika kita banyak melihat kiprah produktif perempuan. Memang, memperbanyak contoh bukanlah satu-satunya strategi.</p><p>Masyarakat juga perlu mendorong pembagian tugas domestik rumah tangga yang adil antara suami dan istri. Pemerintah dan dunia bisnis harus menciptakan lingkungan kerja yang ramah terhadap perempuan. Aktivis perempuan telah memperjuangkan ini selama puluhan tahun dan kita harus terus mendukung mereka.</p><p>Akan tetapi, yang tidak kalah penting adalah menggaungkan contoh kesuksesan perempuan untuk menginspirasi anak-anak bahwa mereka punya pilihan karier yang beragam, mulai dari menjadi tokoh penting di masyarakat hingga menjadi ibu/ayah rumah tangga yang mengasuh anaknya.</p><p>BI bisa menggaungkan kesuksesan perempuan dengan redesain uang kertas yang mewakili peran besar perempuan dalam sejarah Indonesia. Redesain ini akan mendobrak paham usang dan sekaligus memenuhi janji kebinekaan di setiap lembar uang rupiah: bahwa Indonesia beragam dalam etnis, suku, dan juga dalam peran jender.</p><p>Dengan redesain ini, BI akan menginspirasi generasi muda bahwa kesempatan untuk berkarya di negara ini terbuka luas untuk semua jender. Sekaligus mendukung pelaksanaan pembangunan yang responsif jender.</p><p><strong>Herman Saksono, </strong><em>peneliti postdoktoral, Harvard University</em></p><p><strong>Sofia Kartika</strong>, <em>pemerhati isu gender dan pembangunan, Tokyo, Jepang</em></p><p>Catatan: sayangnya kebijakan Kompas cuma memperbolehkan satu orang pengarang untuk naskah opini. Akibatnya, artikel hanya menyebutkan nama saya, walaupun peran Sofia sangat penting dalam memberi argumen dan data yang jitu.</p><p><strong>Baca di kompas.id</strong>: <a href="https://www.kompas.id/baca/opini/2021/04/26/bank-sentral-perlu-mengembalikan-perempuan-di-uang-kertas/">https://www.kompas.id/baca/opini/2021/04/26/bank-sentral-perlu-mengembalikan-perempuan-di-uang-kertas/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88cddc694f05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Community power can boost vaccine uptake]]></title>
            <link>https://hermansaksono.medium.com/community-power-can-boost-vaccine-uptake-5cf61a9b4949?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cf61a9b4949</guid>
            <category><![CDATA[vaccines]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[racism]]></category>
            <category><![CDATA[health-technology]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Wed, 13 Jan 2021 11:25:47 GMT</pubDate>
            <atom:updated>2021-03-16T19:13:46.047Z</atom:updated>
            <content:encoded><![CDATA[<h3>Nature: Community power can boost vaccine uptake</h3><p><em>In our </em><a href="https://www.nature.com/articles/d41586-021-00049-4"><em>correspondence article in Nature</em></a><em>, we argued how medicine and technology must reckon with historical racism or else we run the risk of the vaccine worsening the COVID-19 pandemic disparity. We provide our expanded arguments here.</em></p><p>By <a href="https://medium.com/@renee.c.wurth">Renee C. Wurth</a> and <a href="https://medium.com/@hermansaksono">Herman Saksono</a></p><p>With death counts from COVID-19 mounting ever higher, all eyes are on the recently-approved vaccines to save us. But these vaccines may not help everyone equally. <a href="http://go.nature.com/2k3kpmc">Vaccine hesitancy</a> among Communities of Color — a result of histories of racism and marginalization — can widen <a href="https://www.cdc.gov/coronavirus/2019-ncov/community/health-equity/racial-ethnic-disparities/increased-risk-illness.html">health disparities</a> during the COVID-19 pandemic.</p><p>At first glance, the vaccine appears it will be equally beneficial. The two frontrunner vaccines have <a href="https://www.pfizer.com/science/coronavirus/vaccine">tried</a> to make clinical trials more demographically representative, and the government has even <a href="https://www.cdc.gov/vaccines/imz-managers/downloads/COVID-19-Vaccination-Program-Interim_Playbook.pdf">proposed priority access </a>of that vaccine for racial and ethnic groups at higher risk. Yet, as <a href="https://static1.squarespace.com/static/5f85f5a156091e113f96e4d3/t/5fb72481b1eb2e6cf845457f/1605837977495/VaccineHesitancy_BlackLatinx_Final_11.19.pdf">recent polls reveal</a>, demographically representative trials and proposed access do not make up for the deep history of racism that eroded the trust of Black Americans.</p><p>Simply put, equitable clinical trials and distribution policy alone cannot fix the fractured relationship between the world of science with Black Americans.</p><p>With the long history and continued codification of anti-Black <a href="https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(20)32032-8/fulltext">racism in medicine</a>, the vaccine feels riskier than the disease. In reference to the <a href="https://www.cdc.gov/tuskegee/timeline.htm">infamous Tuskegee study</a>, one survey respondent <a href="https://www.covidcollaborative.us/content/vaccine-treatments/coronavirus-vaccine-hesitancy-in-black-and-latinx-communities">stated</a>, “<em>the federal government has injected a vaccine to black people in the past which turned out to be a death warrant for black men.</em>”</p><p>To prevent the pandemic disparity from widening more, there needs to be a direct acknowledgment of historical racism that has harmed and seeded mistrust for Black Americans.</p><p>By acknowledging the history of racism in medicine, we can advance to the next steps of promoting vaccination. Health organizations, which have historically sided with the status quo, must start to share more decision-making power in the work of health promotion. This includes giving <a href="https://en.wikipedia.org/wiki/Community-based_participatory_research">Communities of Color more control in health promotion</a> — recognizing that they hold the knowledge of effective health messaging.</p><p>Giving communities more decision-making power in health promotion has many upsides when compared to <a href="https://www.cdc.gov/nchs/data/hus/hus16.pdf">the failures of previous</a> national health campaigns. More community control allows for culturally appropriate messaging that can be promoted by familiar faces. When people in the community, especially local healthcare providers, create new <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5861789/">social norms</a> by advocating and educating about vaccines, <a href="https://academic.oup.com/her/article/32/6/473/4705845">acceptance goes up</a>.</p><p>At the heart of communities is a sense of shared identities built upon shared histories of social interactions. Stories and art often take center stage, embodying emotions and liveliness to convey important messages in ways that statistics cannot. Storytelling can provide a trusted source of information — as shown in <a href="https://www.sciencedirect.com/science/article/abs/pii/S0738399120302019">a study</a> where Black American breast cancer survivors effectively used their stories to encourage other women to get screened. This is true for <a href="https://www.sciencedirect.com/science/article/abs/pii/S0738399120302019">other health interventions</a>, from promoting smoking cessation to managing hypertension and diabetes.</p><p>The sharing of these stories and expressions is best done in person, whether that be at the community health center, church, or local events. So how can we tether vaccine success to something that relies on a pandemic impossibility? Technology companies can play a role in remedying racism in health. Yes, technology by itself may <a href="http://eprints.gla.ac.uk/150576/13/150576.pdf">not be a solution</a> to the inequities of the pandemic, but communities have already found creative educational tools that are “virtual-friendly”.</p><p>Communities are experts at innovative messaging. The community of Black nurses and doctors curated a YouTube video message called <a href="https://www.youtube.com/watch?v=QoPSHB5gBow&amp;feature=youtu.be">Love Letter to Black America</a>, through which they educate on vaccination while directly addressing concerns caused by shared injustices. The health promotional mediums of <a href="https://pubmed.ncbi.nlm.nih.gov/20097996/">creative writing, drawing, and painting</a> are already commonly used by Communities of Color and can easily be shared digitally. Whether it be <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4351776/">American Indian youth</a> making comic books about the risk of smoking, or <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4625467/">Latinx teens designing fotonovelas</a> to educate about vaccination, art has proven a valuable tool for promoting health within communities.</p><p>Community designed interventions not only create health promotional materials, but they also strengthen their social fabric in the process. Thus, to play a role in mitigating health disparities, technology companies and health organizations must collaborate as equals with Communities of Color, which involves sharing the decision-making power in health promotion. Technology companies cannot merely <a href="https://www.mobihealthnews.com/news/verily-contests-report-san-francisco-alameda-severed-ties-its-covid-testing-program">bear the gift of interventions</a> without investing in the communities. Rather than creating technology for communities, allowing communities to take the lead in co-creating novel technological innovations ensures health technologies do not widen health inequalities.</p><p>The vaccine’s effectiveness will not be determined solely in the lab. New technology does not erase the harm caused by the racist employment of old technology. It will depend on our ability to address the past and give power to communities to support their future.</p><p><a href="https://www.hsph.harvard.edu/josiemer-mattei/renee-wurth/"><em>Renee C. Wurth, Ph.D.</em></a><em>, (@rwurth) is a population health scientist. She received her Ph.D. from Northeastern University and conducted her postdoctoral training at the T.H. Chan School of Public Health at Harvard University.</em></p><p><a href="https://crcs.seas.harvard.edu/people/herman-saksono"><em>Herman Saksono, Ph.D.</em></a><em> (@hermansaksono), is a digital health equity scientist. He is currently a postdoctoral fellow at Harvard University’s Center for Research in Computation and Society. He is a Fulbright alumnus and received his Computer Science Ph.D. from Northeastern University.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cf61a9b4949" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Social rewards make wearable fitness tracking tools more motivating to use]]></title>
            <link>https://hermansaksono.medium.com/social-rewards-make-wearable-fitness-tracking-tools-more-motivating-to-use-7e987908cca0?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e987908cca0</guid>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[family-health]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[wearables]]></category>
            <category><![CDATA[gamification]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Tue, 12 Jan 2021 23:58:39 GMT</pubDate>
            <atom:updated>2021-01-13T03:48:05.223Z</atom:updated>
            <content:encoded><![CDATA[<h3>Social rewards make fitness wearables more motivating to use</h3><p><em>This article summarizes a CHI 2020 </em><a href="https://dl.acm.org/doi/abs/10.1145/3313831.3376686"><em>paper</em></a><em> authored by </em><a href="https://medium.com/@hermansaksono"><em>Herman Saksono</em></a><em>, Carmen Castaneda-Sceppa, Jessica Hoffman, Magy Seif El-Nasr, Vivien Morris, and Andrea G. Parker. At the end of the article, we shared the video presentation.</em></p><p>Rewarding app users with opportunities for social interactions might be the key to make users stay with their fitness wearables. This finding from our study sheds some optimism amid the growing concern that <a href="https://doi.org/10.1145/2750858.2804250">people are abandoning their fitness wearables</a>.</p><p>In 2019, we evaluated a smartphone app called <a href="https://play.google.com/store/apps/details?id=edu.neu.ccs.wellness.storytelling&amp;hl=en_US&amp;gl=US"><strong>Storywell</strong></a><strong> </strong>with a goal to promote family fitness. One key design element in Storywell app is what we call <em>social rewards</em> gamification —rewards that initiate social interactions, satisfy the need for social connectedness, and thus heighten the intrinsic motivation to use a system.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F7kZEvTmg-S4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D7kZEvTmg-S4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7kZEvTmg-S4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/aa9d7ed0a5581bbb563c6b8d4b7832fc/href">https://medium.com/media/aa9d7ed0a5581bbb563c6b8d4b7832fc/href</a></iframe><p>Why focusing on families? Physical activity behavior develops at a young age, so interventions for families is broader in impact because the interventions help the caregivers to be active, and the caregivers help their children to be active. Physical activity is also a difficult-to-attain behavior that benefits from social connectedness. Decades of health research shows that support from family and friends helps people to be more active, both for <a href="https://pubmed.ncbi.nlm.nih.gov/12471307/">adults</a> and <a href="https://pubmed.ncbi.nlm.nih.gov/17762356/">kids</a>.</p><p>This is how social rewards in Storywell works. Families with young children will receive storybook chapters when both the caregiver and the child completed their fitness goals. There are also questions for caregivers and the child to record their answers verbally. At the end of the chapter there will be a cliffhanger, and to continue reading the family must meet another fitness goal. The goal is, the feeling of relatedness while reading the storybook chapter will motivate families to continue meeting their goals and unlock the next chapters.</p><figure><img alt="Screenshots of the Storywell app." src="https://cdn-images-1.medium.com/max/1024/1*x_O2VhFy2k2cKoouMR9Mrw.png" /><figcaption>Storywell’s screenshots of the list of storybooks (left), reading a storybook (center), and reflection question prompt in which families can audio-record their stories (right).</figcaption></figure><p>The idea of social rewards came from our <a href="https://doi.org/10.1145/2675133.2675159">Spaceship Launch exergame</a> study which was guided by <a href="https://doi.org/10.1037/0003-066X.55.1.68"><em>Self-Determination Theory</em></a>, a theory of human motivation from psychology. This theory said that people gained intrinsic motivation from three sources: autonomy, competence, and relatedness. <strong><em>Autonomy</em></strong> is the feeling of doing something of your own volition. <strong><em>Competence</em></strong> is the feeling of being able to complete a task. <strong><em>Relatedness</em></strong> is the feeling of social connectedness to others or caring for them. Sometimes relatedness is called belongingness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kDCrGx1rq8fwK9clScr8wQ.png" /><figcaption>According to Self-Determination Theory, we can be more intrinsically motivated if our three psychological needs are met: autonomy, competence, and relatedness (social connectedness).</figcaption></figure><p>Of course, <a href="https://doi.org/10.1145/1979742.1979575">gamification</a> is not new. Using game design elements in a non-gaming context has been used for years — including virtual rewards gamification such as trophies, badges, ribbons. But, most virtual rewards are only used to make fitness tracking users felt more competent. In fact, one study found that <a href="https://ieeexplore.ieee.org/document/6240359?arnumber=6240359">virtual rewards as lame, unnecessary, and gimmicky</a>. Indeed, the feeling of competence can help people to be intrinsically motivated but designing only for giving the feeling of competence does not fully leverage the other sources of intrinsic motivation such as relatedness.</p><p>We did a preliminary evaluation of the first prototype of Storywell in 2019 with 18 families in Northeast U.S. city. We prioritized the study for families of low-socioeconomic status neighborhoods because decades of marginalization often led these families to a higher risk of obesity. Such a higher risk frequently comes from the cost of sports programs, burdensome jobs, and limited public sports facilities.</p><p>By working closely with 18 caregivers and 18 children who used Storywell for three months, we were able to glean deep insights about their experience with the app. This is indeed the goal of qualitative interviews: to get an in-depth understanding of how people experience technology.</p><p>What we found was, yes, caregivers enjoyed using the Storywell app and getting the social rewards. For instance, one mother of five (39) said that the storybook chapters feel like a treat. “<em>You get to spend time with your daughter. So, you’re able to do something together</em>,” said the mother.</p><p>But we also found something more motivating. It’s from the questions inside the storybook chapters. Caregivers enjoyed being able to discover something new about their children. A mother of three (33) said that seeing her daughter trying to get her steps to unlock the chapters was joyful because it shows that her daughter is very interested in reading. She said, “<em>It brought a lot of joy to me to watch my daughter’s eyes, her overall excitement in order to get a book.</em>”</p><p>It is no surprise that learning and education are caregivers’ main aspirations for their children. Such desire is more common among <a href="https://link.springer.com/article/10.1007/s10964-008-9314-7">low-income racial and ethnic minority caregivers</a>. And here’s what we highlight in our study, for the caregivers, social rewards were satisfying from <a href="https://psycnet.apa.org/record/1995-29052-001">another dimension of relatedness</a>: the feeling of caring for their loved ones. Namely, by supporting their kids&#39; education.</p><p>Supporting children’s education is one of the key aspirations of many caregivers of low-socioeconomic status neighborhoods in our study. For example, in our 2018 study, one mother (54) said that her daughter’s education is very important because she wanted to see her daughter get a good job and live in a safer neighborhood. “<em>It’s crazy out here, people killing other people over stupid shit, you know what I’m saying?</em>” said the mother.</p><p>In short, our study demonstrated that social rewards are intrinsically motivating because it touches on two important facets of relatedness. One is the need to engage in social interactions with our loved ones. The other is, we desire to care for our loved ones, supporting their life and their wellbeing.</p><p>The latter, as shown by our study, satisfies our complex desires and relationships with the people we care about. With that in mind, to support the motivation to use wearable fitness trackers (and health apps generally), it’s very important to include designs that met people’s intrinsic desires in which simple gamification cannot do.</p><p><em>View the </em><a href="https://www.youtube.com/watch?v=pt9TKQooelw&amp;feature=emb_title"><em>video presentation on YouTube</em></a><em> and get the </em><a href="https://dl.acm.org/doi/abs/10.1145/3313831.3376686"><em>full paper</em></a><em> at the ACM Digital Library. Storywell for Android is an open-source project, we invite you to contribute to the </em><a href="https://github.com/WellnessLab/storywell_android"><em>source code</em></a><em> and </em><a href="https://github.com/WellnessLab/storywell_content"><em>the stories</em></a><em>.</em></p><p><em>This material is based upon work supported by the National Science Foundation under Grant Number #1618406. This study was made possible through generous engagement from the participating families and community organizations, including Mattapan Food and Fitness Coalition, Smart from the Start, and Raising a Reader Massachusetts. We would like to thank Amanda Carreiro and Arushi Singh for contributing to the story and the illustration development as well as our colleagues at the Wellness Technology Lab for their tremendous support.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e987908cca0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fitness Wearables and Families: Limited Conversations Can Lead To Limited Benefits]]></title>
            <link>https://medium.com/acm-chi/fitness-wearables-and-families-limited-conversations-can-lead-to-limited-benefits-ba90fc7e542c?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba90fc7e542c</guid>
            <category><![CDATA[wearables]]></category>
            <category><![CDATA[fitness-trackers]]></category>
            <category><![CDATA[sensemaking]]></category>
            <category><![CDATA[health-technology]]></category>
            <category><![CDATA[family]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Wed, 24 Apr 2019 09:23:04 GMT</pubDate>
            <atom:updated>2019-04-24T09:23:04.376Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Fitness Wearables and Families: Limited Conversations May Lead To Limited Benefits</strong></h3><p><em>This article summarises a </em><a href="https://wellness.khoury.northeastern.edu/saksono_et_al_312/"><em>paper</em></a><em> authored by Herman Saksono, Carmen Castaneda-Sceppa, Jessica Hoffman, Magy Seif El-Nasr, Vivien Morris, and Andrea G. Parker. This paper will be presented at </em><a href="https://chi2019.acm.org/"><em>CHI 2019</em></a><em>, a conference of Human-Computer Interaction, on Tuesday 7th May 2019 at 16:00 in the session Sport and Fitness.</em></p><p>Fitness tracking wearables, such as Fitbit and the Apple Watch, have been touted as valuable platforms for helping people to exercise more. However, research shows that <a href="http://dx.doi.org/10.1145/3025453.3025690">within 2 months people often stop using their trackers or even abandon them altogether</a>. This waning user engagement suggests that current fitness trackers may not have a long-term positive impact on users’ wellness. Our 2-month study of family physical activity tracking further explains why waning engagement limits the impact of fitness trackers: participants in our study rarely thought about their digital fitness data in a way that could help them to be active in the long-term.</p><p>In our study, we invited 14 families with young children to wear Fitbits and UNICEF Kid Power bands. We also asked them to use the accompanying mobile apps. All families lived in low-income neighborhoods, where there are <a href="https://doi.org/10.1080/01944360608976726">increased barriers to being physically active</a>. We are focused on families because <a href="https://doi.org/10.1249/mss.0b013e318059bf35">family</a> <a href="http://www.ncbi.nlm.nih.gov/pubmed/12471307">support</a> has been shown to be strongly linked to physical activity. We then conducted three in-depth interviews with participants to understand their experiences with the wearables and the companion mobile apps.</p><p>We found that very few families in our study discussed how their exercise behavior (as captured and visualized by their fitness trackers) can make them healthier. Most families only discussed the step counts on their trackers or discussed how they got these step counts. They rarely engaged in deeper reflection on how their fitness behaviors affect their health. Some families did not discuss their fitness data at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y2xpQfO75w3hvywcpOM2fg.png" /><figcaption>Very few families discussed how their steps count in their trackers can make them healthier (Causal Insight, bottom row). This framework integrated Kolb’s experiential learning stages (1984), Fleck’s reflection levels (2012), and Choe et al.’s insight types (2017).</figcaption></figure><p>Discussing the meaning of physical activity data is an important step towards identifying fitness support structures, which are <a href="https://doi.org/10.1145/1978942.1979396">crucial for helping people engage in regular physical activity</a>. What are these support structures? They refer to the mechanisms of support that make healthy behaviors more attainable. Decades of health research has shown that these sources of support operate at the <em>personal</em>, <em>interpersonal</em>, and <em>community</em> levels (<a href="https://www.ncbi.nlm.nih.gov/pubmed/12471307/">Trost et al., 2002</a>; <a href="https://doi.org/10.1249/mss.0b013e318059bf35">Van Der Horst et al., 2012</a>). This research shows that individuals who are active often have activities that they find enjoyable, interact with people who are supportive of their fitness behavior, and feel safe exercising in their neighborhood. Therefore, in-depth discussions of fitness data can help individuals learn that their fitness levels can go up if they identify their own support structures.</p><p>Our data helps to explain why some families discussed their fitness data in more depth with their children. We found that in-depth fitness data conversations often arose among families who had experienced prior health-related challenges. Specifically, for caregivers with prior bodyweight struggles, their children’s health appeared to be a particular priority, and this health value in turn seemed to spur in-depth fitness data conversations about the benefits of physical activity.</p><p>We also found that parents who were not engaged with their fitness data were often more focused on their children’s education. Of course, it is not surprising that parents prioritized their children’s education. However, for families in our study, this value was particularly important because they believed that having a college education will enable their children to live in a safer neighborhood when they grow up.</p><p>In summary, parents’ broader life goals for their children — safety, education, and helping them learn the value of physical activity — seemed to impact families’ level of engagement with fitness data. The benefits of fitness trackers were more relatable for parents who were focused on helping their children learn why being active is important. For parents who were more focused on their children’s education, the benefits of fitness trackers were less immediately clear. Although research has shown that physical activity has positive effects on children’s learning, our study suggests that these benefits are not being clearly communicated by fitness tracking wearables.</p><p>Our study highlights that parents may have broader goals that they wish to pursue, beyond low-level behavioral change such as improving physical activity, diet, sleep, etc. For example, helping their children to get an education that affords them a safe life. We encourage the design of health technologies that more clearly communicate how fitness logging and reflection can support the attainment of such life goals (e.g., by emphasizing the connection between physical activity and learning). Such a design agenda may be a valuable way of nurturing user engagement, and accompanying the benefits that fitness technologies can provide.</p><p>For more details, read the <a href="https://wellness.khoury.northeastern.edu/saksono_et_al_312/">paper</a> published at CHI 2019:</p><p>Herman Saksono, Carmen Castaneda-Sceppa, Jessica Hoffman, Magy Seif El-Nasr, Vivien Morris, and Andrea G. Parker. 2019. In CHI Conference on Human Factors in Computing Systems Proceedings (CHI 2019), May 4–9, 2019, Glasgow, Scotland UK. ACM, New York, NY, USA, 14 pages.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba90fc7e542c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/acm-chi/fitness-wearables-and-families-limited-conversations-can-lead-to-limited-benefits-ba90fc7e542c">Fitness Wearables and Families: Limited Conversations Can Lead To Limited Benefits</a> was originally published in <a href="https://medium.com/acm-chi">ACM CHI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rekursi Untuk Dynamic Programming]]></title>
            <link>https://medium.com/halo-dunia/rekursi-untuk-dynamic-programming-9385fe05aaf7?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/9385fe05aaf7</guid>
            <category><![CDATA[dynamic-programming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[recursion]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Wed, 01 Aug 2018 04:16:38 GMT</pubDate>
            <atom:updated>2018-08-13T13:09:03.003Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Problema</em></strong>: Anda menciptakan bahan kimia yang dapat membuat telur tidak gampang pecah. Untuk membuktikan kekuatan telur itu, Anda membuat percobaan di sebuah gedung 100 lantai. Anda ingin mencari tahu lantai berapakah yang aman untuk menjatuhkan telur. Akan tetapi, Anda cuma punya dua buah telur (sebut saja telur #1 dan telur #2). Bagaimana caranya meminimalisir jumlah percobaan supaya tidak kebanyakan naik-turun gedung?</p><p>Di bagian sebelumnya, saya membahas <a href="https://medium.com/halo-dunia/mengenal-lagi-rekursi-bagian-1-2e6aa6a5318d">rekursi struktural</a> dan <a href="https://medium.com/halo-dunia/mengenal-generative-recursion-rekursi-yang-lebih-dalam-3bd245d3311">rekursi generatif</a> untuk permasalahan-permasalahan yang relatif sederhana. Di bagian ketiga, saya akan memakai rekursi <em>dynamic programming</em> dan <em>memoization</em> untuk menyelesaikan permasalahan yang lebih rumit.</p><p>Kembali ke permasalahan awal. Anda bisa mencoba naik ke lantai 1, lalu menjatuhkan telur #1. Jika tidak pecah, Anda bawa telur #2 ke lantai 2, dan Anda jatuhkan dari sana. Jika tidak pecah, Anda turun ke lantai 1, ambil telur #2, naik ke lantai 3, lalu jatuhkan. Dan seterusnya. Umpama telur #2 akan pecah di lantai 99, maka Anda harus naik turun tangga 98 kali.</p><p>Apakah ada cara yang lebih? Ada. Lakukan percobaan ini:</p><p>Ambil telur #1 dan telur #2, lalu bawa naik ke sebuah lantai. Kita lambangkan lantai tersebut lantai <strong><em>A</em></strong>. Jatuhkan telur #1 dari lantai <strong><em>A.</em></strong> Ada dua kemungkinan:</p><ul><li><em>Jika telur #1 </em><strong><em>pecah</em></strong>, maka turunlah ke lantai 1, lalu uji coba lagi dengan telur #2 dari lantai 1 ke lantai <strong><em>A</em></strong>.</li><li><em>Jika telur #1 </em><strong><em>tidak</em></strong><em> </em><strong><em>pecah</em></strong>, maka naik ke lantai di atas lantai <strong><em>A</em></strong><em>. </em>Kita lambangkan lantai tersebut lantai <strong><em>B</em></strong>. Jatuhkan telur #1 dari lantai <strong><em>B</em></strong>, dan ulangi lagi percobaan di atas.</li></ul><p>Pertanyaannya, bagaimana kita bisa tahu lantai <strong><em>A</em></strong> itu lantai yang mana? Dan berapakah jumlah percobaan yang paling minimal?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*8TIkFWTbBG10DZ89mXQxYA.png" /></figure><h3>Solusi Rekursi dengan Dynamic Programming</h3><p>Setelah kita menjatuhkan dari lantai <strong><em>A</em></strong>, maka sebetulnya permasalahan menjadi lebih sederhana. Di awal, permasalahan ada di antara lantai 1 hingga lantai 100. Kini permasalahan ada di lantai-lantai ini: (i) di lantai 1 hingga <strong><em>A</em></strong>, atau (ii) di lantai A hingga 100. Jika telur pecah dan hanya tersisa satu telur, maka kita tinggal mencoba dari lantai 1 hingga <strong><em>A</em></strong>. Jika telur tidak pecah, maka kita masih punya 2 telur dan kita bisa mencoba menjatuhkan telur #1 dari lantai <strong><em>B</em></strong>.</p><p>Di lantai B, jika telur #1 pecah dan hanya tersisa satu telur, maka kita tinggal mencoba menjatuhkan telur #2 dari lantai <strong>A</strong> hingga <strong><em>B</em></strong>. Jika telur tidak pecah, maka kita punya 2 telur dan kita bisa mencoba menjatuhkan telur #1 di lantai <strong><em>C</em></strong> yang di atas lantai <strong><em>B</em></strong>. Dan seterusnya.</p><p>Perhatikan bahwa ini adalah ciri sebuah rekursi di mana permasalahan menjadi lebih sederhana di tiap langkah rekursi. Sebut saja ini permasalahan jumlah percobaan minimum atau JPM. Permasalahan JPM bisa kita lambangkan dengan rekursi yang berbentuk seperti ini:</p><pre>JPM(<strong><em>n</em></strong> telur, <strong><em>k</em></strong> lantai):<br>= 1 jika cuma ada 1 lantai, atau<br>= <strong><em>k</em></strong>, jika cuma tersisa 1 telur, atau<br>= minimum(1 + maksimum(JPM(<strong><em>n</em></strong>-1, <strong><em>x</em></strong>-1), JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-<strong>x</strong>)) utk <strong><em>x</em></strong> = 1 ke <strong><em>k</em></strong></pre><p>Ini mengingatkan kita pada bentuk rekursi struktural di <a href="https://medium.com/halo-dunia/mengenal-lagi-rekursi-bagian-1-2e6aa6a5318d">Bagian 1</a>. Pilihan 1 dan 2 adalah tahapan trivial, sementara pilihan 3 adalah tahapan non-trivial. Perhatikan <a href="https://medium.com/halo-dunia/mengenal-lagi-rekursi-bagian-1-2e6aa6a5318d">tiga ciri-ciri bagian non-trivial</a>:</p><ul><li>memecah struktur ada di (<strong><em>n</em></strong>-1, <strong><em>x</em></strong>) dan(<strong><em>n</em></strong>, <strong><em>k</em></strong>-<strong><em>x</em></strong>)</li><li>melanjutkan rekursi ada di JPM(<strong><em>n</em></strong>-1, <strong><em>x</em></strong>) danJPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-<strong><em>x</em></strong>)</li><li>mengakumulasi jawaban dengan menambahkan 1</li></ul><p>Dalam bahasa manusia, cara kerja rekursi ini adalah sebagai berikut. Untuk <strong><em>x</em></strong>=1 hingga <strong><em>k</em></strong>, manakah yang mencapai lantai setinggi dan semaksimal mungkin dengan jumlah percobaan seminimal mungkin? Di tiap langkah rekursi kita juga menambahkan angka 1 untuk mempertimbangkan tiap percobaan yang harus dilakukan.</p><p>Program get_min_num_trials untuk menghitung permasalahan ini dapat dilihat di Bagan 1:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/741ccae83100f9f46473ae2f35fb47c7/href">https://medium.com/media/741ccae83100f9f46473ae2f35fb47c7/href</a></iframe><p>Di akhir kalkulasi, get_min_num_trials akan memberikan angka 14. Artinya, Anda harus naik ke lantai 14, dan menjatuhkan telur #1. Jika <strong><em>pecah</em></strong>, maka Anda harus mencoba menjatuhkan telur #2 dari lantai 1 ke lantai 13. Jika <strong><em>tidak pecah</em></strong>, maka Anda harus mencoba menjatuhkan telur #1 di lantai 14 + 14 = 28. Jika pecah, maka Anda harus mencoba menjatuhkan telur #2 dari lantai 15 ke lantai 27. Jika tidak pecah, maka Anda harus mencoba menjatuhkan telur #1 dari lantai 14 + 14 + 14 = 42. Dan seterusnya.</p><p>(<em>Catatan</em>: untuk jumlah telur = 3, maka langkah pertama Anda adalah naik ke lantai 36. Mencari lantai-lantai mana saja yang harus dicoba akan dibahas dalam tulisan terpisah).</p><p>Rekursi di atas disebut dengan <em>Dynamic Programming</em> yang dikembangkan oleh Richard Bellman di tahun 50-an. Ciri-ciri Dynamic Programming adalah memecah permasalahan besar menjadi permasalahan yang lebih kecil-kecil.</p><p>Akan tetapi, ada satu kekurangan dalam program di atas. Kira-kira, program get_min_num_trials membutuhkan waktu sekitar <strong><em>n</em></strong><em>×</em><strong><em>k</em></strong><em> ²</em>. Jika ada 2 telur dan 10 lantai serta satu langkah perhitungan membutuhkan 0.01 detik, maka kalkulasi akan membutuhkan 2 <em>×</em>1⁰²×0.01=2 detik. Jika ada 100 lantai, maka kalkulasi membutuhkan 200 detik, atau sekitar 1,5 menit.</p><p>Apakah ada cara yang lebih cepat?</p><h3>Dynamic Programming dengan Memoization</h3><p>Perhatikan bahwa di lantai <strong><em>k</em></strong>=100, kita akan menghitung JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-<strong><em>1</em></strong>) hingga JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-99). Di lantai <strong><em>k</em></strong>=99, kita akan menghitung JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-<strong><em>1</em></strong>) hingga JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-98). Di lantai <strong><em>k</em></strong>=98, kita akan menghitung JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-<strong><em>1</em></strong>) hingga JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-97). Dengan kata lain, rekursi di atas hanyalah mengulang-ulang perhitungan yang sudah dihitung sebelumnya.</p><p>Supaya program bekerja lebih cepat, kita bisa menyimpan hasil perihitungan. Untuk <strong><em>n</em></strong> =1 hingga 2 dan <strong><em>k</em></strong>=100, kita akan menghitung jawabanJPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-<strong><em>1</em></strong>) hingga JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>-99). Tiap jawaban kita simpan di dalam array memoyang berukuran <strong><em>n</em></strong><em>×</em><strong><em>k</em></strong>. Setelah perhitungan array selesai, kita cukup membaca memo[n][k] untuk mengetahui hasil JPM(<strong><em>n</em></strong>, <strong><em>k</em></strong>).</p><p>Metode perhitungan dari bawah ke atas (<em>bottom up</em>) ini kita sebut dengan <em>memoization</em>. Contoh program dynamic programming dengan <em>memoization</em> ada di Bagan 2.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ef5b6027aa6be0bd04bdd3284cc40e50/href">https://medium.com/media/ef5b6027aa6be0bd04bdd3284cc40e50/href</a></iframe><p>Jika Dynamic Programming dengan rekursi murni membutuhkan waktu sekitar <strong><em>n</em></strong><em>×</em><strong><em>k</em></strong><em> ²</em>, maka Dynamic Programming dengan <em>memoization</em> hanya membutuhkan waktu <strong><em>n</em></strong><em>×</em><strong><em>k</em></strong>. Lumayan kan!</p><p><strong><em>Jawaban problema</em></strong>: Untuk mencoba ketahanan telur, kita hanya perlu membuat percobaan 14 kali jika kita punya 2 telur dan ada 100 lantai.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9385fe05aaf7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/halo-dunia/rekursi-untuk-dynamic-programming-9385fe05aaf7">Rekursi Untuk Dynamic Programming</a> was originally published in <a href="https://medium.com/halo-dunia">Halo Dunia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mengenal Generative Recursion, Rekursi Yang Lebih Dalam]]></title>
            <link>https://medium.com/halo-dunia/mengenal-generative-recursion-rekursi-yang-lebih-dalam-3bd245d3311?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bd245d3311</guid>
            <category><![CDATA[recursion]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Wed, 18 Jul 2018 16:53:32 GMT</pubDate>
            <atom:updated>2018-07-22T03:01:15.919Z</atom:updated>
            <content:encoded><![CDATA[<p>Di bagian pertama, saya membahas ciri-ciri <a href="https://medium.com/halo-dunia/mengenal-lagi-rekursi-bagian-1-2e6aa6a5318d">Structural Recursion</a>, atau rekursi struktural. Di bagian ini, saya akan membahas Generative Recursion.</p><p>Ada dua perbedaan dalam dua jenis rekursi ini. <strong>Pertama</strong>, walaupun rekursi struktural memecah sebuah struktur menjadi lebih kecil, namun bentuk struktur tidak banyak berubah. Kebalikannya, rekursi generatif akan membuat struktur yang baru selama proses rekursi.</p><p><strong>Kedua</strong>, jika rekursi struktural akan mengikuti pola di bawah ini, rekursi generatif tidak punya pola yang pasti. Di akhir artikel ini, saya akan membahas tahapan-tahapan dalam rekursi generatif. Ini berguna untuk membantu merancang rekursi untuk menyelesaikan permasalahan yang lebih rumit.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c395a59557d06d23f440de064cab35a0/href">https://medium.com/media/c395a59557d06d23f440de064cab35a0/href</a></iframe><p>Sebelum mulai membahas rekrusi generatif, saya akan membahas algoritma pengurutan (sorting) <em>Mergesort</em> yang memakai rekursi struktural. Kemudian saya akan membahas algoritma <em>Quicksort</em> yang memakai rekursi generatif. Dengan demikian kita bisa membandingkan kedua jenis rekursi tersebut. Setelah itu saya akan membahas rekrusi generatif untuk mencari rute pesawat.</p><h3>Mergesort, Rekursi Struktural Yang Lebih Kompleks</h3><p>Di bagian pertama, saya memberi sejumlah contoh rekursi struktural. Kebanyakan dari contoh tersebut relatif sederhana dan bisa mudah diganti dengan <strong><em>for</em></strong> loop. Di bawah ini adalah contoh penggunaan rekursi struktural untuk algoritma <em>Mergesort</em>. Algoritma Mergesort digunakan untuk mengurutkan sebuah list, misalnya daftar judul buku di perpustakaan atau daftar nama siswa di sekolah.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a66d84fb0e510eb05e53c43a300278ef/href">https://medium.com/media/a66d84fb0e510eb05e53c43a300278ef/href</a></iframe><p>Walaupun algoritma di atas nampak rumit, namun pada esensinya ini adalah rekursi struktural. Perhatikan bahwa fungsi mergesort hanya terdiri dari dua blok: blok trivial dan blok non-trivial. Perhatikan juga bahwa, fungsi tersebut memiliki ciri (1) memecah struktur menjadi lebih kecil, tepatnya memecah list panjang menjadi dua bagian (left_half dan right_half). Ciri-ciri lainnya adalah (2) mengembangkan akumulator (outputdi fungsi merge), dan (3) melanjutkan rekursi dengan memanggil mergesort dan merge.</p><h3>Quicksort, Rekursi Generatif</h3><p>Algoritma lain untuk mengurutkan data adalah algoritma <em>Quicksort</em>. Walaupun sepintas nampak rumit seperti Mergesort—terutama karena ada blok trivial dan non-trivial—rekursi ini tidak menjaga bentuk struktur.</p><p>Perhatikan algoritma Quicksort di Bagan 3. Pertama-tama, algortima ini mengambil sebuah angka dari list input di baris no. 7. Angka ini disebut dengan pivot. Pada baris no. 8, algoritma ini membuat list baru yang isinya angka-angka yang lebih kecil daripada pivot. Di baris no. 9, algoritma ini juga membuat list yang berisi angka-angka yang lebih besar daripada pivot. Akhirnya, di baris no. 11, kedua list ini juga diurutkan lagi dengan quicksort untuk kemudian hasilnya digabungkan dengan pivot.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d7d44449ddd9843f6919c8aa36cf32c0/href">https://medium.com/media/d7d44449ddd9843f6919c8aa36cf32c0/href</a></iframe><p>Keunggulan Quicksort sedikit lebih cepat daripada MergeSort. Fungsi di atas <a href="http://www.ccs.neu.edu/home/matthias/HtDP2e/part_five.html">diadaptasi dari sini</a>.</p><h3>Merunut Graph Memakai Rekursi Generatif</h3><p>Salah satu permasalahan yang sering ditemukan dalam pemrograman adalah untuk mengetahui apakah ada jalur dari titik X menuju titik Y.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*x22vtmSoyldwhjEzVpK8BQ.png" /><figcaption>Gambar 1. Contoh sebuah graph (diadaptasi <a href="http://www.ccs.neu.edu/home/matthias/HtDP2e/part_five.html">dari sini</a>)</figcaption></figure><p>Umpakan ada sejumlah pulau di lautan . Tiap pulau mempunyai landasan pacu dan ada sejumlah rute pesawat yang menghubungkan tiap pulau ke pulau yang lain.</p><p><strong>Permasalahan</strong>: Jika seseorang di pulau X, bagaimana dia bisa tahu apakah dia bisa naik pesawat ke pulau Y?</p><p>Struktur permasalahan ini bisa dimodelkan dengan graph (Gambar 1) di mana setiap pulau dimodelkan dengan node dan tiap rute pesawat dimodelkan dengan sebuah edge (garis). Dalam bahasa pemrograman, model ini <em>code</em>-nya seperti di bawah ini:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb79310e73e6b4fb0fb3289f7856ac87/href">https://medium.com/media/fb79310e73e6b4fb0fb3289f7856ac87/href</a></iframe><p>Untuk memecahkan permasalahan mencari rute pesawat, kita bisa memakai sejumlah algoritma tree traversal seperti <em>depth-first search</em>. Perhatikan contoh fungsi depth-first search di bawah ini yang menerapkan rekursi generatif (<a href="http://www.ccs.neu.edu/home/matthias/HtDP2e/part_five.html">fungsi diadaptasi dari sini</a>):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c37dddc16154801b49258184d1ccc784/href">https://medium.com/media/c37dddc16154801b49258184d1ccc784/href</a></iframe><p>Fungsi <em>get_route</em> nampak memiliki ciri-ciri rekursi, yaitu adanya blok trivial dan non-trivial. Akan tetapi, sesuai ciri khas rekrusi generatif, di baris no. 7, blok non-trivial tidak lagi memakai stuktur <em>graph</em> melainkan membuat struktur baru yang namanya neighbors<em> </em>(struktur ini dibuat di baris no. 6).</p><p>Sebagai contoh, misalkan kita ingin mencari rute dari A ke G, maka di baris no. 6, get_routeakan membuat list yang berisi tetangga pulau A, yaitu {B, E}. Kemudian, algoritma akan memanggil fungsi get_sub_route yang bertugas mencari rute dari B ke G atau E ke G. Di sini permasalahan menjadi lebih sederhana karena rute yang dicari tidak lagi dari pulau A.</p><p>Di fungsi get_sub_route<strong><em> </em></strong>baris no. 19, algoritma memanggil get_routeakan<em> </em>untuk mencari apakah ada rute dari B ke G. Jika ada, maka get_sub_route akan mengembalikan rute itu ke fungsi induknya (baris 21). Jika tidak ada, maka get_sub_route<strong><em> </em></strong>akan mencari lagi rute ke G (baris 23). Perbedaannya, jika input semula adalah {B, E}, maka kini inputnya hanya {E}.</p><h3>Pola Rekursi Generatif</h3><p>Walaupun pola rekursi generatif tidak sesederhana rekursi struktural, namun ada beberapa tiga tahapan khas, yaitu tahap trivial, tahap generatif, dan tahap penggabungan:</p><ol><li><strong>Tahap trivial</strong> adalah blok di mana jawabannya bisa diselesaikan dengan mudah, bisanya dengan mengembalikan boolean atau list kosong.</li><li><strong>Tahap generatif</strong> adalah adalah tahap di mana algoritma memproduksi struktur baru. Dalam Quicksort, tahapan generatif terjadi saat algoritma memproduksi list angka yang lebih kecil dari pivot (baris no. 8) dan list angka yang lebih besar daripada pivot (baris no. 9). Dalam Depth-First Search, tahapan generatif terjadi saat algoritma memproduksi list node yang terhubung (baris no. 6). Produk dari tahap generatif biasanya dimasukkan ke dalam fungsi rekursi.</li><li><strong>Tahap penggabungan</strong> adalah tahap di mana hasil rekursi memenuhi tujuan problem (a.l., list angka sudah diurutkan, node tujuan sudah ditemukan). Dalam Quicksort, tahap penggabungan ada di baris no. 11. Dalam Depth-First Search, tahap penggabungan ada di baris no. 11.</li></ol><p>Mengenali ciri-ciri ini membantu kita menganalisis dan menyusun rekursi, terutama rekrusi untuk permasalahan yang lebih rumit.</p><p>Demikian ulasan ringkas tentang rekursi, terutama dua kategori rekursi yaitu <a href="https://medium.com/halo-dunia/mengenal-lagi-rekursi-bagian-1-2e6aa6a5318d">rekursi struktural</a> dan rekursi generatif.</p><p><strong>Baca lebih lanjut</strong>: <a href="http://www.ccs.neu.edu/home/matthias/HtDP2e/index.html">Generative Recursion</a> from Matthias Felleisen, Robert Bruce Findler, Matthew Flatt, Shriram Krishnamurth. 2014. How to Design Program, Second Edition. MIT Press.</p><p><a href="https://medium.com/halo-dunia/mengenal-lagi-rekursi-bagian-1-2e6aa6a5318d">Mengenal (Lagi) Rekursi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bd245d3311" width="1" height="1" alt=""><hr><p><a href="https://medium.com/halo-dunia/mengenal-generative-recursion-rekursi-yang-lebih-dalam-3bd245d3311">Mengenal Generative Recursion, Rekursi Yang Lebih Dalam</a> was originally published in <a href="https://medium.com/halo-dunia">Halo Dunia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mengapa Static Typing Itu Perlu]]></title>
            <link>https://medium.com/halo-dunia/mengapa-static-typing-itu-perlu-61c0f1942b44?source=rss-dac5299ee0bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/61c0f1942b44</guid>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Herman Saksono, PhD]]></dc:creator>
            <pubDate>Wed, 18 Jul 2018 03:39:21 GMT</pubDate>
            <atom:updated>2018-07-18T04:59:43.315Z</atom:updated>
            <content:encoded><![CDATA[<p>Java adalah bahasa yang <em>statically-typed.</em> Artinya, semua variabel mempunyai tipe yang fixed. Misalnya, variabel <em>x</em> yang dideklarasikan sebagai<em> integer</em>, akan selamanya menjadi integer walaupun nilainya berubah-ubah. Pyton, PHP, dan JavaScript adalah bahasa yang <em>dynamically-typed.</em> Ini berarti isi variabel <em>x</em> bisa diganti-ganti dengan angka, String, obyek, list, dll. Dalam artikel ini, saya akan membahas keunggulan <em>static typing</em> dibanding <em>dynamic typing</em>.</p><p>Dalam program skala kecil, ketiadaan static typing tidak masalah, tapi ketika project semakin besar dan modul-modul semakin beragam, ketidakjelasan tipe data dapat mempersulit pengembangan software.</p><p>Sebagai contoh, umpama ada fungsi <em>f(x, y)</em>. Fungsi ini mengambil data x dan y sebagai input, kemudian melakukan sesuatu.</p><p><strong>Di Java</strong>, notasi fungsi <em>f(x,y)</em> bentuknya seperti ini:</p><pre><strong><em>f</em></strong><em>(x: Person, y: Date) → Ratio</em></pre><p>Ini yang disebut dengan <em>static typing</em>. Java akan menjamin bahwa <em>f(x)</em> hanya menerima <em>x</em> dengan tipe <em>Person</em>, dan <em>y</em> dengan tipe <em>Date</em>. Java juga menjamin bahwa <em>f(x)</em> akan mengoutput sebuah <em>Ratio</em>. Jika dua ketentuan tersebut dilanggar, maka program akan error saat di-<em>compile </em>(<em>compile-time</em> error). Dengan kata lain, <em>bug</em> karena kesalahan tipe tidak akan terjadi ketika program sudah dipakai oleh konsumen.</p><p>Mengapa ini penting? Umpamakan ini adalah program skala besar dengan waktu terbatas, sehingga harus harus dikerjakan dua programmer. Programmer #1 mengerjakan fungsi <em>f(x, y)</em> dan Programmer #2 mengerjakan fungsi <em>g(u, v):</em></p><pre><strong><em>g</em></strong><em>(u: Ratio, v: Location) → Bonus</em></pre><p>Dan program mereka bertemu di sini:</p><pre><em>bonus = </em><strong><em>g</em></strong><em>(</em><strong><em>f</em></strong><em>(x: Person, y: Date), v: Location)</em></pre><p>Selama tipe-tipe dalam variabel dan fungsi ditaati, maka program akan dijamin jalan tanpa masalah terkait tipe data.</p><p><strong>Di Python (atau bahasa lain dengan dynamic typing)</strong>, umpamakan ada fungsi <em>f1(x,y)</em> yang bekerja mirip dengan <em>f(x, y)</em>. Notasi fungsi <em>f1(x, y)</em> di Python adalah sebagai berikut:</p><pre><strong><em>f1</em></strong><em>(x, y) → ?</em></pre><p>Perhatikan bahwa tidak ada keharusan bahwa <em>x</em> harus tipe Person, dan <em>y</em> harus tipe Date. Bahkan tidak ada kewajiban bahwa fungsi <em>f1(x, y)</em> akan mengoutput sesuatu. Ini disebut dengan <em>dynamic-typing</em>, dimana tipe data ditentukan saat program dijalankan (<em>runtime</em>), bukan saat dikompilasi (<em>compile-time</em>) seperti di Java.</p><p>Hal yang sama juga terjadi pada fungsi <em>g1(u, v) </em>jika diimplementasikan di Python:</p><pre><strong><em>g1</em></strong><em>(u, v) → ?</em></pre><p>Ini menimbulkan masalah karena program menjadi rapuh. Sebagai contoh, jika di tengah jalan Programmer #1 memutuskan untuk mengganti tipe output <em>f1(x, y)</em> dari tipe Bonus menjadi tipe Honor. Ketika dijalankan pertama kali, program akan bekerja seperti biasa hingga pada titik program tersebut menjalankan:</p><pre><em>bonus = </em><strong><em>g1</em></strong><em>(</em><strong><em>f1</em></strong><em>(x, y), v)</em></pre><p>Di sini program akan <em>crash</em>, karena g1(u, v) mengharapkan variabel <em>u</em> dengan tipe Bonus, tapi mendapatkan <em>u</em> dengan tipe Honor. Rumitnya lagi, program baru akan crash ketika menyentuh bagian di atas. Dengan kata lain, error rentan bermunculan di tengah jalan.</p><p>Tentu saja masalah ini bisa dihindari dengan memperkuat komunikasi antara Programmer #1 dan Programmer #2. Akan tetapi, waktu programmer sangatlah berharga. Jika permasalahan ini bisa dicegah oleh komputer, alangkah baiknya jika Programmer #1 dan Programmer #2 bisa membahas hal-hal lain yang lebih penting.</p><p>Contoh yang saya berikan ini memang sangat sederhana karena tujuannya mengilustrasikan masalah yang muncul dalam bahasa pemrograman dengan dynamic-typing seperti Pyton. Dalam pemrograman skala besar, ini sangat membantu menjamin kehandalam program yang dibuat oleh tim Anda.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61c0f1942b44" width="1" height="1" alt=""><hr><p><a href="https://medium.com/halo-dunia/mengapa-static-typing-itu-perlu-61c0f1942b44">Mengapa Static Typing Itu Perlu</a> was originally published in <a href="https://medium.com/halo-dunia">Halo Dunia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>