Redesign

Friends don't let friends keep redesigning their website. I apparently need better friends.

This site was previously powered by FarBox, and with a little help from CloudFlare, it has been reliable, fast, and securely served via SSL.

Farbox was one of the best contenders from the wave of Dropbox synced blog platform. Their marquee feature was that posts were synced through a Dropbox folder where files were stored in Markdown format plus some necessary meta data. This made publishing and content management extremely easy and accessible, especially when on the go. This was all great, but I wanted more. I wanted a site that I can (almost) fully control.

The idea of having my own corner, a place where I share my words with the world, on the sea of internet has started forming ever since I subscribed to a blog via RSS for the first time. Plus I really wanted to use those Markdown writing apps that I read so many reviews about.

After the journey of the initial a few months of Tumblr, Scriptogram, and FarBox, now allow me to introduce the whole new Hugo generated static site hosted with Netlify. I picked up a theme that had the style I had in mind, and tweaked from the layout to styling to make it look the way I wanted.

Netlify made the deploy process extremely simple. All I had to do was to connect my site's source code repo to Netlify and specify the build command. The continuous deployment requires zero configuration. Once the site was successfully built, Netlify automatically rebuilds every time the repo receives a new commit. Netlify also takes care of HTTPS and the rerouting between root domain and www subdomain if you'd like.

After the new design was done, the migration was a matter of reformatting meta data, as both FarBox and Hugo build pages from Markdown files. What took the longest was by far evaluating all the blog platform and hosting options. Nothing is absolutely future-proof, but I'm really glad to have found for now the perfect combo of Hugo and Netlify.

Working Copy: Git client for iOS

Look around, look around at how lucky we are to be alive right now. Pardon me for some Hamilton pun, but pause and think how crazy it would be if someone'd told you that Git operations could be done on your mobile devices just a few years back. What a time to be alive.

The star of today's post is Working Copy. It's not just a Git client on iOS; it's one of the best Git GUIs I've ever seen, on any platform. 1 To get started, you can either clone a repo from a remote server or initiate one locally. Besides from popular services such as GitHub and BitBucket, you can clone repos from any server you have access to (via SSH). Once you have a repo inside Working Copy, you can freely navigate around the repo, make changes, and commit (or discard) those changes. Working Copy provides a basic text editor with syntax highlighting. Thanks to iOS share sheet, you can also edit the code in your favorite external editor. After committing the changes, you can push the code back to the remote server if you wish. You can browse commit history with ease. Tap on a commit and you are presented with a side-by-side diff view. You can check out, tag, or even cherrypick the commit if needed. Commit history can also be presented in a tree graph which can be accessed from a repo's summary view. Other operations that Working Copy supports include fetching remote changes, resolving merge conflicts (it has a great diff tool), and branch management (creation, merging and deletion). As a bonus, Working Copy provides a JavaScript console and HTML previewing, which really come in handy when it comes to web development.

Working Copy is an excellent tool for your Git needs on the go. In my opinion, it's especially helpful when you have the need to review code, resolve merge conflicts, or make small changes when you are out and about. The developer also smartly worked around App Store's trial restriction by making the app a free download with no function limitation except that pushing to remote servers requires an one time in app purchase. You should grab a copy.


  1. I highly recommend you check out GitUp on Mac.

The Silkworm: Not a Review

I wrote most of this short piece a year ago, and it only took me a year to post it. Ironically, it's about a book that took me a year to finish.


This is not a review. This is nothing more than a man writes out his nostalgia.

I first opened Robert Galbraith 1’s The Silkworm last September, and it took me nearly a year to finish. During the time I had read many other books. The Silkworm, on the other hand, progressed but slowly. As a result, this thick book moved with me from one coast of the continent to the other. Almost like an old friend, it was always there for me. I remember when I was in elementary school, finding a good book to read was the happiest thing for me. Knowing there was a good book awaiting at home filled me with an excitement which I couldn't contain. I felt a big void every time I finished a book. Kind of like breaking up I guess. I haven't had a similar feeling for so long, and I miss it a ton. If this is the price of growing up then it's too much a price if I had a say.

