<?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 Sean Li on Medium]]></title>
        <description><![CDATA[Stories by Sean Li on Medium]]></description>
        <link>https://medium.com/@saifahn?source=rss-31982be3dfd2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*D3IjkvEkMJ3xcvL5LU-P4g.jpeg</url>
            <title>Stories by Sean Li on Medium</title>
            <link>https://medium.com/@saifahn?source=rss-31982be3dfd2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 22:04:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saifahn/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[121st Monthly Technical Session]]></title>
            <link>https://medium.com/henngeblog/121st-monthly-technical-session-699346f64800?source=rss-31982be3dfd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/699346f64800</guid>
            <category><![CDATA[monthly-technical-session]]></category>
            <category><![CDATA[hennge]]></category>
            <category><![CDATA[software-engineer]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[slack]]></category>
            <dc:creator><![CDATA[Sean Li]]></dc:creator>
            <pubDate>Mon, 27 Jan 2025 02:02:12 GMT</pubDate>
            <atom:updated>2025-01-27T02:02:12.088Z</atom:updated>
            <content:encoded><![CDATA[<p>Another month, another Monthly Technical Session (MTS) at HENNGE. Read on for a recap of MTS #121, which took place in August 2024.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rez42LpJpBhAjOqlh0XJVw.jpeg" /></figure><h4>Introduction to Smart Contracts with Solidity</h4><p>Nicholas started us off with a talk about smart contracts and interesting fact that it’s a term that might have first been used back in 1996!</p><p>He talked about what it stands for today — a program running on a blockchain — and how to develop one, before talking about how you might go about deploying it.</p><p>He walked us through a little bit of the Solidity programming language and the Hardhat development environment. If you want to give it a go, he recommended the Ethereum Remix IDE that you can use in your browser without the hassle of setting up a local environment on your machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FS7j9aE-Lbo3YSNBjIKg7g.jpeg" /></figure><h4>Programmatically Sending Slack Messages (part 2)</h4><p>Bagus gave a follow-up to his presentation from all the way back in February of last year (MTS #103) about sending Slack messages programmatically. He did a deep dive of the chat.postMessage method of Slack’s API and the multitude of ways it can be called — including HTTP, SDK, and the Bolt framework.</p><p>He told us about another way of sending Slack messages via workflows before moving onto message layouts. It seems like Slack recommends using “Blocks” vs secondary message attachments, yet Blocks don’t support everything that the attachments do.</p><p>He also shared the happy news that their team finally released a feature to send logs to their Slack channel to facilitate ChatOps and conversation-driven security collaboration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jFOZugU84H84BKSS1kzddg.jpeg" /></figure><h4>Aligning AI with Human Values</h4><p>Shiyu began by outlining some of the challenges facing large language models. The one most relevant to the talk is the fact that models “naively” trained on huge samples of data can end up biased and give potentially unethical and unsafe responses.</p><p>One of the strategies to combat this is by using reinforcement learning with human feedback (RLHF). This entails training a separate reward model using human feedback to rate responses. This reward model is then used as a “scoring function” to further train a “naive” model and refine its responses into something more desired.</p><p>This is one of many approaches behind AI alignment — the idea of encoding human values into a model to make it more helpful, safe, and reliable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lZIKGJF11Z2a6Y8D67u1wA.jpeg" /></figure><h4>Prompt Injection in Slack AI</h4><p>Many companies use Slack as their main communication tool making it a juicy target for attacks. Sebnem shared how some big companies like Disney, Uber, and Rockstar Games previously had files and data stolen through various breaches related to Slack.</p><p>She continued by describing a flaw in Slack’s AI feature that could allow a malicious actor to use prompt injection under specific conditions to commit a phishing attack and steal data, even from private channels.</p><p>Thankfully, the vulnerability was patched, but the story provides a cautionary tale for companies looking to follow the recent trend of adding “AI”-powered features to products willy-nilly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTUD3-S8DwknBj8BKnVgHg.jpeg" /></figure><h4>An Introduction to Brain Computer Interface</h4><p>Imagine that, instead of using a keyboard and mouse to control your computer, you could use your brain! This is what Mazin talked to us about in his presentation on Brain Computer Interfaces (BCIs).</p><p>He outlined the steps needed to set up a BCI with EEG. A user would practice thinking about doing an action repetitively while their brain wave patterns are being read. With enough repetitions, specific thoughts can be mapped to specific actions.</p><p>While having the potential for many practical applications, such as controlling prosthetics, it does not seem like it will be a widely available too soon. Mazin mentioned some challenges that stand in the way such as training time and how it is still more of a research area than a consumer-ready technology.</p><p>A highlight of the talk was Mazin’s fan art of our office robot mascot Omochi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S4xm7Y3pgU64e6lzOf8GwQ.jpeg" /></figure><h4>Smart Shading: A Much Needed IoT Device Application</h4><p>The Earth is getting hotter and hotter each year. A common way to combat the heat is using air conditioning, but this accounts for a sizeable part of the world’s greenhouse gas emissions, contributing further to the increasing temperatures. Is there a more efficient way of dealing with this issue?</p><p>Brad introduced smart shading — a way to help reduce the amount of heat we have to deal with, especially in cities, where the urban heat island effect measn greater temperatures than in more rural areas.</p><p>The idea is to reduce the heat gain in buildings using infrastructure and technology. The technology would be, for example, automated blinds and smart windows that are moved or altered based on data from sensors. These could provide shade during hotter times, leading to less heat inside the building and less energy needed to regulate the internal temperature.</p><p>To take this further, they could be connected to the internet as an Internet of things device to access external data, e.g. weather forecasts, to enact changes in advance.</p><p>From the Q&amp;A after the talk, the general reaction was positive to the idea but with some doubt that this technology will actually become widespread.</p><h4>FY2024 Gasshuku report</h4><p>Finally, we had a lightning talk from Naoko summarizing the results of a survey about our recent “Gasshuku” to Hiroshima. Along with product managers and designers, the product development division spent a week in Hiroshima working together to facilitate closer communication in May.</p><p>She shared ‘best moments’ from answerers of the survey, along with constructive feedback and things we will look to improve for next time (if we get the budget approved for it again next year!)</p><h4>After-party</h4><p>No MTS is complete without a Beer Bash afterwards — and this time was no different. That wraps it up for MTS #121!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=699346f64800" width="1" height="1" alt=""><hr><p><a href="https://medium.com/henngeblog/121st-monthly-technical-session-699346f64800">121st Monthly Technical Session</a> was originally published in <a href="https://medium.com/henngeblog">henngeblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[90th Monthly Technical Session]]></title>
            <link>https://medium.com/henngeblog/90th-monthly-technical-session-6eaaf42c8b21?source=rss-31982be3dfd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/6eaaf42c8b21</guid>
            <category><![CDATA[reddit]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[monthly-technical-session]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[hennge]]></category>
            <dc:creator><![CDATA[Sean Li]]></dc:creator>
            <pubDate>Wed, 09 Mar 2022 03:23:00 GMT</pubDate>
            <atom:updated>2022-03-09T03:23:00.784Z</atom:updated>
            <content:encoded><![CDATA[<p>Every month at HENNGE, we hold a mini internal conference-like session for sharing knowledge and ideas called Monthly Technical Session — MTS for short. The 90th MTS was held on Zoom on 21 January 2022, including talks from members of some of our development teams and interns who were participating in our Global Internship Programme at the time.</p><h3>Learning iOS as an Android Developer</h3><figure><img alt="A screenshot of Zoom with a person (Charles) giving a presentation" src="https://cdn-images-1.medium.com/max/1024/1*pHUSsjdZ8sZzgBViOb-Xsg.png" /><figcaption>Charles talking about iOS development</figcaption></figure><p>Charles gave the first presentation about his foray into iOS development. Charles has been working mainly as an Android developer over the years but recently has dipped his toes into various technologies such as Flutter and, as per the title of the talk, iOS and Swift.</p><p>He recounted some of the difficulties he faced, such as using XCode, the concepts used by it, and the lack of appropriate-level learning resources. Many of the tutorials he encountered were targeted at people with no programming knowledge. Ideally, he would have liked to have more resources that were aimed at people with a development background.</p><p>Additionally, he found that Apple’s documentation was not as user-friendly as Google’s, and there were some additional pain points such as the difficulty of releasing software on iOS compared to Android.</p><p>However, there were some similarities he did not expect, with Swift and Kotlin sharing a lot of language concepts. He believes that now is a decent time to be learning iOS as the frameworks are improving and becoming more similar across platforms.</p><h3>Spotify Backstage</h3><figure><img alt="A screenshot of Zoom with a person (Yoel) giving a presentation" src="https://cdn-images-1.medium.com/max/1024/1*Oq0w324C3Z97QhynjCDnEg.png" /><figcaption>Yoel talking about Spotify Backstage</figcaption></figure><p>Next up was Yoel, who gave a talk on Spotify Backstage, an “open platform for building developer portals”. He described the reason why the team at Spotify decided to develop the tool:</p><blockquote>As an organization grows, information fragmentation may occurs among software engineers. This causes inefficiency for software engineers to produce meaningful work. Backstage help to alleviate this situation by centralizing information in one place so it is easy to index and access.</blockquote><p>The platform provides a centralized location to manage and find documentation about the products and services being developed at an organization. An example of one of its features is to create templates for projects so that a new project can be easily created that is aligned with the organization’s best practices.</p><p>He then quickly ran us through their public demo, which you can find at <a href="https://demo.backstage.io/">https://demo.backstage.io</a>. There is a list of services, each containing TechDocs for documentation, API definitions, proposals and more. Yoel also showed us an example plug-in that can be used to document the tooling and methods that an organization is already using for quick reference.</p><h3>Fooling Neural Networks: A Brief Introduction to Adversarial Examples</h3><figure><img alt="A screenshot of Zoom with a person (Simon) giving a presentation" src="https://cdn-images-1.medium.com/max/1024/1*H7mCXP-UTVmwpQUrzwiEjA.png" /><figcaption>Simon talking about neural networks and adversarial examples</figcaption></figure><p>Following this, Simon gave an introduction to adversarial attacks against modern machine learning systems:</p><blockquote>The success and wide adoption on neural network based systems has led to a strong reliance on these systems in critical scenarios like security and self driving cars. Research shows how well trained AI systems can be fooled into wrong predictions on even the simplest of tasks by showing them a slightly altered input image which looks to normal to the human eye. Not publicising your AI algorithms and training data can help but there are not too many ways to create AI resilient to these types of attacks because of the vast range of possibilities for input data, therefore research is being done to create more robust systems.</blockquote><p>He told us that due to the fact that neural networks, machine learning, and artificial intelligence is becoming more widely adopted, there is a growing incentive for creating malicious interference to systems based on related technology.</p><p>He gave some examples of the kinds of interference, such as minor, specialized adjustments applied to an image that is unnoticeable to the human eye but that could completely fool a machine learning model. Discovering and inventing countermeasures to create systems that can withstand such interference is an area that is currently important and ripe for research.</p><h3>Analyzing Discourse on Contraception in Filipino Reddit Communities using Python</h3><figure><img alt="A screenshot of Zoom with a person (Dani) giving a presentation" src="https://cdn-images-1.medium.com/max/1024/1*VTYNTTo826wmWi96PjC9Kg.png" /><figcaption>Dani talking about analyzing discourse on Reddit</figcaption></figure><p>After a short break, we continued the session with a talk from Dani related to sexual health education in the Philippines— something he clearly is passionate about:</p><blockquote>Sexual health education has been a significant topic in the Philippines, considering the lack of concrete integration of sexual health in the country’s education as well as the taboo nature of the topic in this predominantly Catholic country. We use Python to analyze the discourse on topics related to sex and contraception on Filipino Reddit communities.</blockquote><p>He described how he worked on the project with a partner to scrape Reddit posts and comments in the communities of <em>r/SafeSexPH</em> and <em>r/Phillipines</em> using Python Reddit API wrapper. They mined keywords, manually labeled them, and preprocessed them before using various methods of text analysis, including WordCloud and VADER Sentiment Analysis.</p><p>They found that the posts and comments were generally positive and with negative comments tending to complain about the taboos of the topic in the country. He hypothesized that the positive results may be due to the general younger demographic that is present on Reddit.</p><h3>React Native: an average consumer perspective</h3><figure><img alt="A screenshot of Zoom with a person (Jesson) giving a presentation" src="https://cdn-images-1.medium.com/max/1024/1*tNOWEzbMEd_yzw4gocE--Q.png" /><figcaption>Jesson talking about working with React Native</figcaption></figure><p>Jesson followed up with a talk about working with React Native:</p><blockquote>I mainly talk about cross-platform development and how they work internally especially React Native. I briefly talk about what is React Native, the React Native internals, and some frameworks developers should expect to be using when developing with it. Finally I give some pros and concerns about React Native and future speculations about cross-platform development.</blockquote><p>He described his experiences, including some of the challenges he faced. For example, he found it quite hard to debug his application in React Native compared to React. For managing state, he recommended Redux as he found it really useful. It has up-to-date documentation and Redux Toolkit provides an opinionated and straightforward set of principles for implementation.</p><p>He encountered several bugs and unfixed issues and found the documentation to be lacklustre and incomplete. He found many limitations with React Native and ended by saying that he does not think there is a clear winner between it and Flutter, but with speculation on improvements in the future.</p><h3>Deepfake Videos in the Wild: Analysis and Detection</h3><figure><img alt="A screenshot of Zoom with a person (Ken) giving a presentation" src="https://cdn-images-1.medium.com/max/1024/1*_B-bHw8qdCgpyXJtMP-K4w.png" /><figcaption>Ken talking about deepfake analysis and detection</figcaption></figure><p>Rounding up the session was Ken, who gave the final presentation on detecting <strong>deepfakes </strong>— “synthetic media in which a person in an existing image or video is replaced with someone else’s likeness”</p><blockquote>In the last few years, deepfakes have emerged as a new form of fake news. This has led to the creation of a new research field that creates machine learning models to detect them. However, current datasets used in the field do not accurately reflect what’s out there on the web, so much work is yet to be done!</blockquote><p>Ken is currently researching automatic fake news detection using natural language processing (NLP). Fake news comes in many forms, including text, images, audio, and video, making deepfakes an important part of his research.</p><p>He gave us a brief overview of how they can be generated, such as the use of Generative Adversarial Networks (GAN) and Variational Autoencoders (VAE), along with some examples of software that can be used to create them.</p><p>He then introduced research that looked into detecting deepfakes, where models were trained on a dataset created specifically for research. These models were tested with deepfakes “from the wild” and were found to perform poorly. He covered some ways that such detection models could be improved to combat the issues they currently face.</p><p>No MTS is complete without is Beer Bash, which we held on Zoom 🍻🍺</p><figure><img alt="A screenshot of a Zoom party" src="https://cdn-images-1.medium.com/max/1024/1*JnXHA3PpqcWmoZcJRaLAOw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6eaaf42c8b21" width="1" height="1" alt=""><hr><p><a href="https://medium.com/henngeblog/90th-monthly-technical-session-6eaaf42c8b21">90th Monthly Technical Session</a> was originally published in <a href="https://medium.com/henngeblog">henngeblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 20 — Life, Luck, and Magical Cardboard]]></title>
            <link>https://medium.com/henngeblog/day-20-life-luck-and-magical-cardboard-807f6869a73a?source=rss-31982be3dfd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/807f6869a73a</guid>
            <category><![CDATA[magic-the-gathering]]></category>
            <category><![CDATA[henngeadvent2021]]></category>
            <category><![CDATA[games]]></category>
            <category><![CDATA[card-game]]></category>
            <dc:creator><![CDATA[Sean Li]]></dc:creator>
            <pubDate>Mon, 20 Dec 2021 03:36:48 GMT</pubDate>
            <atom:updated>2021-12-20T15:54:59.683Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 20 — Life, Luck, and Magical Cardboard</h3><p><em>Magic: the Gathering</em> has been part of my life since I was 8 years old. It’s a strategic trading card game (TCG) where players take the role of powerful wizards, summoning creatures and casting spells to defeat their opponents. It’s the longest-running TCG and definitely served as some inspiration for the popular <em>Pokémon Trading Card Game</em> and <em>Yu-Gi-Oh!</em>.</p><p>The most famous <em>Magic</em> card is Black Lotus, which often pops up in the news when one sells for a record amount. This January, a copy of the card signed by its now-deceased artist sold for over 500k USD! (5000万 JPY!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/0*i5iZ01eqjjLHUh7r" /><figcaption>Magic: the Gathering card — Black Lotus (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p>I played semi-competitively for a few years, with tournaments taking me to many cities around the world like Warsaw, Bologna, Prague, Taipei, and Shizuoka. I still play some events every now and then, and below is a picture of me winning an event where the top prize included four Hamburg steaks. They were pretty yum and the most unique prize I’ve won at a tournament.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NSMxspP_m2jIsf3FnCYtAA.jpeg" /><figcaption>There was a wagyu lunch set included in the entry fee, and it was pretty excellent</figcaption></figure><p>Having played Magic for over 20 years, it’s taught me many lessons in all areas of life and is possibly even why I got into coding. This article will talk about lessons about<strong> luck</strong> that I’ve learned from the game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*CjU_euOv-rT-v1snYDDlHw.png" /><figcaption>Magic: the Gathering card — As Luck Would Have It (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p>The concept of luck is an intriguing one. We have a bunch of idioms in English such as “beginner’s luck”, “to push one’s luck”, and we wish each other “good luck” before an undertaking. It seems to be pretty baked into our society and culture, and I’m sure many similar idioms exist in other languages.</p><p>Recently, I read a perspective that luck doesn’t really exist for the future — it is more a way for us to frame things and interpret past events. I found it to be a provocative way of looking at it. I don’t want to get too deep into the philosophy of luck, so let’s see if we can talk about some practical takeaways.</p><h3>Some things are out of your control</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MwhF9FKQ9w-9-41k9dr_sw.png" /><figcaption>Magic: the Gathering card — Leave // Chance (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p>Magic is a card game that uses a randomized deck of cards, like poker, 大富豪 (Daifugō), or even Uno. Whatever cards you draw are up to chance. This means that luck is a big part of the game.</p><p>Even if you do everything right, you can lose. Even if you make a lot of mistakes, you can win. I think that you can find parallels to this in real life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/0*-0voopkjbIFQILQH" /><figcaption>Magic: the Gathering card — Success! (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p>I’ve won many games of <em>Magic </em>where I made mistakes. They just didn’t come back to bite me.</p><p><strong>Just because you succeeded doesn’t mean you did the right things.</strong></p><p>In university, I once had a long essay assignment that I had months to work on and would count for a large percentage of my grade.</p><p>Did I start writing it early and gradually so I could have a manageable amount to deal with each week? Clearly not, or else it wouldn’t make a good story to write about here…</p><p>I left it to the day before the deadline before I even started writing it. Not only that, I decided that I would go clubbing that day too! I ended up handing the assignment in a day late, but I ended up with a respectable score.</p><p>Does this mean that I took the correct approach? I think most people would say no. It somehow worked out, but I would do things differently if I had another chance. I can see that I didn’t make the best decisions. (It also seems like I didn’t learn my lesson, seeing as I’m here writing this article at the last minute.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*QlMilSmHeeHFzgW47cfcXw.jpeg" /><figcaption>Magic: the Gathering card — Dismal Failure (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p>On the other hand, <strong>just because something turned out poorly doesn’t mean you did something incorrectly</strong>.</p><p>In a game of <em>Magic</em>, you can make the correct plays and still lose because the cards lined up better for your opponent than they did for you.</p><p>A friend of mine left their house to be five hours early for their holiday flight. However, there was a bad accident on the motorway and they ended up missing their flight. You could argue that there were other things they could have done, but I’d say that they did everything within reason (actually, I think five hours is <em>unreasonably</em> early) and yet they ended up with an unfavourable outcome.</p><p><a href="https://www.youtube.com/watch?v=sTJ7AzBIJoI">Baz Luhrmann — Everybody’s Free (To Wear Sunscreen)</a> is one of my favourite songs. I find its little snippets of insights and advice to be appropriate across many life situations.</p><blockquote><em>Whatever you do, don’t congratulate yourself too much</em></blockquote><blockquote><em>Or berate yourself either</em></blockquote><blockquote><em>Your choices are half chance, so are everybody else’s</em></blockquote><p>For me, these few lines from the song tell us that outcomes are often not within our control. We make decisions but we don’t get to choose the results.</p><p>There are plenty of ideas that never got off the ground because of unlucky timing. Imagine the number of businesses that have collapsed during the pandemic that may have succeeded at other times. On the other hand, there are countless numbers of creators that don’t achieve the same success as others in their industry for not-so-discernible reasons.</p><h4>Concentrate on the things you can actually change</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*XaVl24HH-zwAvAkTYcXM-A.png" /><figcaption>Magic: the Gathering card — Concentrate (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p>Luck plays a big part in a game of Magic. But not everything is up to luck. There are things that you can affect and influence, and that’s what we can focus on.</p><p>Less experienced players have a tendency to blame their losses more on luck, and there is a natural and common reaction to these situations to be annoyed or frustrated.</p><p>The lesson I learned from <em>Magic</em> is to be put less mental energy into things that are outside of my control. I try to downplay the losses when I “get unlucky”. It’s part of the game and I’ve had my fair chance of lucky victories. Instead, I can make sure that I am making the right choices and avoiding major mistakes.</p><p>This expands to areas that aren’t so much to do with chance. There are a lot of things in the world that I believe could be improved, but it would be a waste of energy if I would get worked up over everything.</p><p>Humans love to complain, and it can often be a nice way to release some stress. However, complaining about the same thing endlessly can exhaust us without any progress to show for it.</p><p>I find it important to make a decision internally — either take action to influence something I’m unhappy with or do nothing and accept that things will stay as they are. We don’t have unlimited time and effort, so we have to pick our battles to get the best results.</p><h3>You can’t get lucky if you don’t even try</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*dZbKJKmtv4zoZ5XsW5VyXA.jpeg" /><figcaption>Magic: the Gathering card — Chance for Glory (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p>Are you the kind of person who enters themselves into lucky draws and competitions? I am.</p><p>In high school, I won tickets to a two-day music festival from a free prize competition. I also won several movie tickets from random giveaways on Facebook before. I’ve been entering a lottery each year to win a blender from a company I buy a lot of kiwifruit from but that dream hasn’t come true yet.</p><p>I have been in many games that seemed hopeless but in which I decided to persevere and play on. I’m not going to lie, I did lose most of those games, but there are a good number that I miraculously managed to win because my deck decided to be extra nice.</p><p>The lesson I learned from <em>Magic</em> is that to get lucky, you have to put yourself in the right position. In particular — when there’s nothing to lose, why not give yourself a chance to win it all? Even if the odds of success are minuscule, they’re better than the 0% chance that you would have if you didn’t even try.</p><p>You won’t make new friends if you don’t even try to find situations where you can meet them. Meeting your soul mate is going to take a lot of luck, but how are you going to find them without putting yourself out there?</p><h3>That’s all for now</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*Mp0NPeZLjvH_OMjsWptr6g.jpeg" /><figcaption>Magic: the Gathering card — Tale’s End (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p>This got a bit longer than I thought it would, so I’ll wrap it up here. In summary:</p><h4><strong>Direct your energy at things you can influence</strong></h4><p>Focusing on the things I can control gives me a feeling of freedom and makes me reflect on my actions, no matter the outcome. Of course, I am still human and affected by the actual results, but this mindset helps me cope with failures and helps me find the next steps towards my desired results.</p><h4><strong>Make your own luck</strong></h4><p>Many<em> Magic</em> cards have “flavour text” — text that does not affect the game but is there to give some background information or set the tone. I’ll leave you with some from a card that is memorable to me:</p><blockquote>Opportunity isn’t something you wait for. It’s something you create.</blockquote><p>So what are you waiting for? Go and make some opportunities!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/0*lm_MoAhDSyB7IKsy" /><figcaption>Magic: the Gathering card — Opportunity (source: <a href="https://scryfall.com/">Scryfall</a>)</figcaption></figure><p><em>This article is part of the 2021 HENNGE Advent Calendar. An Advent calendar is a special calendar used for counting down the days till Christmas. 2021 HENNGE Advent Calendar presents one article by one HENNGE member per day for 25 days until Christmas, 2021</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=807f6869a73a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/henngeblog/day-20-life-luck-and-magical-cardboard-807f6869a73a">Day 20 — Life, Luck, and Magical Cardboard</a> was originally published in <a href="https://medium.com/henngeblog">henngeblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[73rd Monthly Technical Session]]></title>
            <link>https://medium.com/henngeblog/73rd-monthly-technical-session-719a910eb426?source=rss-31982be3dfd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/719a910eb426</guid>
            <category><![CDATA[hennge]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[monthly-technical-session]]></category>
            <dc:creator><![CDATA[Sean Li]]></dc:creator>
            <pubDate>Fri, 26 Mar 2021 03:03:49 GMT</pubDate>
            <atom:updated>2021-03-26T03:03:49.318Z</atom:updated>
            <content:encoded><![CDATA[<p>Monthly Technical Session (MTS) is HENNGE’s mini-conference. As the name suggests, MTS is held monthly and its talks are (usually) about technology.</p><p>Our 73rd session was held online on August 21st, 2020.</p><h3>An Oversimplified Explanation on Business Valuation by Ogura</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NHAiAoeklpUuWNkmpnpURQ.png" /></figure><p>Our CEO, Kazuhiro Ogura, kicked off the conference with an ambitious presentation spanning 74 slides in 15 minutes. The topic was an introduction to how companies are valued and how traditional valuations might not be appropriate for SaaS companies, including HENNGE.</p><p>He began by giving a simplified explanation of stocks, along with the definitions of a couple of words that are used to describe the market value of a company — <strong>market capitalization</strong> and <strong>enterprise value (EV)</strong>— before moving onto some valuation methods.</p><p>The first of these valuation methods was the <strong>price-to-book ratio </strong>(PBR, P/B ratio.)<strong> </strong>A <strong>PBR</strong> of greater than 1.0 indicates an expectation that a company is worth more than its current assets and/or will grow in value in the future. He gave the example of Cisco and Nintendo as two companies with a PBR greater than 1.0.</p><p>On the other hand, a company with a PBR of less than 1.0 is valued at less than the value of its current assets and may suggest that the current assets are overrated in terms of future value. Ogura gave the example of JR East as a company with a PBR of less than 1.0 at the time, with this probably being due to the negative impacts of COVID-19 on the travel industry.</p><p>Next up was the <strong>price-earnings ratio </strong>(PER, P/E ratio.) Roughly speaking, this is the time it takes for a company’s stock price to double. The implication of a higher PER is that the company will continue to grow for a long time, while a low PER may indicate a lack of confidence in future growth. However, investing in a company with a greater PER also comes with greater risk, as the payback period is longer and the world is constantly changing.</p><p>The historical average PER for all companies on the S&amp;P 500 stock market index is around 19.4. Ogura referred back to Cisco and Nintendo to show us their PERs, which were 18.72 and 21.63 respectively — examples of some standard PER values. This is where he tied his presentation into SaaS companies.</p><p>Our company HENNGE, had a PER of ~691 at the time of the presentation. Other examples given were Zoom, with a PER of ~1576 and Slack, with a PER that cannot be calculated! So what is going on with SaaS companies? They either have extremely high PERs or negative PERs. Other than this, they also have high PBRs.</p><p>Ogura explained that these valuation methods are probably not the right way to value SaaS companies — they use book values and earnings in their calculations and don’t take into account how business works for companies based on subscription services, which are usually very focused on growth regardless of high costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w27jWiaENsdNomFrZ6p6nQ.png" /><figcaption>Ogura gives an analogy to understanding SaaS pricing</figcaption></figure><p>He introduced a couple of newer, similar valuation methods that may be more suitable for SaaS companies — the <strong>prices-to-sales ratio (PSR) </strong>and <strong>enterprise value-to-sales (EV/Sales)</strong>. These roughly equate to how many years of sales are equal to the company’s potential value. HENNGE has a PSR of 24.6, and a lot of SaaS companies fall in the range of 20–40.</p><p>Ogura concluded by saying that although not perfect, PSR and EV/Sales are a more appropriate way to value SaaS companies. However, he feels like the majority of investors are still in the mindset of using PER, even for companies based on subscriptions, like SaaS companies.</p><h3>Clobber The Board Game by Hayashi</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1koMFJNxqX4pPTLsTyAoTA.png" /></figure><p>Kazuya Hayashi from HENNGE’s Cloud Product Development Division (CPRD) gave the next presentation, on game AI. He decided to speak on the topic after recent news that the professional <em>shogi</em> player Sōta Fujii achieved the rank of 8-dan (the second highest) at a record-breaking age. He and other<em> shogi</em> players in recent years have started to use AI while practicing for games. Apparently, Fujii finds and plays these computer-like moves even faster than a computer can!</p><p>This recent discourse on AI reminded Hayashi about his encounters with the subject during his studies at university. His professor talked about studying human cognition by studying game AI. In a game like <em>shogi</em>, there are many moves that can be made on any turn. Competitive players need to figure out a good move in a reasonable time. Studying how to find the best move may give insights into how human cognition works.</p><p>During his studies, he defined two elements of cognition: searching and evaluation. <strong>Searching</strong> is the process of looking through the different combinations of states of the game, while <strong>evaluation</strong> is the process of deciding whether or not a certain board state is favorable to the player. How do players search and evaluate in their limited time?</p><p>Hayashi spent some time implementing a game AI as part of his studies. A game like <em>shogi</em> has complicated rules and a huge number of combinations of board states— apparently more than 10²²⁴! Hayashi decided to develop an AI for a simpler game: <a href="https://en.wikipedia.org/wiki/Clobber">Clobber</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/0*QPPPbhREtFAfDnc_.jpg" /><figcaption>A Clobber board</figcaption></figure><p>He implemented a sample Clobber program and then implemented an effective searching algorithm based on <a href="https://cis.temple.edu/~ingargio/cis587/readings/alpha-beta.html">MiniMax with Alpha-Beta Cutoff</a>. This algorithm skips moves that don’t affect future moves.</p><p>Hayashi didn’t manage to implement an effective evaluation algorithm but gave suggestions as to how one would work, including using past play history. For example, if there is a board state from which a player has won in a past game, then a move that leads to this board state can be evaluated as a good move.</p><p>I think it’s fascinating how game AI has influenced how people play games in recent years. I know that a lot of professional chess players these days use advanced chess engines to prepare for games and these human players have begun to play non-intuitive computer-based strategies. It was interesting to hear that it happens in <em>shogi</em> as well and AI seems to be having an effect on all kinds of areas of the world.</p><h3>How to make a landing page by Okubo</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AN-MmfoMf6_rl-QU1joFpw.png" /></figure><p>Masahiro Okubo from HENNGE’s HDE Division gave the next talk titled “How to make a landing page”. He presented this as a talk related to his talk given in the previous month “How to grow your service”.</p><p>He described the landing page as being one of the most important first steps in starting a business. He began by describing what a landing page is in the digital marketing world — a page that a visitor ‘lands’ on after clicking a link or advert.</p><p>The purpose of the landing page is to get prospective customers’ information so that they can be targeted by further e-mails and communications. To do this, a landing page must appeal to those who land on it. There are many different sections that need to be displayed — what does your service do? What problems does it solve? It may be difficult for beginners to structure the contents for a landing page, so Okubo gave some pointers regarding this.</p><p>He went on to describe how analytic tools, such as heat maps, can be used to see how users are interacting with the page. With data from these tools, you can then further optimise the page to improve the number of people who register their information.</p><p>He also gave some tips as to how it is important to structure and code your page correctly to be picked up correctly by search engines. Following good Search Engine Optimization (SEO) practices is important to improve the discoverability of your page. This may the most important thing, as it doesn’t matter how good the page is if no-one can find it!</p><p>He wrapped up by answering some questions about optimizations based analytics and SEO. From Okubo’s experiences, it doesn’t seem like it is particularly simple to optimize, even if you have the analytics. Additionally, it’s hard to pinpoint exactly how search engines index sites, so much of working with SEO may come down to trying out a few different ideas and monitoring the results.</p><h3>Putting the U in Colour by Sean</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f3d3yYaSkIxUVgA0T-jT6g.png" /></figure><p>My turn came next, and I talked about creating a custom colour theme for Visual Studio Code, the code editor that I use in my daily life for both work and personal notes. I spend a lot of my time with the editor open and while there is a plethora of different colour themes available, none of them fully fit my particular tastes. I thought it would be nice to try creating my own VS Code extension — both as a learning experience as well as a way to improve my day-to-day excitement in using my editor.</p><p>Before I set about creating my theme, I did some research and looked for any helpful resources I could. The best one I came across was an article by Sarah Drasner called <a href="https://css-tricks.com/creating-a-vs-code-theme/">Creating a VS Code Theme</a>. In this article, Drasner details the process of creating her own colour theme Night Owl. She provides information and links for setting up an extension, handy pages from the official VS Code documentation, and some colour palette and accessibility sites. I used the sites <a href="http://colorsafe.co/">Color Safe</a> and <a href="http://colorable/">Colorable</a> to help generate accessible colours for my theme. In addition to using these sites, I took a look for some inspiration from a couple of my hobbies — cycling and Magic: the Gathering. I found cycling jersey designs and art from Magic that appealed to me and used them for a few more colour ideas.</p><p>After creating the palette, I found a tool — <a href="https://themer.dev/">themer</a> — that can generate themes for a number of different editors and programs and plugged my colours into it. I downloaded the VS Code theme generated by the site and started editing it manually. As part of the presentation, I gave a short live demo of what editing a VS Code extension looks like and how editing colour values can be done with feedback in real-time. I wrapped up with the lessons I learned in trying to create the colour theme.</p><p>I wouldn’t use themer to create my own theme again, as although it seemed like a good starting point, there were lots of values I had to change, so it was a lot of time to essentially undo what themer had made. I would definitely recommend reading the article and also looking at some of the popular colour themes out there. They all have their own public GitHub repository and make good references for how to set up a successful project.</p><p>All in all, it was a good learning experience and I hope to release a colour theme in the not-so-distant future.</p><h3>Introducing HENNGE Lock by Charles</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uw-cKVrlvOLZav_U43qc7Q.png" /></figure><p>Charles Bond from CPRD has been working on the Android version of HENNGE Lock, and gave us a presentation that introduced the project. HENNGE Lock is a One Time Password (OTP) application that can be used to generate the OTPs for two-factor authentication (2FA) configured applications.</p><p>With most OTP applications, you are required to manually type the (usually) 6-digit password into a field when it is requested. HENNGE Lock is different to these applications because it implements Push OTP. With Push OTP, instead of manually entering the code, you are given a prompt to either accept or reject the login. This really reduces the friction that comes along with logging into 2FA configured applications. He then just gave a quick overview of the technologies used in HENNGE Lock.</p><p>Push OTP provides a much nicer user experience than regular OTP. I’ve been using it over the past few weeks and it’s been very smooth. As of 13th November 2020, HENNGE Lock is now officially released and can be downloaded from your operating system’s app store!</p><h3>Virtual YouTuber 101 by Bagus</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*562GbEUfK19Awb5n2pLenQ.png" /></figure><p>Bagus Rahman from CPRD began by telling us about how he had pondered about different projects he could do during the ongoing COVID-19 situation. He ended up becoming inspired to make Let’s Play videos — a genre of videos found on YouTube that involve playing through various games. He had recently bought a camera but hadn’t had much of a chance to use it due to not really leaving the house. Instead, he had started using it as a webcam and started to improve his home studio setup by buying a quality microphone as well. Combined with his enjoyment of playing video games, he thought; why not try streaming the games too?</p><p>Going even further, he thought that this might be a good opportunity to try becoming a Virtual YouTuber with an animated avatar, as he wanted to provide more than just audio but wasn’t so keen on putting his own face out there.</p><p>He got down to business and started doing some research. He found that there are 3 main steps to start Virtual YouTube-ing:</p><ol><li>Creating a virtual avatar</li><li>Motion capture to map movements onto your virtual avatar</li><li>Combining the avatar with video from a game — either live-streamed or recorded.</li></ol><p>He started looking at the software for each of these different steps, but he didn’t know how deep of a hole he was getting into. It turns out that there is a multitude of different software out there for each part of the puzzle, and there’s no tool that provides a solution for the entire workflow.</p><p>For example, avatar creation can be handled by professional 3d modeling software such as Maya and Blender, or with simple character customization applications such as Mixamo or even Facemoji. Bagus settled on using VRoid, a tool that he felt had an appropriate balance of ease of use and customizability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*w2kkA9J9IA65SIyV.png" /><figcaption>A screenshot of the VRoid interface</figcaption></figure><p>With motion capture, the programs available depend on the kind of input you would like to capture — some software is more suited to capturing the face, using a webcam and microphone, whereas others may be more suited to body capture using a bodysuit.</p><p>Bagus used a motion capture program called 3tene with the model he exported from VRoid. He showed us a screenshot of this in action with his face mapped to the avatar, showing an open mouth that mimicked his own.</p><p>Despite having this avatar that would follow his facial expression, Bagus still had a long way to go. In order to record the avatar moving in real-time, there were some hurdles to overcome in real-time rendering. On top of this, he would need to decide on the best way to record his gameplay, which gets even more complicated with console gaming. Finally, after combining the avatar with the gameplay, this would have to be live-streamed or uploaded to a service such as Twitch or YouTube.</p><p>Bagus hasn’t made it through all of the steps to create a Virtual YouTuber channel yet and he admitted that it was feeling quite overwhelming. He may abandon the project and go with a simple audio overlay to accompany videos of his gaming.</p><p>I didn’t realise there was so much that goes into being a Virtual YouTuber and I definitely feel a new-found respect for the many channels out there.</p><h4>Bonus/Lightning talks</h4><p>DURING this MTS, we had some extra time for additional talks. During this time, Ogura started flying around on his screen that he had shared as his video input in Zoom. This tied in nicely with the previous Virtual YouTuber talk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xa_ql-v-xnxrAFueow9t6Q.png" /><figcaption>Ogura floating in the middle of his screen</figcaption></figure><p>Ogura was using the video recording and streaming software OBS (Open Broadcaster Software) to overlay the video of his webcam on a video of his desktop. This was then fed into Zoom as his input device instead of his webcam. Finally, he was using a MIDI controller to easily move the video of himself around the screen, using a Python script called <a href="https://github.com/lebaston100/MIDItoOBS">MIDItoOBS</a>. It was an entertaining end to MTS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ie3w1UvfwdIkgedzzhmuOg.png" /><figcaption>Ogura demonstrating the use of his MIDI controller with OBS</figcaption></figure><p>After the session, we had our customary beer bash, which was naturally also held online.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QYnYMT9LYG50C-734LQz8A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=719a910eb426" width="1" height="1" alt=""><hr><p><a href="https://medium.com/henngeblog/73rd-monthly-technical-session-719a910eb426">73rd Monthly Technical Session</a> was originally published in <a href="https://medium.com/henngeblog">henngeblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Day 22 — Note to self: Build a Second Brain]]></title>
            <link>https://medium.com/henngeblog/day-22-note-to-self-lets-build-a-second-brain-f7bece63a906?source=rss-31982be3dfd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7bece63a906</guid>
            <category><![CDATA[henngeadvent2020]]></category>
            <category><![CDATA[notes]]></category>
            <category><![CDATA[henngeblog]]></category>
            <category><![CDATA[organization]]></category>
            <dc:creator><![CDATA[Sean Li]]></dc:creator>
            <pubDate>Tue, 22 Dec 2020 05:03:44 GMT</pubDate>
            <atom:updated>2020-12-22T07:47:43.827Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 22 — Note to Self: Build a Second Brain</h3><p>Dear reader, what is your relationship with notes?</p><p>Do you make perfectly crafted entries in a journal that you hold dear to your heart? Maybe you scribble them down on scraps of paper that soon get lost in the æther. Maybe you use <a href="https://en.wikipedia.org/wiki/Org-mode">Org-mode</a> in your text editor. Or maybe you don’t really take notes at all.</p><p>What I’ve written here are some incoherent ramblings — some meandering thoughts about the journey I have taken with notes throughout my life and some recent discoveries that I have made.</p><p>I’ve always been pretty keen about writing things down. I went through a number of ‘rough books’ at school, in which I would doodle throughout my classes. These days I have a couple of treasured journals.</p><figure><img alt="Two of my journals on a desk" src="https://cdn-images-1.medium.com/max/1024/1*9baw66KPkctLkZpQBM2n3A.jpeg" /></figure><p>I use these for a bunch of different things, mainly in an attempt to organise my life — to-do lists, budgeting and expenses, planning trips and events, and some gratitude journalling.</p><p>I also tend to use a small journal when travelling, as I’ve found that writing the names of the places I plan on going to helps me build up recognition of the names. This is especially useful for foreign place names that use an unfamiliar combination and order of letters. I also get to spend less time looking things up on my phone when I’m trying to preserve my battery life or limited mobile data capacity.</p><figure><img alt="A sample page from one of my journals" src="https://cdn-images-1.medium.com/max/1024/1*pwRxtRXRcKvUW26uWfFVAQ.jpeg" /></figure><p>There are some issues with physical notes, and I think <a href="https://macwright.com/2019/01/02/paper-notes.html">this blog post on paper notes</a> sums up a lot of them. I completely understand the feeling of buying nice books and not making much progress in them! It made me rethink some of the ways I take notes, but the fact of the matter is that despite having fond memories of putting pen to paper and planning out my days on the way home, I tend to use my smartphone and laptop for note-taking these days.</p><h4>Digital Notes</h4><p>Every day that I work on the PC, I make a daily note file. This file contains the things that I have coming up in the day, a to-do list, as well as notes taken while completing tasks. When I write up longer comments and discussions, I usually like to write them up in my text editor before posting them to GitHub or Slack or wherever.</p><p>In general, I use this approach as it helps me process information. I also appreciate that my thoughts are stored somewhere. I can often search for a keyword or term and find what I was working on a few months ago. But the system isn’t perfect — I have many unconnected notes, and sometimes I don’t know what words I need to search to find what I’m looking for.</p><h4>Roam Research</h4><p>Being a member of HENNGE, I think it goes without saying that I am always looking for ways to liberate and improve my daily life with technology. In March of this year, I came across a new tool called <a href="https://roamresearch.com/#/app/help/page/Vu1MmjinS">Roam Research</a>, which had some unique features.</p><p>In Roam, you create a note with a title, and all mentions of that title within other notes will be picked up by Roam and displayed at the bottom of the mentioned note. On top of this, you can explicitly link to a note with special bidirectional links that are similar to the wiki-links of sites like Wikipedia. This creates a web of connections between all of your notes, and you can see a visualisation of this on Roam’s Graph Overview page.</p><figure><img alt="The Graph Overview display in Roam" src="https://cdn-images-1.medium.com/max/1024/1*sPJebomGAjKed3bFPIFCZA.png" /><figcaption>Graph Overview in Roam</figcaption></figure><p>As you might have gathered, Roam doesn’t have a traditional hierarchical folder organisation of notes. This is meant to help people organise their ideas better. Ideas and information are not siloed into neat little folders in our brain — it is more of a network of interconnected and associated fluid thoughts, which Roam looks to mimic.</p><p>I thought these features were pretty cool, and while looking into how best to use Roam, I came across two related methods.</p><h4>Zettelkasten and building a second brain</h4><p>The first of these was the <a href="https://en.wikipedia.org/wiki/Zettelkasten">Zettlekasten</a> method, which is “a knowledge management and note-taking method used in research and study”. Zettalkasten literally means “slip box” or “note box”. One prolific German scholar, Niklas Luhmann, built up a Zettelkasten of over 90,000 cards and attributed his success in writing to it — in his eyes, it allowed him to write his works of over 70 books and 400 scholarly articles.</p><p>Roam and Zettelkasten are alike in the way that they both do away with the traditional file and folder hierarchy and instead create a network of notes. The <a href="http://zettelkasten.de/">modern Zettelkasten method</a> now has a passionate following that suggests using various knowledge management software, but what’s amazing is that Luhmann managed to create his personal Zettelkasten with a system of physical drawers of notes!</p><p>One of the method’s strengths that is touted by its enthusiasts today is that the more you add to a Zettelkasten, the better it becomes. As you add more information to the system, more connections spring up and you can see things in a different light. It’s a big web of data similar to the information in your brain, but instead of spending the effort on trying to remember everything, you create a knowledge base — an external second brain, if you will.</p><p><a href="https://www.buildingasecondbrain.com/">Building a Second Brain</a> is a costly course by Tiago Forte, a productivity expert, and is something that comes up a lot in conversations about Roam. I haven’t looked at the course in detail, but he writes about productivity on his blog. He champions a system called the <a href="https://fortelabs.co/blog/para/">PARA method</a> for general life organisation that I intend on taking some ideas from. Here’s a link to <a href="https://maggieappleton.com/basb">some nice illustrated notes by Maggie Appleton summarising the course and the PARA method</a>.</p><p>I was sold on the idea of building a personal knowledge base in a better way, but I was conflicted on what tool to use. Roam is good, but there are some issues. There is only a web app and no native app, but this isn’t a deal-breaker for me as it works well on both desktop and mobile. One of the bigger issues was the fact that I would probably be locked into Roam if I went with it. I was eyeing the 5-year believer subscription that had a price tag of 500 USD, but I thought I’d look at some alternatives before committing.</p><h4>Alternatives to Roam</h4><p>The first alternative I came across was <a href="https://obsidian.md/">Obsidian</a>. With Obsidian, notes are stored in the markdown format, which is the format I already keep my notes in. This was perfect in my mind, as I thought it would mean that my notes would not be tied to a particular software. Obsidian adds in a lot of similar features to Roam, such as wiki-links and a graph view.</p><figure><img alt="The graph view in Obsidian" src="https://cdn-images-1.medium.com/max/868/1*3U1nj-zRIY-3Gk0nkOc1hw.png" /><figcaption>Obsidian’s graph view</figcaption></figure><p>It’s free for personal use and the editor is pleasant enough, but I realised that despite being in markdown, the additional features would tie me to Obsidian to a certain degree. I thought that if this was the case, I might as well look at other tools that worked with markdown.</p><p>I found a couple of tools that are built on top of Visual Studio Code, the text editor I use right now for notes and coding. These were <a href="https://www.dendron.so/">Dendron</a> and <a href="https://foambubble.github.io/foam">Foam</a>, and interested me as I enjoy working in the editor and am very used to manipulating markdown within it. I intend on looking into Dendron in more detail, and it has already introduced me to some useful plugins for VS Code such as <a href="https://marketplace.visualstudio.com/items?itemName=kortina.vscode-markdown-notes">Markdown Notes</a>. This introduces wiki-links, backlinks, and tags for markdown files. The downside with working with these tools is that they are not compatible with mobile, something I am still conflicted about.</p><p>I looked at <a href="https://www.notion.so/">Notion</a> and <a href="http://evernote.com/">Evernote</a> as they have mobile apps that would provide a way for me to update my notes from wherever I might be. Notion recently added a feature to show backlinks at the top of each page — showing what pages link to the page you are on — bringing it one step closer to the other options. I’m a fan of Notion’s aesthetics and other features but the performance on mobile still leaves something to be desired. Evernote didn’t capture my attention and I soon dismissed it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZX25Qbol37ZXpMep" /><figcaption>Photo by <a href="https://unsplash.com/@sourabhgijare?utm_source=medium&amp;utm_medium=referral">Sourabh Gijare</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Takeaway points</h4><p>So far I’ve talked a lot about the specific tools that I tried out, but I didn’t really want to focus on that.</p><p>One of the main ideas of Zettelkasten is that you look for discrete ideas in the content you consume. You can pick out ideas from books and articles you read or videos that you watch and turn them into notes. For me, I’ve started to try and be more present while watching and reading content and reflecting on it afterward. I will try to write a little bit about how it made me feel or summarise the ideas that resonated with me. I believe it’s helped me focus and take in ideas, turning a viewing of a YouTube video into something productive rather than a fleeting moment that I’ll forget about by the end of the week. I can engage in a more meaningful way with content and it’s reassuring to know that my thoughts are recorded for my future self.</p><p>On top of this, the idea of building a personal knowledge base is something that I am looking to pursue. While writing this, I had someone buy something from me on Mercari for the first time in a while. I had forgotten what kind of phrases to use to thank the buyer and convey when I intended to send the item, but it’s something I’ve definitely had come up with before. It should already have been in my personal knowledge base.</p><p>I’ve been taking some atomic notes regarding the front-end technologies that I work with on a daily basis. When I look up an answer on StackOverflow, I can summarise it in my own words, create a note, and put a link to the question. I’m trying to build up a library of my own understanding and I’m optimistic about the long-term benefits.</p><p>It’s a process I’ve only started recently, but I’m looking forward to the lifelong adventure of building my own knowledge base, my personal Wikipedia— my own second brain. Will you join me?</p><p><em>This article is part of the HENNGE Advent Calendar 2020. An Advent calendar is a special calendar used for counting down the days till Christmas. HENNGE Advent Calendar 2020 presents one article by one HENNGE member per day for 25 days until Christmas, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7bece63a906" width="1" height="1" alt=""><hr><p><a href="https://medium.com/henngeblog/day-22-note-to-self-lets-build-a-second-brain-f7bece63a906">Day 22 — Note to self: Build a Second Brain</a> was originally published in <a href="https://medium.com/henngeblog">henngeblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Figma Config Europe 2020 Report]]></title>
            <link>https://medium.com/henngeblog/figma-config-europe-2020-report-50d85bdecbad?source=rss-31982be3dfd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/50d85bdecbad</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[figma]]></category>
            <category><![CDATA[henngeculture]]></category>
            <category><![CDATA[hennge]]></category>
            <category><![CDATA[config]]></category>
            <dc:creator><![CDATA[Sean Li]]></dc:creator>
            <pubDate>Wed, 11 Nov 2020 05:02:01 GMT</pubDate>
            <atom:updated>2020-11-11T05:02:01.389Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Promotional image for Figma Config Europe conference" src="https://cdn-images-1.medium.com/max/1024/0*zjUt897iKqxVSVFM.png" /></figure><p>On Thursday 17 September 2020, a few of us from HENNGE attended Figma’s Config Europe online conference. One of our colleagues, Toshiya Doi, instigated the creation of a new experimental educational support to encourage members of our development division to attend online conferences despite the current pandemic situation. This was the first conference that put this program to use and seemed to be a perfect testing ground. The event was free, not too long, and despite being held in Europe, we didn’t have to stay up <em>too </em>late past our bedtimes.</p><p>For those of you who aren’t familiar, Figma is a collaborative design tool that was initially released in 2016 and has rocketed in popularity since. We use Figma within the company now to collaborate on designs and prototypes. I was especially interested in this conference as I first tried the application out in 2018 and quickly fell in love with it.</p><p>The conference started with an opening keynote, highlighting some of the improvements and features recently added to Figma alongside a preview of things to come. The Auto Layout feature added within the last year looked like a pretty magical time saver, and the new announcements promise to bridge the gap between code and design a bit more.</p><p>The presentations were then split over 4 stages, each with a general theme. One stage was labelled <strong>Inside Figma</strong>, with presentations from Figma employees. The others discussed topics such as teamwork, collaboration, fostering an inclusive culture, and design systems.</p><p>Instead of us all writing independently on the same presentations and duplicating our work, we decided to each write about some that especially impressed us.</p><h3>Henry</h3><p>For me, the talk that left the biggest impression was <strong>Intentful Contrast</strong> by <strong>Henrique Gusso</strong>. Looking at the title alone, I expected a talk that guides us on ways to pick colors with good contrast among them. What we actually got was a recounting of his journey researching different color spaces that fit best for his Figma plugin, aptly called <a href="https://www.figma.com/community/plugin/847120744711293046/Palettes"><em>Palettes</em></a>, with juicy science to back the decision up!</p><figure><img alt="Official promotional image for Figma plugin Palettes" src="https://cdn-images-1.medium.com/max/1024/0*NWqTfHlOBMizxPXM" /><figcaption>Henrique Gusso’s Figma plugin Palettes</figcaption></figure><p>When speaking about color spaces, most people will be familiar with the RGB color space, which is an additive color space made up of different lightness values of Red, Green, and Blue colors. While this color space is widely used in the digital world due to the way displays are built to emit color, he found that the color palette based on RGB does not provide an even lightness across colors when perceived by human eye, e.g. yellow colors always look brighter to humans compared to blues with the same intensity.</p><p>After some research, Henrique found that this is because the RGB color space is not meant to represent the colors with the same intensity with the same luminance level. A more suitable color space for this task would be HSL, which is an abbreviation of Hue, Saturation, and Lightness. Since we are able to specify lightness here, the problem should be solved, right?</p><p>Not so simple, it turns out. While HSL does take lightness as one of the main factors in generating colors, it still does not provide even luminance when viewed by human eyes. After some more research, he found that people have researched this issue and it turns out that human eyes perceive color lightness differently for each color. W3C defines this human-perceived lightness as relative luminance, and provides a formula to calculate relative luminance of colors. Sure enough, when we calculate the relative luminance for each color in a HSL color palette, we can see a constant upward curve from red all the way to blue colors across the same lightness values.</p><p>OK, are there any other color spaces more suitable for this task? There are some efforts to incorporate relative luminance to color space such as <a href="https://www.hsluv.org/"><em>HSLuv</em></a> and <em>HPLuv</em>.</p><ul><li>With <em>HSLuv</em>, there is still some perceptible variance in perceived lightness across the same intensity. It’s not as jarring as the one made with HSL, but still fairly noticeable in some colors at certain lightness levels. As it turns out, the formula used to calculate relative luminance is useful, but it’s not perfect.</li><li>The color palette generated by <em>HPLuv</em> tends to look like pastel colors (paler) in comparison to the one generated with other color spaces, which does not look as appealing and limits the amount of colors that we can use.</li></ul><p>Back to researching it is. After looking around some more, Henrique found another color space called <a href="https://jiffyclub.github.io/palettable/cubehelix/"><em>CubeHelix</em></a>, which he likes a lot and is the one he uses in the final version of his <em>Palette</em>s plugin. The powerful thing about this color space is that even though by default it also provides pastel colors similar to <em>HPLuv</em>, we can dial up the saturation level to generate a more vibrant color palette at the expense of some variance in relative luminance across the board. Since the user can adjust saturation at will (up to 300%), everyone can choose the value they like, and subsequently, choose which compromise they’d like to make. Finally, it’s done!</p><p>The talk left a great impression on me, especially because I’ve tried generating random color palettes with uniform saturation and lightness for a personal project in the past, and finally ended up giving up on randomized colors due to the difficulty of making sure they look good alongside each other. Henrique’s talk really opened up my eyes to what I had been missing at that time. Equipped with this new knowledge, I am now confident I would be able to come up with a better implementation for the random color generator I wanted to make at the time.</p><h3>Kelvin</h3><p>The talk which had the biggest impact on me was <strong>A look into Figma product thinking </strong>by<strong> Sho Kuwamoto</strong>. The entire talk was about how Figma comes up with ideas for features and Sho reverse-engineering the process to make it explainable. It was a very lighthearted and casual talk but it gave some interesting insight into how startups like Figma think about their product features and how they decide on what to work on, one of the fundamental problems when running a company.</p><p>As with anything briefly mentioned on a medium article — and originally from an online conference in this case — the following is not a formal system; please take all advice with a grain of salt.</p><p>The following is the journey that the team goes on when thinking about what features to add to their product.</p><figure><img alt="The general flow when developing features. User -&gt; Problems-&gt; Solutions -&gt; Map -&gt; Principles" src="https://cdn-images-1.medium.com/max/1024/0*__iGnxzykk0P0_fG" /></figure><p>He mentions in the first step, Users -&gt; Problems, that the wrong question to ask yourself would be “How do we develop user empathy to build a better product?”. Sho then goes on about how when Figma was in its alpha phase, whenever the users had a problem, the team had to drive down to the user’s office to personally fix the problem. The frame of thinking should be “how can we help you do your job?”.</p><p>Once you do that, you should have a list of solutions to whatever problems that the user may face. The next hard thing is choosing which feature to work on. At Figma, they divide the features into 2 categories, tactical and strategic.</p><p>Tactical features are small features that have no real order and the best way to deal with them is to ship them quickly. At Figma, something like “a better style picker” might be a tactical feature.</p><p>Strategic features are much more complicated as they will affect each other. Thinking about them requires more steps.</p><ol><li>Plan lots of features at once. To ensure you have the full picture.</li><li>Make a map of how each feature will fit with each other.</li></ol><figure><img alt="A literal street map of how features might fit in a city that represents the product" src="https://cdn-images-1.medium.com/max/1024/0*p32lYYWXfWYMutQP" /><figcaption>A literal street map of how features might fit in a city that represents the product</figcaption></figure><ul><li>At the start, it’s not going to fit together nicely.</li></ul><p>3. Map looks like a document</p><figure><img alt="An example image of a  document with features, user needs and solutions." src="https://cdn-images-1.medium.com/max/1024/0*tFpY0ReXHSnG6jiC" /><figcaption>List out the user need and solution provided by each feature in a document format</figcaption></figure><ul><li>By writing everything out, they can identify user needs and group them in a way that makes sense</li></ul><p>4. Figure out how they all stack together</p><figure><img alt="A map with a more structured layout, using principles like streets to group things together logically and give it more order." src="https://cdn-images-1.medium.com/max/1024/0*9I_5f8CZnXCzApU_" /><figcaption>Principles are like streets to group the features logically, making things less chaotic.</figcaption></figure><ul><li>By being able to group things together, they can then see which features make sense to be developed in a certain order, like lining things up on the same street.</li></ul><p>Last but not least, the most important part of the entire process is to develop a set of principles when arranging the strategic feature map.</p><figure><img alt="The workflow shown above, but with an arrow looping back from Principles to Solutions to indicate a loop to guide development" src="https://cdn-images-1.medium.com/max/1024/0*DRgzA3Q6X7DI5M5p" /><figcaption>By developing principles when mapping solutions, it creates a loop to guide the development of future solutions</figcaption></figure><p>This set of principles will drive future solutions and guide how the product develops. One example of a principle coming up from strategic features in Figma is the principle of “Allowing users to structure their design to match code”. This came about after grouping two popular features, <em>States</em> and <em>Auto Layout,</em> and seems like a great overarching principle in retrospect.</p><h3>Michelle</h3><p>Figma stands out among other design tools by its emphasis on improving collaboration between designers and other stakeholders in the entire product cycle. In her talk, <strong>When Localisation and Design Talk to Each Other</strong>, <strong>Anne-Sophie Delafosse</strong> showed how some common problems that arise during localisation can be solved with a Figma plugin. Anne-Sophie shared with us her experience, which led me to compare it to my experience at HENNGE. I chose to write about her talk because I have experienced a lot of the pains that she mentioned at HENNGE. Obviously, a plugin is just a tool. It can only be useful if all team members adopt it and use it effectively. I wonder if we can also change our process and remove some of the impediments in our localisation process.</p><p>Anne-Sophie started her talk with a little fun exercise with the audience. She showed us two screenshots of the same app in two different locales and asked us to spot the errors. The errors included untranslated strings, strings translated to a wrong language, sub-optimal UI, and broken UI, e.g. cutoff strings. I have experienced all of the above. Then, she moved on to talk about how localisation is typically handled in most companies. The three common observations are:</p><ol><li>Localisation is typically introduced very late in the development process.</li><li>Designers do not have or are not given enough resources to take the differences of different languages into consideration early on.</li><li>There are no platforms to effectively communicate the context of the translation task.</li></ol><p>I can totally relate to all of these, and I would like to explain why they are problematic.</p><p>We use tools to compile translated strings into a json file which will later be read by the web application itself. It is part of my job as a developer to do the compilation, and we only consider a feature done when all the translations are in-place. Sometimes, the release of a feature can be blocked for days just because people cannot agree on the translations or they are not available. One of the causes is that developers send requests for translation too late in the cycle. On top of that, there are no standard ways of communicating the context, so it becomes very difficult and confusing for developers to send all these screenshots and follow what the translators are referring to on Slack (or any other communication tool.) What is even worse is when we find out that the UI design does not quite fit with a different language. For example, Japanese kanji usually need to have a bigger font than English to be readable, and a string in English usually becomes longer in Japanese. UI might break as a result. In most minors cases, frontend developers can take the liberty to fix the design, but in some cases, we need to reiterate the design process for something that we could have considered earlier.</p><p>Anne-Sophie introduced a Figma plugin their company uses to improve the whole localization process. It completely changes the workflow. Figma becomes the platform where designers, developers, and translators collaborate. Translators still upload their translations to a localisation management platform, then Figma will be able to automatically pull the strings from it. On the Figma console, all collaborators can see immediately how the design looks in different languages. As a result, designers are forced to think about localisation early on. Figma acts as the single source of truth and presents the contexts of where the texts reside. It also removes some burden from the developers.</p><figure><img alt="Official promotional image of Figma plugin for Phrase, a localisation collaboration app" src="https://cdn-images-1.medium.com/max/1024/0*5oh62j5CxKHHAnn8" /><figcaption>Phrase plugin for Figma</figcaption></figure><p>The exact plugin that Annie-Sophie’s company uses is <a href="https://phrase.com/integrations/"><em>Phrase</em></a>. A quick research gives me other options, such as <a href="https://lokalise.com/product/integrations/designer-tools/figma"><em>Lokalise</em></a> and <a href="https://support.crowdin.com/enterprise/figma-plugin/"><em>Crowdin</em></a><em>.</em> However, as I mentioned in the beginning, these tools can only serve as an incentive for change. Although I believe designers, translators, developers, and other members in my company will all agree that adopting a new tool will be helpful, I do not think that it will be an instant switch. There are two main obstacles that we need to overcome. First, these plugins require the project to be using an agile localisation management tool like <em>Crowdin.</em> Unfortunately, many of the projects in HENNGE do not. Second, although our projects are English-first, many team members are not necessarily fluent in English, so doing localisation early on when the base strings are not finalized can hinder the design process as well. Nevertheless, I will try to use this plugin in my new project in HENNGE and hopefully can get some inspiration on how to improve our localisation process to other projects.</p><p>Overall I am really excited about the new features and plugins that Figma offers. I believe it will make collaboration smoother and even more fun!</p><h3>Sean</h3><p>The talk that impressed me the most as part of the main conference was from <strong>Amanda Pinsker</strong>, who has been working as a product designer on <em>GitHub CLI.</em> Her presentation ‘<strong>Designing for the command line</strong>’ covered her experiences in designing the tool, which brings the features of the GitHub workflow — such as issues and pull requests — to the terminal.</p><figure><img alt="A screenshot from the official GitHub CLI site https://cli.github.com" src="https://cdn-images-1.medium.com/max/1024/1*5jh-DY08V4Vj7a4YeUFtfw.png" /><figcaption>The official site for the tool is at <a href="https://cli.github.com/">https://cli.github.com/</a></figcaption></figure><p>She began by talking about the UNIX shell that provides a command line user interface for UNIX operating systems.These interfaces were designed for computers with very little screen space and thus had to economise on their output. For example, Unix works on a principle of ‘no news is good news’, where successfully run commands give no feedback. On top of this, commands have obscure names that basically need to be memorised. For example, <em>grep</em> is essentially a search function, but it is named as such to mean ‘<strong>g</strong>lobally search for a <strong>r</strong>egular <strong>e</strong>xpression and <strong>p</strong>rint matching lines’. UNIX commands are clearly dated and were not developed for the greatest user experience, but the commands have survived into the shells of Linux and MacOS pretty much in the same form as when they were first created decades ago.</p><p>In designing for a new, modern CLI tool like <em>GitHub CLI</em>, the team didn’t need to follow the UNIX command patterns. They have more screen real estate to work with, and the whole experience could just be made more user friendly. CLI tools have historically been quite arcane, hard to understand and unforgiving. The team could focus on making a tool that subverts these notions using better UX principles.</p><p>One of their tools was to look at the visual arrangement. Even though the command line is graphically limited, it doesn’t mean that positioning and spacing is not important. Additionally, even if images cannot be used in the command line, there are some icons that can be used, such as ticks ✓ and crosses ✗. Although different font sizes couldn’t be used, font styles such as bold, underline, and italic could be utilised to create emphasis alongside colour. To reduce context switching and keep familiarity, the colour scheme was kept in line with the GitHub web graphical user interface.</p><p>Design in terms of language choice was another critical area — on the command-line tool, words are basically all you get! Deliberation was taken to come up with a selection of commands to reduce ambiguity and complexity. Wordings could be made less esoteric and cryptic than UNIX commands. Speaking of, we are a little less constrained by space on modern displays than before and the team decided that it would be helpful to show success messages. To improve the experience even further, commands are made more discoverable by essentially showing a page of options that serves as a jumping-off point whenever a command is typed. For example, typing <em>gh</em> will show the top-level menu for the tool, giving options such as <em>issue</em> and <em>release</em>. If <em>gh issue</em> is typed in, it will show you the sub-commands and some examples of how to use them. This is a far cry from looking up the manual pages on some UNIX commands.</p><figure><img alt="A screenshot of the GitHub CLI tool top menu" src="https://cdn-images-1.medium.com/max/1024/1*A6ADds5DT2pPpmv8irLq8g.png" /><figcaption>The top level menu of the tool upon shown typing <em>gh</em></figcaption></figure><p>The presentation really struck home for me, emphasizing how design is not just about visual design and graphics. It was inspiring to see the design process in a medium with constraints. I have seen some people mention that ‘restrictions breed creativity’ and it was apparent. There was some inventive use of a document in Google Docs set to a black background and a monospace font to prototype designs collaboratively. For this specific project, it seemed like Google Docs was a more suitable tool than Figma!</p><p>The talk was well-paced and impressed me so much that I installed the GitHub CLI tool the next day! Definitely, one that I would recommend watching once the videos are up.</p><p>The closing speech, <strong>Function, and Feeling</strong>, also surprised me. I didn’t have any expectations going into the talk and the title felt a little vague. I’m glad I stayed for it though. The talk was given by <strong>Haraldur Thorleifsson</strong>, the founder of an Icelandic design agency called Ueno. Living in Tokyo, my mind first jumped to the station on the Yamanote line with the zoo and the park, but he introduced it as being bueno without the ‘b’.</p><p>Haraldur told us a personal story. He recounted how his mother died in an accident when he was a young boy. This deeply affected him, naturally. He became withdrawn and to cope, he would play games and became obsessed with making websites and apps that connected niche pockets of people online. Later in life, he ended up working with Google on their <a href="https://santatracker.google.com/">Santa Tracker</a>, and poured his heart and soul into it. It was used by millions within days of its release and it made him happy to know that something he had created was making other people happy.</p><figure><img alt="An image of Santa Tracker from https://ueno.co/work/santa-tracker/" src="https://cdn-images-1.medium.com/max/1024/1*O5uEVu2mM-B2w0wB4sLtFA.png" /><figcaption>An image of Santa Tracker from <a href="https://ueno.co/work/santa-tracker/">https://ueno.co/work/santa-tracker/</a></figcaption></figure><p>Back to him and his mother. He hadn’t really dealt with his emotions and feelings relating to that tragic incident. At some point recently, he put out a post on social media about his mother and got many comments from people who had known her, including some people he had never met before. They sent pictures and videos of her, many that he had never seen before. All of this had a massive effect on him and has helped him in processing his trauma.</p><p>The main message he wanted to convey was that technology can really help us connect and facilitate great moments. It can make our lives richer, more beautiful, help us process grief, and make us more human. In this day and age, a lot of technology is very function-focused but it doesn’t have to be. ‘Why’ we build things is just as important, if not more important, than ‘what’ we build.</p><p>Social media gets a lot of flak, but strangers reaching out to him and sending him video footage that deeply moved him wouldn’t have happened without these platforms existing. Bringing the topic back to the Google Santa Tracker — this is an application that could be easily dismissed as being a useless toy. But he’s had many people tell him about their personal experiences with the application — something that has helped them through difficult times. Games can be more than ‘just a game’ — they can be a lifeline, a vital coping mechanism.</p><p>This is an application that could be described as useless or easily dismissed. Something without a critical function, but something that definitely creates a lot of feelings. But he’s had many people tell them about their personal experiences with applications like Santa Tracker that has helped them through. Games can be more than ‘just a game’ — they can be a really important coping mechanism, a lifeline.</p><blockquote>Master your craft, but don’t forget mastering your humanity.</blockquote><p>Technology can help us build meaningful connections, create lifelong memories, and remind us what makes us human. In the end, isn’t that what’s really important?</p><p>It was admirable to see him bare his soul and talk so openly about his personal struggles in life. The message is one that I have been mulling over since and I thought the presentation was a great closer to the event.</p><h3>Some final thoughts from each of us</h3><blockquote>Overall, I’m really glad I joined Figma Config Europe 2020. Some of the talks contain delightful surprises and topics that I really didn’t expect to encounter in a design-focused conference, like Designing for the command line and how code can inspire design in Figma components in sync with code components.</blockquote><ul><li>Henry</li></ul><blockquote>I thought the conference was professional and of a high standard. I’m glad I attended the conference and it gave me an insight into how other companies and teams work. I look forward to all of the talks being uploaded in October and being able to check out the ones I missed.</blockquote><ul><li>Sean</li></ul><blockquote>I really enjoyed the conference and despite being a Figma conference, there was a wide range of topics to learn from. I especially enjoyed the insights to how Figma grew and managed their product and how design as a whole was being considered, not just the visual aspect of it. There were some presentations that were more iffy than others but it really showcased the inclusivity of the figma community as a whole.</blockquote><ul><li>Kelvin</li></ul><blockquote>New design tools like Figma blur the line that we traditionally have between designers and developers. If used right, they can boost the efficacy of collaboration between the two parties greatly. I really look forward to a new style of product design workflow.</blockquote><ul><li>Michelle</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50d85bdecbad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/henngeblog/figma-config-europe-2020-report-50d85bdecbad">Figma Config Europe 2020 Report</a> was originally published in <a href="https://medium.com/henngeblog">henngeblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[70th Monthly Technical Session]]></title>
            <link>https://medium.com/henngeblog/70th-monthly-technical-session-de8d8a3d3ed9?source=rss-31982be3dfd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/de8d8a3d3ed9</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[monthly-technical-session]]></category>
            <category><![CDATA[hennge]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[technical]]></category>
            <dc:creator><![CDATA[Sean Li]]></dc:creator>
            <pubDate>Tue, 15 Sep 2020 08:01:04 GMT</pubDate>
            <atom:updated>2020-09-15T08:01:04.597Z</atom:updated>
            <content:encoded><![CDATA[<p>Monthly Technical Session (MTS) is HENNGE’s mini-conference. As the name implies, MTS is held monthly and its talks are (mostly) about technology.</p><p>With most people working from home and Tokyo’s ongoing state of emergency, the 70th MTS was held online on May 22nd, 2020.</p><h3>How to Type Japanese on US Keyboard (Windows) by Fukutomi</h3><figure><img alt="A screenshot of a slide from Fukutomi’s talk" src="https://cdn-images-1.medium.com/max/1024/1*jSokMPEoyXze9jqSNkL0LQ.png" /></figure><p>Our first presentation was given by Yutaka Fukutomi from HENNGE’s HDE Division. Fukutomi talked about the inconveniences he faced in setting up his new laptop to use the Japanese kana input layout.</p><p>The story began with how his machine was due for an upgrade last December, as it had reached the 3-year mark of its use. There was a problem, however. The laptops that were available to choose as a replacement only offered US keyboard layouts, as part of company-wide efforts to standardize keyboard layouts. Fukutomi has always typed Japanese using the kana layout, so some settings had to be changed to allow the new hardware to be used to his preferences.</p><p>He described the steps that were needed to enable this in Windows. Unfortunately, it wasn’t as simple as changing the input language, as the Japanese keyboard layout has a few more keys than the US keyboard layout. After deciding on a few keys whose original symbol could be forgone and used as alternatives to the missing keys, his new machine was set up and ready to go.</p><h3>Existing User Community “Chameleon” by Shimizu</h3><figure><img alt="A screenshot of a slide from Shimizu’s talk" src="https://cdn-images-1.medium.com/max/1024/1*JcWAeQiSO23axKozrj3FyQ.png" /></figure><p>The next talk came from Sae Shimizu, of our Customer Success Division. She described a community created by HENNGE for existing users of our products.</p><p><em>Chameleon</em> is the name of the community and was inspired by the animals of the same name. They change and adapt to their surroundings, aligning with HENNGE’s focus on continuous transformation and change.</p><p>The community exists on Slack, and is a place for users to share knowledge and ask questions. Users have shared various information and discussed various topics within the community. There is a channel dedicated to talking about the COVID-19 situation, including sharing data and adapting to changes in working style. Other topics include discussions regarding HENNGE One and the general global situation.</p><p>Although one of the aims was to have a place for questions and answers between our Customer Success team and users, some problems were resolved entirely within the user community, with some solutions even being outside of the knowledge scope of our team. A clear indicator of the usefulness of having such a community.</p><p>Shimizu explained how activities were held throughout the week for community members, including a weekly ‘online izakaya’ meetup on Thursdays. She concluded by talking about all of the things we have gained from the <em>Chameleon</em>, as well as the future of the community.</p><p>It was interesting to learn about this project. It is apparent that there are a lot of benefits of such a community and it will be interesting to see how it develops in the future.</p><h3>React(ive) Javascript by Ray</h3><figure><img alt="A screenshot of a slide from Ray’s talk" src="https://cdn-images-1.medium.com/max/1024/1*ZzOgCb7ahmKLVRX6FUUM2g.png" /></figure><p>The third presentation was given by Ray Wong of HENNGE’s Cloud Product Development Division (CPRD). <em>RxJS</em> is a library that implements the principles of <em>Reactive Programming</em> in Javascript.</p><p>To begin, Ray highlighted the differences in the paradigms of <em>imperative programming</em> and <em>declarative programming</em>. In <em>imperative programming</em>, you describe the exact steps that you want the computer to take, whereas <em>declarative programming</em> is more abstract — you give the computer an instruction, and don’t worry about the implementation details.</p><p><em>RxJS </em>and the paradigm of<em> Reactive Programming </em>follow a declarative, functional approach to writing code to work with events, such as user inputs and interactions with elements on a web page.</p><p>Ray showed us some examples where RxJS may be appropriate. He talked about a text input search bar that fetches suggestions for auto-completion — like the Twitter search bar. It would be unnecessary for a network request to be made every time a new character is typed into the search bar. Instead, the network request should be made when an amount of time has passed without an input being made. This is <em>debouncing, </em>and<em> RxJS </em>provides an instruction to easily debounce an event.</p><p>This was followed by a live demo of some code that Ray had worked on during his internship and updated for the presentation. He then showed us an example of reconnecting to a WebSocket after losing connection to the internet, which was made simple through using a <em>Reactive Programming</em> library.</p><figure><img alt="A screenshot from Ray’s live demo" src="https://cdn-images-1.medium.com/max/1024/1*WfD7ayDUO93kI-Oqiuk5qQ.png" /></figure><p>Ray introduced us to the <em>redux-obvservable</em> library that was created by Netflix. It seems like Netflix is one of the big proponents of <em>Reactive Programming</em> as they believe it is a helpful approach for building complex asynchronous programs.</p><p>Ray concluded the presentation with some pros, cons and strong recommendations for the use of <em>RxJS</em> in front-end applications. He attached a few links on his last slide that may be a useful introduction to anyone interested:</p><ul><li><a href="https://www.freecodecamp.org/news/beginners-guide-to-rxjs-redux-observables/">A Beginner’s Guide to RxJS &amp; Redux Observable</a></li><li><a href="https://medium.com/@luukgruijs/understanding-rxjs-map-mergemap-switchmap-and-concatmap-833fc1fb09ff">Understanding RxJS map, mergeMap, switchMap and concatMap</a></li></ul><p>The concept and paradigm seem to have some useful use cases but felt quite complex to understand completely. It is definitely something I will need to read more about to wrap my head around!</p><h3>Review HENNGE Secure Transfer v2 by Matsuura</h3><p>After a short break, we had our fourth talk from Shinya Matsuura of CPRD. He recently joined the <em>HENNGE Secure Transfer</em> team to help work on its update and has been getting up to speed with the project. The presentation covered an overall summary of the project and the architecture involved.</p><figure><img alt="A screenshot of a slide from Matsuura’s talk" src="https://cdn-images-1.medium.com/max/1024/1*2uCkT4SqnFJMZYV7_AZq7w.png" /></figure><p><em>HENNGE Secure Transfer</em> v2 aims to improve on the previous version, which has a number of issues including being quite monolithic and taking a while for deployment. The new version also intends to be easier to integrate with other services and to support more features that have been requested by our customers.</p><p>One of the first differences discussed was separating out the different components of the product into individual parts and repositories. The idea of this is to make it easier for people to join and work on a specific part without having the mental overhead of considering a large interconnected system. Matsuura detailed how various GitHub features such as the project kanban board and GitHub Actions helped in organizing and keeping things up-to-date between the repositories.</p><p>A promising next step is the integration of <em>HENNGE Secure Transfer</em> with <em>HENNGE Email DLP</em> to provide a better and smoother experience for sending encrypted e-mail attachments, as the current system is rather roundabout.</p><h3>The Great HENNGE Workstyle Outage #1 by Iskandar</h3><p>The last of our main presentations came from Iskandar of CPRD. He addressed a failure of one of our systems, the investigation into the root cause, and lessons learned for the future.</p><figure><img alt="A screenshot of a slide from Iskandar’s talk" src="https://cdn-images-1.medium.com/max/1024/1*qco69fjqMbcIZFH1AQanZg.png" /></figure><p>On the morning of February 4th, the status of all <em>HENNGE Workstyle</em> devices reported that they were not connected. The devices themselves appeared to be healthy, however, showing the same LED light as always. It seemed that they weren’t communicating with the server for some reason.</p><p>Iskandar realised that Google had changed their SSL certificates from using <em>Let’s Encrypt</em> to their own <em>Google Trust Services, </em>which meant that the certificates on the devices were no longer valid. This meant that the devices could no longer communicate with the server.</p><p>The devices needed to be updated so they could communicate with the server, but an update couldn’t be delivered without first being connected to the server. What a dilemma! It turned out that some of the newer devices had new HENNGE self-signed certificates placed on them, and an update in the server certificate configuration allowed these devices to connect and regain functionality.</p><p>However, these newer devices only accounted for 300 of 1000 devices and the other 700 devices needed to be updated manually one-by-one. A unenviable task that had to be carried out over 8 weeks! Iskandar wrapped up by talking a bit more in detail about digital certificates and some of the lessons learned from this incident.</p><p>Iskandar began the presentation talking about how Microsoft’s communication software Teams also had an outage in early February due to an expired certificate. It turns out that problems with certificates is a problem that any company can experience.</p><h3>Lightning Talks</h3><h4>OpenID Connect by Dima</h4><figure><img alt="A screenshot from DIma’s lightning talk" src="https://cdn-images-1.medium.com/max/1024/1*TXJSI3v5POiHuO0ExvWd-Q.png" /></figure><p>We had extra time left over for impromptu talks in this month’s MTS. Dima Tisnek from the<em> HENNGE Access Control </em>team of CPRD rounded off the event with a mini-announcement that their team has started experimental support for OpenID Connect. It will be exciting to see this in use, with it offering advantages over the pre-existing SAML support.</p><p>We had a party afterward, as is the tradition of MTS. Like the main event, this Beer Bash was held online. We might not have any pictures from the after-party, but you can rest assured that it was fun. (It was so fun that we may have forgotten to take a picture!)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de8d8a3d3ed9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/henngeblog/70th-monthly-technical-session-de8d8a3d3ed9">70th Monthly Technical Session</a> was originally published in <a href="https://medium.com/henngeblog">henngeblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Magic: the Turing Machine]]></title>
            <link>https://medium.com/henngeblog/magic-the-turing-machine-4ea52bb399a3?source=rss-31982be3dfd2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ea52bb399a3</guid>
            <category><![CDATA[magic-the-gathering]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[hennge]]></category>
            <category><![CDATA[magic]]></category>
            <category><![CDATA[computers]]></category>
            <dc:creator><![CDATA[Sean Li]]></dc:creator>
            <pubDate>Thu, 20 Feb 2020 07:01:01 GMT</pubDate>
            <atom:updated>2020-02-21T00:54:57.687Z</atom:updated>
            <content:encoded><![CDATA[<p>What are you about to read? Mainly something to do with this article:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4nRWCylKDwhPcHRKA5ESPA.png" /><figcaption><a href="https://www.technologyreview.com/s/613489/magic-the-gathering-is-officially-the-worlds-most-complex-game/">https://www.technologyreview.com/s/613489/magic-the-gathering-is-officially-the-worlds-most-complex-game/</a></figcaption></figure><blockquote>“Magic: the Gathering” is the world’s most complex game.</blockquote><p>What does that even mean? What a clickbait-y headline! What does ‘official’ mean here? What is complexity?</p><p>I’m not going to answer those questions, but I’ll start by answering this:</p><h3>What is Magic: the Gathering?</h3><p><em>Magic: the Gathering</em> (<em>Magic</em> or <em>M:tG</em> for short) is a trading card game. You take the role of a powerful wizard, summoning creatures and casting spells in order to overcome your opponents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rspMmre5gkddF7D31RKzQw.jpeg" /><figcaption><a href="https://flic.kr/p/9ErTSS">https://flic.kr/p/9ErTSS</a></figcaption></figure><p>It’s a game of many pieces and objects, where you use strategy and tactics to try and outwit your foes. There are many different resources to manage, and you are given many opportunities to interact with your opponents.</p><p>I’ve been playing it for nearly 20 years now, and have played it competitively for some amount of time. That’s how I came across the article — of course people who know me sent it to me as soon as they saw it.</p><p>Here’s me at a couple of tournaments:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*ZfwVUQM_jwrKXuV8hVwtTg.jpeg" /><figcaption>GP Nagoya 2016 <a href="https://mtg-jp.com/coverage/gpnag16/article/0016430/">https://mtg-jp.com/coverage/gpnag16/article/0016430/</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*d535zkjZD4qyeHOHcJz1TQ.jpeg" /><figcaption>The 6th God of Limited Tournament (2019) <a href="https://article.hareruyamtg.com/article/35648/#3">https://article.hareruyamtg.com/article/35648/#3</a></figcaption></figure><p>So that’s <em>Magic</em>. Let’s get back to looking at the article.</p><h3>What’s the article about?</h3><p>The article reports on the findings of a study posted in 2019:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nF-CXQUczVt4x62P" /><figcaption><a href="https://arxiv.org/abs/1904.09828"><strong>Magic: the Gathering</strong> is Turing Complete (https://arxiv.org/abs/1904.09828</a>)</figcaption></figure><p>The study by Churchill et al. embeds a <strong>Turing machine</strong> into a game of <em>Magic: the Gathering</em> to show that it is <strong>Turing complete</strong>. They state that determining the outcome of a game of <em>Magic</em> is equivalent to solving the ‘famous’ <strong>halting problem</strong>.<em> </em>They hypothesize that:</p><blockquote>Determining the outcome of a game of <em>Magic: the Gathering</em> in which all remaining moves are forced is undecideable.</blockquote><p>What does this all mean and why should we care? Let’s take it a step at a time, with some definitions of the jargon just mentioned.</p><h3>Definitions and background</h3><p>A <strong>Turing machine</strong> is an abstract machine invented by Alan Turing in 1936. A Turing machine consists of:</p><ol><li><strong>A tape of unbounded length</strong>. This tape is made of cells that may be blank or have symbols written on them.</li><li>A stored<strong> machine state</strong>. The machine keeps track of this state.</li><li>A <strong>set of instructions </strong>that tells the machine what to do each time the tape is read. These instructions tell the machine how to move the tape, what to write and also whether or not to change state.</li><li>A <strong>read/write head</strong> that can read one cell of the tape at a time. After a cell is read, the machine performs what the instructions say, based on the symbol read and the state of the machine.</li></ol><p>With just these components, a Turing machine can be made to simulate any algorithm, given the right amount of states, instructions and symbols. A Turing machine can be made to compute anything a modern computer can.</p><p>A system is <strong>Turing complete </strong>if it can compute anything a Turing machine can. Almost all modern programming languages are Turing complete.</p><p>The Turing machine was originally conceived whilst attempting to prove whether or not <strong>undecideable problems </strong>exist. These are problems where it is impossible to create an algorithm that will always give a correct yes or no answer. Problems that cannot be solved by a computer, even with unlimited time and processing power.</p><p>Turing proved that these problems do exist, by showing an example —<strong> the halting problem. </strong>It essentially boils down to:</p><blockquote>Can an algorithm be created that looks at a program and its input, and decide whether or not it finishes running?</blockquote><p>Turing shows that the answer to this is “No”. You can create an algorithm that is correct for some programs and some inputs, but not for every program and its inputs. The simplified reason is because you could give this algorithm a program that does the exact opposite of what is predicted.</p><p>I’m not going to go into great detail here, as I don’t think more words will make it easier to understand, but here’s a <a href="https://www.youtube.com/watch?v=92WHN-pAFCs">video more specifically on the halting problem</a>. University of Cambridge also has a <a href="https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/turing-machine/one.html">nice little page with diagrams that might help with conceptualising Turing machines</a>, and here’s a <a href="https://www.youtube.com/watch?v=7TycxwFmdB0">video that sums up a lot of the above terminology</a>.</p><p>So, what about the paper? Churchill et al. aimed to show that, similar to the halting problem, there is no algorithm that can take any game of <em>Magic</em> as its input and determine if there is a winning move. Basically, to show that the following could not exist:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nhYhu_C-PZeZwCYO8BXZyA.png" /></figure><h3>How do they embed a Turing machine into a game of Magic?</h3><p><em>Magic</em> has an <a href="https://magic.wizards.com/en/game-info/gameplay/rules-and-formats/rules">extremely detailed comprehensive rule book</a> that is over 230 pages, describing the rules engine that underlies the game. You don’t need to know the exact ins and outs to play the game (fortunately — that would be so unreasonable!), as the engine runs invisibly under the surface. The game is usually played with many shortcuts, and the rules are there just there to explain exactly how all mechanics work—to remove ambiguity in how effects might happen.</p><p><em>Magic</em> is a game that has been around for over 25 years and as such, the number of unique individual cards has reached over 20,000. There is a huge range of mechanics and such a wide variety of effects that allow for some complex constructions to be created. All of this, together with the deep rules engine, allows for putting a Turing machine into the game.</p><p>As we talked about above, there are some things that need to be encoded into the game to set up the Turing machine:</p><ol><li>The <strong>unlimited length of tape</strong> to perform computations on and with.</li><li>The <strong>state</strong> of the machine.</li><li>The <strong>set of instructions</strong> that tell the machine what to do in each computational step, depending on what is read from the tape and the state of the machine.</li><li>The <strong>read/write head</strong> of the machine that performs the computational steps.</li></ol><p>One of the unique features of the game is that there are virtual game objects, ‘tokens’, that are generated by regular card effects. These can be represented by anything and don’t need to literally exist in the same way that a deck of ‘real’ card objects does. This means that in a game of Magic, there can be an unlimited number of game objects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JLr1mm03rtFYfnrrZOGAWw.png" /><figcaption>Two cards used in the study that create virtual ‘token’ objects, and are used for the tape and the machine state.</figcaption></figure><p>This, along with the multitude of characteristics that Magic cards can have, allows them to construct the unlimited length of tape used in a Turing machine. The state of the machine is also stored using two sets of very similar, but specifically different cards. You can see a couple of the cards above.</p><p>The set of instructions used in a Turing machine are a set of conditional statements that cause different behaviours based on the state of the machine and the current cell of the tape being read. In <em>Magic</em>, many cards have ‘triggered abilities’, which are equivalent to conditional statements. These start with the words “<em>at”</em>, “<em>whenever”</em> or <em>“when”</em>. Using a carefully selected array of cards and effects, the authors of the paper are able to create the set of instructions needed for the Turing machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tuWCpgL5xtDxktFhUKLV9A.png" /><figcaption>Examples of ‘triggered abilities’</figcaption></figure><p>The read/write head is constructed by assembling a set of cards that forces moves to occur. Executing a computation step involves forcing a player to cast a specific spell that causes a cascade of different effects to occur in sequence. Churchill et al. decide to encode these four components into a two-player game of <em>Magic</em>, as it is the format that is most played in tournament <em>Magic</em>.</p><p>With these parts in place, the Turing machine has been encoded. All that’s left is to let it run. Each player has no decisions to make and the game will proceed in a predetermined fashion. This Turing machine sometimes stops and other times it continues in an infinite loop. Despite every move being forced and determined, predicting whether or not the machine will stop is unreliable. Determining the outcome is equivalent to determining the halting of a Turing machine.</p><p>Demonstrating this, Churchill et al. state that their theorem has been proved in the affirmative. <strong>It is impossible to determine the correct move in some situations during a game of <em>Magic</em>.</strong></p><h3>Why is this special?</h3><p>It is an incredibly unlikely scenario, but it can be created using a tournament-legal <em>Magic </em>deck and obeys the rules exactly — it can be set up in an actual tournament game. They use this as a basis for suggesting that <em>Magic</em> is the most computationally complex game that is played in a real-world setting.</p><p>Compare this to incredibly complex games such as Chess, or Go — where moves are actually finite, despite there being an exponentially large number of combinations and permutations. We may not have the computing power to be able to brute force this currently, but they are theoretically computable.</p><p>This is mainly significant for further algorithmic game theory research, as it goes against the leading formal theory of games that assume that real-world games are computable. It is a bit less practical — the outcome of the study doesn’t teach us how to play better at <em>Magic</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h5TpaLdwZuqEO6VTL8XwXw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@randyfath?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Randy Fath</a> on <a href="https://unsplash.com/s/photos/chess?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Additionally,<em> Magic</em> being Turing complete means that it can technically be used to compute anything a computer could compute. Of course, this is highly impractical and you would have to find a way to encode the algorithm you wanted and a way to decipher the result. The idea is nice, though.</p><h3>What do I personally think?</h3><p>I think it’s a neat study and has obviously taken a lot of work. I guess that from the definition of computational complexity, <em>Magic</em> might be “officially the world’s most complex game”, but that claim still irks me. It is definitely very complex — and probably impossible play perfectly — but I do feel that games like Chess are harder to play well. The conclusion of the study is less practically focused, however, and is mainly significant from a research perspective.</p><h4>Wrapping up</h4><p>Whilst reading, I found some lists about <a href="https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html">other systems that are ‘unintentionally’ Turing complete</a>. Some examples:</p><ol><li><a href="http://www.felienne.com/archives/2974">Encoding a Turing machine in <em>Microsoft Excel</em> using only formulas</a>.</li><li>A <em>Microsoft PowerPoint</em> presentation file that uses AutoShape, Animation and hyperlinks and that can be encoded to perform computational tasks. While not technically Turing complete as it requires user input, the creator has written <a href="https://www.andrew.cmu.edu/user/twildenh/PowerPointTM/Paper.pdf">an amusing paper</a> about this and has made an <a href="https://www.youtube.com/watch?v=sdkxWqsk17c">enjoyable YouTube video of the presentation</a>.</li><li><em>TypeScript</em> is a modern Turing complete programming language that is statically typed. Its type system is used to ensure type safety for the language’s code. An issue on the language’s GitHub repository — <a href="https://github.com/Microsoft/TypeScript/issues/14833">Typescript’s Type System is Turing Complete</a> — shows that even the supporting type system can be used to perform computations.</li></ol><p>Looking into this paper gave me a lot of appreciation for some ideas and opened my eyes to a lot of new concepts I wasn’t aware of. I didn’t really think about some problems being non-computable. I was under the impression that a computer could solve anything given enough time and power.</p><p>I want to end by sharing <a href="https://www.youtube.com/watch?v=YX40hbAHx3s">a video about computational complexity and problems</a>. Churchill et al.’s paper mentioned terms including NP and coNP-complete, prompting me to have a little look into these. I’m glad I did, as the video was incredibly inspiring and insightful, and I definitely recommend watching it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ea52bb399a3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/henngeblog/magic-the-turing-machine-4ea52bb399a3">Magic: the Turing Machine</a> was originally published in <a href="https://medium.com/henngeblog">henngeblog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>