<?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 Jack Huang on Medium]]></title>
        <description><![CDATA[Stories by Jack Huang on Medium]]></description>
        <link>https://medium.com/@jack.ooi?source=rss-8bd80fb7cc90------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_brXFVLkNcR4wgHQWiN3Wg.jpeg</url>
            <title>Stories by Jack Huang on Medium</title>
            <link>https://medium.com/@jack.ooi?source=rss-8bd80fb7cc90------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:09:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jack.ooi/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[Struggle to remember Matplotlib and Seaborn parameters? Use this lazy man’s tool.]]></title>
            <link>https://medium.com/data-science/struggle-to-remember-matplotlib-and-seaborn-parameters-use-this-lazy-mans-tool-903331d03058?source=rss-8bd80fb7cc90------2</link>
            <guid isPermaLink="false">https://medium.com/p/903331d03058</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[seaborn]]></category>
            <category><![CDATA[matplotlib]]></category>
            <dc:creator><![CDATA[Jack Huang]]></dc:creator>
            <pubDate>Sat, 28 Aug 2021 17:07:40 GMT</pubDate>
            <atom:updated>2021-08-28T17:07:40.266Z</atom:updated>
            <content:encoded><![CDATA[<h4>Make your learning in Python visualization less painful, more playful and sustainable</h4><p>From the early of my data science journey, I know data visualization is one of the most important skills to master. It’s a powerful tool to communicate my analysis findings to business stakeholders. But, I drag myself whenever trying to come out with one. There was a time I tried to come out with a histogram and a table in the same canvas using <a href="https://matplotlib.org/stable/index.html">Matplotlib</a>, I spent nearly a week finding out how to do it, and many hours adjusting the labels in both axes only then made the plot looks aligned and presentable.</p><p>While there is very good documentation of <a href="https://matplotlib.org/stable/index.html">Matplotlib </a>and <a href="https://seaborn.pydata.org/index.html">Seaborn </a>on the Internet. Often, when comes to real-life practice, when customizing a plot, I’ll need to refer to different sources (official/non-official) and probably StackOverflow to create one. I found that this is annoying and it’s the reason every time I procrastinated (lazy man’s excuse). I believe many analysts like me would have the problem.</p><p>To combat procrastination, I decided to make my learning in Python’s visualization more deliberate and fun. I came out with an idea to write a small application that I can “store” the plots I’ve used before and their parameters. That way, I don’t need to refer to multiple sources all the time.</p><p>Here is how it works.</p><p>I loaded the method of the plots and their parameters into a database. To illustrate the different type of plots, I use a trimmed-down version of the Fifa 2020 dataset from <a href="http://www.kaggle.com/">Kaggle</a>. Then, I created a form (in Flask) to display the parameters so that I can “play” with the different parameters with a plot. I just need to generate a plot by pressing the “Generate Plot” button, got it? Enough said a quick demonstration of the steps below is better than thousands of words.</p><p><strong>Step 1:</strong><br>Select a sample plot that I want to create as a start. The preset parameters will be pre-loaded in the form. In the example below, I select boxplot as the sample, set the figure size to be (8,6), set the linewidth of the boxplot to be 2 and lastly select color palette to be “deep”.</p><figure><img alt="Select a sample plot and set the parameters" src="https://cdn-images-1.medium.com/max/1024/1*mXwIWVy5UDs1sp-s0swEXA.gif" /><figcaption>Step 1: Select a sample plot and set the parameters</figcaption></figure><p>I can further customize the plot by adjusting the parameters. Once ready, click the “Generate Plot” button.</p><p><strong>Step 2:</strong><br>Viola! The plot is shown based on my parameters. I can make countless adjustments and generate a plot until I feel it’s right.</p><figure><img alt="box plot" src="https://cdn-images-1.medium.com/max/884/1*YE0UN6fp0LKqZcADATwagw.png" /><figcaption>Step 2: preview your plot</figcaption></figure><p>Once I’m satisfied with the fine-tuning, scroll down to the last step.</p><p><strong>Step 3:</strong><br>Copy the source code by clicking the “Click to copy code” button. Then, you can paste the codes into your IDE and customize to fit your dataset.</p><figure><img alt="Copy the source codes" src="https://cdn-images-1.medium.com/max/1024/1*1FEItzmpQdVXn0NeDebFRQ.png" /><figcaption>Step 3: Copy the generated source code (with pride)</figcaption></figure><p>To start using the tool, visit the tool in <a href="http://www.setparam.com/">setParam.com</a>, be gentle and you’re welcome to feedback on any bugs/enhancements or something cool that I can build in the future. Stay safe, and enjoy using!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=903331d03058" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/struggle-to-remember-matplotlib-and-seaborn-parameters-use-this-lazy-mans-tool-903331d03058">Struggle to remember Matplotlib and Seaborn parameters? Use this lazy man’s tool.</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practice a Double Win Approach]]></title>
            <link>https://medium.com/the-ascent/practice-a-double-win-approach-fb3f1e8f90a2?source=rss-8bd80fb7cc90------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb3f1e8f90a2</guid>
            <category><![CDATA[charity]]></category>
            <category><![CDATA[captcha]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[innovation]]></category>
            <dc:creator><![CDATA[Jack Huang]]></dc:creator>
            <pubDate>Thu, 10 Dec 2020 13:40:43 GMT</pubDate>
            <atom:updated>2020-12-10T13:40:43.597Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gk8rKwoX1QN70trh" /><figcaption>Photo by <a href="https://unsplash.com/@carlheyerdahl?utm_source=medium&amp;utm_medium=referral">Carl Heyerdahl</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Over the years, I’m still very much inspired by the works of the two much respectful entrepreneurs — Luis Von Ahn and James Boon. Both contributed to the world significantly but in different ways, one digitally and one physically. As I’ve been pondering about their works, I’ve found there is a similarity in their approach. Before I go further, let me start with a brief background of theirs.</p><p><a href="https://en.wikipedia.org/wiki/Luis_von_Ahn">Luis Von Ahn</a>, the creator of CAPTCHA (also re-CAPTCHA) and Duolingo, a very prominent entrepreneur in the Internet world. Most of us have used his creation in some ways. He came out with the concept of CAPTCHA (Completely Automated Public Turing Test), a tiny distorted alphabetical image that appears on many websites asking visitors to type in the displayed letters and numbers before allowing them to the next page. This is a genius idea of Von Ahn to separate humans from the programs that tend to cause high traffic to the sites for automated processing. Von Ahn created the tool with his advisor — Manuel Blum when he was doing his Ph.D. in computer science at Carnegie Mellon University. He won the MacArthur “Genius Grant” award in 2006 for his work.</p><p>While this may seem to be a perfect solution, Von Ahn did not rest on his laurel. He was obsessed that the CAPTCHA can do more than human verification. In one of his <a href="https://www.afr.com/work-and-careers/management/luis-von-ahn-created-captcha-to-spot-a-human-from-a-machine-20160727-gqf4nn">statements</a>, Von Ahn said the 60 million CAPTCHA users have been spending 150,000 hours every day. He wanted to capitalize the wasted hours.</p><p>In 2007, Von Ahn released re-CAPTCHA, an improved version of CAPTCHA. In re-CAPTCHA, the change is more substantial behind the scene, every time a users pass through the tool, their inputs help to confirm the blurry words extracted from the old books, and the impact? Unknowingly to most of the users, they are digitizing millions of books and make it searchable on the Internet every year — this is a double win approach. Smart, isn’t it?</p><p>On the other hand, <a href="https://www.plasticexpert.co.uk/recycled-elephant-james-boon/">James Boon</a>, who is lesser known to the Internet world, but is a much-respected person in Cambodia and Colombia. He founded The Elephant Branded products on a whim, the products made out of recycled materials. During his earlier career in Asia, on a particular trip to Cambodia, he noticed there were many cement bags scattered everywhere in a village — a typical scene as the country was undergoing massive development. The people were poor and the basic necessity was not there. An average school kid did not equip with stationery and school bag. The situation struck at James repeatedly.</p><p>He started to think about how he could help the local community under such a scarce condition. Luckily, James has known a local person — Pry and his wife, Mi. The couple has been sealing school bags using recycled materials and giving it to school kids. This dawned on James that they can train other villagers (mostly women and old folks) to hand-made school kits using cement bags, a readily available material. To make the products more elegant and marketable, James got help from designers in the West to design products. And the best part is James created a brand for the products — The Elephant Branded. The name derived directly from the cement bags they’re using to hand-made the products. Every product sold will match a school kit donated to the schools throughout Cambodia.</p><p>Today, James has over 30 associates in different parts of the world (I’m considering becoming one) to sell the products to the world. The impact of James’s initiative was huge. The local villagers able to earn some money from home, the environment becomes cleaner as they clear the cement bags, the school kids are happier because they are equipped with beautiful school kits. This is again a double win approach.</p><p>So, why am I telling you the stories of two unrelated persons? Wait a minute, there is a similarity in them. Von Ahn and James have used the same thought process in their work — <strong>the input produces value besides the output</strong>. In Von Ahn’s re-CAPTCHA approach, he didn’t want to waste even micro key-stroke energy by the Internet users to digitize millions of books every year, and the outputs are safer websites. The same goes for James, he wanted to help the villagers to have a cleaner environment and school kids to have basic needs. He re-used the cement bags as the input, and the villagers and school kids have a better living as the output. It is a wonderful thought process, isn’t it? The process itself has been producing values.</p><p>While I may not able to create such big impact projects as Von Ahn and James, it’s still possible to copy the same thought process and create something that is beneficial at the personal level, and I’ve found it pretty motivating. I’ve been trying to practice this approach in my day-to-day life, such as my routines below.</p><p>1. Feeding stray dogs while doing my daily morning jog. (The dogs are happy, and I’m healthier and feel more committed to going for exercise every day)</p><p>2. When doing dishwashing, stack the cleaner plates at the top so the water used to clean upper plates flow down and makes the lower plates cleaner (This may sound weird to some of you).</p><p>3. Change your 1:1 with your boss to a walking 1:1 (exercise plus collaborating)</p><p>4. Convert mundane data quality check work to fancy indicators (so users can notify you when there is an anomaly in data).</p><p>5. Writing articles for Medium while improving my grammar.</p><p>You get the ideas. Doing work using the double win approach, regardless of the outcome, I still find it motivating and make a good effort sustainable.</p><p>Thank you for reading. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb3f1e8f90a2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ascent/practice-a-double-win-approach-fb3f1e8f90a2">Practice a Double Win Approach</a> was originally published in <a href="https://medium.com/the-ascent">Ascent Publication</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Reflection on Data Science Projects — What Worked and What Didn’t]]></title>
            <link>https://medium.com/data-science/my-reflection-on-data-science-projects-what-worked-and-what-didnt-4c0af29aef95?source=rss-8bd80fb7cc90------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c0af29aef95</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jack Huang]]></dc:creator>
            <pubDate>Tue, 27 Oct 2020 03:24:40 GMT</pubDate>
            <atom:updated>2020-10-27T03:24:40.266Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Reflection on Data Science Projects — What Worked and What Didn’t</h3><h4>Learn the lessons so you can avoid the same mistakes, and invest your time more wisely.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tWotOW5xZw7umE-4" /><figcaption>Photo by <a href="https://unsplash.com/@bradneathery?utm_source=medium&amp;utm_medium=referral">Brad Neathery</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>For the past 5 years, I’ve been working in the data science space to serve users in the supply chain area of my company. I’d developed various dashboards and a handful of small data applications. The majority of the solutions deployed are still actively used, while few projects looked fancy and promising in the beginning but failed to take root.</p><p>I reflected on the nature of the projects, in this article, I would like to share the hard-learned reasons why some of my projects worked, and some didn’t.</p><p>Let me start with what worked well.</p><ol><li><strong>Observe a business pain point, then fill up the gap<br></strong>In the supply chain business, one of the main challenges is the operational managers need real-time data to guide their operations, few hours of aging data deemed useless. Every day, the analysts used to pull and compile various data for creating indicators to support business decisions. The tasks were repetitive, manual, and unsustainable. I knew we need a different approach to the problem. After some study, I developed and deployed an integrated dashboard that can pull real-time data, and with richer insights. Moreover, the dashboard is reusable. This has fulfilled the hunger of users who need quick and real-time indicators every day.</li><li><strong>Partner with process owner to automate essential tasks <br></strong>There were many well-established business processes but lack a creative way of execution. Finance officers spend days preparing bi-yearly budgets; Engineers spend a few hours every week pulling various data sheets to estimate storage consumption in the warehouse. These are examples of essential tasks and must-do activities to keep the business running. The personnel may not know there is a better way to carry out the task. For a few times, I partnered with the users to automate and simplify the process. This has transformed the way they carry out the tasks. The outcome of the partnership was satisfactory, the automation has helped them more efficient in their work.</li><li><strong>Organize the scattered data into a streamlined database<br></strong>There were a few occasions I observed my peers created very useful data sheets on their computers which they used for a specific analysis. It was nothing wrong to maintain the data sheets locally, what I was excited about the potential of the dataset. I converted the dataset from a spreadsheet to merge into a mainstream database. The result? More people leveraged the dataset, more successful use cases were created. I’ve liberalized the data from the silo and standalone form to a streamlined and integrated database. My point is always to keep an eye on good data, convert it to a more systematic format that is more scalable. This inherently expands the scope to wider audiences, and you’re on the right path to create more powerful applications.</li></ol><p>On the flip side, I was not as lucky all the time. I had a handful of projects that did not tip. It boils down to two main reasons as the following.</p><ol><li><strong>Fancy concept but no real business case<br></strong>There were a few projects that I imagined it would be cool, without many studies, I started to develop the application. For one of the projects, I spent three months developing a supply chain visualization tool. While it was true I managed to wow the stakeholders, but I didn’t hear back from them ever since. There were also times a business partner presented me with a very cool concept, I’d spent a few weeks developing the prototype. We didn’t manage to operationalize the prototype. In hindsight, I’ve learned the hard way that a concept without a solid ground of study, mainly based on imagination tends to fail. Sometimes, it’s a good strategy to practice strategic procrastination, spend more time listening to users, understand their paint point before rushing to do development works.</li><li><strong>Over-engineering a solution<br></strong>I just said that we should always listen to users, right? Not all the time. The users may imagine a feature that is cool, but not practical. Pay attention to this kind of ask. There was one project, I’ve got a long list of enhancement as a result of 3 days of Kaizen discussion, I spent 3 months to build all the features. The output was an integrated dashboard consist of 14 modules, but soon I realized that out of the 14 modules, the users only actively use 5 of them! This finally dawned on me that while it is true to always listen to users, but users may be wrong! They may have “imagination” syndrome like you. Don’t be too generous to accept a fire hose of requests, instead, question every feature they ask.</li></ol><p><strong>Final Thoughts:<br></strong>To create a successful data science project, I found often that the most challenging part is not in development, but more on if we can operationalize the work so targeted audiences start to adopt the solution. Below are the key lessons I’ve accumulated.</p><ol><li>Identify business pain points, then fill up the gap<br>Sometimes, users do not know there is a better way out. Talk to them more often, be in the arena and get your hands dirty.</li><li>Tap on existing cumbersome business tasks<br>Partner with the owners to improve the process. Let the owners accountable for the solution, support them behind the scene.</li><li>Follow the data<br>Organize the scattered data into a more streamlined platform usually is a quick win. The richer the data is, and the more integrated the data is, the better.</li><li>Don’t imagine a solution<br>Understand the real problem users are facing. Don’t rush to development just because it looks cool.</li><li>Don’t be too generous to accept all requests<br>Probe every enhancement, get down to the root of the needs, focus on the few.</li></ol><p>Thank you for reading, I hope you’ll find the lessons useful and be able to help you invest your time more wisely in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c0af29aef95" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/my-reflection-on-data-science-projects-what-worked-and-what-didnt-4c0af29aef95">My Reflection on Data Science Projects — What Worked and What Didn’t</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Seven Email Management Practices to Boost Your Productivity at Work]]></title>
            <link>https://medium.com/@jack.ooi/seven-email-management-practices-to-boost-your-productivity-at-work-783ef5d81cd5?source=rss-8bd80fb7cc90------2</link>
            <guid isPermaLink="false">https://medium.com/p/783ef5d81cd5</guid>
            <category><![CDATA[email]]></category>
            <category><![CDATA[workplace]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[email-productivity]]></category>
            <dc:creator><![CDATA[Jack Huang]]></dc:creator>
            <pubDate>Fri, 28 Aug 2020 01:22:29 GMT</pubDate>
            <atom:updated>2020-08-28T01:22:29.526Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Emails, emails, emails" src="https://cdn-images-1.medium.com/max/1024/0*FDqFuPt0VsnVF9Tk" /><figcaption>Photo by <a href="https://unsplash.com/@johnschno?utm_source=medium&amp;utm_medium=referral">John Schnobrich</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>On Monday (or after the holiday break), I usually have more emails than normal days. When there is an overwhelming amount of emails, I tended to just glance through the emails. Sometimes, I overlooked important messages. That left me in the spotlight a few times and I felt awkward.</p><p>Over time, I have learned some techniques to manage emails more effectively, and there are seven practices, which I’ve found helpful.</p><p><strong>1. Allocate time</strong><br>Allocate a dedicated time slot just for handling emails. Every morning, I allocate 60 to 90 minutes for “email time”. This is my focus time that I do nothing else, I see this as part of my job responsibility to service my “customers”. While this doesn’t require any special skill, it is also the hardest for me to master, it requires lots of discipline and time to form this habit.</p><p><strong>2. Process it when it’s fresh<br></strong>Just like a bear catching salmon in a river upstream, when a new message arrives, it’s better to process it timely. Without a doubt, your customers like you more when you are more responsive. In the current fast-paced corporate world, a message can become irrelevant in just a few days. Similarly, if I do not act fast, tomorrow there will be more messages coming in. Very soon, I will be drowning in the ocean of emails.</p><p><strong>3. Delete or opt-out unrelated emails<br></strong>Before I start reading emails, I will glance through the subject of new emails, then press the “control” key, and “delete” emails that are irrelevant to me. It is easy to recognize such emails by looking at the subjects and the senders. I will opt out emails that I no longer wanted to receive. What is left are emails that matter and that usually stands for 20–30% of my emails, align with 80/20 rule.</p><p><strong>4. Act fast on emails that require simple action<br></strong>I agreed it is tempting to put it aside for emails that require small favors, thinking I will come back to handle it later. I was wrong. I’ll never come back again. I’ve learned to handle it immediately during my “email time”. Otherwise, I will mark it as “unread” and handle it in other “email time” slot. I’ve found it is far more effective to handle simple tasks if I act fast.</p><p><strong>5. Leverage your colleagues<br></strong>There is a “sweet” time for emails which require everybody to act, emails such as survey, applying for a visa, online training, etc. In this case, it is much more effective to do it together with your colleagues. You can leverage each when you do it together, treat this as “team-building” time.</p><p><strong>6. Save the micro message<br></strong>Every day, you may come across information that you’ll need to refer to it often. I call this micro message and it always embeds in emails. Micro message can be product codes (in your project you are working on), membership/account-related, addresses, schedule, etc. Capture it in <strong>simple </strong>text (.txt) or image (png/jpg) format. Keep it as <strong>discrete </strong>as possible, and <strong>tiny </strong>(one information per file). Save the file name as descriptive as possible, use your Windows (or other OS) search to retrieve your micro message. This practice has been a big time saver for me.</p><p><strong>7. Learn a few useful search commands<br></strong>There are easily thousands of emails accumulated in my inbox, it was a nightmare when I wanted to retrieve a particular message. What I’ve learned a more effective way is to using search commands to get the email.</p><p><em>Note: assume you are using MS Outlook, there should be similar functionalities in other email software.</em></p><p>Try to put in this command in the email search box, then hit enter:</p><p><em>subject: Project ABC</em></p><p>A more specific one:</p><p><em>subject: Project ABC and sender: Daniel</em></p><p>even I can filter by time:</p><p><em>subject: project ABC and received: yesterday</em></p><p>Give it a try on this practice, it was a mind-blowing moment when I first tried it. Here you can find <a href="https://www.howto-outlook.com/howto/searchcommands.htm#:~:text=If%20you%20need%20to%20search,Field%3A%20body">useful commands</a> on this page.</p><p>Being able to effectively manage my emails has saved me hours a week. I am not only more efficient, but I am also more welcomed to the people I’ve been working with. I hope these seven practices can help you in some ways. Thank you for reading my first post on Medium. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=783ef5d81cd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>