jump to navigation

Do you believe what you’ve seen in movies? March 12, 2007

Posted by TSAI HONG-BIN in Diary.
add a comment

Being a fan of Bad Astronomy, I’m quite delighted to see these pros pointing out misleading scientific scene shown on the screen. Here is another great website focusing on Physics. http://www.intuitor.com/moviephysics/

Not only the reasoning process and the calculating and experiments they have shown in the articles, it’s also quite joyful to read the humorous, witty, … sarcastic, ironical lines in each review. Go enjoy.

工欲善其事,必先利其器 March 12, 2007

Posted by TSAI HONG-BIN in Diary.
add a comment

覺得從 source root 開始 grep 常常跑出長長兩頁的 code 嗎?用這個 cross reference 來查快多了~

http://lxr.linux.no/ident

找不到談 Linux Kernel 的書?其實市面上有三本談 kernel 的書,評價都不錯

Oreilly 的 Understanding the Linux Kernel 3/e
Prentice Hall 的 The Linux Kernel Primer
Novel Press 的 Linux Kernel Development

尤其 Prentice Hall 的 Primer 還把 source code 打開一行一行跟你解釋。但其實對於學習一個大程式,每個人的 approach 不盡相同,有人喜歡從 Interface 開始,有人喜歡從 design concept 開始,有人覺得從動手改開始比較快上手。這裡有個不錯的 reference http://www.win.tue.nl/~aeb/linux/lk/lk.html 頁數並不多,可以快速「體會」一下 kernel 所做的事情 =)

同時建議你已經準備好一台 Linux ,從 kernel.org 抓下最新的 release 並解開來,用 vim 隨時東翻西找,和書本所說做對照,雖然速度較慢,但印象會比較深刻。另外就像 Micro$oft 的產品往往會藏著一些技術文件 (比如說 VBA API),Kernel 的 Documentation 目錄下也有很多文件可以翻,有一也以 DocBook 格式寫好,可以在 source root 用 make htmldocs | pdfdocs | psdocs … 來產生相關的文件,先看 kernel-hacking 應該也可以快速得到一些啟發~

Bon voyage
Hong-Bin