Write your own

Still, I don’t claim to be the exclusive authority on this topic; if you don’t like what you read here, write your own.

— How To Become A Hacker

— Eric Steven Raymond

— Me@2010.11.22

“Hacker” here means a highly skilled programmer, not a computer criminal. — Me

The basic difference is this: hackers build things, crackers break them. — Eric S. Raymond

2011.05.31 Tuesday ACHK

運算三部曲 1.2

這段改編自 2010 年 5 月 1 日的對話。

第二,沒有驗算的題目,即使最終答案真的錯了,通常也會有一定程度的步驟分。所以,作答時一定要寫清楚運算步驟,千萬不要一步就跳到最後答案。

記住,答題的結構應該是,

1. 寫公式

2. 代數字

3. 出答案

很多時,這三步各有一分。例如:

F = ma

= (5kg) (10 m/s^2)

= 50 N

— Me@2011.05.31

2011.05.31 Tuesday (c) All rights reserved by ACHK

Principle of Least Action, 3.1

Moreover, in the usual formulation of classical action principles, the initial and final states of the system are fixed, e.g.,

    Given that the particle begins at position x1 at time t1 and ends at position x2 at time t2, the physical trajectory that connects these two endpoints is an extremum of the action integral.

In particular, the fixing of the final state appears to give the action principle a teleological character which has been controversial historically. However, this apparent teleology occurs only because of the way in which the question was asked. By specifying some but not all aspects of both the initial and final conditions (the positions but not the velocities) we are making some inferences about the initial conditions from the final conditions, and it is this “backward” inference that can be mistaken for a teleological causal influence.

— Wikipedia on Principle of least action

2011.05.30 Monday ACHK

Yoga Sutras of Patanjali

When you are inspired by some great purpose, some extraordinary project, all your thoughts break their bonds: Your mind transcends limitations, your consciousness expands in every direction, and you find yourself in a new, great, and wonderful world. Dormant forces, faculties and talents become alive, and your discover yourself to be a greater person by far than you ever dreamed yourself to be.

– Yoga Sutras of Patanjali

2011.05.30 Monday ACHK

十萬七千里 1.1

有時候,貌似「實際問題」的問題,未必真的是實際問題,你只要把它「transcend 掉」便行。

例如:我對某一個朋友很好。但是,他對我很差。於是,我對他再好一點。不料,他反而對我更差。我應該如何解決這個問題呢?

留意,相對於這個情境來說,最好的解決問題方法,不是「解決」它,而是 transcend 它。你把你那個朋友「transcend 掉」便行。

你不應再把他視為你的「朋友」。你應該把他從你的「情義圈」中刪除。那樣的話,他就再不會在你的生命中出現。以後,因為你毋須跟他相處,你再也不用盤算,如何跟他相處。

與「難相處的人」最好的相處方法是,不要跟他相處。

(安:我同意這個講法。如果我真的要在日常生活過得快樂的話,我一定要改變工作環境,轉換上司。但是,我現在沒有可能做到這一點。那我應該怎麼辦呢?)

即是話,現在不是理論問題,而是「如何在實際環境,恰當執行這個理論」的問題。

(安:無錯。)

— Me@2011.05.29

2011.05.29 Sunday (c) All rights reserved by ACHK

Grad school

If you wanted to have the perfect life, the thing to do would be to go to grad school, secretly write your dissertation in the first year or two, and then just enjoy yourself for the next three years, dribbling out a chapter at a time. This prospect will make grad students’ mouths water, but I know of no one who’s had the discipline to pull it off.

— Paul Graham

2011.05.29 Sunday ACHK

運算三部曲 1.1 

這段改編自 2010 年 5 月 1 日的對話。

(CSK:會不會有時驗算的時間,還多過原本運算那一題的時間?)

如果是那樣的話,該題就不應花時間驗算了。

留意,我並沒有叫你每一題也驗算。我是叫你大部分題目也應該驗算,因為大部分題目也有對應的「高速驗算技巧」,只有小部分題目沒有。所以,你應該在平日溫習時,就預先收集定各種題目的「校對秘訣」。

考試時,可以高速驗算的,就立刻驗算。不可以的,就在那些題目旁邊做個記號。待完成其他題目後,還有時間剩餘的話,才慢慢驗算。沒有時間剩餘的話,不驗算也罷。

(CSK:你講過,考試時驗算了題目,就可以大大減輕心理壓力。那樣,有部分題目沒有驗算的話,豈不是心理壓力會很大?)

如果你題題也沒有驗算的話,心理壓力當然會很大。但是,剛才已經強調,只有小部分題目才沒有「高速驗算技巧」。即使到最後要被迫放棄驗算一些題目,也只會是小部分。

第二,沒有驗算的題目,即使最終答案真的錯了,通常也會有一定程度的步驟分。

— Me@2011.05.28

2011.05.28 Saturday (c) All rights reserved by ACHK

Fermions and bosons 1.2

Here’s the link between particle interchange and rotation: Look at the twist you introduced into your strip of paper. There is another way to introduce that type of twist. Instead of rotating one end, switch the position of the ends of your strip, while keeping both ends of the strip facing up.

2011.05.27 Friday ACHK

