顯示具有 Nonsense 標籤的文章。 顯示所有文章
顯示具有 Nonsense 標籤的文章。 顯示所有文章

星期四, 4月 14, 2011

Essential Linux Device Driver 中文版堪誤

最近看了 Essential Linux Device Driver 中文版, 大致上來說還不錯,但各章節翻譯水準忽高忽低,有時還會漏掉一段,看得挺痛苦,不得已只好找原文的來對照看,例如中文版 Page 61:

面對更高層次的 kthread API (其目的在於超越 kernel_thread()), kernel_thread() 的地位下降了。稍後我們會分析 kthreads。

不知所云為何,只好查一下原文,原本這句是:
kernel_thread() is depreciated in favor of the higher-level kthread API, which is built over the former. We will look at kthreads later on.
在 Linux API 裡,depreciated 的意思主要是『不建議使用,因為已過時且有更好的替代方案』,而且原文中,把 kernel_thread() is depreciated 放在第一句是有強調的意味,在譯文中居然被移到後面模糊了重點!

我覺得這句應該譯成比較能表達作者原來的意思:

kernel_thread() 已經過時且不建議使用,而其類似功能已被更高級的 kthread API 所支援,該 API 就是被開發出來取代前者的,我們稍後再來看 kthreads。

還是乖乖看原文好了,唉!

星期五, 1月 14, 2011

The 10 Best Jobs of 2011



http://www.careercast.com/jobs-rated/10-best-jobs-2011

The 10 Best Jobs of 2011 Number 1 居然是 Software Engineer~

都是幻覺,嚇不倒我!

要不然就是台灣程式員比較低級,不然我寫十幾年的程式怎麼還在領三萬多呢?

星期一, 11月 01, 2010

Dunning Kruger Effect 達克效應

最近看到一個挺有趣的理論叫達克效應 (Dunning-Kruger Effect),這個理論大概就是在說那些自我感覺良好的人們。

達克效應是一種認知偏差(cognitive bias)現象,指的是能力欠缺的人在自己欠考慮的決定的基礎上得出錯誤結論,但是無法正確認識到自身的不足,辨別錯誤行為。這些能力欠缺者們沉浸在自我 營造的虛幻的優勢之中,常常高估自己的能力水平,卻無法客觀評價他人的能力。

這讓我想到了之前看過的一篇文章 Your Code Sucks 。

其實我們的社會不都是這樣嗎? 總是外行領導內行,什麼都不懂的人自我感覺良好,而有真才實學的人卻不敢出聲,反被認為是口條不好能力不足。

結錄幾個人的名言跟我個人的中譯:
Charles Darwin ("Ignorance more frequently begets confidence than does knowledge.")
達爾文 ("無知比學富五車更常引發信心")

Bertrand Russell ("One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision.")
羅素 ("現在我們最痛苦的事情就是那些充滿自信的人都是笨蛋,而那些富有創造力跟知識的人總是猜疑跟無法下決定")

W.B. Yeats ("The best lack all conviction, while the worst / Are full of passionate intensity.")
葉慈 ("最好的缺乏信心,最差的卻充滿激情")

相關連結:

http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect

http://baike.baidu.com/view/2467944.html?fromTaglist

星期四, 1月 14, 2010

How do you define UNIX system

何謂 UNIX 系統:
  • SUS 是 POSIX.1 的超集(superset),定義了比 POSIX.1 更多的擴增函式介面(interfaces),完整的系統介面設定稱之為 X/Open System Interface (XSI)。
  • 只有 XSI-conforming(一致) 的系統實作才能被稱之為 UNIX 系統。
  • SUS 是由 Open Group 定義的。
Unix-Based 常見標準:
  • IEEE POSIX - (Institute of Electrical and Electronics Engineers) Portable Operating System Interface
  • SUS - The Single UNIX Specification, a superset of the POSIX.1, "SUS mandatory"
  • XSI - X/Open System Interface (_XOPEN_UNIX)
  • XSI-Conforming - Only XSI-conforming implementations can be called UNIX systems.
  • FIPS - Fedral Information Processing Standard

下面這篇文章就是在說明 UNIX 的定義:

The Open Group owns the UNIX trademark and uses the Single UNIX
Specification to define the interfaces an implementation must support to
call itself a UNIX system. Implementations must file conformance
statements, pass test suites that verify conformance, and license the right
to use the UNIX trademark.

SUS 的版本沿革如下:

