<?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 Changwhan Yea on Medium]]></title>
        <description><![CDATA[Stories by Changwhan Yea on Medium]]></description>
        <link>https://medium.com/@cwyea?source=rss-f6d86249a723------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*RMSn9jimwBJ8GPPhC9r_GQ.png</url>
            <title>Stories by Changwhan Yea on Medium</title>
            <link>https://medium.com/@cwyea?source=rss-f6d86249a723------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:50:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cwyea/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[On building a playground for creation]]></title>
            <link>https://medium.com/@cwyea/on-building-a-playground-for-creation-e641f7b3d4c4?source=rss-f6d86249a723------2</link>
            <guid isPermaLink="false">https://medium.com/p/e641f7b3d4c4</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Changwhan Yea]]></dc:creator>
            <pubDate>Fri, 25 Nov 2016 02:30:17 GMT</pubDate>
            <atom:updated>2016-11-25T23:37:52.950Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qFyPIhYLyrdoF02_YC-zYw.jpeg" /></figure><p>A few months ago, my friend Ukjin received an unexpected offer for a private tutoring gig. It was a father who wanted his 3rd grader to learn coding. The interesting part was that he had searched 6 months specifically for “a software engineer with an enterpreneurial mindset and willing to teach kids”. He didn’t want the tutor to “teach” in the traditional sense, but rather to stimulate and show his child what can be possible with computers. When Ukjin told me about this, I thought it was very amusing and offered to help.</p><h4>Learning to create and think</h4><p>We discussed a lot about how we first got excited about programming. For me, it was when I took CS106B at Stanford. The course was masterfully designed to help students experience the joy of creating stuff. The real learning happened not inside the lecture halls, but when I spent all-nighters to make games appear on my screen the next morning. Assignments were structured so that there was not a single correct way to complete them. We’d also have fun implementing additional features and easter eggs that even the teaching staff didn’t think about. The whole point was to go through numerous trials-and-errors and understand by actually getting our hands wet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*rWNEtZmuTIKFhOxgeSqH3w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xLGzzWoF5dgOwL4-PS7jbA.png" /></figure><p>I also fondly remember the LaIR sessions, where students and TAs in the course gathered to eagerly help each other figure out problems to their programs. In that space, everyone was immersed in creating something together and shouting “A-ha!” every once in a while. No one was ashamed of asking questions, and many things mentioned in lectures only made sense after discussing it with other classmates. That communal aspect of the LaIR expanded our thought processes in ways that no traditional classroom setting could emulate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*irHbmN-LHXRWDM1OY0frhQ.jpeg" /></figure><p>That’s what my education in computer science at Stanford meant to me — learning to create and think together. Sure, I learned a bunch of programming languages and technical knowledge, but that wasn’t the point. The core lesson was the confidence to make what we imagine. We felt it would be amazing to help kids experience the same excitement.</p><blockquote>“Computer science isn’t really about programming at all. <strong>Computer science is about solving problems.</strong> We just happen to do it with computers.”</blockquote><blockquote>-Mehran Sahami, Stanford CS professor, in his 2013 Class Day Lecture at Stanford</blockquote><h4>Devising the approach</h4><p>Seungjae turned out to be surprisingly similar to the average Stanford student taking CS courses. In fact, he was much more extreme in almost every measure. He knew exactly what kind of game he wanted to make from day 1. He got easily bored if we tried to explain an abstract programming concept, but would ask vigorously if he felt he needed to understand something to build his game. He would be laser focused when working on his screen, not letting anyone interrupt him.</p><p>We realized teaching him what for-loops, if-else statements, or functions are was not a good strategy. In fact, it was best if we didn’t teach him anything at all. Instead, we stepped aside and let Seungjae run the show. We let him drag things around, fail to figure out things, and come up with new ways again. Our role was to ask questions along the way and step in only when there were obvious roadblocks. The learning environment was no longer a tutoring session, but a rather a playground with minimal supervision.</p><p>This approach found early success when Seungjae made his first running game using Scratch — in a month. We thought it’d be awesome if Seungjae presented the game to his parents. Of course, they thought their child couldn’t have possibly created this piece of software and Ukjin did most of the work. However, a bug occurred during the presentation and to his mother’s surprise, Seungjae popped up the code and started hotfixing it on the spot. That’s when we knew there was something special going on.</p><h4><strong>Expanding the playground</strong></h4><p>After verifying our experiment with a couple more 1:1 sessions, we asked ourselves if we could do this as a group. When there is only one child, it is impossible to learn from peers and be stimulated by their thoughts. I was curious if the social aspects of the LaIR could be replicated with 4th graders. Would the playground become chaos, or would there be more motivation and stimulation to create?</p><p>We had to revamp the experience for the group setting. Yet, the core principle of “doing” over “teaching” was preserved. We brought in about thirty kids with varying experience in coding and gave them tools and appropriate guidances, but left the activities open-ended. The results were surprising.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R4488yiARDKzgy7V-dTYoA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rd0zt7HnzMdRg-kvEoGeGA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LIAgvxKQb2wVgwHR5Qq0bA.jpeg" /></figure><p>Given the right amount of facilitation, kids not only learned on their own, but started learning from each other. They laughed while playing each other’s games and went back to their seats to create something new after being inspired by one another. Each child worked on her own pace without worrying about being left behind. In fact, there was no right or wrong in this setting, because the only right answer came from her heart. The classroom was completely removed and a playground was formed.</p><h4>What does this mean?</h4><p>There’s a lot of talk globally about software education. To make things clear, we are not in that business. We are in the business of awakening a child’s creative drive. We want kids to learn how to endure with grit, think about hard problems, and make what they imagine. We want to encourage them not to be software engineers, but thinkers and creators in whatever field they choose. We dare to put a dent on a broken educational system that kills diversity. Coding just happens to be our tool — for now.</p><p>We are still in a very early stage, and there are so many things to fix and experiment. Our hope is that we can find a way to scale this and reach out to many more kids around the country, especially those who may not be able to afford other opportunities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e641f7b3d4c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On being stupid and fearless]]></title>
            <link>https://medium.com/@cwyea/on-being-stupid-and-fearless-50e38d0aef1?source=rss-f6d86249a723------2</link>
            <guid isPermaLink="false">https://medium.com/p/50e38d0aef1</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Changwhan Yea]]></dc:creator>
            <pubDate>Fri, 30 Sep 2016 03:38:36 GMT</pubDate>
            <atom:updated>2016-09-30T06:11:39.749Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Today is my last day at Tumblbug. I’m extremely sad to leave such an amazing team of young creatives. However, the little voice in me recently told me that it is time to move on, and I am very excited that I’m off to build something from scratch again.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*jS7CpzxRo8fS7d6HiL_tDQ.png" /></figure><p>In 2014, I showed up happily drunk for my job interview with Tumblbug’s CEO, Jaeseung. At that time, I was your average college senior and having fun at a friend’s place in Berkeley on a Friday night. The interview was scheduled at 2:00 am the next morning over Google Hangout. I know, my life was a total mess and under no circumstances was being drunk going to leave a good first impression.</p><p>30 minutes later, I was wide awake. During the entire interview, I was pleasantly surprised by the young, determined person on my screen. He wasn’t like other founders who blast how they’re going to create the next billion dollar company. He asked me what it takes to create a great product and challenged my thoughts on the virtues of being a team player. He calmly proposed the kind of world he believes in and wants to help build. It might have been the alcohol, but a lot of it resonated with me. I was also foolishly excited about the opportunity to build the technical platform and engineering team from scratch. After thinking about it for two weeks, I said I wanted to join.</p><p>The early days were crazy, chaotic mayhem, even on a startup engineer standard. On my first two weekends, our lone server received massive DDoS attack and our local cloud provider literally turned off the machine without prior notice.(We have now switched to AWS!) The average page rendering time was 5 seconds(!) because the analytics data were being stored in the same MySQL database as production. Deploying new code was a scary task because we’d often crash the site due to the lack of unit tests, continuous integration, or even a simple monitoring system. On top of that, customer service inquires flooded our inboxes and our cash balance was always on the red alert.</p><p>And yet, none of us quitted. Most of us were fresh out of college or never had a full-time job elsewhere, so we were dangerously inexperienced to believe that this was somehow going to work. Sure, it felt like whenever we solved a problem, ten more exploded from nowhere. Looking back, we were absolutely stupid and fearless. But, we simply didn’t die. And that was something pretty special.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f3S8yjwe9h4dX1hTEGh_9w.jpeg" /></figure><p>During the next two years with a surprising amount of luck and hard work, we’ve slowly turned the ship around. The number of pledges we got in a month when I first joined has now become the number of pledges we get in a day or two. The product team has grown into a wickedly talented group of designers and engineers who are fearless in trying new things and making a great service. We turned down an acquisition offer and instead raised a round to take the team to the next level. As a company, we played a critical role in fueling the recent feminist movement in Korea, helping hundreds of independent publications come to life, and making a middle school student’s dream to build a potassium nitrate powered rocket come true. As much as Tumblbug grew, so did I.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*tb2LQftKZx7Ltc1A0LBiJg.jpeg" /></figure><p>So what did I learn? I learned I was an arrogant, self-centered human being. No matter how smart we think we are, we can never achieve awesome things alone. As an engineer, recruiter, and manager, I was blessed with so many opportunities to work with amazing creatives around me and learn how to collaborate with them. In many cases, that meant shutting up and listening to people’s ideas. It meant truly appreciating the more talented person next to me and giving him the job instead of me. It meant discussing with facts, knowledge, and logic, not emotions or bias towards each other. (This was the hardest thing).</p><p>I thank everyone at Tumblbug for teaching me these valuable life lessons. I’d also like to thank all of our investors who have given us so much support over the years. None of this would have been possible without your trust and guidance.</p><p>While I am extremely optimistic about Tumblbug’s future, I’ve decided it is time to move on and begin a new part of my life, this time a startup of my own. I’ll continue to work in Seoul for now, but this may soon change depending on how things pan out. Whatever happens, I wish for one thing — that I continue to be stupid and fearless.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50e38d0aef1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automatic Start Up/Shut Down for Servers]]></title>
            <link>https://medium.com/@cwyea/how-to-automatically-start-up-shut-down-servers-cd171e7e12dd?source=rss-f6d86249a723------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd171e7e12dd</guid>
            <category><![CDATA[cronjob]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Changwhan Yea]]></dc:creator>
            <pubDate>Sun, 06 Sep 2015 07:39:47 GMT</pubDate>
            <atom:updated>2016-03-04T12:03:21.531Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lAfCSvvKQoiWvFZPnHyM1g.jpeg" /></figure><h3>How to Automatically Start Up/Shut Down Servers</h3><p>I had an interesting problem at work recently. We had to set up a server in our office that was supposed to be operational only during a certain time range of the day. While I set up its iptables configuration so that all incoming/outcoming packets were dropped when they occurred outside of that time range, I wondered if the machine could physically shut down and start up by itself at the appropriate time (to extend it’s lifetime, save energy, money). So, I researched how I could do this and wrote a simple bash script.</p><h4>Shutting Down</h4><p>Shutting down a Debian machine on the command-line is the easy part. The following command will turn off a running machine:</p><pre>sudo shutdown -h now </pre><p>See <a href="https://www.debian.org/releases/lenny/ia64/ch08s01.html.en">here</a> for more information on commands for shutting down.</p><h4>RTC Wakeup</h4><p>After some googling, I learned that starting up a machine at a specific time is possible by using the real-time clock. This is done by entering the BIOS and setting up a wakeup alarm in the Power Managements setting. Unless you are using a computer that was manufactured in the 90&#39;s, it’s most likely to utilize its RTC to set a time-controlled wakeup.</p><p>First, I checked my kernel version by using the following command:</p><pre>uname -a</pre><p>This outputs the kernel version of the machine. Depending on the version, we have different destinations for setting the configurations.</p><ul><li>If the version is 2.6.22 or newer, use /sys/class/rtc/rtc0/wakealarm</li><li>If older version, use /proc/acpi/alarm</li></ul><p>Assuming that we are using a kernel that is 2.6.22 or newer, we can check if there is any preconfigured alarm in the system by using the following command:</p><pre>cat /sys/class/rtc/rtc0/wakealarm</pre><p>If nothing is outputted, that means that there is no wakeup alarm configured.</p><h4>Configuring The Wakealarm</h4><p>Now, we can configure the RTC by inputting a unix time (the number of seconds that have elapsed since 00:00:00 Jan 1st, 1970 UTC, also known as POSIX time or Epoch time) into /sys/class/rtc/rtc0/wakealarm. To get the current time in unix time, we can use the following command:</p><pre>date +%s</pre><p>If we want to get the unix time for 5 minutes from now, we can modify the command to this:</p><pre>date +%s -d ‘+ 5 minutes’</pre><p>Great, now that we can output the unix time for a time that we want, the following commands set the alarm to wake up (start up) the machine 5 minutes from now.</p><pre>echo 0 &gt; /sys/class/rtc/rtc0/wakealarm</pre><pre>echo `date +%s -d ‘+ 5 minutes’` &gt; /sys/class/rtc/rtc0/wakealarm</pre><p>Wrapping everything up, I wrote a simple bash script that shuts down the machine and automatically has itself turn on in 5 minutes.</p><pre>#!/bin/bash</pre><pre># Clears the wakealarm if there is any preconfigured alarm setting<br>sh -c “echo 0 &gt; /sys/class/rtc/rtc0/wakealaram”</pre><pre># Sets the alarm to start up machine in 5 mins<br>sh -c “echo `date +%s -d ‘+ 5 minutes’` &gt; /sys/class/rtc/rtc0/wakealarm”</pre><pre># Shut down machine now<br>shutdown -u now</pre><p>Let’s name the script <strong>auto-startup-shutdown.sh</strong> and make it executeable with the following command.</p><pre>chmod +x auto-startup-shutdown.sh</pre><h4>Scheduling Automatic Startup/Shutdown</h4><p>Note that we didn’t use ‘sudo’ in any of the commands in <strong>auto-startup-shutdown.sh</strong>. This is because we will be running this as a cron job under the root crontab. Since the job will be configured under the root crontab, there is no need to use the ‘sudo’ command on each line. It will also prevent the machine from prompting to input user password when running the script. To edit the root crontab, we use the following command:</p><pre>sudo crontab -e </pre><p>This will open up the crontab file with an editor of your choice (nano, vim etc). I won’t be explaining how to set up a cron job in the crontab file but for those who are new to this, see <a href="https://help.ubuntu.com/community/CronHowto">here</a>.</p><p>I wanted my machine to turn off every day at midnight, so I set my cron job as the following:</p><pre>00 00 * * * /usr/local/sbin/auto-startup-shutdown</pre><p>Here, we are assuming that I placed my <strong>auto-startup-shutdown.sh</strong> script in the /usr/local/sbin directory. Once I save my crontab file and exit the editor, the cron job will be automatically set. If everything go as expected, the machine will turn off at midnight and turn on by itself at 12:05 am every day!</p><h4>References</h4><p><a href="https://www.mythtv.org/wiki/ACPI_Wakeup#Using_.2Fsys.2Fclass.2Frtc.2Frtc0.2Fwakealarm">ACPI Wakeup - MythTV Official Wiki</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd171e7e12dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>