<?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 Samwell Wong on Medium]]></title>
        <description><![CDATA[Stories by Samwell Wong on Medium]]></description>
        <link>https://medium.com/@orangeavocado?source=rss-d2f650a4381a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ebux-FkQ5UJ152AGKO_htQ.jpeg</url>
            <title>Stories by Samwell Wong on Medium</title>
            <link>https://medium.com/@orangeavocado?source=rss-d2f650a4381a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:10:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@orangeavocado/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[Understanding Layout of msg.data in Solidity]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://orangeavocado.medium.com/understanding-layout-of-msg-data-in-solidity-6c2904b73a2a?source=rss-d2f650a4381a------2"><img src="https://cdn-images-1.medium.com/max/722/0*bZs5yb7yg9aPWgT1.png" width="722"></a></p><p class="medium-feed-snippet">low level interactions with a smart contract requires further digging into the contract&#x2019;s ABI</p><p class="medium-feed-link"><a href="https://orangeavocado.medium.com/understanding-layout-of-msg-data-in-solidity-6c2904b73a2a?source=rss-d2f650a4381a------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://orangeavocado.medium.com/understanding-layout-of-msg-data-in-solidity-6c2904b73a2a?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c2904b73a2a</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Fri, 20 May 2022 02:36:43 GMT</pubDate>
            <atom:updated>2022-05-20T02:36:43.603Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Writing is my favorite mode of expression. What’s yours? (April 2020)]]></title>
            <link>https://orangeavocado.medium.com/writing-is-my-favorite-mode-of-expression-whats-yours-april-2020-3df1700399f3?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3df1700399f3</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Sun, 19 Apr 2020 05:21:33 GMT</pubDate>
            <atom:updated>2020-04-19T05:22:09.918Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1BFY8TVIk9gQmwyc_YTqYA.jpeg" /><figcaption>A stock photo of someone writing. Photo by <a href="https://unsplash.com/@cathrynlavery?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Cathryn Lavery</a> on <a href="https://unsplash.com/s/photos/writing?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I am not a professional writer. I don’t write for a living. Writing is more of a hobby or passion for me, but to me using words to express my thoughts is a liberating feeling. Writing is my preferred way of expressing myself; I prefer describing my current circumstance with words more than taking beautiful photos of my surrounding. Many youngsters are heavily invested in taking glamorous photos and uploading them to Instagram; sometimes hoping to fish for likes to fulfill their vanity. I am young (25 y/o male) and like to document my experiences with photos.</p><p>But the ‘photo’ game is skewed towards the good-looking. There is an inherent expectation of the person posting a photo on the platform to make sure that the photo is pretty and well-polished. After all, nobody likes to see sub-par content when everybody else are posting nice looking photos of themselves. What happen to those average looking people (like me) that have no glamorous content to post? We use words to express ourselves.</p><p>I often contemplate over the differences between various modes of expressions i.e writing, posting photos and posting videos. The conclusion I get is:<em> the temporal dimensions of the ideas you are expressing</em>. Regardless of whether you are writing an essay or posting a video on TikTok, you are ultimately trying to convey an idea to your audiences. So what is the gist of the content you are posting? When you post a photo on Instagram, you are limiting the idea you are conveying to the exact moment the photo is being taken. If you posted the photo of you saying the vows during solemnization to your partner, you are probably trying to express that euphoric moment you felt. On the other hand, <em>words transcend the boundaries of time.</em></p><p>Words can be used to express ideas of <em>past</em>, <em>present</em> and <em>future</em>. You may argue that many people can draw or digital construct a imagery depiction of past events or future plan. But how tedious is that? Using pictures to describe the past or future is just not the conventional way. They require too much effort and time to do so, and in many cases, people only use images or videos sparingly to express a certain idea of the past of future.</p><p>Not surprisingly, ideas conveyed by words are most ‘durable’ and can persist for the longest time possible. The Bible and The Quran are the quintessential examples. Ideas imprinted onto The Bible and The Quran have lasted since the beginning of our modern civilizations and they continue to inspire millions of people around the world. Words are used to describe imagery found in religions. They can be as descriptive as using drawings to depict these notions. <em>A picture speaks a thousand words</em> they say, but I rather write a thousand words to convey an idea unrestricted by time.</p><h3>How to write better?</h3><p>Recently I read a fantastically written book by Ann Handley — <a href="https://www.goodreads.com/book/show/23001125-everybody-writes">Everybody Writes: Your Go-To Guide to Creating Ridiculously Good Content</a> which advises aspiring writers to write better. The book talks about the attitude towards writing — everyone is a writer, get out there and start writing. Everyone writes about something in their life, just because it is not written in a formalized setting does not mean that your words are meaningless. The book also mentioned technical tips to write better in terms of grammar usage (e.g use active voice instead of passive voice) and subtle ways to write better (e.g advocacy of brevity). If you want to write better, do have a go at the book. It is beneficial for anyone hoping to write better content.</p><p>On top of the advice given in the aforementioned book, I would like to add my own two cents of how to write better.</p><h4>Read more</h4><p>For the sake of increasing your breadth of knowledge, I recommend reading content beyond your own field of study. If you study Chemical Engineering as am undergraduate, why not read something about sociology? In my opinion, art and science work hand in hand together to bring the human civilization forward; both domains inspire each other to produce better work.</p><p>I am more of a generalist, meaning I am more like a jack of all trades rather than a master of one. I like to read books of varying genres. Sometimes I read about the latest <a href="https://www.goodreads.com/book/show/30971755-a-crack-in-creation">gene-editing CRISPR technology</a>, sometimes I read the <a href="https://www.goodreads.com/book/show/38743564-billion-dollar-whale?ac=1&amp;from_search=true&amp;qid=9qsVEIKbJs&amp;rank=1">book about the 1MDB scandal</a>, and I start on every book with an open mind. I want to know a bit of everything. Probably still not reading enough to be an oracle but I try my best. The benefits of reading books across different disciplines include,</p><ol><li><strong>Able to strike up a conversation with someone outside of your specialization</strong>; learn more about what other people are doing</li><li><strong>The ability to connect the dots</strong></li></ol><p>Let’s be realistic, no single company can survive in the corporate world by just hiring people from a single field of study. If your company sells electrical appliances, you need an electrical engineer to design the product as well as a marketing major to sell your product well. Having knowledge of both worlds give you an advantage of being able to see the big picture and make better informed decisions.</p><p>Back to the point of writing better, you are exposed to greater variety of writing styles if you read more. It’s a no-brainer. Humans learn by mimicking others. Good examples are worth learning from. When you read more, you have a larger arsenal of writing tools at your disposal. It generally helps with improving your ‘grammar sense’ and builds your vocabulary.</p><h4>Write more</h4><p>This advice was mentioned in the book — <a href="https://www.goodreads.com/book/show/23001125-everybody-writes"><strong>Everybody Writes: Your Go-To Guide to Creating Ridiculously Good Content</strong></a> and I think building the habit of writing frequently is really important in becoming a better writer! Practice makes better. Experiment with using different types of literary devices in your writing.</p><p>As aforementioned, I like to read widely, I think the knowledge or wisdom I gain from reading books are kind of wasted if I don’t share it with the rest. I plan to summarize my thoughts and learning from the books I read in a Medium post every month. Not only does writing helps me consolidate my thoughts, it also allows me to reach out to the people reading my post and hopefully foster a meaningful conversation where we can learn from each other better.</p><p>If you have any opinions you would like some form of discussion, do let me know in the response section below! Let us learn from each other.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3df1700399f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Swift and Decisive – Creating an iOS app with little programming knowledge]]></title>
            <link>https://orangeavocado.medium.com/swift-and-decisive-creating-an-ios-app-with-little-programming-knowledge-f3790667e705?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3790667e705</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Sat, 25 Aug 2018 07:28:25 GMT</pubDate>
            <atom:updated>2018-08-25T07:28:25.798Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cnuwLA55oIKrozWFKmUc-w.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/9l_326FISzk?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Luca Bravo</a> on <a href="https://unsplash.com/search/photos/programming?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h3>Welcome Back!</h3><p>That’s right, I am back with another story about me learning a programming language. Last January I posted a story about me learning React, which is a frontend web programming language. I learnt a lot. This year I picked up Swift which is Apple‘s new programming language for creating iOS, macOS and tvOS apps. I heard many stories about Objective C being a nightmare for iOS developers due to its complexity albeit providing flexibility. Swift is advertised to be easy to read, run app logic at a faster rate and last but not least safer to use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/128/1*sUVIyBexNWaZfyWaZ7DhFw.png" /><figcaption>Official Swift logo from <a href="https://developer.apple.com/swift/">Apple</a></figcaption></figure><p>Heard the community is lacking some Swift developers and I jumped right in! (just kidding, my passion for learning is unrivalled ha…ha…) As usual I bought a course on <a href="https://www.udemy.com/ios-11-app-development-bootcamp/learn/v4/overview">Udemy</a> and started learning the Swift.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UWQviaOSEVLWyvtFkmCV7A.png" /><figcaption>Playground for testing out Swift, Source from <a href="https://developer.apple.com/swift/">Apple</a></figcaption></figure><h3>First Impression of Swift</h3><p>Ease of use. Java is the programming language I am most familiar with, and coding with Swift felt <strong>homely</strong>. The concept of Model-View-Controller (MVC) is widely adopted in Swift. Similar to Java, you create a class of how your supposed data look like and instantiate them when you need them. View of the app can be written in code or you can drag and drop an object (e.g Label, Text Field and etc) onto the storyboard. I like this feature of Swift where you can tether an object to your Controller class by holding down Ctrl key and drag the object to the code. You don’t have to manually match the key of the object in the storyboard which reduces the chances of meeting an exception.</p><h3>Technicalities</h3><p>I picked up a new concept known as ‘Delegation’ while learning Swift. Delegation refers to evaluating a member (property or method) of one object (the receiver) in the context of another, original object (the sender). This concept is particularly important in Swift. Across all libraries you use in Swift, you are likely to encounter situations where you need more control over a particular feature of the library (e.g callback method when an UIAlertView is closed) There are many use cases for delegation in Swift and here I am only bringing up one of them. This concept can be hard to grasp for those who have little programming background. More information about use of delegation in Swift can be found here.</p><p>Also, Swift has a unique of addressing null data. It is also known as <a href="https://docs.swift.org/swift-book/LanguageGuide/OptionalChaining.html"><em>Optional Chaining</em></a>. Optional Chaining is a process for querying and calling properties, methods and subscripts on an optional that might be nil.</p><p>First of all, you need to understand what is an optional. A variable may or may not contain a value. It is only when you unwrap the variable that you know its value. (for those who understand Schrödinger’s cat, YES exactly) Take a look at the following code to get the current user from Firebase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Skr5ow_jObpaOv0DrERBPg.png" /><figcaption>Example chunk of code to explain Optional</figcaption></figure><p>Allow me to direct your attention to the last 2nd line of code,</p><pre>name = currentUser?.displayName ?? &quot;&quot;</pre><p>The question mark behind the variable currentUser means it is an optional variable. When the compiler tries to assign currentUser’s attribute — displayName and assign it to name, the compiler will try to unwrap currentUser. If currentUser is found to be nil, the compiler will throw an exception. You are not allowed to assign a nil(null) value to another variable. This is part of Swift’s safety mechanism.</p><p>What about the double question marks behind displayName ? That is known as the nil coalescing operator. The system will first unwrap currentUser, if it is not nil, it will assign displayName&#39;s value to name. Else, the system will assign the value after the double question marks which in this case is &quot;&quot;. You can think of this as providing a default value to the optional in case the optional variable contains a nil value.</p><h3>Human Interface Guideline</h3><p>If you are an loyal Apple product user, you might notice that iOS apps usually have a clean user interface. That is because people at Apple approving the apps require developers to follow their own Human Interface Guideline. More information can be found in the <a href="https://developer.apple.com/design/human-interface-guidelines/ios/overview/themes/">official documentation</a>. Design consistency throughout the entire app is a norm to follow. Features of the app should be properly formatted according to the various sizes of the device. Fortunately there are auto layout tools like <a href="https://github.com/SnapKit/SnapKit">SnapKit</a> which helps with the interface elements to adapt to the different device sizes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UJFlc8jfV3Od0JIDcNagUA.png" /><figcaption>Swift code needs to adapt to the various device sizes, Source from <a href="https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layout/">Apple</a></figcaption></figure><p>Also, Xcode also have a built-in feature where you can select an interface element and add constraints to it. The process is very <strong>visual</strong>. When Xcode detects that the constraints you added do not make sense, red warning lines will pop up in the storyboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yagSZeNXRf6LahtCW2Vp8g.png" /><figcaption>Example of how adding a constraint to an element look like</figcaption></figure><p>I shall not explain the technicalities on adding constraints any further but if you are interested, consider checking out this <a href="https://www.raywenderlich.com/443-auto-layout-tutorial-in-ios-11-getting-started">website</a>. If you decide not to format the elements by adding constraints, you can also write code in your view/controller classes to format your interface elements.</p><h3>Why Did I Bring this Up?</h3><p>Many of you must be wondering why don’t I use React Native to create an iOS app since I can save the hassle and build an Android app using the same stack of code. I had some experience with React Native and to me, ensuring that the elements line up nicely was a <strong>HUGE</strong> challenge. (maybe the people improved this part of React Native but I am merely stating from my own experience from before) Formatting the elements in React Native is like writing large chunks of CSS code. Unpleasant experience. Xcode and Swift freed up so much of my time working on the layout of the elements. There are many libraries which helps with auto layout of the interface elements.</p><p>Secondly, if you plan to develop an iOS app using Augmented Reality (AR), React Native definitely cannot match Swift in terms of its compatibility. Swift is the official iOS programming language supported by Apple and naturally would include all the latest libraries required to program AR features. In comparison, React Native depends on its own pool of developers to keep up with the newly released features. (and might not be optimised for iOS)</p><p>If you aim to provide the best user interface experience for your users, you should definitely consider to program your app in native languages.</p><h3>Backend Development</h3><p>Firebase is always my go-to solution for database. Integrating Firebase into my app is a seamless experience. Firebase provide official documentation for Swift developers to connect their apps to Firebase services. I shall not elaborate more on backend-development since there is nothing fancy about using Firebase. (yes I am lazy) My point is, Swift is widely supported by many libraries.</p><h3>So…Should I Pick Up Swift?</h3><p>If you have some time to spare, why not! iOS apps have always been popular. According to <a href="https://www.upwork.com/press/2017/01/26/q4-2016-skills-index/">Upwork</a>, there is a demand for Swift developers to create iOS apps. Swift is the 2nd fastest growing skill in Q4 2016. If you want to earn extra bucks by working freelance, creating apps using Swift could be a lucrative option.</p><h3>Why I Made this App</h3><p>Read more in another story I wrote over <a href="https://medium.com/@sexywee/rallying-for-a-noble-cause-703c621fbcd2">here</a>.</p><p>Check out my completed app here — <a href="https://itunes.apple.com/us/app/mars-or-earth/id1430539251?ls=1&amp;mt=8">https://itunes.apple.com/us/app/mars-or-earth/id1430539251?ls=1&amp;mt=8</a></p><p>Do show your support. Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3790667e705" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rallying for a Noble Cause]]></title>
            <link>https://orangeavocado.medium.com/rallying-for-a-noble-cause-703c621fbcd2?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/703c621fbcd2</guid>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[space-exploration]]></category>
            <category><![CDATA[space]]></category>
            <category><![CDATA[mars]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Sat, 25 Aug 2018 07:27:58 GMT</pubDate>
            <atom:updated>2018-08-25T07:27:58.631Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CcYHsmi5PRBixDT4Pish5A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/8FwiZcXiX_g?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Levi Price</a> on <a href="https://unsplash.com/search/photos/space?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Did you know that as of August 2018, NASA’s Curiosity Rover had already sent back more than 340,000 photos from Mars? That is a lot of photos on a foreign land.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Z0G-o6xMDmOfihwppDWcw.jpeg" /><figcaption>Photo of Mars. Photo taken by NASA’s Curiosity Rover on sol 1264 (approximate Earth date: 2016–02–25) with the NAVCAM camera</figcaption></figure><h4>HOMO SAPIENS</h4><p>We humans attempted to explore what our ancestors called ‘heavens’ more than half a century ago. But the ‘heavens’ is boundless, and it is infinitely big. The space race that happened in 1955 was a turning point in human history. It pushed the boundary of the scientific community to our closest neighbour — the Moon. The land we’ve reached is merely a tiny fraction of the observable universe. Nonetheless, it is a good start to becoming an interplanetary species.</p><h4>WHY IS IT IMPORTANT TO BECOME AN INTERPLANETARY SPECIES?</h4><p>There are many reasons to explore other planets but the following reasons are critical:</p><ul><li><strong>Global Warming</strong></li></ul><p>The damage caused by industrialisation to our Mother Earth is undeniable. Global temperature has been rising at a worrying rate. The U.S being one of the countries with highest carbon dioxide emissions withdrew from the Paris Agreement in 2017. This is a huge blow to the efforts of those trying to curb the thorny situation with carbon reducing campaigns. The evidences of global warming are numerous and they are bad news for future generations of people.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*PSHfutYEEnlCFbgqz5ZJJg.jpeg" /><figcaption>Chart showing rising global temperature. Source : statista from <a href="https://www.statista.com/chart/7744/average-global-temperature-since-1880/">https://www.statista.com/chart/7744/average-global-temperature-since-1880/</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8bU6bARsSQPv8FN3CLHBqw.jpeg" /><figcaption>Shooting carbon dioxide level. Source: NASA from <a href="https://climate.nasa.gov/evidence/">https://climate.nasa.gov/evidence/</a></figcaption></figure><ul><li><strong>Depleting Resources</strong></li></ul><p>Many natural resources are depleting at an alarming rate. Resources like gas, copper, coal and more are entering a production decline. Our most essential resource for basic survival – water is also slowing depleting. Not all water is available for consumption and many are expected to experience water scarcity in the near future. According to Food and Agriculture Organisation of the United Nations (FAO), by 2025, 1800 million people are expected to live in regions with absolute water scarcity. That is about 25% of the world’s population! (assuming world population to be around 7 billion)</p><p>Not forgetting that the world population is also continuously growing, efficient resource allocation would become a challenge to ensure sustenance for people. The United Nations estimates the world population to reach 9.8 billion in 2050 and 11.2 billion in 2100. More people, less resources. It is a disconcerting and worrying thought.</p><h3>Personal Thoughts</h3><p>I used to ponder, “Why is Elon Musk trying so hard to bring humans onto Mars?” Why does he think that it is necessary to terraform Mars? Recently I had an epiphany. Weather is gradually becoming erratic, summer is feeling hotter, winter is becoming colder in certain regions. News about flash floods and tsunamis are appearing more frequently on TV. Extreme weather events are becoming more intense and more long-lived. These events are estimated to have resulted in at least $8bn in economic damage and at least 4,000 deaths.</p><p>Lunchtime chit-chat occasionally involves my colleague telling me, “Hey don’t you think that the weather is lil’ abnormal?” I nodded in concurrence. Summer heat waves are breaking new temperature records, more people die from extreme heat strokes. In July 2018, Taiwan recorded a new high temperature of 40.3<strong>°</strong>C! In Canada, Quebec, at least 54 deaths have been attributed to the prolonged heatwave and high humidity.</p><h3>Back to the Main Point</h3><p>Get interested in Mars, get interested in space exploration. The sheer number of people involved in space-related activities is still asymmetrically proportionate to its importance. I have confidence that in the next century, more resources will be poured into advancing space-related technology. You don’t have to be a rocket scientist to contribute to the space community.</p><p>Next time Elon Musk tweets something about the Mars mission, give him and his team your full support. Sending humans to Mars is an insane task but I am glad someone took the initiative to plan such a mission. I am sure Elon and his team also realised that the idea that the Earth will be sustainable for a long time is a bubble waiting to be burst.</p><h3>What Can I Contribute?</h3><p>I asked myself this question and I derived at 2 solutions,</p><ol><li>Sign up to become an astronaut</li><li>Help generate more interest in the Mars mission (or any other space mission)</li></ol><p>I think it is a meaning job to contribute to the world as an astronaut. You may be the first person to land on Mars, you conduct the research on Mars physically and send the data back to Earth to make space travel accessible to more people. You could discover hotspots for mining useful resources.</p><p>This solution is rather unpractical for me since I do not belong to a country that has her own space agency.</p><p>Needless to say, the risks attached to being an astronaut are colossal. Road to becoming an astronaut would also be an arduous one. Probably only less than 1% of the world population gets to fly to Mars now.</p><p>Alternatively, we can influence more people to be interested in space travel. I did my own research and realised that NASA actually open up the Mars photos sent back by the Curiosity Rover to the public. Anyone can freely view the photos. I learnt about how Mars look like through these photos.</p><p>I was thinking, “Perhaps I could even spot an anomaly about Mars from the photos!” That got me excited. I sprung into making an app which fetches Mars photos from NASA’s API for users to browse. To make things more interactive, users can leave a comment on the photo they find interesting and the system will automatically tweet it out via the official Twitter account.</p><p>If you are interested, check out the iOS app at <a href="https://itunes.apple.com/us/app/mars-or-earth/id1430539251?ls=1&amp;mt=8">https://itunes.apple.com/us/app/mars-or-earth/id1430539251?ls=1&amp;mt=8</a></p><p>Do give your support and feel free to leave any feedback on the app! Thank you very much!</p><h3>References</h3><ul><li>Food and Agriculture Organisation of the United Nations (2018). Water scarcity. Retrieved from <a href="http://www.fao.org/land-water/water/water-scarcity/en/">http://www.fao.org/land-water/water/water-scarcity/en/</a></li><li>United Nations, Department of Economic and Social Affairs. (2017, June 21) World population projected to reach 9.8 billion in 2050, and 11.2 billion in 2100. Retrieved from <a href="https://www.un.org/development/desa/en/news/population/world-population-prospects-2017.html">https://www.un.org/development/desa/en/news/population/world-population-prospects-2017.html</a></li><li><a href="https://www.independent.co.uk/author/josh-gabbatiss">Gabbatiss</a> J. (2017 December 11) Natural disasters increasingly linked to climate change, new report warns. Retrieved from <a href="https://www.independent.co.uk/environment/climate-change-natural-disasters-link-increase-global-warming-report-warning-a8103556.html">https://www.independent.co.uk/environment/climate-change-natural-disasters-link-increase-global-warming-report-warning-a8103556.html</a></li><li>Watts J. (2018 July 13) Heatwave sees record high temperatures around world this week. Retrieved from <a href="https://www.theguardian.com/environment/2018/jul/13/heatwave-sees-record-high-temperatures-set-around-world-this-week">https://www.theguardian.com/environment/2018/jul/13/heatwave-sees-record-high-temperatures-set-around-world-this-week</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=703c621fbcd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zero to Hero — Creating a Full Stack Web App from Scratch]]></title>
            <link>https://itnext.io/zero-to-hero-creating-a-full-stack-web-app-from-scratch-5f94add9f185?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f94add9f185</guid>
            <category><![CDATA[itnext]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Tue, 23 Jan 2018 13:07:11 GMT</pubDate>
            <atom:updated>2018-01-25T15:42:20.484Z</atom:updated>
            <content:encoded><![CDATA[<h3>Zero to Hero — Creating a Full Stack Web App from Scratch</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nI_I8tFUzDZeszaTVTBVxQ.jpeg" /></figure><p><a href="https://www.linkedin.com/cws/share?url=https%3A%2F%2Fitnext.io%2Fzero-to-hero-creating-a-full-stack-web-app-from-scratch-5f94add9f185"><em>Click here to share this article on LinkedIn »</em></a></p><h3>Background</h3><p>I may study computer science but the school don’t teach you web development. Nonetheless, through work experiences, I realised that web apps are actually very prevalent and high in demand in the commercial world. Unlike Native apps e.g iOS app, Android apps, web apps have far greater reach because web apps may be accessed on both desktop and mobile devices.</p><p>People at Google also pinned high hopes on web apps, possibly thinking that Progressive Web Apps will one day ameliorate the sticky issues faced by the native app developers — developing a piece of software for various platforms (e.g iOS, Android). Not to mention the compatibility issues caused by the varying platforms which the software operates on. Like the folks at Google explained, web platform would be a great solution to developers’ distribution problem but so far web apps’ capabilities have yet to match that of the native apps. Read more over <a href="https://developers.google.com/web/ilt/pwa/why-build-pwa">here</a>.</p><p>To create a fully functional web app, you need to know how to manage both the frontend and backend of the web app. Fortunately, there are many reliable Backend as a Service (BaaS) providers whom can relieve some of your stress. I’ll talk about it more later.</p><h3>Where to Start?</h3><p>There are so many prevailing web development technologies like <strong>Angular.js</strong>, <strong>React.js</strong> and more available to choose from. How did I know what is best suited for me?</p><p><a href="https://angularjs.org/"><strong>Angular.js</strong></a> is a frontend web application framework mainly maintained by <strong>Google</strong> and a community of developers. It adopts a framework known as the model-view-controller (MVC) to render the components in a single page application. Angular.js is quite well maintained and there are many angular modules at your disposal. As of January 2018, Angular.js has evolved from version 1 to version 5. You can tell there are many improvements to the framework over the works, and that’s a generally a good thing for developers! (although the learning curve also quite steep)</p><p><a href="https://reactjs.org/"><strong>React.js</strong></a> is also a frontend web application framework mainly maintained by <strong>Facebook</strong> and its community of developers. It also adopts the MVC pattern to render the components in a single page application. There are many Javascript libraries out there supported by groups of dedicated developers.</p><p>Both Angular.js and React.js are not easy to pick up and even more so if you do not have a programming background. Nonetheless, there are many great tutorials out there that helps you get familiar with the frameworks. I believe in paying to learn the web development frameworks because paid content tend to be of better quality than free ones (duh!) Anyway, there are many <a href="https://www.udemy.com/">Udemy</a> courses available for USD$10 during promotional periods. (just look for high rated courses and you’ll be fine) I bought a course to learn React.js + Redux and my journey to creating a full stack web app begins!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*bkW3FHe6rvQSz9US6ilfQg.gif" /></figure><h3>Difficulties I faced while learning React.js/Redux</h3><p>*you may have a different set of experience learning Reactjs/Redux</p><h4>1. Outdated/Broken Packages</h4><p>Not just React.js, for many web apps the packages get updated very fast. That’s generally a good thing because the features get updated and the web app gets optimised.</p><p>However, many packages have dependencies (meaning the packages themselves need other packages to work) which updates over time too. If the author of the package decides to update his dependencies without checking for the compatibility with his own code, the whole package may break. Developers using these packages will see trouble to no end.</p><p>In my own web app, I integrated the <strong>Paypal</strong> payment option for my users and I had my fair share of debugging there. Paypal API scripts written specifically for React.js doesn’t say much so I decided to turn to other packages for help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J_QM1UMEQYcbP0n1OT2rcg.png" /><figcaption>screenshot of the official Paypal framework for React.js</figcaption></figure><p>Ergo, I used a package called <a href="https://github.com/thinhvo0108/react-paypal-express-checkout">react-paypal-express-checkout</a> to integrate the Paypal payment function but the latest version broke (v1.0.3). The package broke at compilation. The whole app wouldn’t run just because of the broken code in the package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a8tmTD2avlCYk0p3GZSTxg.png" /><figcaption>screenshot of the Paypal integration issue</figcaption></figure><p>The author told users to use the 1.0.1 version instead as it is the more stable build version. Issues like this happen <em>all the time</em>! The trick to tackling these issues?</p><p>Grit and tireless research on your development issues. Hours of debugging and asking your friend — Google. It is part and parcel of software development. If this package doesn’t work, try another one. Keep testing and coding until your web app performs the desired action!</p><h4>2. Lack of Support</h4><p>Have you ever felt helpless because there is no one you could turn to for help? More often than not, the answer is yes. If you have read online reviews about programming in general, people always say,</p><blockquote>“Google! The answers are all there! If not, try Stack Overflow or Github. Most of the answers are there already!”</blockquote><p>This is true if the problem you face is a major problem affecting everyone else coding the same way or using the same broken dependencies.</p><p>When you actually start working on your own project, you often find that there is not always the case. Not everyone uses the same dependencies as you do. Not everyone codes the same way as you do. Issues may arise due to conflicts between different packages.</p><p>Let me show you an example,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HkM3SJS1dc9raJ-eFUstSA.png" /><figcaption>I asked a question on Stack Overflow, hoping to get an answer</figcaption></figure><p>To top off that embarrassing episode, Stack Overflow awarded me with an award.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*cEP6-IHSfIa6O7wHKVlwUg.png" /><figcaption>asked a question with zero score, no answers, no comments, and low views for a week</figcaption></figure><p>No answers, no comments, and low views for a week. You expect at least 1 person on Stack Overflow to answer your question or at least attempt to answer your question, but no.</p><p>The situation is not all bad, I asked several other questions related to Firebase and Redux and some people pointed me towards the right direction. If they are kind enough, they will write out the pseudocode or boilerplate code for you to copy and paste into your source code.</p><p>The important thing is to <strong>ASK</strong> when in doubt. If you keep the problem to yourself and decide to take the shortcut, you will never build a quality app. If you tried to ask someone, there is a chance you will make progress on your project. I know it sounds cliché but you should fail fast and move on to your next objective. If you read material about entrepreneurship, the idea come across very often. Point is, you should validate whether an idea is worth investing hours into it. If the answer is no, move on. Don’t get stuck on a debugging problems for days. This way you will never get things done.</p><h3>What have I Learnt/Done?</h3><p>After finishing the Udemy course on React.js, I can safely say that I am comfortable with the following,</p><ol><li>React.js State Management</li><li>React.js Life Cycle</li><li>Redux — Application State Level Management</li><li>Rendering Asynchronous Requests (e.g Axios/Redux Thunk)</li><li>Handling Backend using Fireback</li></ol><p>I decided to give myself a challenge. Recreate the <a href="http://www.milliondollarhomepage.com/">Million Dollars Homepage </a>using React.js + Firebase stack. For those who didn’t know about the Million Dollars Homepage, 13 years ago there is a opportunistic student who created a website, selling 1 pixel of advertising space for $1. There are a million pixels available for people to purchase on the website. It made a big hu-ha back in the days. You can read up more about it on its <a href="https://en.wikipedia.org/wiki/The_Million_Dollar_Homepage">Wikipedia page</a>.</p><p>The concept is very simple, create a space which displays the image, have a popup message when users hover over the block of space. Users would be redirected to the hyperlink provided when they click on the block. After a buyer fills up the form and made payment, the block of advertising space should appear on the homepage. Kinda like Instagram style form of advertising.</p><p>Sounds easy right? Not for someone new to React.js/Redux. If you know the website contains a feature which cannot be replicated with Wordpress, it is not as simple as you think.</p><h3>Warning: Technical Knowledge in upcoming section</h3><h4>Wiring up Redux Form</h4><p>For those of you who are familiar with Redux, you should know about using reduxThunk to dispatch actions to manipulate the data. I wasn’t very sure about how flexible we are able to use the dispatch function. After my intensive research, I realised that you don’t always have to export your action creators. In fact, you can create a function in your <em>actions/index.js </em>and use it in another action creator.</p><p>I needed to allow my users to upload an image to my Firebase Storage and retrieve the download URL which can then be attached to the form submission. For those who are curious, my upload action creator looks something like this,</p><pre>export function UploadDispatch(file) {</pre><pre> return dispatch =&gt; {<br> dispatch(LoaderDispatch())<br> var storageRef = firebase.storage().ref(‘clientImg’).child(file.name);<br> storageRef.put(file)<br> .then((snapshot) =&gt; {<br> var snapUrl = snapshot.downloadURL<br> dispatch(fileDispatch(snapUrl));<br> dispatch(LoaderDispatch())<br> })<br> .catch((error) =&gt; {<br> var errorMessage = error.message;<br> dispatch(LoaderDispatch())<br> console.log(errorMessage, ‘errorMessage’)<br> dispatch(ErrorDispatch(errorMessage))<br> toastr.error(‘Either your image exceeded the accepted file size or it is not in the correct image format. Please check again!’, { icon: ‘error’ });<br> })<br> }</pre><pre>}</pre><p>Next my web app needs to hold the form submission details while my users are redirected to the Paypal payment page to make payment before the data is actually submitted to the Firebase Database.</p><p>2 big issues which I faced while fixing up the form are <strong>validating</strong> the image <em>upload field</em> and the <em>checkbox field</em> (users need to agree to the terms of service before buying a block).</p><p>Redux-form is not designed to specifically validate upload field or checkbox field. I cracked my head trying to figure out a way to ensure the user tick the checkbox as well as uploaded an image before allowing them to make payment.</p><p><em>*Hint: use component state to check if the uploaded state is null (</em><em>‘’ ) May look something like this,</em></p><pre>onSubmit(props) {<br> let submit = {<br> name: props.name,<br> email: props.email,<br> imageUrl: this.props.Uploaded<br> }<br> if (submit.imageUrl === ‘’) {<br> this.setState({ img: true })<br> } else {<br> this.setState({ img: false })<br> }<br>}</pre><h3>End Result</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UPVBalHXGRESUIPnWoAc1A.png" /><figcaption>screenshot of my web app homepage</figcaption></figure><p>I like to go for a ‘clean’ look so white background with sky blue as my secondary colour. When a buyer successfully make payment, their block will appear in the homepage, occupying a block of space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vkV7Mu06y_vhhxQwHmNCoQ.png" /><figcaption>popup message</figcaption></figure><p>Upon hovering at the block, there will be a popup message displaying a description which they filled in in the purchasing form. Clicking on the form will bring them to the hyperlink specified by the buyer.</p><h3>Wrap up</h3><p>If you are still thinking whether to take up web development, I’d say go ahead! It is a very useful skill to have! Think of all the big tech companies like <em>Facebook</em>, <em>Twitter</em>, <em>Medium</em>, <em>Instagram</em>, they all have a web platform. In fact many of them started out by having a web app!</p><p>If you are worrying that the content will be too hard for you to pick up, fret not. Like what I mentioned earlier, <strong>ASK</strong> when in doubt. Most of the time, the community will try to help you to the best of their abilities. I’d recommend Firebase as your BaaS because they have many useful features like user authentication, database and file storage services at affordable prices!</p><p>The API is quite easy to follow and all you have to do is to make the API calls from your frontend to retrieve or push data to your Firebase database. Half the hassle is saved! You just have to focus on the frontend development.</p><p>Check out the website at <a href="https://milliondollarsblocks.com/">https://milliondollarsblocks.com</a>!</p><p>Will be having giveaway soon so be sure to follow updates on Twitter by the handle <a href="https://twitter.com/1000000blocks">@1000000blocks</a>. Thanks and cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f94add9f185" width="1" height="1" alt=""><hr><p><a href="https://itnext.io/zero-to-hero-creating-a-full-stack-web-app-from-scratch-5f94add9f185">Zero to Hero — Creating a Full Stack Web App from Scratch</a> was originally published in <a href="https://itnext.io/">ITNEXT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is North Korea doing?]]></title>
            <link>https://orangeavocado.medium.com/what-is-north-korea-doing-63252fa8fcb7?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/63252fa8fcb7</guid>
            <category><![CDATA[war]]></category>
            <category><![CDATA[marxism]]></category>
            <category><![CDATA[north-korea]]></category>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[politics]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Mon, 15 May 2017 13:58:32 GMT</pubDate>
            <atom:updated>2017-10-05T14:47:56.719Z</atom:updated>
            <content:encoded><![CDATA[<p>It is the prime question in everybody’s head. Me too, I was wondering why did North Korea take such a strong stance towards holding a nuclear weapon.</p><p>I do not have the full answer but my recent trip to North Korea did provide some insights to how the country is like. I would like to point out that my point of view may be flawed but may possibly reflect the life of the top 10% of the entire population.</p><p><em>(my humble viewpoints written below are merely a summary of my learnings gained in North Korea and </em><strong><em>should not be used</em></strong><em> for any </em><strong><em>commercial</em></strong><em> purposes)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tsAkBSILCYdBsVlDNQ7cWg.jpeg" /><figcaption>monuments like this can be seen almost everywhere throughout the country (photo by me)</figcaption></figure><h4>Self Sufficiency</h4><p>North Koreans have a strong pride for their country and they are willing to sacrifice themselves for the better of the nation. Even though North Korea is under heavy sanctions for all sorts of materials, they remain resilient in face of adversity.</p><p>During my 9 days trip in North Korea, I experienced blackout twice in the hotel and it reflects their desperate need for stable energy sources. To my surprise, many households in Pyongyang hang a piece of solar panel at their balcony to increase energy stability. My tour guide told us that solar panels are becoming cheaper nowadays and people are encouraged to install them at home.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W89I2bx9ukoGRFK46Qtbxg.png" /><figcaption>solar panels at the windows to obtain alternate energy (photo obtained from <a href="http://www.channelnewsasia.com/news/asiapacific/demand-for-solar-panels-up-in-north-korea-8844146">Jeremy Koh CNA</a>)</figcaption></figure><p>Many products consumed by their citizens are made locally. Chinese imports are generally perceived to be of lower quality.</p><p>During my 9 days trip, half of the time was spent travelling out of Pyongyang for sightseeing. We spent a lot of time travelling by bus. Gravel roads outside the city are bumpy and uneven making the bus rides very uncomfortable at times. Our guide explained to us that the asphalt and tar required to pave proper roads come from oil, a resource the country lacked badly due to international sanctions.</p><h4>What they do not lack is</h4><p>community spirit. During conversations with my guide, she reminded me of the differences between a communist state and a socialist state. While the differences are minute, she said that North Korea is a socialist state and the country does reward those who contribute more to the economy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*reCg9IHWyWwuMG2ut3GBSQ.jpeg" /><figcaption>book on the Juche idea, written by the leader Kim Jong Il (photo by me)</figcaption></figure><p>I bought this book in a bookstore, which is also recommended by my tour guide. Juche idea is a common topic when people discuss about North Korea.</p><h4>What is the Juche idea?</h4><p>Essentially, it means to rely on oneself. <strong>Self-reliance</strong> is the core of this philosophy started by their supreme leader Kim Il Sung. It is adapted from <a href="https://en.wikipedia.org/wiki/Marxism%E2%80%93Leninism">Marxism–Leninism</a> which is similar to the concept of socialism we are familiar with. DPRK citizens are educated with the idea that a strong military arsenal is required to protect their sovereignty and that they should not rely on others for help. Well the idea of being self-reliant is excellent from an individual point of view but at the same time, the government is using the same concept to explain their reasoning for developing nuclear weapons.</p><p>At least for my tour guides, they believe that their country should not stop their nuclear ambitions and it is in fact necessary to protect themselves since they will not rely on other countries for help. (not even China)</p><p>All secondary school (middle school) students undergo military training where they hold guns and practice range shooting. Both males and females. With total population of 25 million in DPRK, we could be looking at a 20 million strong military or even bigger. Everyone is taught to defend themselves in times of war. When my guide explained the aforementioned information about DPRK, she mentioned a sentence which left a deep impression,</p><blockquote>DPRK is more than just a country.</blockquote><p>And I do not doubt that. The DPRK has a considerably strong government in the sense that they are heading towards their ambition in a steadfast manner. Despite North Korea being a member of the United Nations (UN), the country did not flinch in face of the sanctions. At least from what I see with my own eyes, these punitive measures did little to stop them.</p><h4>DPRK being Democratic</h4><p>Contrary to popular beliefs, North Koreans are not as uniform as we thought. North Koreans are free to believe in religions. 5% of the population are Buddhists, 5% of them are Christians while the rest believe in themselves. (Juche, as mentioned before)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFyFCo-PkeB4ryPF61kwOg.jpeg" /><figcaption>me with a Buddhist monk at a temple (photo by me)</figcaption></figure><p>Although choices are generally limited, North Koreans have 20 hairstyles to choose from when they visit the hair salons. In terms of their fashion, most of them look oddly similar. Working adults don a formal black suit while students wear school uniforms with red scarfs or ties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hfouPWfniiFnJZfgUFG_0A.jpeg" /><figcaption>me with a local student guide (photo by me)</figcaption></figure><h4>Benefits of being a North Korean</h4><p>Yes I do think that being a North Korean is not all bad and the citizens do enjoy some benefits that the rest of us can only dream of.</p><p>Public transport costs about USD$0.50 per trip no matter how far you travel. Healthcare and schooling are generally free. Phone bills cost about USD$10 for every 3 months and accumulated voice and call data can be brought over to the subsequent months. The list can go on and on.</p><p>Most importantly, they are a bunch of <strong>happy and peace loving people</strong>. War definitely lead to deaths and no rational person wishes for that to happen.</p><p>My guide told me, and I can clearly remember,</p><blockquote>We are poor but we are happy.</blockquote><p>It made me reflect on my life and all the bittersweet sufferings I have been through. People outside North Korea spent their whole lives slogging for money and what did they get in the end?</p><h4>Personal Opinions</h4><p>I love North Korea! It is a beautiful place with amiable people. I enjoyed my time in North Korea and I am sincerely grateful for my tour guides. Whatever the policies in place, the safety of their citizens should be the priority. They do not deserve to lose their families through war.</p><p>Speaking from a neutral point of view, I wish the North Koreans all the best and may their country prosper and grow to become a stronger nation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KsRX-eS47spFIctDJ9t9dQ.jpeg" /><figcaption>beautiful seaview as the backdrop (photo by me)</figcaption></figure><p>For more photos of my North Korea trip, please visit this <a href="https://www.facebook.com/media/set/?set=a.10211847146728349.1073741841.1660789590&amp;type=1&amp;l=340f67fd7c">link</a>.</p><p>Thank you for your attention and I wish it will elucidate the situation in North Korea! As we are used to receiving news from the western media, it would be healthy to listen to the North Korean side of story and derive a balanced judgement.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63252fa8fcb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I Realised after 24 Hours of Disconnection from Social Media]]></title>
            <link>https://orangeavocado.medium.com/what-i-realised-after-24-hours-disconnection-from-social-media-1336f226f573?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1336f226f573</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Wed, 16 Nov 2016 23:29:17 GMT</pubDate>
            <atom:updated>2016-11-16T23:33:05.654Z</atom:updated>
            <content:encoded><![CDATA[<p><em>is that you can live normally without it.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P-x-5lczWR032sdHTqL3aA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@firmbee">William Iven</a> on Unsplash</figcaption></figure><p>I disconnected myself from <strong>Facebook</strong>, <strong>Twitter</strong>, <strong>Snapchat</strong>, <strong>Whatsapp</strong>, <strong>Telegram</strong>, basically all the major social networking platform online for 24 hours. I attribute this drastic change to</p><ul><li>reading <a href="http://calnewport.com/books/deep-work/"><strong>Deep Work: Rules for Focused Success in a Distracted World by Cal Newport</strong></a></li></ul><p>In this book, it discusses how important doing deep work is. Most people engages in shallow work, in other words, work that doesn’t require <strong>high order of thinking</strong>. A simple example would be to <em>reply daily emails</em>. In most cases, doing shallow work doesn’t really value add to people’s lives. Cal seeks to prove to you in the book that you will do fine even if <em>you do not reply to emails for a single day</em>. Cal is an advocate for anti social media(largely), and he debates that you should only use social media or any other form of networking tools only if the benefits of using them <strong>outweigh</strong> the cons of that.</p><p>I quote from Cal Newport’s book description to explain what is deep work,</p><blockquote>Deep work is the ability to focus without distraction on a cognitively demanding task. It’s a skill that allows you to quickly master complicated information and produce better results in less time. Deep work will make you better at what you do and provide the sense of true fulfillment that comes from craftsmanship. In short, deep work is like a super power in our increasingly competitive twenty-first century economy. And yet, most people have lost the ability to go deep — spending their days instead in a frantic blur of email and social media, not even realizing there’s a better way.</blockquote><p>There I was, thinking if I could take up the challenge of not succumbing to the temptations of social media and make myself useful again.</p><p>The following are time logs of my awesome self at different stages.</p><h3><strong><em>7.53pm 15 November 2016</em></strong></h3><p>I started this complete isolation from social media on <em>Tuesday, 15 November 2016 around 3.30pm SGT</em> and I aim to end this by <em>16 November 2016 4pm SGT</em>. I have switched off the data/Wifi connection on my phone, preventing any messages and notifications from coming through.</p><p>Time check: <em>7.53pm</em>. It has been around 4 hours since I last open up any social media apps and I am feeling weird now. Within the first hour of disconnectivity, I was literally walking in circles, feeling anxious. I was thinking about what my friends are discussing about, I was thinking about the news feed on Facebook, who liked my shared post. This felt <em>bad</em>. I am feeling slightly better now. Spent most of the time reading <a href="https://www.goodreads.com/book/show/25744928-deep-work"><strong>Deep Work: Rules for Focused Success in a Distracted World by Cal Newport</strong></a><strong> </strong>(it is definitely worth my solitary time) and doing the revision papers in preparation for my final examinations.</p><h3><strong><em>8.37am 16 November 2016</em></strong></h3><p><strong>GOOD MORNING, GOOD MORNING, GOOD MORNING TO YOU!</strong></p><p><strong>PUT A SMILE ON YOUR FACE, IT’S A BRAND NEW DAY! HEY!!!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_czqDhyMeOr8qh8A9bG2g.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@mayonae">Adrian Owen</a> on Unsplash</figcaption></figure><p>It’s <em>8.37am</em> right now and I am feeling great!!! The rain in the morning spoilt my running plans but it’s okay, I intend to run at 9am-ish later. So far so good, I am feeling less worried about what people might say to me on Telegram or Whatsapp and am enjoying the serendipity of not camping on social media.</p><p>On the chapter of Social Media in <a href="https://www.goodreads.com/book/show/25744928-deep-work"><strong>Deep Work: Rules for Focused Success in a Distracted World</strong></a>, Cal mentioned the <strong><em>any-benefit approach to network tool selection, </em></strong>meaning you chose to use the tool because it gives you any benefit, no matter how minute the benefit may be such as being able to <em>keep in touch with friends</em> or <em>able to learn the cooking recipe of lasagna</em> on Facebook. Essentially, these are tasks achievable without Facebook.</p><blockquote><em>“</em><strong><em>The Any-Benefit Approach to Network Tool Selection</em></strong><em>: You’re justified in using a network tool if you can identify any possible benefit to its use, or anything you might possibly miss out on if you don’t use it.”</em></blockquote><p>What we want to engage in is <strong>The Craftsman Approach to Tool Selection</strong>:</p><blockquote><em>“</em><strong><em>The Craftsman Approach to Tool Selection</em></strong><em>: Identify the core factors that determine success and happiness in your professional and personal life. Adopt a tool only if its positive impacts on these factors substantially outweigh its negative impacts.”</em></blockquote><p>Doing things that actually make meaning out of your life. Pick up a skill, create a website, create a mobile app, learn calculus, read a business book, all these actions can land an impact on your life in significantly. <strong>Stop hesitating and do it.</strong></p><h3><strong><em>4.01pm, 16 November 2016</em></strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*iOYdqk7xLFzuTs6YsLy-sQ.png" /><figcaption>After switching on my data/Wifi connection</figcaption></figure><p><strong>I DID IT.</strong></p><p>I came back online at 4pm, 16 November 2016. For some reasons, I am feeling uneasy right now even though I resumed the usual social networking activities.</p><p>WOW!! 72 Whatsapp messages and 48 Telegram messages!!! Okay actually that’s not a lot but still! Being able to disconnect meant a lot to me. It means that I am able to withstand distraction for at least 24 hours. I have a chance of developing deep work.</p><p>As expected, no one really contacted me for any urgent matters. My online presence did not matter that much. (maybe because it is currently my examination period) I felt I learnt a lot during this uninterrupted 24 hours, I completed the Deep Work book and felt more motivated than ever to push myself beyond the boundaries of my mental capacity.</p><p>It has been a great day. Maybe I’ll do a week long of disconnection in the future. Good luck to me.</p><p><em>Seng Wee</em> is a <em>dare to dream</em> individual. <em>Aspiring entrepreneur</em>. Have a strong interest in the latest technological products. Love to share some of my encounters in life too.</p><p>Have you read my story about my first mobile game app? Click <a href="https://medium.com/@heyhujiao/what-i-learnt-from-publishing-my-first-mobile-game-87d5bb58a87d#.nl2wh05h8">here</a> to read more!</p><p>Visit my Facebook page for more updates! — <a href="https://www.facebook.com/skybluegames/">Sky Blue Games</a></p><p>All the best to all!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1336f226f573" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Running a Half Marathon Taught Me]]></title>
            <link>https://orangeavocado.medium.com/what-running-a-half-marathon-taught-me-a951e378ed02?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a951e378ed02</guid>
            <category><![CDATA[willpower]]></category>
            <category><![CDATA[perseverance]]></category>
            <category><![CDATA[running]]></category>
            <category><![CDATA[marathon]]></category>
            <category><![CDATA[power]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Sun, 07 Aug 2016 06:47:44 GMT</pubDate>
            <atom:updated>2016-08-07T06:47:44.511Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r_q8cMdQShYOr-I2az46cg.jpeg" /><figcaption>Me and my buddy at the Sundown Marathon 2016</figcaption></figure><p>To be a <strong><em>better</em></strong> person. <strong><em>Stronger</em></strong> person.</p><p>To many people, running wasn’t even a ‘<em>fun</em>’ or enjoyable thing to do. Totally not cool. But for those who are hesitating to pick up running as a habit, it’s time to reconsider and weigh the pros and cons of running regularly. Like many others, I didn’t like to run, I even try to avoid running sessions in school. It’s that bad, trust me.</p><p>The people I met during my National Service* changed me. Exercising was part of daily routine and running was part of the routine. You may dislike running because you are <em>bad</em> at it but let me state a harsh fact.</p><p><em>*National Service is mandatory for all Singaporean males above age of 18 to serve the country in the various services and vocations. More information to be found </em><a href="https://en.wikipedia.org/wiki/National_service_in_Singapore"><em>here</em></a><em>.</em></p><h3>BECAUSE YOU ARE LAZY!</h3><p>And it’s true. Running requires <strong>consistency</strong> and if you do not run at least once or twice a week, your stamina drops by <strong>A LOT</strong>. The next time you run, you will feel chest pains and muscle aches, like you are running for the first time of your life. It is <em>normal</em>. You suffer when you are not consistent. Success cannot be achieved purely by luck; much effort has to be put in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8HNIAuComsPb1jv3VJbBOA.jpeg" /></figure><h3>Mind Over Body</h3><p>It really isn’t as hard as you imagined. Trust me on this. Finishing 21.1km is achievable and many have done it. Even if you do not run regularly, you will be able to complete it. Keep telling yourself that.</p><p>Moreover, how do you know that you can’t do it if you never even give it a shot?</p><h3>Yes it is Painful, BUT…</h3><p>I will still do it again, in less than a month’s time from now. WHY?</p><p><em>Find your motivation to complete the run.</em></p><p>My motivation to run would be to <strong>find a better me</strong>, to <strong>become a better me</strong>. Before I finish my first half marathon, I believe I wasn’t as strong willed as I am now. Now, I am aware that I am able to achieve much more than I think I can if I persevere and be consistent. You never know how close you are to success unless you last til the end of the journey.</p><blockquote>Even if you didn’t get what you wanted, at least you can tell yourself,</blockquote><blockquote>“I’ve tried my best.”</blockquote><h3>What Are You Waiting for?</h3><p>If you are still hesitating about signing for your first marathon, think no more and sign up for it! While you are young, you can do many things, things like <em>skydiving</em>, <em>snowboarding</em>, <em>running a marathon</em>. Don’t wait until you no longer have the <strong>stamina</strong> and <strong>energy</strong> that you start to regret.</p><p>Remember this,</p><blockquote>Time waits for no one.</blockquote><p><em>Seng Wee</em> is a <em>dare to dream</em> individual. <em>Aspiring entrepreneur</em>. Have a strong interest in the latest technological products. Love to share some of my encounters in life too.</p><p>Have you read my story about my first mobile game app? Click <a href="https://medium.com/@heyhujiao/what-i-learnt-from-publishing-my-first-mobile-game-87d5bb58a87d#.nl2wh05h8">here</a> to read more! If you enjoyed my article, do click on the little heart shape, and leave a comment down below!</p><p>Visit my Facebook page for more updates! — <a href="https://www.facebook.com/skybluegames/">Sky Blue Games</a></p><p>All the best to all!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a951e378ed02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top Productivity Apps on your Android phone!]]></title>
            <link>https://medium.com/hackernoon/top-productivity-apps-on-your-android-phone-4082f37b949d?source=rss-d2f650a4381a------2</link>
            <guid isPermaLink="false">https://medium.com/p/4082f37b949d</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[productivity-apps]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Samwell Wong]]></dc:creator>
            <pubDate>Wed, 27 Jan 2016 02:43:34 GMT</pubDate>
            <atom:updated>2016-01-27T02:43:34.291Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/496/0*iDK4R1fOUgW_Pw4R.jpg" /><figcaption>Samsung Galaxy Note 4</figcaption></figure><p>Feel like your phone is underutilized? How about checking out the following apps that you may make use on your phone? Since so many apps on the Google Play Store are free to download, let’s take a look at some of the app that served me well and would probably be of great help to you.</p><p>The apps that I am going to introduce to you range from <strong>sports</strong> to <strong>productivity</strong> app. For your information, all the apps mentioned below are also used on my phone (Samsung Galaxy Note 4).Feel free to add in more by commenting down below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*QBgSe1W8fmADoiYh.jpg" /><figcaption>Preview of Google Hangouts interface.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*j-Hl-6jbZhB4Rh1S.jpg" /><figcaption>Preview of Google Hangouts interface.</figcaption></figure><p><em>Google Hangouts</em> is one of the few app that I feel is overlooked by many people. It is as good as <em>Skype</em> and maybe way better. With Hangouts, you can call your contacts if they have registered their phone number in the app. You can also send them a text using this app and replace it with your phone’s default messaging app. Best part of all, it’s <strong>FREE</strong>! There is no hidden cost and it will only use your data plan if you are not connected to wifi. It is user-friendly and also comes in handy when you are trying to contact your loved ones from overseas.</p><p>Unfortunately, there is a list of countries where calling using Hangouts is unavailable. Click <a href="https://support.google.com/hangouts/answer/6079055?hl=en">here</a> to find out more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/0*wJ_xw3_aEUSr4DK0.jpg" /><figcaption>Preview of Google Keep interface.</figcaption></figure><p>Still using <em>Evernote</em>? Maybe you should try out Google Keep for your note taking stuff. Unlike Evernote, Google Keep is accessible offline. You can only access your notes in Evernote offline when you are a Premium user. Again, Google Keep is <strong>FREE</strong>! Furthermore, Google Keep allows you speak your notes to it and Google will transcribe it and store the note for you to check later on. Photo note is also possible by storing a picture as part of your note. With the recent update, you can also share your notes with your friends or colleague by adding their email addresses and allowing them to view and edit the notes real time. To make it even more attractive, you can change the colour of your notes and make it seem more organised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/0*120WiISZMDi3_Qcq.jpg" /><figcaption>Preview of Greenify interface.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/0*D2giFJVLlTbmJRVb.jpg" /><figcaption>Preview of Greenify interface.</figcaption></figure><p>Nowadays almost every phone face the issue of short battery life span. Here I bring you a very effective app that can help to improve your phone’s battery life.</p><p>Greenify is an app that can shut down or rather ‘hibernate’ the applications on your phone when they are not active. Usage of it is relatively easy. Once you click the Greenify button, a list of apps appears. It allows you to select and delegate which apps you want to hibernate or Greenify. Once you choose the apps that you want to Greenify, simply press the ‘Zzz’ button and the apps will stop draining your battery.</p><p>It’s effectiveness is proven as I tested the app on my phone. Before I used Greenify, my phone’s battery percentage may drop up to 20% overnight even though I switched off wifi and mobile data. Now, my phone’s battery percentage only drop 2–3% over night with the same conditions. Hence I strongly recommend this app to you!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/0*02U6zOGX9hqflRsL.jpg" /><figcaption>Preview of Dolphin Browser.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/0*-Nv2N8ID6TY3k8Og.jpg" /><figcaption>Settings page of Dolphin browser.</figcaption></figure><p>Most people are comfortable enough with using Chrome browser on their phone. Me too! However, Dolphin browser has its own virtues.</p><p>Noticed that the Google icon in the middle of the web page is missing? For mobile users like me who opted for a budget data plan that isn’t quite enough for daily usage, this app can save your day. In the settings of Dolphin browser, you can choose the option ‘Load images’ and switch it to ‘Always off’. This way, you can save data while reading articles online since images may not be very useful anyway. There is a special feature on Dolphin Browser called <strong>Dolphin Sonar</strong> which functions like a Siri and allows the user to use voice commands to search the terms on the search engine. Check out the video down below for this amazing feature. Also, Adobe Flash is enabled on Dolphin browser so you can access your games and Youtube videos on the browser itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*6QDqwaarlSIdDLTA.jpg" /><figcaption>Preview of feedly interface.</figcaption></figure><p>Feedly is a great app for users who love to read! In the app, you can choose the category you are interested in and select the websites that the articles come from. Ranging from ‘Tech’ to ‘Beauty’ topics, you have a wide variety of articles you can choose from to read during your leisure time. The interface is also very user-friendly and it uses a swipe up transition when it skips to the next page of articles. The app is beautifully engineered.</p><p>Also, you can save articles into <em>Pocket</em> and read later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*7QkzfKrUj19NnEcL.jpg" /><figcaption>Saving an article from feedly to Pocket.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*G6Quecu2NSezxoTg.jpg" /><figcaption>Preview of Pocket interface.</figcaption></figure><p>Came across an articles but is too busy to read it at the moment? No worries when you have <em>Pocket</em> on your phone.</p><p>Pocket is an app that allows you to save your unread articles to facilitate your reading later on. After saving the articles on the app, you can even tag them and categorize them into the various types of articles. It is definitely a must have for avid readers as it saves the hassle to search for the articles again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*c1uLmgDdAmzrsMtV.jpg" /><figcaption>Preview of Onefootball interface.</figcaption></figure><p>Onefootball is the app for soccer fans who follows the league table closely. It allows users to keep tabs on their favourite team from any league, e.g Premier League, Primera división and many others. You can check out the results of the matchday in a list form. Also, the fixtures of the leagues are also available on the app thus you can also plan and prepare your snacks in advance for the upcoming matches! Amid of all the apps that provide similar services, I feel that this is one of the best as the app’s interface has a clean and sleek design hence allowing better viewing experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/260/0*mZHR7XG28sUzqeNT.jpg" /><figcaption>Preview of Clean Master interface.</figcaption></figure><p>I believe all smartphones need a performance optimizing app. In this case, Clean Master is the one. As shown on the interface, the main two features would be its ability to detect junk files and clear them for you and to boost the performance of your mobile. By clearing the junk files, it is able to free up some space on your phones, allowing more room your music and videos. On the other hand, with simply a press on the ‘phone boost’ button, it will clear all the running app and free up some RAM on your phone. Since RAM is required to run your app, having more RAM would mean that your phone is less likely to be laggy.</p><p><em>Originally published at </em><a href="http://hubpages.com/technology/usefulapps"><em>hubpages.com</em></a><em>.</em></p><p>Have you read my story about my first mobile game app? Click <a href="https://medium.com/@heyhujiao/what-i-learnt-from-publishing-my-first-mobile-game-87d5bb58a87d#.nl2wh05h8">here</a> to read more!</p><p>Visit my Facebook page for more updates! — <a href="https://www.facebook.com/skybluegames/">Sky Blue Games</a></p><p>All the best to all!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4082f37b949d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/top-productivity-apps-on-your-android-phone-4082f37b949d">Top Productivity Apps on your Android phone!</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>