Author Image

Michael Chen 的技術文件

程式設計、開放原始碼、技術雜談

Cover image

在學習某個程式語言的過程中,第一步總是先熟悉其語法,然後慢慢擴展到其他的部分。在這個過程中,如果能夠搭配適當的小型練習題,對於學習該語言會有 繼續閱讀

Cover image

在從前,要在 GNU/Linux 下寫 .NET 程式,會使用 Mono 平台。然而,使用 Mono 平台,程式設計師要和大大小小的不相容奮戰,有時候會想乾脆去寫 Java 好了。不過,隨著 .Net 平台開始 繼續閱讀

Cover image

I initiated this post here in response to a post on a Linux forum (in Chinese). This article is all about personal opinion and choice. No flame war please. In his original post, he stated that he recently switched to Arch Linux and enjoyed the process of installing the system from the minimal base. He was also glad that his system will be kept up to date. I replied that 繼續閱讀

Cover image

[Update on 2017/02/23] 雖然許多人都會從 Ruby on Rails、Laravel 或是其他知名的網頁框架學習網頁程式設計,甚至在不會 Ruby 時就直接學 Rails,我個人非常不推 繼續閱讀

Cover image

Mac OS X is a variant of BSD Unix and Macbook becomes popular among Unix/Linux users. Many developers choose Macbook as their development platform as this artile says. This article tells you the pros and cons of Macbook from a Linuxer’s perspective. The the Unix side of Macbook: Shells are choosable and configurable, e.g. Bash or Zsh. No ttys. Access the shell from a terminal emulator like iTerm 2. No 繼續閱讀

Cover image

Netbooks failed to thrive because people tried to put every heavyweight applications into a relatively lightweight client. With the flourish of Web-based applications, a web browser becomes a lightweight operating system. Chromebooks show us a possible model of a thin client. It’s workable out-of-box, virus and malware-free, zero-configured, always updated, and, mostly important, affordable. Initially, geting everything from the cloud seem impossible, but, after some evaluation, you may find this 繼續閱讀

Cover image

Structure and Interpretation of of Computer Program (SICP) is a classic textbook in computer science. It was formerly used in the introductory programming class of Massachusetts Institute of Technology (MIT) and other schools. Scheme, one of the main dialect of Lisp, was chosen as the language in this book. If you want to “enjoy” this classy book, just a few simple steps are needed. Install Scheme on OS X There 繼續閱讀

Cover image

When you built a blog from Jekyll, a beautiful, mobile-responsive theme passed as well. However, if you want to utilize a third party web front framework like Bootstrap, the built-in CSS file became potential sources of CSS conflict and delayed page loading. Starting a Jekyll blog from blank theme seems daunting, but, with the help of Bootstrap, the process becomes agreeable and enjoyable. Before starting our next awesome blog, let’s 繼續閱讀

Cover image

Test-driven developememnt (TDD) is a software development process. In this process, you write automated tests for expected functions; then, you write minimal code that satisfy these tests; finally, you refactor your code to meet your need (and still suffice your tests. Initially, developing in TDD way needs to write some extra code as tests; however, bugs can be reduced by fulfilling these tests during coding process. To simplifiy your testing 繼續閱讀

Cover image

JavaScript is the vital part of modern interactive web. However, JavaScript is not easy; it mixes the features of several languages. Some good, some bad. The syntax is Java-esque but the underlying concepts is totally different from Java. CoffeeScript is a mini-language that compiles into JavaScript. It brings an elegant Python or Ruby-like syntactic sugar for JavaScript and helps you to avoid some JavaScript pitfalls. Here is an example of 繼續閱讀