The Silkworm didn't have a fast pace you would normally expect from a detective fiction. However I thoroughly enjoyed the characters' daily activities, even when they were mundane, in fact especially when they were mundane. There were many scenes that existed purely for character development, and I couldn’t get enough of them. When reading Harry Potter, I wished there were chapters that were just about their lives in Hogwarts and had nothing to do with the plot. What did they do on a weekend when they were not trying to save the world? Did they steal pumpkin pasties from the kitchen after a late night session even when they didn't need the help from Dobby? Tell me more, please. Maybe the Strike series is a belated fulfillment for those wishes.


Epilogue

I read the next installment in the series when the post was lying around in the drafts folder. From time to time, I almost felt I was reading text from a Harry Potter book, catching a glimpse of my younger self's mind. Thank you, Rowling. Please keep writing.


  1. Aka J. K. Rowling.

New Year, 2017 Edition

Can't believe it's 2017 already. I only felt how the past years flew by when I stopped and looked back occasionally. The last time I had a new year post I was still in college. Now I'm older and, well, probably not any wiser.

The last new year post was a retrospect. As much fun as I had to look back and reflect, I want to do something different this time. I want to look ahead, as how I like my 2017 to be like. 1

In 2017, I want to write more. Considering that's exactly what I'm doing right this moment, I think I'm having a good start. I always like writing, but writing in English intimidates me for various reasons. Writing in a second language is hard. I feel my thoughts are constraint. I feel I don't know much about anything (I probably really don't anyway). I feel the lack of confidence. Fortunately, new year is the best time to step out of the comfort zone. I've made some good progress in the past year regarding stepping out of my comfort zone — more on this later in another post. I've, obviously, not done so well regarding writing. My goal for 2017 is to publish at least 5 posts on this blog. It's a very small goal — certainly not a 50,000 words NaNoWriMo challenge — and I very much intend to accomplish it. I've incorporated Ulysses (a Godsend) into my writing toolbox, hoping a writing app I enjoy will encourage me to write more. I tweaked this blog's style sheet for better code snippets displaying, so expect some technical posts to come as well. The game is afoot.

Similar to writing, I want to watch more movies and read more books. In the recent years, I didn't watch nearly enough movies or read nearly enough books as I'd like to. I ended up many shows and news articles. Shows can be great, but they are not movies to me. Movies bring me so much more emotions. I watch shows and I let myself immersed in movies. A few days ago, I watched What's Eating Gilbert Grape, which had probably stayed on my watchlist for the longest time. When the screen went dark and the credits started rolling, I couldn't stop thinking that I hope they never stop making movies like this. The same goes for books and news articles.

I would also want to play guitar regularly. I played guitar on and off (mostly off — especially the last two years when I didn't have one with me) since 2009, but all I can do are still songs with extremely simple chords. The silver lining? I love music too much and I want to play the guitar. I finally got another guitar not long before the holidays, and I want to play it patiently and constantly this time around. I plan to practice 5 to 10 minutes of scale exercise daily if possible. Learn more chords one at a time, making sure I find them quickly and press with just the right amount of pressure. Ultimately, learn to play 5 (hopefully many more) songs.

There are a few more items on my list ranging from making faster decisions when shopping online to resisting the urgent of doing something when I can clearly do better the next day when I'm rested and when it's not 2 am in the morning. They are in general a little trickier to track, but hard, I will try. As for everything mentioned here, I look forward to reporting back in December. Happy 2017.


  1. One thing I have to mention about 2016 is that Hamilton was my most surprising and amazing finding of the year.

Explore APIs with Postman

When it comes to working with APIs, a classic tool loved by many is the legendary cURL. cURL is cool, powerful, and in the meantime, maybe intimidating. The fact that it runs through the command line might scares many non-developers away. However many designers, researchers, and just anyone who works with data and the internet might have to deal with APIs at some point. Luckily, for those who prefer a GUI, there's an awesome app called Postman.

A Chrome app 1, Postman, can pretty much run on any platform. The basic usage of Postman is as easy as filling in the API url, choosing a method, and clicking send. Postman will then connect to the API and display the message and/or data sent back from the server in a format that’s easy on the eyes. You can even log in a server by hitting the authentication API and perform calls that require an authenticated user. 2 Postman can definitely cover the majority’s needs for exploring APIs.

I recommend anyone who works with APIs give Postman a try if you haven't already — even if you are comfortable with your current toolset, you might still find some hidden gem in Postman that will make your life a little easier.


  1. Now also features a standalone Mac app!
  2. And of course there are many advanced features for power users.