<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Old Blogs | Ka Ming Fung, Ph.D.</title><link>https://kamingfung.github.io/academic/blogs/</link><atom:link href="https://kamingfung.github.io/academic/blogs/index.xml" rel="self" type="application/rss+xml"/><description>Old Blogs</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 08 Dec 2024 00:00:00 +0000</lastBuildDate><image><url>https://kamingfung.github.io/academic/media/icon_hu_180b2cd01f740d40.png</url><title>Old Blogs</title><link>https://kamingfung.github.io/academic/blogs/</link></image><item><title>Oops! I did it again.</title><link>https://kamingfung.github.io/academic/blogs/2020-10-12-oops-i-did-it-again/</link><pubDate>Mon, 12 Oct 2020 13:00:00 -0400</pubDate><guid>https://kamingfung.github.io/academic/blogs/2020-10-12-oops-i-did-it-again/</guid><description>&lt;p>I did it again. A day after my Jekyll-generated site was launched, I discovered Hugo, another SSG (static site generator) written in Go &amp;#x2728;. Six hours later, my Hugo-powered site is up and running. Here in this post, I am explaining why.&lt;/p>
&lt;h2 id="dr-j-and-mr-h">Dr. J and Mr. H&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Hugo is Faster&lt;/strong> - website generating is a process of conversion from a collection of scripts into html and other media files for website hosts. With multimedia content, such as pictures and videos, Jekyll took 8 seconds to render my site vs Hugo&amp;rsquo;s &amp;lt;1 second. Some users tested that Hugo can generate 600k pages within 5 minutes.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Hugo is Neater&lt;/strong> - I forked my site from
. This template groups all relevant contents, including source markdown scripts, pictures etc. of each post/page under individual folders. On the contrary, the Jekyll al-folio classifies required files by file types&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Hugo is Newer&lt;/strong> - one long page, fast scrolling, no BS. Just like Insta. &amp;#x1f4f7;&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="jekyll-for-flexibility">Jekyll for flexibility&lt;/h2>
&lt;p>Based on Ruby, Jekyll is still a more customizable tool for website builders. It encourages users to add contents using HTML, liquid syntax, and markdown all at once, sounding perfect for picky geeks &amp;#x1f913;.&lt;/p></description></item><item><title>This is the moment</title><link>https://kamingfung.github.io/academic/blogs/2020-10-09-so-i-have-been-told/</link><pubDate>Fri, 09 Oct 2020 16:58:10 -0400</pubDate><guid>https://kamingfung.github.io/academic/blogs/2020-10-09-so-i-have-been-told/</guid><description>&lt;p>So I have been told there is a new tool (new to me &amp;#x1f609;) trending among academics. I was casually checking it out last night, and now, I have just finished my 12-hour journey of website migration. Not to bore you to death by giving you all the geeky &amp;#x1f453; and technical details (including how I googled and picked the nicest templates, extracted the good elements, studied their liquid syntax &amp;amp; HTML codes, reassembled them, fixed countless bugs, and ran numerous tests&amp;hellip;), I will discuss some major advantages of Jekyll, as a static web page generator, over WordPress.&lt;/p>
&lt;h2 id="wordpress-was-not-good-enough">WordPress was not good enough&lt;/h2>
&lt;p>Let&amp;rsquo;s start with WordPress (WP). Here is a list of bad things about this commercial web page hosting service providers:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>WP is Slow&lt;/strong> - to entertain its broad base of users WP comes with a bunch of plug-ins that most of us won&amp;rsquo;t find useful. Recently, they updated their editors to enable &amp;ldquo;block&amp;rdquo; elements, hoping to make layout design more flexible. But this change came at the expense of becoming more graphically demanding (as compared to Google&amp;rsquo;s Site &amp;lt;- Yes, it is revived &amp;#x1f608;). All these non-essential add-ons have made WP extremely heavy and slow.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>WP Poses Design Restrictions&lt;/strong> - though WP has a bunch of themes and plugins to choose from, it&amp;rsquo;s not easy to make small adjustments because it doesn&amp;rsquo;t allow you to go all the way under the hood (i.e., change the codes). WP&amp;rsquo;s closed ecosystem limits customizations.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>WP Has Ads&lt;/strong> - pop-ups, top-bars, and other forms of ads appear like elves if you are not a paid user. It just looks unprofessional. (I know, so do emojis &amp;#x1f631;.)&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="jekyll-is-not-perfect-but-just-better">Jekyll is not perfect but just better&lt;/h2>
&lt;p>After some research, aka skimming though the first page of Google Search results and watched a few Youtube vids, I found that Jekyll + GitHub Pages would be a better alternative for me.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Jekyll is Simple&lt;/strong> - if you have used MS FrontPage to make websites (like ~20 years ago &amp;#x1f4be;), you would know how tedious it could be to write a blog post, format it, and index it alongside other posts. Jekyll, an HTML code generator, can auto-complete those procedures for you. The only thing you need is some knowledge of the markdown and liquid syntaxes.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Jekyll is Fast&lt;/strong> - similar to WP, you can choose your favorite template from a collection of free and paid ones. Unlike WP, these templates come with source codes, which allow you to trim, extract, reuse, improve, and modify as you see fit. Optimizing code sets to your needs helps speed up the loading time. Also, it&amp;rsquo;s always ad-free.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Jekyll Puts You in Charge&lt;/strong> - even though the Jekyll-generated websites still need to be hosted on places like Github Pages, you can always keep a local copy of it, including all the blog posts, pages, pictures, pdf files, etc. With this, you don&amp;rsquo;t have to worry about your memories being gone one day like those Xanga diaries you once wrote. (Sorry that I am a senior netizen. &amp;#x1f474;)&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="one-size-doesnt-fit-all">One size doesn&amp;rsquo;t fit all&lt;/h2>
&lt;p>I am sure that somewhere out there a newer and fancier tool has already been invented. I also have to confess that learning Jekyll was not my sweetest moment, and I have invested quite some time (probably longer than I should have). It&amp;rsquo;s highly customizable but not at all straight-forward. But, after all, I am happy to pay such as a small cost and appreciate Jekyll&amp;rsquo;s letting me own my contents and, together with GitHub, enabling me to host an ad-free open-source website.&lt;/p>
&lt;p>I think Jekyll will make maintaining my website easier. If you are considering switching to Jekyll but still in doubt, feel free to connect with me. I will be more than happy to share with you my experience.&lt;/p></description></item><item><title>Appeared in Early Career Spotlight in IGACnews</title><link>https://kamingfung.github.io/academic/blogs/2020-03-igacnews/</link><pubDate>Sun, 15 Mar 2020 13:00:00 -0400</pubDate><guid>https://kamingfung.github.io/academic/blogs/2020-03-igacnews/</guid><description>&lt;p>Thank you &lt;strong>IGAC&lt;/strong> for introducing me in their newsletter&amp;rsquo;s &amp;ldquo;
&amp;rdquo; session on pp 23-24. This issue also covers the IGAC/SPARC Chemistry-Climate Model Initiative (CCMI) 2019 Science Workshop I helped organize in CUHK (pp 8-11).&lt;/p></description></item><item><title>Useful Datasets</title><link>https://kamingfung.github.io/academic/blogs/2019-09-03-useful-datasets/</link><pubDate>Tue, 03 Sep 2019 16:58:10 -0400</pubDate><guid>https://kamingfung.github.io/academic/blogs/2019-09-03-useful-datasets/</guid><description>&lt;p>&lt;em>The following datasets and documentation are open to all. I hope they benefit your research! &amp;#x1f4da;&lt;/em>&lt;/p>
&lt;h2 id="climate">Climate&lt;/h2>
&lt;ul>
&lt;li>
(daily &amp;amp; monthly over 1979–present; 2.5º-by-2.5º) [
]&lt;/li>
&lt;/ul>
&lt;h2 id="ammonia-nh3">Ammonia (NH&lt;sub>3&lt;/sub>)&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>
(0.01º-by-0.01º)
&lt;/p>
&lt;/li>
&lt;li>
&lt;p>
(site data)
&lt;/p>
&lt;/li>
&lt;li>
&lt;p>
(monthly; 2º-by-2.5) [
]&lt;/p>
&lt;/li>
&lt;li>
&lt;p>
(monthly; 0.5°×0.667°) [
]&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="nitrogen-dioxide-no2">Nitrogen Dioxide (NO&lt;sub>2&lt;/sub>)&lt;/h2>
&lt;ul>
&lt;li>
(monthly over 2006–2018; 12 km-by-12 km) [
]&lt;/li>
&lt;/ul>
&lt;h2 id="fine-particulate-matter-pm25">Fine Particulate Matter (PM&lt;sub>2.5&lt;/sub>)&lt;/h2>
&lt;ul>
&lt;li>
(annually over 2010–2016; 0.1° × 0.1°) [
]&lt;/li>
&lt;/ul>
&lt;h2 id="agriculture">Agriculture&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>
(5&amp;rsquo;-by-5&amp;rsquo; &amp;amp; 0.5º-by-0.5º ) [
]&lt;/p>
&lt;/li>
&lt;li>
&lt;p>
(for the year 2000; 5&amp;rsquo;-by-5&amp;rsquo;) [
]&lt;/p>
&lt;/li>
&lt;li>
&lt;p>
(5&amp;rsquo;-by-5&amp;rsquo;) [
]&lt;/p>
&lt;/li>
&lt;li>
&lt;p>
(for the year 2000; 5&amp;rsquo;-by-5&amp;rsquo;) [
]&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="soil">Soil&lt;/h2>
&lt;ul>
&lt;li>
[
]
&lt;ul>
&lt;li>Land mask, terrain elevation, slope  (30&amp;quot;-by-30&amp;quot; &amp;amp; 5&amp;rsquo;-by-5')&lt;/li>
&lt;li>Land use and land cover: rain-fed cultivated land, irrigated land, forest land, grass/scrub/woodland, built-up land (residential/infrastructure), barren/very sparsely vegetated land, or water bodies  (5&amp;rsquo;-by-5')&lt;/li>
&lt;li>Soil qualities for crop production: nutrient availability, nutrient retention capacity, rooting conditions, oxygen availability for roots, excess salts, toxicity, and workability (5&amp;rsquo;-by-5')&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;h2 id="geography">Geography&lt;/h2>
&lt;ul>
&lt;li>
(shapefiles; check out my
on how to use it in R)&lt;/li>
&lt;/ul></description></item><item><title>Using "Ka-ming" as my author name</title><link>https://kamingfung.github.io/academic/blogs/2019-09-03-about-ka-ming/</link><pubDate>Tue, 03 Sep 2019 11:12:00 -0400</pubDate><guid>https://kamingfung.github.io/academic/blogs/2019-09-03-about-ka-ming/</guid><description>&lt;!-- ![](./IMG_2917.jpeg) -->
&lt;p>Hi there! &amp;#x1f44b; My last name is &amp;ldquo;Fung&amp;rdquo; (馮), and my first name is &amp;ldquo;Ka Ming&amp;rdquo; (家銘). In Chinese culture, the family name comes first, so my full birth name is &amp;ldquo;Fung Ka Ming&amp;rdquo; (馮家銘).&lt;/p>
&lt;p>Because of the British-style education system in Hong Kong, some people here have adopted English names as nicknames, and I go by &amp;ldquo;Victor&amp;rdquo;.&lt;/p>
&lt;p>As for my academic identity, I&amp;rsquo;ve chosen to use &amp;ldquo;Ka Ming FUNG&amp;rdquo;. I want to show my appreciation to my parents for choosing my birth name, and also to promote and preserve the Cantonese language.&lt;/p></description></item></channel></rss>