<?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 Jerry F. Zhang on Medium]]></title>
        <description><![CDATA[Stories by Jerry F. Zhang on Medium]]></description>
        <link>https://medium.com/@jerryfzhang?source=rss-5675befd5b8d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*g9TymKKF2H5N0YQilAAOjA.jpeg</url>
            <title>Stories by Jerry F. Zhang on Medium</title>
            <link>https://medium.com/@jerryfzhang?source=rss-5675befd5b8d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 02:55:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jerryfzhang/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[Thoughts on Facebook Messenger includes Ads.]]></title>
            <link>https://medium.com/@jerryfzhang/thoughts-on-facebook-messenger-includes-ads-a962fc61037c?source=rss-5675befd5b8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a962fc61037c</guid>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Jerry F. Zhang]]></dc:creator>
            <pubDate>Thu, 26 Jan 2017 05:37:43 GMT</pubDate>
            <atom:updated>2018-06-22T19:56:29.577Z</atom:updated>
            <content:encoded><![CDATA[<p>I am not comfortable with the whole “Ad model”.</p><p>Yes, some might say “you are using free apps, so they can have your data”, or “I’ve got nothing to hide, so I don’t care ”.</p><p><strong>But here’s the thing, Facebook is trying too hard.</strong></p><p>Instagram was a successful acquisition, but Facebook pumped ads to Instagram as fast as they can. Nowadays, there is one Ad average in every four post. As a user who wants to make my own decision, I don’t want frequent advertisement and auto play videos. I must admit Facebook does know what I’d like to buy, but I wanted to make my own decision and I know I am able to make decisions.</p><p>Facebook is not toxic by any means, it has came a long way, it is still a successful product and I can see it being one for the next 3, 5 years. But I guess I am a bit weird, I prefer long article that is certainly not 140 characters, I prefer fact and knowledgeable content over jokes, I prefer chatting in person over clicking like button for someone you haven’t met for years, I prefer encryption over convenience, I prefer Telegram, Signal, ProtonMail, iMessage, DuckDuckGo, 500px, blogs, podcasts, books over Facebook Messenger, Outlook, Gmail, Google Facebook, auto play videos, Instagram, twitter and everything that is trying to collect as much data as possible under the facade of “Making the World a Better Place” or “Provide the Best User Experience”.</p><p>Everyone have a right to choose, I don’t blame or will discriminate anyone for using the things I don’t like, but there are better things, and you can use them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a962fc61037c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I created Warmer.]]></title>
            <link>https://medium.com/@jerryfzhang/why-i-created-warmer-bf755d06729c?source=rss-5675befd5b8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf755d06729c</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Jerry F. Zhang]]></dc:creator>
            <pubDate>Sat, 06 Aug 2016 04:46:50 GMT</pubDate>
            <atom:updated>2016-08-06T05:07:11.918Z</atom:updated>
            <content:encoded><![CDATA[<p>Before forecast was a thing. We use body to experience the change of temperature. We put more clothes if when we were shivering , and take them off when we started sweating.</p><p>Things got a little bit different when we have weatherman and weatherwoman reporting the forecast of the day over the air. We remember them, walk in to our closet and decided what to wear.</p><h4><strong>Why do I care about this?</strong></h4><p>For me, checking weather before getting in to my closet has always been a part of my morning routine. In the summer, I don’t have to worry much about temperature changing rapidly in a week or even a day. However, when it comes to winter time, things will get a little bit complicated.</p><p>I don’t have to worry about changing shoes in the winter, my winter boots does the job of keeping my feet warm and stable on the icy land really well. But I have to change my pants and sweater frequently. If there’s a wind chill, a freezing rain or just straight up raining after a -30°C day (which happens, believe me), I will have to change my outfit to adapt to the unpredictable Canadian winter.</p><p>Sometimes, I don’t have to change my entire outfit inside out. I can just change my jacket to winter coat if the weather has change from -5°C to -15°C. I can add a scarf if the temperature got below -20°C. I can put on an extra sweater over my shirts if there is a wind chill of -35°C.</p><p>All of that seems simple, right?</p><p>Nope.</p><h4><strong>What’s the problem?</strong></h4><p>The problem is: I still remember what I wore on the previous day. But I don’t remember the temperature. If I am outside, I can definitely tell the difference by letting the my body soak in the air. But there’s gotta be an easy way.</p><p><strong>All I wanted to know, actually, was the temperature of the previous day. </strong>This might sound silly, the data is just a bunch of numbers with human-defined meaning. But here’s the thing: <strong>I know how cold it was, those numbers are tight up with my real world feeling. </strong>This is way better than the clothing guideline in some weather app suggests, which recommends the same outfit for everyone in the region.</p><p><strong>Therefore, by comparing yesterday and today’s weather, I can use my imagination to feel what today is going to be.</strong> Maybe the weather is colder in the morning, but remains the same for the rest of the day. In this case, I can just put on something that is easy to take off when the temperature starting to rise at noon.</p><h4><strong>Build it!</strong></h4><p>I searched all over the internet. I could not find a single website/app that could get this done. Then I created warmer.</p><p>Warmer has two main components. One, it’s a weather app, it shows the current temperature and condition. A chart with today’s temperature. Secondly, the app fetches weather information from yesterday and display it under today’s graph. So users can visually see the changes. The app is also going to tell you if today’s warmer, colder, or the same.</p><h4><strong>Development</strong></h4><p>I used forecast.io for the weather information. And the app is built using Node.js and Express.js. I don’t want to talk about the whole stack since the app is still unfinished. But I am willing to share my objective and projection.</p><p>Up until this time. The app is able to fetch user’s location and use the location to gather weather information.</p><p>The development is expected to be completed by the end of September. It will have the basic functionalities as described above.</p><h4><strong>The future of this app</strong></h4><p>Of course one of the biggest challenge and milestone is to support multiple platforms natively, for example iOS and Android. There are endless possibilities for this idea, such as integrating personal preference on what is to be considered “hot” or “cold”, working along side with connected internet of things devices which have been my ultimate goal of this “Warmer” project.</p><p><a href="http://warmer.pro/">Check it out!</a> Like I said its still under development, but if you visit every day, I am sure that you will see some new stuff, under the hood or on the surface.</p><p>Also, <a href="https://github.com/zhang96/Warmer.Pro">proudly open-source on GitHub.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf755d06729c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apple Music Playlist Widget]]></title>
            <link>https://medium.com/@jerryfzhang/apple-music-playlist-widget-1c678a6a9088?source=rss-5675befd5b8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c678a6a9088</guid>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[apple-music]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Jerry F. Zhang]]></dc:creator>
            <pubDate>Sun, 20 Dec 2015 03:05:24 GMT</pubDate>
            <atom:updated>2015-12-20T14:57:42.905Z</atom:updated>
            <content:encoded><![CDATA[<p>Apple silently rolling out a way to “<a href="https://playlists.applemusic.com/">Create a preview widget for any playlist on Apple Music</a>” and let you inject it in to any web page using only one line of Code, lets test it out.</p><h4>Find a link on Apple Music</h4><p>This can be done by pressing the sharing button on any device to copy the link of your current playlist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YHKTYtPaIJfipfHK.png" /></figure><p>This is the link that we got:</p><pre><a href="https://itunes.apple.com/ca/playlist/best-of-2015-experimental/idpl.ddfe2e763f8e40749400e83a4b38a245">https://itunes.apple.com/ca/playlist/best-of-2015-experimental/idpl.ddfe2e763f8e40749400e83a4b38a245</a></pre><h4>Go to <a href="https://playlists.applemusic.com/">Apple Music Playlist Widgets</a></h4><p>Paste the link in the text field. You can change the height and width to fit your website’s design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JOj5IkG3hogyzJgp.png" /></figure><p>This is the code that we got:</p><pre>&lt;iframe frameborder=&quot;0&quot; height=&quot;300px&quot; src=&quot;https://playlists.applemusic.com/embed/pl.ddfe2e763f8e40749400e83a4b38a245?country=ca&amp;amp;app=music&quot; width=&quot;50%&quot;&gt;&lt;/iframe&gt;</pre><h4>Result</h4><p>Here’s a larger one, with full width and 1000px height, can’t even fit in my iPhone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*mYcsEYg43y7lYvclw1HoXA.jpeg" /><figcaption>Image on my <a href="http://realisticfuturism.com/en/content/apple-music-playlist-widget">personal blog</a>.</figcaption></figure><p>Enjoy!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c678a6a9088" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basic Swift Syntax]]></title>
            <link>https://medium.com/@jerryfzhang/basic-swift-syntax-82ed6478e087?source=rss-5675befd5b8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/82ed6478e087</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Jerry F. Zhang]]></dc:creator>
            <pubDate>Fri, 18 Dec 2015 15:23:43 GMT</pubDate>
            <atom:updated>2015-12-18T15:27:25.686Z</atom:updated>
            <content:encoded><![CDATA[<p>The examples from this page are inspired from Apple’s Offical Swift Book <a href="https://itunes.apple.com/ca/book/swift-programming-language/"><em>The Swift Programming Language (Swift 2.1)</em></a>.The <a href="http://realisticfuturism.com/en/content/basic-swift-syntax">blog post on my personal blog</a> and the <a href="https://github.com/zhang96/BasicSwift">source code avaliable on github</a> follows the <a href="http://www.wtfpl.net/">WFTPL License</a>. Its free of use, please read the <a href="http://www.wtfpl.net/txt/copying/">license file</a>.</p><h3>About the Language</h3><p>The lauguage was initally released by Apple, in WWDC 2013. The latest verison of this language is 2.1. Here’re some of the special features of this language.</p><ul><li>No need to import I/O or string.</li><li>Everything is global. No main function needed.</li><li>No semicolons needed.</li></ul><h3>Print</h3><pre>//Print Command<br>    print(&quot;Hello World!&quot;)<br>    print(&quot;Getting started with the Swift programming language 2.1!&quot;)</pre><h3>Declaring Variables</h3><h4>Use var to declare a variable.</h4><p>The value doesn’t need to be known at compile time. You are allowed to use let, but its not necessary.</p><pre>//Declaring Variable<br>    var variable = 1000.0<br>    variable = 1001.0</pre><pre>// Print a variable<br>    variable = 1001<br>    print(variable)   //The print method will print a double number</pre><h4>No specific type of value needed.</h4><p>The compiler can automatically detect the type (NO int, double, boolean, string needed.)</p><pre>var a1 = 90         //This is an integer.<br>    var a2 = 90.0       //This is a Double.<br>    var a3 = &quot;90.0&quot;     //This is a String.</pre><h4>For special cases:</h4><pre>var a4:Double = 70<br>    //This is a double variable declared explicitly<br>    print(a4) //The compiler will print 70.0 instead of 70</pre><h3>Merge String and int</h3><h4>Transformation method</h4><pre>var label = &quot;The width is &quot;<br>    var width = 94<br>    var widthlabel = label + String (width)<br>    //Transformation of int to String.</pre><h4>Parentheses method</h4><pre>var apples = 3<br>    var oranges = 5<br>    var applesum = &quot;I have \(apples) apples.&quot;<br>    var fruitsum = &quot;I have \(apples + oranges) pieces of fruit.&quot;</pre><h3>Array</h3><h4>Create an array</h4><pre>var intarray = [1,2,3,45,0,6,3]</pre><h3>Print an array</h3><h4>print()</h4><pre>print(intarray [1])   //Print a specific item in the array<br>    print(intarray)       //Print the entire array</pre><h4>for loop</h4><pre>for(var i = 0 ; i &lt; intarray.count ; ++i) { <br>        //Print all elements in the array one at a time using a for loop.<br>        print(&quot;\(intarray [i]) &quot;)<br>    }</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82ed6478e087" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I am switching back to Google Drive after using iCloud Drive for two weeks.]]></title>
            <link>https://medium.com/@jerryfzhang/i-am-switching-back-to-google-drive-after-using-icloud-drive-for-two-weeks-e1e7906cd948?source=rss-5675befd5b8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1e7906cd948</guid>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[icloud]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Jerry F. Zhang]]></dc:creator>
            <pubDate>Thu, 01 Oct 2015 02:14:51 GMT</pubDate>
            <atom:updated>2015-12-18T16:29:44.224Z</atom:updated>
            <content:encoded><![CDATA[<p>I use iCloud for all the backups, all my photos some my documents.</p><p>I use Google Drive for all my docs, collabrate with people.</p><p>But I really wants to put everything in one place, therefore I started to gradually move everything to iCloud Drive.</p><p>Then this happened.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*KoZ0ck0TK3PlODPZKqD2cA.png" /></figure><p>After taking one folder out of its parent folder, every single item(995 items) under the moved folder got extracted (except for the folders), on to the iCloud Drive folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WUnMYTuedRxv54m5uqWaGA.png" /><figcaption>All the extrated files</figcaption></figure><p>And then I use my Google Drive backup to restore the original files just because the restoring option under setting wasn’t properly load.</p><p>Can you think of any cloud service worse than this?</p><p>Sorry Apple, I am going back to Google, even though I am a big fan.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1e7906cd948" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>