Make yesterday obsolete

Both Page and Brin believed that the company should run like the Internet itself: fast-moving, bottom up, going to work every day to make yesterday obsolete.

— In The Plex: How Google Thinks, Works, and Shapes Our Lives, p.158

2011.05.27 Friday ACHK

小學生傳奇 1.5

三種煩惱 2

(安:如果依你所說,假設「人是瘋狂的怪獸」的話,我都同意,我的「疑惑不安」會小很多。但是,那仍未解決「在日常生活和工作中,應如何面對和應付那些愚昧的人」的問題。)

正正是因為這樣,我剛才才會問你:「那樣,對你的應世,構成什麼實際的問題?」

你剛才答「沒有」。既然沒有實際的問題,你依照我的講法,修正自己對這個世界的假設,自然可以 transcend(看破)了這個疑惑,心裡再不會感到「不開心」或者「不舒服」。

但是,如果你答「那會引起實際問題」的話,那就是真正的煩惱。它們是因為外在客觀的問題所引起的。要有具體行動,化解那些問題,才能令那些煩惱消失,而不能單靠調整思考。化解問題有兩個方法:「化」和「解」。「解」的意思是,直接解決。「化」的意思是,有很多時候,「解決問題」的最好方法,未必是「直接解決」,而是「把問題 transcend 掉」,令到原本的問題不再重要。

至於應該用什麼方法「化」「解」那個問題,那就要視乎,那個究竟是什麼問題,隨機應變。例如,如果那個實質問題是「因為你上司沒有能力理解你的解說,而導致他扣減你的薪金」的話,我會提議,你嘗試轉工,找一個理性的上司。轉不到新工作的話,你可以考慮找一份兼職,以幫補收入。

— Me@2011.05.26

2011.05.26 Thursday (c) All rights reserved by ACHK

知己知彼減壓法

A time to fear 2

這段改編自 2010 年 5 月 1 日的對話。

你現在心理壓力大的主要原因是,你在平日溫習時,沒有「限時間」和「計分數」做 past papers(歷屆試題),所以,一路也不知道自己的實力究竟去到哪個成績等級。

你試試今天回去後,「限時間」和「計分數」做一份 past paper,看看自己可以拿到多少分。即使,不幸地,你只得到 50 分,至起碼,你知道自己會合格。然後,再在這個基礎上,盡力提升分數,爭得一分得一分。那樣,你的心理壓力會小很多。

— Me@2011.05.25

2011.05.25 Wednesday (c) All rights reserved by ACHK

Research

DDJ: In the presentation before the awarding of the Japan Prize today, you were quoted on the distinction between research and development. [The former, Thompson stated, was directionless, whereas development had a specific goal in mind.] So in that context, is Go experimental?

— Interview with Ken Thompson

— By Andrew Binstock, May 18, 2011

2011.05.24 Tuesday ACHK

小學生傳奇 1.4

又或者,你感到很困惑:為什麼地球人會愚昧到那個程度呢?

其實,我已經一早 transcend (看破)了這個疑惑。

(安:「transcend」是什麼意思?)

「transcend」不是指「解決」問題,而是更高的一個層次。「transcend」是指,直情令到該個問題,和我沒有關係,影響不到我。

其實,這個要點在數個星期前講過。你有這個疑惑不安,是因為你的「世界模型」假設了「人是理性的動物」,而現實又往往相反。所以,你只要把你的假設修改成「人是瘋狂的怪獸」,很多在日常生活你原本不能解釋的現象,都會解釋到。你就再不會感到疑惑不安。

另外,你的人生閱歷還未夠多。如果你見得足夠多人,經歷得足夠多事的話,你自然會發現,有部分人會比你想像中的最極端情況,更加愚昧。

(安:如果依你所說,假設「人是瘋狂的怪獸」的話,我都同意,我的「疑惑不安」會小很多。但是,那仍未解決「在日常生活和工作中,應如何面對和應付那些愚昧的人」的問題。)

正正是因為這樣,我剛才才會問你:「那樣,對你的應世,構成什麼實際的問題?」

— Me@2011.05.23

2011.05.23 Monday (c) All rights reserved by ACHK

Haskellers’ loops

Haskellers never use loops – Instead, they either use recursion to do looping, or they use functions like map that take other functions as parameters.

— Conrad Barski, M.D.

2011.05.22 Sunday ACHK

朋友

愛情,可能不需要愛情。

配偶,可能只是一個,有責任陪你的朋友。

— Me@2010.01.28

.

.

2011.05.22 Sunday (c) All rights reserved by ACHK

一步 2

這段改編自 2010 年 5 月 1 日的對話。

(CSK:那樣很困難。)

冷靜一點就可以。你計不到的原因是,你在同一時間思考超過一步,導致感到混亂,不知如何走下去。反而,你應該在每一個時刻,只思考一步。

你運算完一步以後,才思考下一步的話,你的思路會清晰很多。

— Me@2011.05.21

2011.05.21 Saturday (c) All rights reserved by ACHK

Gluon 2

The photon does not carry electric charge with it, while the gluons do carry the “color charge”.

— HyperPhysics

2011.05.21 Saturday ACHK