2011/12/7

Silence is Killer

First they came for the Communists

When the Nazis came for the communists,
I remained silent;
I was not a communist.

When they locked up the social democrats,
I remained silent;
I was not a social democrat.

When they came for the trade unionists,
I did not speak out;
I was not a trade unionist.

When they came for the Jews,
I remained silent;
I wasn't a Jew.

When they came for me,
there was no one left to speak out.

Friedrich Gustav Emil Martin Niemöller

_________________________

當納粹追殺共產主義者,
我保持沉默;
我不是共產黨員。

當他們鎖定了社會民主黨,
我保持沉默;
我不是社會民主主義者。

當他們來抓工會會員,
我沒有說出來;
我不是工會會員。

當他們追殺猶太人,
我保持沉默;
我不是猶太人。

當他們來抓我,
有沒有人留下來說話了。

Reference : wiki

2011/8/28

看不懂?當日大量買入賣出有何意義?

9933

9933-2

兆豐證在8/17買入又賣出9933七萬多張

這樣換手的意義何在?

先記錄一下,希望以後能解答自己的這個問題

2011/4/8

銘句

people always own thier own freedom to come, to go, to leave and stay.
but can't stop themselves loving someone, recalling something.

2010/8/5

[Python] 傳遞 class、function 及其 arguments

在 Python 的世界中,所有東西都是物件,所以函式也可以當作物件來傳遞,例如:
def func(func2):
     z = func2()
     print z
def func2():
    x = 1
    y = 2
    return x+y
執行 func() 可得 func2() 執行結果
但是函式也有可能接收不同的參數,

2010/4/21

CKIP Client for C# (part II - Bug 修正)

有網友在CKIP Client for C# (part II - 新增詞性分析)中提到:
」傳去700個字元,但實際上卻只回來3、4百個字元」
」傳回已斷詞過的詞性,不到一半」
經過測試後發現,用本程式傳長一點的文章斷詞,就會出現此問題。Trace 一下 code :
// Blocks until send returns.
byte[] msg = Encoding.Default.GetBytes(xmlString);
byte[] bytes = new byte[1024];
int i = _conn.Send(msg);
// Get reply from the server.
i = _conn.Receive(bytes);