On improved but less functional versions of things
Every so often I wind up reading something that makes me see red.Today's is this piece (seen via Hacker News). So I want to write an open message:
Dear open source people, it is really simple. If someone has a workingsystem at time X, upgrades to your new software, and their system stopsworking, they do not care if their system might work at some undefinedpoint in the future. You broke their system now , and this is whatthey care about. You
閱甚麼報?
Why there is a gulf between shells and scripting languages
Recently I saw a stackoverflow question on why scriptinglanguages aren't suitable as Unix shell scripting languages . My answer is that shellsare strongly optimized for a different use case than programminglanguages, and this has significant effects on the design of thelanguages that they use and their semantics.Above all, shells are optimized for invoking external programs; asuccessful shell has ruthlessly pruned away everything that makesthis awkward. Scripting languages, like other languages, are insteadgenerally optimized for writing expressions, statements, and otherinternal language
新一年要減油啊!
讓 Windows Bootloader 載入 GRUB
但使用 Windows 預設的 Bootloader 又不能列出非 Windows 的作業系統,所以需要改寫 C:\boot.ini
注意:胡亂改寫 C:\boot.ini 的會導致所有作業系統不能起動
If you use GRUB as MBR, after format Ubuntu partition GRUB will erase also
However

患病見真情─《愛情戀上癮》( Love & Other Drugs)
被海報和片名誤導, 起初以為《 愛情戀上癮 》( Love & Other Drugs) 是有關性上癮的故事. 所謂上癮當然是指愛情, 床戲的大膽程度令人意外 (本片沒有被列為三級片, 片商及電檢處聰明之舉!) . Jake Gyllenhaal 與 Anne Hathaway 毫不尷尬的坦蕩蕩豪爽到極
修復 Ubuntu 的 MBR (Recover Ubuntu GRUB as MBR)
但當 GRUB 被其他 Bootloader 覆蓋,如何重新讓 GRUB 成為 MBR ?
GRUB is a popular Bootloader.
However, how could we recover GRUB is covered by other Bootloader ?
先以 Ubuntu Live Boot Disc 起動
開啟已經安裝 GRUB 的分割區
複製該分割區的絕對路徑
We need to boot with Ubuntu Live Boot Disc.
Open the partition which you have installed GRUB.
Then copy the path
修復 Windows 的 MBR (Recover Windows Bootloader as MBR)
當 Ubuntu 被格式化後,由於會連同 GRUB 一拼刪除,若果 MBR 被 Ubuntu 覆寫 MBR 不會引導 Windows 的 Bootloader
因此將會導致沒有 Bootloader 起動 Windows
若要重新起動 Windows 便需要修復 MBR 引導 Windows 的 Bootloader
If the computer run with Windows and UBunut 2 Systems
After you format Ubuntu, you should recover Windows Bootloader as
