<?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 Chao on Medium]]></title>
        <description><![CDATA[Stories by Chao on Medium]]></description>
        <link>https://medium.com/@chaoyue-zhao?source=rss-63c3b5ee0e46------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*MtYvP7weFkbbXD6OJmZ_6Q.jpeg</url>
            <title>Stories by Chao on Medium</title>
            <link>https://medium.com/@chaoyue-zhao?source=rss-63c3b5ee0e46------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 13:44:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chaoyue-zhao/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[20 “things” I Loved in 2020]]></title>
            <link>https://chaoyue-zhao.medium.com/20-things-i-loved-in-2020-fddb09509304?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/fddb09509304</guid>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Fri, 01 Jan 2021 22:29:50 GMT</pubDate>
            <atom:updated>2021-01-01T22:29:50.387Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This blogpost is inspired by Week 2 Challenge of Reset/Unpotato for 2020 by </em><a href="https://www.youtube.com/channel/UCaYF1G_L5J7sqJzEeBVUDzw"><em>Rowena Tsai</em></a><em>. Her original worksheet can be found on </em><a href="https://www.notion.so/Productive-Potatoes-Worksheets-54c2ac27e0cd484bbda17f94c5890acb"><em>Notion</em></a><em>.</em></p><h3>5 Favourite Things I Own From This Year:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gf_c5q79pyLMogdQJ8Lb2w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GzJVddIoP-jT04Qrwj7igA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4v3PrglCLprJ0cFknuPHXg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UhCr1PaDLbGSJEcl_Jxw2w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwUuUNILlP3pUYi5CO443g.jpeg" /></figure><ol><li>This flower was gifted to me earlier in the spring. As the plant serial killer, I wasn’t able to keep it alive. I moved in the early fall and was gonna replant something else into the pot but somehow I noticed it was still ALIVE. Two months later, that little bud is slowly turning into a flower again. I spent the early part of this year struggling with adjusting so many of the new changes including working from home, sharing a small space with my boyfriend and having a new job and everything started to turn up in again in the later half so I found this lil buddy is a perfect representation of how this year for me.</li><li>Twenty twenty is the year mask became an essential accessory for lots of us. I got this reusable one with traditional Chinese design on it and it fits perfectly with my face with a very nice chin structure. I find as the year goes on, more and more people start to expressing their personalities through their mask and this has been the perfect one for me.</li><li>I am still getting there but I love my workstation at home. I invested in this <a href="https://www.amazon.ca/gp/product/B01N383I0J/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&amp;psc=1">standing desk convertor</a> pretty early on and is very grateful for it. When I went back to the office, I grabbed my name tag in the office and sticked it onto the monitor. I am constantly improving this as this is one of the places I spent most of time throughout the week but I am grateful for the resources given me to figure out a space that allows me to be most productive working at home.</li><li>My boyfriend, Xiang gifted me this weighted blanket for my birthday and I have been sleeping with it since. Sleeping is such an important part of my day and I love the slightly snugging feel this gives. It has two sides but I mainly use the side for summer/colder days (without the tiny bumps) as the I enjoy the way that texture touches my skin.</li><li>Everyone probably know at this point, my boyfriend and I got a<a href="https://www.prusa3d.com/"> Prusa printer</a>! It has been such a highlight for the later part of the year and hands down, the best investment we made this year. Not only it kept us engage while we are at home, it gives me an option to send customized gifts and make things with my hands. Photo here is the first print we had with the printer — Buddy.</li></ol><h3>5 New Experiences That Brought Me Joy:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*T_6P7jZleFdcLC6JOMrSsA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ob4efKSnnJFIOEFV9iKnog.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r1COMLtgRX3rbWyWxJtNRQ.jpeg" /></figure><ol><li>Earlier this spring, I started a new job at <a href="https://www.venasolutions.com/careers">Vena Solutions</a>. The second Friday on the job, we switched to WFH. It was wild to think about my onboarding experience while adjusting not work from an office. I am grateful for the people I work with to make this year wonderful for me. I feel loved, valued and appreciated every day I go to work as I know there is always someone I can reach out for a question.</li><li>I also started keto diet late October this year. Earlier this year the topic of food came up in a conversation between me and Xiang and I realized I have been struggling getting a healthy relationship with it for a while. For me the biggest thing is that I stop thinking about overeating certain type of food as coping mechanism. I eat only while I’m hungry and stop before I am stuffed. I learnt to pay attention what I fuelled myself with every day.</li><li>Like many, I became a mom of a lot more plants. On top of the fish babies I already have, I started my morning with taking care of them. I find those time truly fuel my soul. One of the favourite parts of my morning routine is to have a black tea while watching my fish getting their food.</li><li>I received this bouquet of flower from my friend, <a href="https://twitter.com/RafaelaCodes">Rafi</a>. For days, I was trying to changing the water for it with our DIY homemade plant water and the flowers will leave my fingers smell so good for a while. As I was sniffing the smell on my fingers, it reminds me of that old Chinese saying, “送人玫瑰手有余香” (roughly translating to when you give others roses, there will be lingering fragrance on your hand). I am grateful I am in a position to help.</li><li>After months of working from home, I spent a moment to build a corner of slowness. I find although I have my work station, I work sometimes at other places at home. What I needed was a corner to be slow. I now meditate, read and do DIY projects at this corner. It’s the space for me to charge.</li></ol><h3>5 Memories I Shared With Others:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KUuHIZGehoyzG5ZTanF8hQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VezuMpuLzlK-AGMeSTgEpw.jpeg" /></figure><ol><li>At very beginning of this year, I had the pleasure to gather with friends that live in Ottawa and Montreal and spent a weekend together in the cottage. I went tobogganing the first time and had lots of fun. As someone who is not so good with winter sports, I always struggle with finding things to do during the colder months. But it was such a great experience.</li><li>After months of zooming, I got the chance to meet my team in person in the summer. It was the first time I saw anyone outside my immediate social circle at the time and getting to put bodies onto those faces I get to see every day online is something I really enjoyed. I cherish this very much as we are in lockdown again and will not all work from the same space again in a very long time.</li><li>I was part of an internal panel event at Vena for <a href="https://idpwd.org/">International Day For People With Disabilities</a>. I was given a space to share my story with depression, suicide and mental health with the people I work with. That experience taught me how vulnerability is the very strength that bridge and build connections and I was lucky that I can bring my truthful self to work every day.</li><li>Twenty twenty truly threw the event industry a challenge and I am amazed how the event professionals adapt to this challenge. I love live events and wasn’t able to experience much this year. Yet <a href="https://www.torontozoo.com/terralumina">Terra Lumina at the Toronto Zoo</a> was truly a highlight for me.</li><li>For 4 weekends in a row in November and December, I mentored the web development course at Juno. This was the very first class I took when I decided to give web development a go and I am grateful for the chance to meet so many people started out their journeys the same way I did 2 years ago.</li></ol><h3>5 Moments With Myself / Lessons Learned:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BHgSMk9-UL2tDLUzvIxnYA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*f_ipcO0Ds1K6Vi_aHM9sDg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*-MuZ3ebwgQ_Z_345pFMdNA.jpeg" /></figure><ol><li>I took a walk one morning through the Ex in September. It would be the time for the CNE in any other year so the place would be packed with people. Yet it was just me that time and by myself. This year has been special but it allows me to see a place in its other side, the side I have yet to develop a memory with.</li><li>This year I learnt how therapeutic walking can be. I took walks after work to wind down, the morning to start my day with fresh air, during lunch to get some movement in. I had many many calls with friends to catch up when I walk. One of my fav things to do on my walk is to find pieces of objects in the colours of the rainbow. I learnt this from <a href="https://99percentinvisible.org/episode/take-a-walk/">a 99% invisible episode</a>.</li><li>The last two months, part of my morning routine has been doing my makeup. I used to do them before work, always in a rush. It felt like something I have to do to look presentable. Yet I was inspired by <a href="https://www.youtube.com/watch?v=Rn_mOne3Cco&amp;list=PLwqfn3Soz28pgZPT_1Qgeuh4vWpEn84Ut">a video I watched from Emily Noel,</a> which she talked about the time spending with the markup mirror could be a relaxing time for self. Now it’s exact that, plus a time for me to explore, play and most importantly, slow down.</li><li>I also watch lots of sunsets and sunrises, especially after we move to the side of the building I can see the lake. I never grow up next to water but somehow I love seeing the lake on a different day. Just like the old saying, no matter what happened that day, the sun will also be there, on time.</li><li>I also spent lots of time slowing down. Sometimes I was fidgeting, sometimes I was drinking tea, sometimes I was people watching through the window. I love those moments when I realize something I have never noticed in the space I have been living in a while or trying to learn how one thing works and be amazed by just the discovery. Those are the things you would only notice when you slow down.</li></ol><p>Despite this year being special for everyone, compiling this list was a lot harder than I thought — not because I was having a hard time coming up with things but to limit them to only 5 per category. On that note, I want to leave you with this quote Ro also used in her video:</p><blockquote>If you forgot the language of gratitude, you will never be on speaking terms with happiness.</blockquote><h3>Here are some other places you can find me on the Internet:</h3><ul><li><strong>Wonder what is this place I work that sounds so dope? Feel free to reach out if you want to know more about working at Vena: </strong><a href="https://www.venasolutions.com/">https://www.venasolutions.com/</a></li><li><strong>I write at-the-moment short blog post (people also call them tweets): </strong><a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></li><li><strong>Did you know I used to plan events? Wanted to know about my career journey? Head over: </strong><a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></li><li><strong>And of course, you want to see my sunrise and sunset photos: </strong><a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fddb09509304" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dear Chao: The First 100 Days]]></title>
            <link>https://chaoyue-zhao.medium.com/dear-chao-the-first-100-days-8ce82f7eb1da?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ce82f7eb1da</guid>
            <category><![CDATA[compassion]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Sun, 14 Jul 2019 13:49:55 GMT</pubDate>
            <atom:updated>2019-07-14T13:49:55.696Z</atom:updated>
            <content:encoded><![CDATA[<h4>A compassion letter to self on the 100th day of finishing coding bootcamp.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SFPGXCWsJIM45BNfUuTs8A.jpeg" /><figcaption>Me in a blue jean shirt and a top bun wearing a green backpack smiling at the camera with Toronto in the background. Photo by Xiang Ni at Evergreen Brickworks.</figcaption></figure><p>Dear Chao,</p><p>Congratulations on hitting an important milestone in your developer life! While you’re still adjusting to the to the challenges this new title gives, you deserve a huge pat-on-the-back for what you’ve been able to accomplish in the last nine months.</p><p>Life is funny. If you got the chance to ask the 19 year-old Chao when she first came to Canada, she would tell you that she thought a person would have your life “figured out” a long time ago. I think I’m understanding now: they say you should / will have your life figured out by the age of 24, but here I am, five years later, considered a junior. When you embarked on this journey of transitioning into a developer, you weren’t sure if this is completely for you.</p><p>The challenge of adjusting into this “new and junior” role is a lot more than you expected. Remember the time you went to Collison? Conferences and trade shows like that were your bread and better. You never felt shy at those occasions. Yet after talking to the first few exhibitors, you felt out of place. You had nothing to contribute. Everyone seems to look for an angel to come around to support their business, and what you are offering just seems not enough.</p><p>However, you were able to embrace the curiosity that the beginner mindset gives you. You were there to learn, ask questions and network. Your vision of what technology can do widened so much. You’re excited that if you put your mind to learn, the power of what you can do with it is unstoppable. You’re very lucky that you feel like you are part of the future.</p><p>It’s equally important to know that you never left one industry to join another. The four years you spent in events moulded you into who you are today: you are trained to have an eye for detail and make things future-proof. You strive to work collaboratively across teams. You are a firm believer of optimal user experience and will not shut up until every single user is thought about in the experience. It is crucial to note that “not all experience is created equal”. Not being a developer doesn’t mean you have no experience at all. The soft skills that took you years to develop transfer.</p><p>And, damn, you are lucky. Every day, you are sitting among one of the most talented minds. As they say, “you can only be as good as the people around you”. Don’t ever forget to keep the curiosity, try to be helpful and kind, don’t ever give up on getting better, and most importantly, maintain the willingness to look stupid. You are at absolutely where you want to be and you are doing absolutely enough.</p><p>Speaking of talents, YOU ARE AN AWARD-WINNING DEVELOPER NOW! That’s huge, Chao! I know you’re struggling with the idea of that as the site was designed by someone else and the work showcased on there were not done by you. But you coded almost that entire site. You transferred the design beautifully and created the most fitting canvas to display the incredible work of others.</p><p>Keep in mind the process of this project though. The site people see is the fourth version of that and the second version you did. Isn’t it wonderful that even though the first couple versions were not physically getting seen, those versions built a solid foundation of what people see now. They also gave you so many opportunities to learn and grow. It’s totally okay to not have the perfect version the first time. Like, they always say, Rome wasn’t built in a day.</p><p>It’s totally fine that you don’t know WebGL, or are not ready yet to write those wonderful animations you have been bookmarked over on Instagram. Tech FOMO is real. Imposter Syndrome is real. But the fundamentals are what help build the solid path for you to run on when you’re ready. Spending the time learning and relearning Javascript is exactly what you want to be doing right now. Once you get that path down, it’s just about putting on a nice pair of running shoes and running away.</p><p>Codes are like people. They have their own characters and styles. People are not codes. Inclusivity is such a hot word right now. What about being inclusive to people’s coding styles? Don’t get me wrong. Wiring good, future-proof, team-friendly code is crucial. But a good code to one might not be the same to another. Fundamentally, our personalities shine through in our work, and that is the basis of good team collaboration.</p><p>I want to end this letter by saying <em>great job</em>, <em>Chao</em>. <em>No matter where you end up, don’t forget where you come from and never stop helping others.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*itJqkxWMjL75TN3-jMOLrw.jpeg" /><figcaption>Profile Photo with HackerYou Branding. Text reads “Chao. Junior Web Developer, Reflektor Digitial. Winter 2019 Bootcamp Grad”</figcaption></figure><p>This post is a self-compassion letter. Learn more about the philosophy and the idea behind this practice with “<a href="https://integrative.ca/3995-2/"><em>Dear Me: Learning to Write Letters of Self-compassion</em></a><em>” by </em><strong>Dr. Jam Caleda.</strong></p><p>The various mindsets mentioned in the post are inspired by <a href="https://www.youtube.com/watch?v=2n7FOBFMvXg"><em>9 Mindful Practices</em></a> by <strong>Dr. Jon Kabat-Zinn.</strong></p><p>The idea of “sitting with talents” is inspired by Steal Like an Artist: <a href="https://www.amazon.ca/Steal-Like-Artist-Things-Creative/dp/0761169253"><em>10 Things Nobody Told You About Being Creative </em></a>by <strong>Austin Kleon.</strong></p><p>If I can only pick one article I read last month, it would be <a href="https://monicalent.com/blog/2019/06/03/absolute-truths-unlearned-as-junior-developer/"><em>7 absolute truths I unlearned as a junior developer</em></a> by <a href="https://monicalent.com/"><strong>Monica Lent</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ce82f7eb1da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are we angry enough: I attended #a11yTO Camp 2019]]></title>
            <link>https://chaoyue-zhao.medium.com/are-we-angry-enough-i-attended-a11yto-camp-2019-9eea33968988?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/9eea33968988</guid>
            <category><![CDATA[digital-accessibility]]></category>
            <category><![CDATA[web-accessibility]]></category>
            <category><![CDATA[accessibility]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Mon, 20 May 2019 19:49:54 GMT</pubDate>
            <atom:updated>2019-05-20T20:05:42.159Z</atom:updated>
            <content:encoded><![CDATA[<p>Making digital products accessible does not compromise them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*S48HzGBXYwv-jjUFLZaeMQ.jpeg" /><figcaption>Web Accessibility word cloud generated from words used in WCAG 2.0 by <a href="https://www.flickr.com/photos/sunraven0/5451897212">Jill Wright</a>.</figcaption></figure><p>The annual #a11yTo Camp took place this past Saturday and I spent a full day learning about digital accessibility. As a web developer who just started in the industry (Yay! I have a job now! You can learn more about who I work for at the end of this article), this is a topic that is very important to me.</p><h4>“It got better because we got angrier”</h4><p><a href="https://twitter.com/FourneyDavid"><em>David Fourney, PhD., CPWA</em></a></p><p>My day started with a lovely time travel with David on the evolution of WCAG (<a href="https://www.w3.org/TR/WCAG20/">Web Content Accessibility Guidelines</a>). Over the last couple decades, WCAG continues to shape the inclusivity and accessibility in the digital world. Two points that linger in my mind after David’s talk:</p><ol><li>It’s important for the folks who make guidelines walk in the shoes of folks who need them. Most of the early guidelines are built upon “accessibility myths” because few of the experts then had disabilities themselves.</li><li>We are in a consumer-controlling culture. In other words, nothing will be done unless we are angry enough about it. This reminds me about the talk I had with a friend in regard to environmental issues before. We have recently started to see stores charging for plastic bags as people get more and more angry about the use of single-use plastics.</li></ol><h4>“Easy Mode Is Not A Participation Trophy”</h4><p><a href="https://twitter.com/stevesaylor"><em>Steve Saylor</em></a></p><p>Steve is a blind video gamer and his talk expand my knowledge of accessibility in video game design. I used to think of accessibility as adding alt text for images or having focus state on link elements so the website is tab-ble. In the world of video games, accessibility is tied into the product design itself. Having an easy mode should not be considered as a compromise of the original game experience, rather a bridge to connect all users to experience the game in its origin design. We should also never rely on our own experience to make the design inclusive. This very conversation about inclusivity should start, involve and end with disabled gamers.</p><h4>“Cultivate a Community of Practice”</h4><p><a href="https://twitter.com/AT_Fresh_Dev"><em>Alex Tait</em></a></p><p>As one of the many talents in the HY community, Alex walked through a great story about the Community of Practice (CoP) at Rangle.io. She divided up their practice into 5 stages:</p><ol><li>Unrecognized: also called couple people who just love to have meeting together phrase.</li><li>Bootlegged: community is getting noticed. It’s very important to get an executive sponsor at this stage, who gives you resources to succeed.</li><li>Legitimized: community is legitimized and the its impact is growing.</li><li>Supported: and loved (if I might add) and it is time expend the core team.</li><li>Institutionalized: community with official status.</li></ol><p>Some of you might be aware that, I recently joined the board for an organization, <a href="https://womenintechtoronto.com//">Women in Tech Toronto (WiTTO)</a>. Even though the nature of the organization is different, the knowledge Alex shared for these 5 stages are invaluable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M2Kp387MCO84nIt-bNR8Gg.jpeg" /><figcaption>Screenshot of the caption at #a11yTO when the captionist Tony said hi to audience.</figcaption></figure><p>The talk of accessibility does not end here. If you are interested, #a11yTO does <a href="https://www.meetup.com/a11yTO/">meetups</a> every month and I just signed up for <a href="http://xn--19g/">their conference</a> in October.</p><h4>Here are some other places you can find me on the Internet:</h4><ul><li><strong>I coded a website for myself: </strong><a href="http://chaoyuezhao.com/">http://chaoyuezhao.com/</a></li><li><strong>Someone hired me to build websites, web apps and other digital products on their team. I think they are pretty cool: </strong><a href="https://reflektor.digital/">https://reflektor.digital/</a></li><li><strong>I write at-the-moment short blog post (people also call them tweets): </strong><a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></li><li><strong>Did you know I used to plan events? Wanted to know about my career journey? Head over: </strong><a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></li><li><strong>And of course, you want to know what food I eat: </strong><a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9eea33968988" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My first month with Vue.js (part 1)]]></title>
            <link>https://chaoyue-zhao.medium.com/my-first-month-with-vue-js-part-1-e35c997e3d35?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/e35c997e3d35</guid>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Thu, 16 May 2019 11:40:02 GMT</pubDate>
            <atom:updated>2019-05-16T11:40:02.260Z</atom:updated>
            <content:encoded><![CDATA[<p>The differences between Vue.js with React.js from a new Passionate Vue-r and long-time React-holic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4WGvJY_aWpbU9ld6" /><figcaption>Photo by <a href="https://unsplash.com/@kobuagency?utm_source=medium&amp;utm_medium=referral">Kobu Agency</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the world of front end web development, new frameworks pop out quickly than the new Lay’s chip flavours (not factual). I learned React.js when I was in bootcamp and once I have the freedom to pick up something else, I found myself in the land of Vue.js. I decided to compile the following list of things I learned that differentiate Vue.js from React.js during my very first month with the framework.</p><h3>That moustache {{ }} for your templates</h3><p>Vue.js leverages the lovely lovely <a href="https://handlebarsjs.com/"><em>Handlebar.js</em></a> templates for easy-to-read templates. Under the hood, Vue.js creates a template based on the HTML code, stores that internally and uses that to create the real HTML code, which is then rendered to the DOM.</p><pre>&lt;h1&gt; {{ title }} &lt;/h1&gt;</pre><p>Learn more about interpolation with Vue.js <a href="https://vuejs.org/v2/guide/syntax.html"><em>here</em></a>.</p><h3>A built-in calculator 🧮 to compute and cache your properties</h3><p>I believe the one of the greatest gifts the Vue team gives us developers is the computed properties. These are little things that are cached based on their reactive property dependencies. In other words, Vue actively observes for changes on these dependencies and would only execute the code inside your computed when there is a change.</p><pre>computed: {<br>   now: () { <br>     return Date.now()<br>   }<br>}<br></pre><p>Learn more about computed properties with Vue.js <a href="https://vuejs.org/v2/guide/computed.html"><em>here</em></a>.</p><h3>All about da conditionals</h3><p>v-if/v-else and v-show are great tools to conditionally render in Vue.js. The difference is that the former attaches and detaches the elements from the DOM so it’s better to use the latter it’s known that elements would be conditionally render quite frequently. v-show leverages the CSS property display: none.</p><p>Learn more about conditional rendering with Vue.js <a href="https://vuejs.org/v2/guide/conditional.html"><em>here</em></a>.</p><h3>Looping 🔁</h3><p>Vue.js provides a very sweet syntax for looping through arrays and objects. Just like React, it is recommended to attach a unique key for each item so the Vue interpreter can keep track of the item to avoid potential issues.</p><pre>&lt;ul&gt;<br>  &lt;li<br>      v-for=&quot;animal in animals&quot;&gt;<br>    {{ animal }}<br>  &lt;/li&gt;<br>&lt;/ul&gt;</pre><p>Learn more about list rendering with Vue.js <a href="https://vuejs.org/v2/guide/list.html"><em>here</em></a>.</p><h3>.Vue file, the one with everything</h3><p>Vue.js introduces the idea of single file components: Each .Vue file is made up with three parts: &lt;template&gt; ( to hold all the HTML code), &lt;style&gt; (to hold all styling code) and &lt;script&gt; (to hold all the Javascript logistics). This gives developers a really good view of everything that is going on with that component within the same file and thus makes the code more cohesive and maintainable. It also comes with pre-processors, such as Pug, Babel and everyone’s fav, SCSS.</p><p>Learn more about single file components with Vue.js <a href="https://vuejs.org/v2/guide/single-file-components.html"><em>here</em></a>.</p><p>Credits: Examples from this post are largely inspired by the Vue.js <a href="https://vuejs.org/v2/guide/"><em>docs</em></a>. The lovely team at Vue.js also had their inputs on the matter. Head over <a href="https://vuejs.org/v2/guide/comparison.html"><em>here</em></a> to learn more about their comparison of Vue and other frameworks. I have been following the lovely tutorials of Maximilian Schwarzmüller on udemy and I highly recommend <a href="https://www.udemy.com/share/10005wBEodeF9aQXs=/"><em>this course</em></a> if you are starting your journey for Vue.js.</p><p>Here are some other places you can find me on the Internet:</p><p>I coded a website for myself.</p><p><a href="http://chaoyuezhao.com/">http://chaoyuezhao.com/</a></p><p>I write at-the-moment short blog post (people also call them tweets): <a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></p><p>Wanted to know about my career journey? Head over: <a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></p><p>And of course, you want to know what food I eat: <a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao/?hl=en</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e35c997e3d35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Wave  : I attended #FITCToronto2019]]></title>
            <link>https://chaoyue-zhao.medium.com/the-wave-i-attended-fitctoronto2019-841a71835898?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/841a71835898</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[ar]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[digital-experience]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Fri, 03 May 2019 19:17:50 GMT</pubDate>
            <atom:updated>2019-05-03T19:17:50.570Z</atom:updated>
            <content:encoded><![CDATA[<p>What I learned from my first ever tech conference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a9xV3EiYF3Sd_M3xEQnHAw.jpeg" /><figcaption>FITC Programme, my badge and a small temp tattoo.</figcaption></figure><p>As one of the lucky winners of <a href="https://twitter.com/hackeryou">HackerYou</a> Twitter giveaway, I had the pleasure of attending #FITCToronto this past Monday to Wednesday. As a past event professional whose bread and butter was producing events like this, I was beyond excited to attend.</p><p>Since my days as a conference organizer, I believe a good event serves at least three purposes: to educate, to inspire and to network. #FITCToronto2019 did all three very brilliantly. So if you will allow me, grab some popcorn and let me tell you about my experience at the conference.</p><h3>Learning never stops, especially when you go beyond your comfort zone.</h3><p>First, A little bit more background here. Seven months ago, I wrote my very first line of HTML and that is when my web develop journey started. A talk on AR, VR and AI, therefore, is like mind-blowing for me. Here are some things I learned while being wowed constantly by the talents the FITC community shown:</p><h4>Technology as new medium</h4><p><em>Dominic Burt &amp; Stef Smet, Spark AR, </em><a href="https://twitter.com/fbplatform"><em>@fbplatform</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bES5I-5spnNvUMN5JOZTBA.jpeg" /><figcaption><em>Dominic &amp; Stef on stage at FITC. Message on the screen: The Medium is the Message.</em></figcaption></figure><p>While I still remembered the many heated debates on the relationship between technology and communications in my undergrad, the talk delivered by the duo at Spark AR brought a new layer to the concept. When we leverage technologies, such as AR and VR as a medium to tell stories, our way of story telling reaches another level.</p><p>If you do not believe me, open the camera on your Messenger or Instagram, see that filter that gives you the possibility to have a cat eye instantly? That is what they create at Spark AR. Now you can flip your camera and create a comic drawing version of your world. Wow!</p><p>Wow, if you want to know more about what they do, head over: <a href="https://sparkar.facebook.com/ar-studio/">https://sparkar.facebook.com/ar-studio/</a>.</p><h4><strong>Lighting in a messy world.</strong></h4><p><em>Phil Reyneri, Lightform, </em><a href="https://twitter.com/philreyneri"><em>@philreyner</em></a><em>i</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FIgFSzRCQhdFgRBUrJXV3g.jpeg" /><figcaption>Phil on stage at FITC. Message on screen reads The Future is Bright.</figcaption></figure><p>Lighting has always been a topic of interest for me. When I worked in events, I was constantly amazed by how lighting can bring up mood in the room in matters of second. Phil’s talk was about projecting AR &amp; VR into our physical world and how the lighting in our daily world can be very messy.</p><p>He talked about the projectors of the future and how they can look a lot like the everyday objects we interact with, such as, lamps. He totally enlightened (pun intended) my hope on achieving the world like Black Mirror in our lifetime.</p><p>If you are interested in some of the brilliant work he does, head over: <a href="https://lightform.com/">https://lightform.com/</a>.</p><h4>Morning, Olivia. Where is the nearest subway station?</h4><p><em>Stephen Martell, Current Studios, </em><a href="https://twitter.com/stevemartell"><em>@stevemartell</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZoLKJH8p8SioECSSEYm9TQ.jpeg" /><figcaption>Olivia shown on screen at FITC during Stephen’s presentation.</figcaption></figure><p>Stephen’s talk was one of my favourites at the conference. I am a big fan of a presentations that tells a good story. In this case, Stephen went in depth with how they designed CoverGirl’s AI Assistant, Olivia. A couple weeks ago, I made the connection, and saw event design as a form of user experience design. In the past I was tasked with designing user experiences for events and now I can apply that knowledge while designing user experiences for digital products.</p><p>One of the many lessons Stephen shared that stood out to me was the knowledge they decided to give Olivia. Instead of just an AI that answer questions about make up, she has learned to engage in small interactive talks and answer general questions shoppers might have. The team also made sure that she is able to give varying answers to the same questions, which give her the personal flare that distinguish her from other AIs.</p><p>To learn more about the other projects Stephen’s studio have worked on, head over: <a href="https://currentstudios.digital/">https://currentstudios.digital/</a></p><h4><strong>The whole circle of Generative Coding</strong></h4><p><em>Matt Deslauriers, </em><a href="https://medium.com/u/e455eba64dcd"><em>Matt DesLauriers</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IC0tVFQp8ht3osujcbqf5g.jpeg" /><figcaption>Matt on stage at FITC. Screen shows his work.</figcaption></figure><p>Without a doubt, Matt opened a new world that is full of possibilities with his talk on generative arts and creative coding. I am very proud of my Mondrian generator app, Mondrian in Style (<a href="https://chaoyue-zhao.github.io/mondrian-in-style/">live</a>), my very first jQuery project of mine. I learned that day during Matt’s talk this frenzy I have with creating arts with code has a name.</p><p>Luckily, with the advancements of technology, we can now use codes to generate instructions for computers to generate art. This makes arts 1000 times more accessible and we can even bring them back to the physical space by outputting them into the psychical space by outputting them onto something like paper or fabric. In this way, digital art has finished its full circle.</p><p>Matt has an awesome open source framework, Canvas-sketch. Head over: <a href="https://github.com/mattdesl/canvas-sketch">https://github.com/mattdesl/canvas-sketch</a>.</p><h4>If you make it light enough, they will use it.</h4><p><em>Chris Zacharias, imgix, </em><a href="https://twitter.com/zacman85"><em>@zacman5</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yA5XEz2xL8jhHLrbT3CKSQ.jpeg" /><figcaption>Chris speaking at FITC. Screen shows performance number comparison between an original and hyper light website.</figcaption></figure><p>Thank to the lovely lunch n’ learn by <a href="https://medium.com/u/49cceb225723">Henri Helvetica</a> that I attended before the conference, #webperf is not a foreign topic. For me, Chris’s talk added to that and completely changed my perception of creating hyperlight websites. Instead of thinking about performance AFTER the project is mostly done, the very first step of building a hyperlight project (if that’s the goal of the exercise), is to reconceptualization the different elements to the bare minimum. In other words, what are the absolute necessities the site needs to up and running.</p><p>It does help to mention that 85% of the performance issues come from image assets. Imgix creates an awesome solution to manage image source set with a simple CDN input.</p><p>If you are curious about this, head over: <a href="https://www.imgix.com/">https://www.imgix.com/</a>.</p><h3>My wave is yet to come.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AfJkXonRf6e0NIDaNpTtRQ.jpeg" /><figcaption>David speaking on stage at FITC. Message on screen “Have Fun”</figcaption></figure><p>The title of this session and this post is inspired by a message shared by the closing keynote <a href="http://davidcarsondesign.com/">David Carson</a>. Even though some AV issues stopped him from playing all his beautiful videos he had planned, he successfully blew me away with all the amazingly beautiful work he did, and of course the way he enjoys the small things and manages the big wave (he surfs!) in his life. However, there were many other AH-HA moments I had during the conference:</p><h4>Escapism Vs. Innovation</h4><p><em>Jared Ficklin, Argodesign, </em><a href="https://twitter.com/jaredrawk"><em>@jaredrawk</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fquwMrLWJy7pYAvSGrGHlg.jpeg" /><figcaption>Final message of Jared presentation: The future can be post scarcity, logistics by adhocracy, ecology by ecopoets, abundance by automation, frictionless revolution, curated capitalism &amp; spiritualism by philotics. We can avoid peak technology.</figcaption></figure><p>One of the many nuggets in Jared’s talk was this idea of whether we are using technology as escapism or innovation. The example he gave was how we use AI to scan immigration requests. For these tasks that can be a bit hard on a human. Are we using the technology to avoid those hard feelings of filtering out unqualified candidates for an immigration application?</p><p>If you say yes to that question, the solution may be to make technology human or in other words, augment technologies with human capacities. Instead of having a robot that runs around create zin gardens, link this robot to a meditation seat where it would only run if the human sitting on the seat is focused.</p><p>If you interested in knowing more about the autonomous future? Head over: <a href="http://argodesign.com/">http://argodesign.com/</a>.</p><h4>The meaning of live</h4><p><em>Kate Dawkins, Kate Dawkins Studio, </em><a href="https://twitter.com/StudioDawkins"><em>@dawkinsstudios</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*91mzgJYhGeMkJenpwyd7OA.jpeg" /><figcaption>Kate speaking at FITC.</figcaption></figure><p>The world Kate lives in is the perfect child of my past and current lives: technologies at live events. Although I am fully aware of logistical challenges can cause problems while running live events, hearing her stories added another layer of difficulty on it. Again, I am amazed by how her and her team leverage technology as tools for better story telling.</p><p>One of the details she shared about the Festival of Remembrance London project touched my heart. They were able to retrieve some diaries of that era and made an effort to use that exact font in the light show. The attention to every little detail was very very inspiring.</p><p>Head over <a href="https://katedawkinsstudio.com/">https://katedawkinsstudio.com/</a> for more of the beautiful work of her studio.</p><h4>y tho</h4><p><em>Zoe Daniels, HackerYou, </em><a href="https://twitter.com/zoecodes"><em>@zoecodes</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z6QbvDVZCoILU3MRqFftgA.jpeg" /><figcaption>Zoe on stage at FITC.</figcaption></figure><p>I wanted to leave a little space here for the person who had a huge impact on my coding journey: Zoe. She was the lead instructor at the coding bootcamp, HackerYou, that I graduated from 5 weeks ago. Luckily, I had many many chances to sit and absorb her wisdom but seeing her on a larger stage at #FITCToronto2019 was very special.</p><p>Thank you Zoe, it was great to be one of your angels.</p><p>Want to learn more about the bootcamp? Head over: <a href="https://hackeryou.com/">https://hackeryou.com/</a>.</p><h3>Learn and grow together.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cdHQrjNL_XF7adfsJpgwAA.jpeg" /><figcaption>Me wearing a Beyoncss t-shirt with Henri at FITC Pub night.</figcaption></figure><p>I am forever grateful for the opportunity to attend the conference. I truly believe it was an event that gives me the opportunity to meet, learn and grow from the people in this awesome community. We may not be able to move the mountain by ourselves but we sure have a chance to do that when we collaborate together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*Ry8CQwLYhfd4CGxFtHws7g.gif" /><figcaption>And of course, proof of my ability to fly.</figcaption></figure><p>Here are some other places you can find me on the Internet:</p><p>I coded a website for myself.</p><p><a href="http://chaoyuezhao.com/">http://chaoyuezhao.com/</a></p><p>I write at-the-moment short blog post (people also call them tweets): <a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></p><p>Wanted to know about my career journey? Head over: <a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></p><p>And of course, you want to know what food I eat: <a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao/?hl=en</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=841a71835898" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Time-saving tips aboutVisual Studio Code for front-end developers]]></title>
            <link>https://chaoyue-zhao.medium.com/time-saving-tips-aboutvisual-studio-code-for-front-end-developers-9a0d259b80a9?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a0d259b80a9</guid>
            <category><![CDATA[tooling]]></category>
            <category><![CDATA[visual-studio-code]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Thu, 02 May 2019 15:07:16 GMT</pubDate>
            <atom:updated>2019-05-02T15:07:16.373Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes you just need the correct tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xsbbk7uUFlD24ZYN" /><figcaption>Photo by <a href="https://unsplash.com/@toddquackenbush?utm_source=medium&amp;utm_medium=referral">Todd Quackenbush</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So I was having a lazy morning and swiping Twitter on my couch about 15 mins ago. I realized there is a new cohort (cohort 22) in the HackerYou community and they are experiencing the same struggles I had couple months ago. You would spend half an hour trying to locate the semicolons you missed. Or living the best life with that Prepos pop up. So I put together this list.</p><p><strong>Extensions:</strong></p><ul><li><a href="https://github.com/formulahendry/vscode-auto-close-tag">Auto Close Tag</a> and <a href="https://github.com/formulahendry/vscode-auto-rename-tag">Auto Rename Tag</a> are great for dealing with HTML tags.</li><li><a href="https://github.com/bgashler1/vscode-htmltagwrap">HTMLWrap </a>gives you a very small but might hot key to wrap any elements with a HTML tag. Very helpful when you missed that wrapper &lt;div&gt; at the first go.</li><li>Frustrating about brackets? Try <a href="https://github.com/CoenraadS/Bracket-Pair-Colorizer-2">Bracket Pair Colorizer</a>. It will give your matching bracket a same colour. This is the tip from the one and only Kate (<a href="https://twitter.com/Kate_DAngelo">link</a>).</li><li>I am an ESL so I have <a href="https://github.com/Jason-Rev/vscode-spell-checker">Spell Checker</a> installed after I said chick salad, instead of chicken salad. Warning: this may or may not underline things you don’t want it. If you are not comfortable with seeing underlining (just like words!) on things like, your name, skip this one.</li><li>Bye Prepos and hello <a href="https://github.com/ritwickdey/vscode-live-sass-compiler">Live Sass Compiler</a> and <a href="https://github.com/ritwickdey/vscode-live-server">Live Server</a>.</li><li>If you struggling with spelling your file name correctly, try <a href="https://github.com/ChristianKohler/PathIntellisense">Path Intellisense</a>.</li><li>Everyone and their mom’s favourite tool to format code: <a href="https://github.com/prettier/prettier-vscode">Prettier</a>.</li><li>Once you start learning about React: use <a href="https://github.com/dzannotti/vscode-babel/">Babel</a>, <a href="https://github.com/dsznajder/vscode-es7-javascript-react-snippets">React Snippets</a>.</li><li>If you are crazy enough to learn about Styled Components during bootcamp: <a href="https://github.com/styled-components/vscode-styled-components">Styled Componen</a>t and <a href="https://github.com/lXSPandora/vscode-styled-components-snippets">Styled Component Snippets</a>.</li><li>One day you may decide that Vue.js is very cool: <a href="https://github.com/LiuJi-Jim/vscode-vue">Vue</a> and <a href="https://github.com/hollowtree/vscode-vue-snippets">Vue Snippets</a>.</li></ul><p><strong>Existing lil nuggets</strong>:</p><ul><li>Did you know there is a <a href="https://code.visualstudio.com/docs/editor/integrated-terminal">built-in terminal</a>?</li><li>Did you know you can git commit inside <a href="https://code.visualstudio.com/docs/editor/versioncontrol">VS Code</a>? (Tip from our lovely <a href="https://twitter.com/jeannetteng5">Jeannette</a>)</li></ul><p>Keep in mind, if you are unhappy about anything (the size of your tab, why your Emmet stopped working with JSX), GOOGLE it. Everything can be changed to your likings. You just haven’t found the way.</p><p>I am a firm believer of using technology to shortcut some of the struggles we have. In the end, we are in the tech industry. However, I do want to emphasize it is very very important as a coder to know your fundamentals. These are tools that mean to save your time so you can use those to think about your beautiful code.</p><p>Here are some other places you can find me on the Internet:</p><p>I coded a website for myself.</p><p><a href="http://chaoyuezhao.com/">http://chaoyuezhao.com/</a></p><p>I write at-the-moment short blog post (people also call them tweets): <a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></p><p>Wanted to know about my career journey? Head over: <a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></p><p>And of course, you want to know what food I eat: <a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao/?hl=en</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a0d259b80a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reduce( ): What, Why and How?]]></title>
            <link>https://chaoyue-zhao.medium.com/reduce-what-why-and-how-9d259f3708f0?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d259f3708f0</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Sun, 28 Apr 2019 11:24:38 GMT</pubDate>
            <atom:updated>2021-01-09T20:08:40.690Z</atom:updated>
            <content:encoded><![CDATA[<h4>#ChaoTime ep.1 All about reduce( ).</h4><p>Exposition: I am a CSS Grid enthusiast, a Javascript fan, a React-oholic and a passionate Vue-r. I want to further my knowledge in coding by writing about things that confuse me. This is the first post in this series and the character is reduce ( ), the coolest pal in the array built-in method club.</p><p>Rising Action: More often than not, if you are looking for commuting a single value from an array, reduce ( ) is your pal 😎.</p><blockquote>The <strong>reduce()</strong> method executes a <strong>reducer</strong> function (that you provide) on each member of the array resulting in a single output value.The <strong>reducer</strong> function takes four arguments: 1. Accumulator (acc), 2. Current Value (cur), 3. Current Index (idx), 4. Source Array (src)</blockquote><p>The return value of a reduce ( ) is evaluated by repeatedly taking a single element (acc) from the array (src) and combining it with the current value(cur).</p><p>The most common use of a reduce( ) function is either to find the sum of all numerical values inside an array:</p><pre>const total = [ 0, 1, 2, 3 ].reduce(<br>  ( accumulator, currentValue ) =&gt; accumulator + currentValue,<br>  0<br>); <br>// total is 6</pre><p>or counting the instances of each items inside an array:</p><pre>const donuts = [&quot;chocolate glazed&quot;, &quot;maple dip&quot;, &quot;strawberry, &quot;chocolate glazed&quot;, ,&quot;maple dip&quot;, &quot;chocolate glazed&quot;]<br><br>const countedDonuts = donuts.reduce(function (donuts, donut) { <br>  if (donut in donuts) {<br>    donuts[donut]++;<br>  }<br>  else {<br>    donuts[donut]= 1;<br>  }<br>  return donuts;<br>}, {});<br>// countedDonuts is:<br>// { &#39;chocolate glazed&#39;: 3, &#39;maple dip&#39;: 2, &#39;strawberry&#39;: 1 }</pre><p>Climax: However, there are so much more we can do 💪🏻! Here are some great usages:</p><ol><li><strong>Organize data:</strong> say you have an array of data like this and you would like to have it organize by the name of the customers.</li></ol><pre>const input = [[&#39;Julia Smith&#39;, &#39;Jade Plant&#39;, &#39;2&#39;, &#39;10&#39;],</pre><pre>[&#39;Julie Smith&#39;, &#39;Aloe Vera&#39;, &#39;1&#39;, &#39;20&#39;],</pre><pre>[&#39;Julia Smith&#39;, &#39;Snake Plant&#39;, &#39;2&#39;, &#39;50&#39;],</pre><pre>[&#39;Tom Jones&#39;, &#39;Jade Plant&#39;, &#39;5&#39;, &#39;10&#39;],</pre><pre>[&#39;Tom Jones&#39;, &#39;Aloe Vera&#39;, &#39;2&#39;, &#39;20&#39;],</pre><pre>[&#39;Tom Jones&#39;, &#39;Ball Cactus&#39;, &#39;1&#39;, &#39;35&#39;]];</pre><p>Let’s organize the data for each customer:</p><pre>const output = input.reduce((customers, line) =&gt; {</pre><pre>customers[line[0]] = customers[line[0]] || [];</pre><pre>customers[line[0]].push({</pre><pre>name: line[1],</pre><pre>price: line[2],</pre><pre>quantity: line[3]</pre><pre>})</pre><pre>return customers;</pre><pre>}, {})</pre><pre>console.log(JSON.stringify(output, null, 2));</pre><p>Keep in mind, when the parser goes through the code, each <strong><em>line</em></strong> is the individual item inside the array. We use the bracket notation here to get the name of the customer with:</p><pre>customers[line[0]]</pre><p>We start with an empty one and push the <strong><em>name</em></strong>, <strong><em>price</em></strong> and <strong><em>quantity</em></strong> as keys to that empty object as set out as initial value in the reduce function. Our output looks like this:</p><pre>&quot;Julia Smith&quot;: [<br>    {<br>      &quot;name&quot;: &quot;Jade Plant&quot;,<br>      &quot;price&quot;: &quot;2&quot;,<br>      &quot;quantity&quot;: &quot;10&quot;<br>    },<br>    {<br>      &quot;name&quot;: &quot;Snake Plant&quot;,<br>      &quot;price&quot;: &quot;2&quot;,<br>      &quot;quantity&quot;: &quot;50&quot;<br>    }<br>  ],<br>  &quot;Julie Smith&quot;: [<br>    {<br>      &quot;name&quot;: &quot;Aloe Vera&quot;,<br>      &quot;price&quot;: &quot;1&quot;,<br>      &quot;quantity&quot;: &quot;20&quot;<br>    }<br>  ],<br>  &quot;Tom Jones&quot;: [<br>    {<br>      &quot;name&quot;: &quot;Jade Plant&quot;,<br>      &quot;price&quot;: &quot;5&quot;,<br>      &quot;quantity&quot;: &quot;10&quot;<br>    },<br>    {<br>      &quot;name&quot;: &quot;Aloe Vera&quot;,<br>      &quot;price&quot;: &quot;2&quot;,<br>      &quot;quantity&quot;: &quot;20&quot;<br>    },<br>    {<br>      &quot;name&quot;: &quot;Ball Cactus&quot;,<br>      &quot;price&quot;: &quot;1&quot;,<br>      &quot;quantity&quot;: &quot;35&quot;<br>    }<br>  ]<br>}</pre><p>2. <strong>Chain Promises</strong>: we can also use reduce to run promises in a chained matter (in other words, asynchronously).</p><pre>const promiseArray = [&#39;promise1&#39;, &#39;promise2&#39;, &#39;promise3&#39;, &#39;promise4&#39;];</pre><pre>promiseArray.reduce((promiseChain, currentPromise) =&gt; {</pre><pre>return promiseChain.then(() =&gt; {</pre><pre>console.log(currentPromise);</pre><pre>return new Promise(res =&gt; setTimeout(res, 1000));</pre><pre>});</pre><pre>}, Promise.resolve()).then(</pre><pre>() =&gt; console.log(&#39;done&#39;)</pre><pre>);</pre><pre>// will log promise1, promise2, promise3, promise4, &#39;done&#39; in 1s intervals</pre><p>In this example, we are calling .<strong><em>reduce( ) </em></strong>on the list of promises (just strings for demo purpose) with an initial value of<em> </em><strong><em>Promise. resolve( )</em></strong>. The interpreter will then go through each promise and resolve them one by one. Every time one promise gets resolved, it will add a <strong><em>.then( )</em></strong> to the initial value.</p><p>Falling Action: Before you run to refractor your code with reduce and taste it sweet sweet power, let me bore you with couple important lessons I (for sure) and other folks have learnt. You can thank me or <a href="https://code.tutsplus.com/tutorials/how-to-use-map-filter-reduce-in-javascript--cms-26209">Peleke</a> (link to original post) later.</p><ol><li>always return.</li><li>always set an initial value.</li><li>remember reduce( ) returns <strong>a single value</strong>.</li></ol><p>Resolution: For the longest time, I was intimidated by reduce. Whenever I see it in a solution of a stack overflow post, I would freeze and try to look for another solution. But now, I am glad that we are pals now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*elkiMMpj3JRum-jV" /><figcaption>Photo by <a href="https://unsplash.com/@hiteshchoudhary?utm_source=medium&amp;utm_medium=referral">Hitesh Choudhary</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Credits: This is a topic that has been well talked about inside the community. For the creation of this post, I was inspired by the following resources:</p><ul><li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce">MDN web docs</a></li><li><a href="https://eloquentjavascript.net/05_higher_order.html#h_fx3e34kT/k">Summarizing with Reduce, Eloquent Javascript</a></li><li><a href="https://medium.freecodecamp.org/reduce-f47a7da511a9">How JavaScript’s Reduce method works, when to use it, and some of the cool things it can do</a></li><li><a href="https://www.youtube.com/watch?v=SadWPo2KZWg">How JavaScript’s Array Reduce Works — #JavaScript30 18/30</a></li><li><a href="https://www.youtube.com/watch?v=Wl98eZpkp-c">Reduce basics — Part 3 of Functional Programming in JavaScript</a></li><li><a href="https://www.youtube.com/watch?v=1DMolJ2FrNY&amp;t=355s">Reduce Advanced — Part 4 of Functional Programming in JavaScript</a></li><li><a href="https://riptutorial.com/javascript/example/5917/reduce-an-array-to-chained-promises">Reduce an array to chained promises</a></li><li><a href="https://code.tutsplus.com/tutorials/how-to-use-map-filter-reduce-in-javascript--cms-26209">How to Use Map, Filter, &amp; Reduce in JavaScript</a></li></ul><p>Here are some other places you can find me on the Internet:</p><p>I coded a website for myself.</p><p><a href="http://chaoyuezhao.com/">http://chaoyuezhao.com/</a></p><p>I write at-the-moment short blog post (people also call them tweets): <a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></p><p>Wanted to know about my career journey? Head over: <a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></p><p>And of course, you want to know what food I eat: <a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao/?hl=en</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d259f3708f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Post-Bootcamp “Netflix” List]]></title>
            <link>https://chaoyue-zhao.medium.com/my-post-bootcamp-netflix-list-272085301efb?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/272085301efb</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Sun, 24 Mar 2019 00:27:50 GMT</pubDate>
            <atom:updated>2019-09-20T16:24:48.635Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Post-Bootcamp Coding“Netflix” List</h3><h4>My perfect Saturday evening is a date with a Udemy coding course, my code editor and some take-out Thai food.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J4_EIVKMjCawaV2D" /><figcaption>Photo by <a href="https://unsplash.com/@cdr6934?utm_source=medium&amp;utm_medium=referral">Chris Ried</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Today is March 23, 2019, the first day after me graduating from bootcamp. And I decided to compile a list of courses/tutorials/topics I would like to explore. If you are in the similar situation like I do, you might find this useful.</p><h3>CSS</h3><ul><li>Advanced CSS and Sass: Flexbox, Grid, Animations and More! <a href="https://www.udemy.com/advanced-css-and-sass/">https://www.udemy.com/advanced-css-and-sass/</a></li></ul><h3>GSAP</h3><ul><li>Learn GSAP from GreenSock <a href="https://greensock.com/learning">https://greensock.com/learning</a></li><li>Greensock for Beginners <a href="https://bit.ly/2U41tcN">https://bit.ly/2U41tcN</a></li></ul><h3>Javascript</h3><ul><li>Javascript Weird Parts <a href="https://www.udemy.com/understand-javascript/">https://www.udemy.com/understand-javascript/</a></li><li>The Complete Javascript Course <a href="https://www.udemy.com/the-complete-javascript-course/">https://www.udemy.com/the-complete-javascript-course/</a></li><li>You don’t Know Javascript Yet: <a href="https://github.com/getify/You-Dont-Know-JS">https://github.com/getify/You-Dont-Know-JS</a></li><li>Javascript 30 <a href="https://javascript30.com/">https://javascript30.com/</a></li><li>Functional Programming in Javascript: <a href="https://bit.ly/1IzcK7R">https://bit.ly/1IzcK7R</a></li></ul><h3>React.js</h3><ul><li>The Complete React Developer <a href="https://www.udemy.com/react-2nd-edition/">https://www.udemy.com/react-2nd-edition/</a></li><li>Learn Redux <a href="https://learnredux.com/">https://learnredux.com/</a></li><li>Modern React with Redux <a href="https://www.udemy.com/react-redux/">https://www.udemy.com/react-redux/</a></li><li>React Testing with Jest and Enzyme <a href="https://www.udemy.com/react-testing-with-jest-and-enzyme/">https://www.udemy.com/react-testing-with-jest-and-enzyme/</a></li><li>React Hooks <a href="https://www.udemy.com/react-hooks-tutorial/">https://www.udemy.com/react-hooks-tutorial/</a></li></ul><h3>Vue.js</h3><ul><li>Vue JS 2 — The Complete Guide (incl. Vue Router &amp; Vuex) <a href="https://www.udemy.com/share/100YN6BEodeF9aQXs=/">https://www.udemy.com/share/100YN6BEodeF9aQXs=/</a></li></ul><h3>Node.js</h3><ul><li>Welcome to Node.js, Express, MongoDB &amp; More: The Complete Bootcamp 2019 <a href="https://www.udemy.com/share/101i4WBEodeF9aQXs=/">https://www.udemy.com/share/101i4WBEodeF9aQXs=/</a></li></ul><h3>Algorithm</h3><ul><li>JavaScript Algorithms and Data Structures Masterclass <a href="https://www.udemy.com/share/100ZHoBEodeF9aQXs=/">https://www.udemy.com/share/100ZHoBEodeF9aQXs=/</a></li></ul><h3>Creative Coding</h3><ul><li>Coding Math <a href="https://www.youtube.com/user/codingmath">https://www.youtube.com/user/codingmath</a></li><li>Jam3 Lessons <a href="https://github.com/Jam3/jam3-lesson">https://github.com/Jam3/jam3-lesson</a></li><li>Generative Artistry <a href="https://generativeartistry.com/">https://generativeartistry.com/</a></li></ul><p>Here are some other places you can find me on the Internet:</p><p>I coded a website for myself.</p><p><a href="http://chaoyuezhao.com/">http://chaoyuezhao.com/</a></p><p>I write at-the-moment short blog post (people also call them tweets): <a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></p><p>Wanted to know about my career journey? Head over: <a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></p><p>And of course, you want to know what food I eat: <a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao/?hl=en</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=272085301efb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things that shouldn’t stop you from learning to code ‍]]></title>
            <link>https://chaoyue-zhao.medium.com/things-that-shouldnt-stop-you-from-learning-to-code-142ebcdf2624?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/142ebcdf2624</guid>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Mon, 11 Mar 2019 22:07:24 GMT</pubDate>
            <atom:updated>2019-04-10T16:17:14.701Z</atom:updated>
            <content:encoded><![CDATA[<h4>Because they didn’t stop me…</h4><p>Six months ago, I sat down for my first ever lesson on HTML. Coding was something I always wanted to try, but was too afraid to start. Fast forward to last Friday — I signed up for a friendly coding competition called visibility:hidden one hour before it started. I coded a one-page website in 15 minutes without previewing it in the browser in front of a full room of people. Read about the rest of my journey to becoming a web developer<a href="https://hackeryou.com/blog/things-that-shouldnt-stop-you-from-learning-to-code"> on the HackerYou website</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oFSnJqRN-NatHYKFCIiXSA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KbqSKMjTNP0jWXP9sITMKg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KlUUB-5WmSBp4kuAelVlpQ.jpeg" /><figcaption>.Left: Signs with my name (Chao Zhao) and the event title (visibility hidden) sitting on a table inside a dim room with blue and purple spot lights. Center: photo of me and <a href="https://twitter.com/dluudevs">Derek</a> laughing and standing behind the monitor showing the website he coded during the competition. Photo Credit: <a href="https://twitter.com/dennisoba">Dennis Oba.</a> Right: photo of me typing on my computer with a monitor showing the website I coded during the competition.</figcaption></figure><p>Here are some other places you can find me on the Internet:</p><p>I write at-the-moment short blog post (people also call them tweets): <a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></p><p>Wanted to know about my career journey? Head over: <a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></p><p>And of course, you want to know what food I eat: <a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao/?hl=en</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=142ebcdf2624" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I became a morning person]]></title>
            <link>https://chaoyue-zhao.medium.com/how-i-became-a-morning-person-91537d616d14?source=rss-63c3b5ee0e46------2</link>
            <guid isPermaLink="false">https://medium.com/p/91537d616d14</guid>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Chao]]></dc:creator>
            <pubDate>Tue, 12 Feb 2019 01:25:49 GMT</pubDate>
            <atom:updated>2019-03-16T18:24:37.884Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I became a morning 🌅 person</h3><h4>and why you should give it a try too.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hLN_-Vwuo-jJ8HDAfrSNpQ.jpeg" /><figcaption>View of my neighbourhood street on a winter morning with sun raising in the background. Photo taken by me.</figcaption></figure><p><strong>Problem ❓:</strong> Shortly after I got my first full-time job, I found myself in the dilemma of not having enough time in the day. On top of the 8–9 hours in the office, I spent another 2 hours commuting, 7–8 hours sleeping. The rest is barely enough to cook, eat, dress and do other things a human needs to do to survive gracefully. How do people do this?</p><p><strong>What 🌅: </strong>I decided to try to get up early. I read somewhere that one can always control how you spent your mornings as the time after work is hard to plan ahead. Sometimes you have to stay late at work, sometimes you have social events, sometimes your typically 1 hour commute can delay to 2. I find this especially helpful as I am now a full-time student.</p><p><strong>How ⏰:</strong> Unfortunately, you can’t just set 5 alarms and wake up the next morning to be a fully functional morning person. You will wake up (to a certain degree) and question why you want to do this in the first place. My suggestion is to start small by turning your alarm 10 mins backwards from when you typically wake up and turning your clock backwards a little further day by day. I started when I first got back from Beijing and that sweet sweet 12-hour jet lag gave me a huge head start. And over the years, I can naturally wake up between 5:30 to 6:00 am without an alarm. And yes, I do this on the weekend too. The important part here is to find something that your body adjusts to and do not adjust them back on the weekends.</p><p><strong>Details 📝: </strong>So what exactly do you do during these extra 2 hours you get all of a sudden<strong>? </strong>You can use this time to hone in any of tasks, habits or anything really. But here are the things I do in my ideal morning (heavy emphasis on ideal here):</p><ul><li><strong>Set out a time totally for yourself:</strong> I try to start and end my day with a 30–60 mins no-screen 📵period. I find that without overwhelming myself with news, unread chat messages or emails, or social media first thing in the morning has made me more focused on the task I would like to do.</li><li><strong>Write a journal ✍🏻/ plan your day on paper: </strong>I started journalling about a year ago. I am not a writer and the idea of writing down on a blank page scares me. So I opted in a more guided approach: <a href="https://dailygreatness.ca//"><em>Dailygreatness Journal</em></a>. This goal-oriented, (in my opinion) better-than-lots-of-self-help-books journal helped me go through some very disoriented morning.</li><li><strong>Make your bed 🛏</strong>: I always like to take the time to make my bed in the morning. It stops me from napping throughout the day and it’s just nice to come home to a nicely made bed. Also, it’s always the first task I am able to check off on my list every day.</li><li><strong>Meditate</strong> 🧘🏻‍♀️: As someone who has ADD, the idea of not moving even for 10 secs was too much. However, I somehow got over it and I found the 15/20 mins I spent each morning just going through my thoughts helped me so much to set the correct mindset for the rest of the day. I use <a href="https://www.headspace.com/">headspace</a> but there are so many apps/tools out there you can take advantage of.</li><li><strong>Cook some breakfast 🍳: </strong>This is definitely something I am still working on but I believe in the power of a warm, home-cooked meal. What you eat first thing in the morning really sets the tone of the day. The smell of freshly made coffee coupled with some delicious oats just gets all of my senses going.</li><li><strong>Do some physical activities</strong> 🏃🏻‍♀️: I didn’t say work out here on purpose because there are definitely days I don’t feel like doing anything. I tried to spend those morning with some gentle stretches. But on the day I do have the energy, I go for a 50 mins cardio or personal training class. Combo that with a quick shower afterwards is my secret to (sometimes) avoid that morning coffee.</li><li><strong>Work on a skill you would like to develop 👩🏻‍💻:</strong> in my case, coding. I find the fresh morning mind works so good to debug those codes that you couldn’t solve the morning before. Or I take this time to plan out some pseudo codes for a project I am working on. I specifically like this time of the day for tasks that require more thinking and planning as this is typically the only time I can work on something in a quiet, peaceful setting.</li></ul><p>That’s all, folks. I understand it’s totally a choice to wake up and develop a morning routine. But I hope I inspired you to give it a go and what I listed above has given you some helpful tips.</p><p>Here are some other places you can find me on the Internet:</p><p>I write at-the-moment short blog post (people also call them tweets): <a href="https://twitter.com/ChaoyueZ">https://twitter.com/ChaoyueZ</a></p><p>Wanted to know about my career journey? Head over: <a href="https://www.linkedin.com/in/chaoyuezhao/">https://www.linkedin.com/in/chaoyuezhao/</a></p><p>And of course, you want to know what food I eat: <a href="https://www.instagram.com/chaoyue_zhao/?hl=en">https://www.instagram.com/chaoyue_zhao/?hl=en</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91537d616d14" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>