Author Image 開放原始碼技術文件網

C 語言、Objective-C、Golang、資料結構、網頁程式

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

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 繼續閱讀

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 繼續閱讀

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 繼續閱讀

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 繼續閱讀

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 繼續閱讀

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 繼續閱讀

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 繼續閱讀

Emacs has a built-in html-mode for HTML files. It is common that HTML files comes with other lauguages like CSS, JavaScript, PHP and so on. The built-in html-mode cannot handle these non-HTML parts well. For example, the indent of these parts in html-mode doesn’t work well. If you need an alternative major-mode for HTML, you can consider web-mode. web-mode.el is an Emacs major-mode for editing web templates; it supports many 繼續閱讀