rtorrent 遇到 found bad chunks, consider using "safe_sync" 修復

於 rtorrent 下載 100%, 但是一直沒有出現完成訊息, 於檔案列表出現下述錯誤:

Hash check on download completion found bad chunks, consider using "safe_sync"

閱讀全文〈rtorrent 遇到 found bad chunks, consider using "safe_sync" 修復〉

Linux ssh 選端登入訊息 查看、修改

Ubuntu Linux (Server版)在 ssh 登入後, 會秀出下述訊息: (cat /etc/motd # 亦可看到)

Linux desktop 2.6.28-14-server #47-Ubuntu SMP Sat Jul 25 02:03:55 UTC 2009 x86_64

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/

  System information as of 二  1月  5 23:00:48 CST 2010

  System load: 0.02               Memory usage: 30%   Processes:       152
  Usage of /:  9.4% of 732.45GB   Swap usage:   26%   Users logged in: 0

  => There is 1 zombie process.

  Graph this data and manage this system at https://landscape.canonical.com/

*** System restart required ***
No mail.
Last login: Tue Jan  5 11:49:45 2010 from user-desktop.local

但是在 Debian Linux 或 一般Ubuntu Desktop 都沒看到這些訊息, 於是來找找是怎麼產生的.

註: /etc/motd 是已經產生好的文字內容, 由此看不出任何東西.

閱讀全文〈Linux ssh 選端登入訊息 查看、修改〉

NTPDATE - no server suitable for synchronization found 修復

執行 /usr/sbin/ntpdate time.stdtime.gov.tw 出現下述錯誤:

  • 28 Dec 10:44:25 ntpdate[20348]: no server suitable for synchronization found

註: 於 Ubuntu / Debian Linux / FreeBSD 都有看到類似狀況.

閱讀全文〈NTPDATE - no server suitable for synchronization found 修復〉

2010年 新年快樂 + 101煙火照片

首先, 當然是 2010年~ 新年快樂~~~

這次跨年比較特別, 在辦公室跨年, 沒想到辦公室頂樓的景觀那麼漂亮(完整景色都不會被遮到)~ 到頂樓居然看到有搭高架, 而且攝影機都架好了.

註: 今年的煙火放到一半有卡彈的狀況, 不知道是故意還是意外. XD

閱讀全文〈2010年 新年快樂 + 101煙火照片〉

Amir Salihefendic 演講: Comet with node.js 影片 與 筆記

12/29 TOSSUG 的活動 - Amir Salihefendic: Comet with node.js (下述簡介轉載自此文)

node.js [1] 是個架在 Google V8 Javascript 引擎之上的事件驅動式的輸入輸出模組(evented I/O)[2]。V8 是最快的 Javascript 虛擬機之一,node.js 用最佳的方法利用了 V8。

講者將會介紹 node.js 和實作 Comet 型態 [3] 的 chat 的實例。

  1. node.js 
  2. evented I/O: 用 event 和 callback 而不用 multi-thread 實作 server 的方式,twisted 是知名的一個這樣實作出來的 web server。
  3. comet: 一種讓 web server 可以把資料 push 到瀏覽器的做法,見 Comet_(programming)

閱讀全文〈Amir Salihefendic 演講: Comet with node.js 影片 與 筆記〉

網頁開發工具: XRAY - Bookmarklet

瀏覽網頁時, 常常會想看這些東西是怎麼做的, 或者 平常 開發、Debug 時, 都會需要知道 id、class、CSS 屬性、長寬(px、em) 等等, 都很習慣的 Firebug 開下去看, 這個工具提供另外一種選擇~

此工具是 Bookmarklet, 可以在各個瀏覽器上使用, 需要的資訊都很清楚的標示出來.(寬度 和 高度 的顯示, 比 Firebug 清楚)

閱讀全文〈網頁開發工具: XRAY - Bookmarklet〉