SUS v1 1994 (Spec 1170)
SUS v2 1997
SUS v3 2001 (equal to IEEE Standard 1003.1-2001 = ISO/IEC 9945:2002 (approved by ISO at 2002)
SUS v3 divied into 4 parts:
  1. Base Definitions
  2. System Interface
  3. Shell and Utilities
  4. Rationale
ISO/IEC 9945:2003
SUS v3 2004 Edition.

因此:
Solaris -> UNIX system
Linux -> NOT UNIX system, through Duck Test, we can treat it is...
FreeBSD -> NOT UNIX system, through Duck Test, we can treat it is...

在 Computer Science 裡有一個 Duck Typing 跟 Duck Test 有關,無聊的話可以當小說看。

星期一, 7月 06, 2009

Fedora codename

* Fedora codename 代號

Fedora Core 1 : Yarrow
Fedora Core 2 : Tettnang
Fedora Core 3 : Heidelberg
Fedora Core 4 : Stentz
Fedora Core 5 : Bordeaux
Fedora Core 6 : Zod
Fedora 7 : Moonshine
Fedora 8 : Werewolf
Fedora 9 : Sulphur
Fedora 10 : Cambridge
Fedora 11 : Leonidas

Fedora 7 有月光,Fedora 8 有狼人,我一直以為 Fedora 9 的代號應該會是 Vampire 才對。

常見英文符號唸法

常見英文符號唸法:

~ tilde
! exclamation mark
@ commercial at
# number sign
$ dollar sign
% percent sign
^ circumflex accent, caret
& ampersand
* asterisk
() parenthesises
- hyphen-minus, dash
= equals sign
` grave accent
_ low line (spacing underscope)
+ plus sign
[] square brackets
\ back slash
{} curly bracket, braces
| vertical bar, pipe
: colon
; semicolon
' apostrophe
" quotation mark, quotes
, comma
. full stop, period, dot
/ forward slash, virgule
? question mark
... ellipsis
<> angle brackets
· (·)interpunct, middle dot (中間小圓點)
bullet (中間方點)
ETC etcetera (Latin: et cetra)
EG (Latin: exempli gratia)

星期一, 4月 13, 2009

Why talent is overrated

這一篇文章寫得還不錯,所以我這把年紀沒啥成就是因為我不夠努力(苦笑)。
http://money.cnn.com/2008/10/21/magazines/fortune/talent_colvin.fortune/index.htm

星期三, 6月 11, 2008

Rockstar Software Engineer 的十個特徵

在這看到很有趣的文章,雖然有點像是賣書廣告,不過內容有些還算中肯。
http://www.readwriteweb.com/archives/top_10_software_engineer_traits.php

星期一, 9月 26, 2005

Norton Commander 閒話五四三



Norton Commander (以下簡稱 NC) 最早的第一個版本,是由 John Socha 在 1985-1987 年寫出來的,他那時是 Peter Norton Computing, INC. 的第一位研發主管,第一版的 NC 於 1986 年公開,並且馬上就成為檔案管理的領導軟體,在 1987-1991 年中賣出了約一百萬套,說 NC 是 IBM PC 中檔案管理軟體的先鋒一點都不為過。


許多人一定會和筆者有相同的疑問:『NC 不是 Peter Norton 寫的嗎?』,實際上 NC 雖然以 Norton 為名,但是 Peter Norton 並不是創造 NC 的人,Peter Norton 是Norton Utilities 的最初開發者,他的知名度是來自於 Norton Utilities 軟體盒上的照片和 Symantec 使用他的知名度銷售的 Norton 系列產品,因此很多人誤認為所有掛上 Norton 名號的軟體都是由 Peter Norton 創造開發的,但事實上並非如此。


後來在 1990 年 8 月,Peter Norton 為了追求他程式設計之外的興趣,把他的公司賣給了 Symantec,Symantec 繼續使用 Norton 的名號來銷售軟體,而在公司被 Symantec 收購之後,John Socha 離職並創立了他自己的公司叫做 Asymetrix,然而他依然繼續協助 Symantec 發展其他的 Norton 系列產品,在這段時間他也寫了一些很不錯的電腦書籍如:Peter Norton's Assembly Language Book for the IBM PC,這本書曾有中譯版本在台灣出現,筆者在學習組合語言的時候亦曾參考過此書。

那時正好是 Windows 興起讓一些傳統的 DOS 軟體式微時,因此 Symantec 一開始對 NC 這顆搖錢樹並未給予很大的支持,當他們後來才瞭解到他們的錯誤並嘗試著改變,並在 1997 年推出了 Norton Commander for Windows 1.0,但在那個時候推出新版本的 NC 已經太慢了,之後的 Norton Commander for Windows 2.0 一樣是個失敗的產品,NC 很遺憾的就這樣在 Symantec 的錯誤決策與漠視上被淘汰掉。


在 NC 被歷史的洪流淹沒後,一些喜歡 NC 並且有能力和時間的人就自己寫了一套仿 NC 的軟體,也造成了這類的軟體在 Windows 平台上有許許多多的兄弟姊妹,其中我認為 Total Commander (以前叫 Windows Commander) 在 Windows 上最為出色,如果你是使用其他的作業系統,也可以找到類似的工具如 Unix/Linux 平台上的文字模式(plain text terminal) Midnight Commander 與圖型介面(KDE)上的 Krusader。

如果你對這個檔案管理工具有興趣,你可以在下面這個網頁找到更多的相關資料:
http://www.softpanorama.org/OFM/index.shtml