Next

.

Here is the thing about the future. Every time you look at, it changes, because you looked at it, and that changes everything else.

— Cris Johnson

.

.

.

2010.04.14 Wednesday ACHK

Singles

This essay is adapted from a dialogue on 2009.12.01.

.

Me: How are you today?

TYC: How come the feeling of loneliness often appears?

Me: You? You have a boyfriend now. But still feel lonely?

TYC: His mobile phone has been confiscated by his teacher temporarily. So I cannot find him now.

Me: Strange. You can phone his home. Or you can use instant messenger or email to contact him.

TYC: I don’t phone his home.

TYC: And his computer has been locked up by his elder brother.

Me: ??? He is really strange…

Me: Do you two have any regular meeting time?

TYC: Yes. Once a week.

Me: Good.

Me: Then no need to worry.

Me: No need to be lonely.

TYC: But … I don’t know why I still feel lonely.

Me: Let me tell you the truth. Ready?

.

TYC: OK.

Me: Even after marriage, most people still feel lonely.

Me: They are “Married Singles”.

Me: See?

TYC: So I am one of them?

Me: ?

Me: To get rid of loneliness, you must be very “high level”. I can do it only 60% of the time.

Me: Can be 70% when I get a girlfriend.

Me: 80% when I get a wife.

TYC: But why??

TYC: Even though I have got a lover, I still have to be lonely?

Me: I know why.

.

Me: If the lover is just a biological lover or psychological lover, that’s not enough.

Me: The lover must also be an intellectual lover and a spiritual lover.

Me: That is, someone can transform and be transformed by you.

Me: He can expand your mental horizon. You can expand his spiritual universe.

Me: etc.

TYC: …

.

TYC: Can we really find “the one”?

Me: No guarantee.

Me: Finding “the one” is impossible for humans.

Me: That’s why we need God’s help

TYC: …

Me: in order to find “the one”.

TYC: So I still need God -_-

Me: Only God can do the “impossible”.

Me: We cannot.

TYC: OK …

— Me@2010.04.12

.

Finding your Amazing Half is impossible.

That’s why you need to provide the environment for God’s miracle.

— Me@2009.07.16

.

.

2010.04.13 Tuesday (c) All rights reserved by ACHK

勇者

.

「勇者無懼」是錯的。

沒有恐懼,就毋須勇氣。

恐懼是勇氣的先決條件。

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

「勇氣」的意思是,即使恐懼也堅持完成任務。

— Me@2010.04.12

.

.

.

2010.04.13 Tuesday copyright ACHK

程式時間 2

多次元宇宙 10

程式員頭腦 8

時間定義 3

用 functional programming languages(函數程式語言)所寫的程式,程式內是沒有 state(狀態)的。

「程式內是沒有 state」的意思是,程式內只有「常數」,沒有「變數」。

程式內的 data(數據)是不會隨時間改變的。

在那類程式中,是沒有「時間」。

例如,有一個「加法程式」,要你輸入 a 和 b,然後它會運算 c = a + b,告訴你答案 c 是什麼。

那個程式內部,本身是沒有儲存任何 variable values(變數數值)。

例如,你輸入 3 和 7,程式就會輸出 10。

同一組 input(輸入),就會有同一個 output(輸出)。

無論你在任何時間,運用那個「加法程式」,只要你輸入 3 和 7,它就會輸出 10。

所以說,那個「加法程式」沒有「時間」。

不是任何程式也是沒有「時間」的。

例如,一個「銀行會計程式」有一個變數 x,用來代表我的戶口結餘。

因為我的戶口結餘會隨時間改變,所以在不同日子輸入指令「請問我的戶口結餘是多少?」,程式會輸出不同的答案。

雖然是同一個指令「請問我的戶口結餘是多少?」,但是在不同的時間,那個「銀行會計程式」會輸出不同的答案。

所以說,那個「銀行會計程式」有「時間」。

「有『時間』」是意思是,有 variable(變數)的數值改變。

同一個 variable x,不同的「時間」,有不同的數值。

即是話,不同的數值對應於不同的「時間」。

例如,對於那個「銀行會計程式」來說,同一個戶口,結餘的不同數值,就為之不同的「時間」。

— Me@2010.04.11

2010.04.12 Monday (c) All rights reserved by ACHK

Romance (love)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by MPS (Talk | contribs) at 21:51, 17 May 2005. It may differ significantly from the current revision.

Revision as of 21:51, 17 May 2005 by MPS (Talk | contribs)
(diff) ← Previous revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.

Romantic love is a form of love that is often regarded as different from simply sexual love, or lust. Romantic love generally means both an emotional and sexual love, as opposed to Platonic love. There is more emphasis on the emotions than on the bodily pleasures.

Western society has historically emphasized romantic love far more than other cultures in which arranged marriages are the rule. However, the globalization of Western culture has spread Western ideas about love and romance.

Romantic love is the idealization of another person, and of a relationship with that person. Other ideas of love have been advanced by several philosophers and have been popular in different cultures.

Properties of romantic love purported by Western culture that might not appear elsewhere include:

  • It must take you by surprise
  • It cannot be controlled
  • It should be the basis for a lifelong commitment
  • It is the highest form of self-fulfillment

— The text is available under the terms of the GNU Free Documentation License.

— Me@2008.06.29

.

.

2010.04.12 Monday ACHK

Job: Joy

.

M: 我現在的生活,過得幾有意義。除了是收入過少之外,都沒有什麼缺點,因為很少人的工作生活,是令到身邊的人開心。

O: 你說得對。

M: 大部分人的工作,是令到身邊的人不開心 …

O: … 和令到自己不開心。

— Me@2010.04.10

.

.

.

2010.04.12 Monday copyright ACHK

Functional programming 4

Most programming languages describe computation in an imperative style, i.e., as a sequence of commands, although some languages, such as those that support functional programming or logic programming, use alternative forms of description.

— Wikipedia on Programming language

2010.04.11 Sunday ACHK

Meta 轉捩點

.

O: 你是我人生的轉捩點。

M: 其實,這是「互為轉捩點」。因為如果不是你說我是你人生的轉捩點,我都不會知道自己是轉捩點。「知道『自己是別人人生的轉捩點』」這一點,本身是我的轉捩點。

— Me@2010.04.10

.

.

.

2010.04.11 Sunday copyright ACHK

Pure Maths 2

Past papers 16

“Past papers” means “past HKCEE/HKAL examination papers”. The topic is for Hong Kong students who are facing HKCEE or HKAL. But the general principles can also be used for tackling other public examinations.

這段改篇自 2010 年 2 月 7 日的對話。

Pure Maths 所需的技巧,遠多過其他科目所需的技巧。所以,你要習慣把那些(由你歸納出來的)技巧寫下來。

「溫書」的大概意思是,要把原本的(例如)400 頁書,歸納成(例如)200 頁的筆記。

第二次「溫書」時,就溫那 200 頁。那時,你對該科的內容已經熟了一層。那 200 頁對你來說,不再會全部都重要。所以,你可以再把那 200 頁歸納成 100 頁。

第三次「溫書」時,就溫那 100 頁。再把那 100 頁歸納成 50 頁,如此類推。

對於其他科,這個技巧也適用。這個技巧的重點是,不要每次「溫書」,也重頭由第一課開始。明不明白我的意思?

(LWT: 不太明白 … )

或者我這樣問,你在高考前的幾日,每科有 30 課書,共有 5 科。哪你應該如何溫習,如何可以在幾日以內熟習那 150 課書的內容呢?難道又要由第一課,重頭開始溫一遍嗎?

(LWT: 做 past papers(歷屆試題)。)

past papers 的份量都有很多。例如,你在之前做了過往十年的 past papers,你在高考之前一天,你是不會有時間重新把那十年的 past papers 重新做一次的。哪你在高考之前一天,應該溫什麼呢?

(LWT: 溫「精讀筆記」?)

無錯。

哪那些「精讀筆記」從何而來呢?

(LWT: 從書局買回來?)

不行。那些「精讀筆記」應該是由自己製作的。如果由自己製作出來,印象會深刻好多。

我的意思是,由 400 頁歸納成 200 頁,由 200 頁歸納成 100 頁,如此類推。到了第三次溫習時,已經剩下 100 頁,原本的四分之一。不斷重複這個歸納的動作,幾次以後,考試前的一天,你會發覺只剩下 10 頁的「精讀筆記」…

(LWT: 哪我就溫那 10 頁筆記?)

是。

(LWT: 會不會不夠詳細呀?)

不會不夠詳細,因為 … 例如你由 400 頁的書,歸納成 200 頁的筆記,其實歸納了什麼呢?

一些(對你來說)新的東西 和 一些你有可能不記得的東西。而對於一些你無可能不記得的東西,則毋須歸納,毋須記錄在筆記中。

當你只記錄一些你有需要記得,而又有可能不記得的東西時,你就自然可以將原本 400 頁的課本,歸納成 200 頁的筆記。你第二次溫習時,就可以由那 200 頁的筆記開始歸納。

第二次和第一次會相隔(例如)三個月。那三個月中,你會在功課習作中不斷重複使用那些重要的課文、理論、公式 和 技巧。你以前有可能不記得的東西,現在已經純熟到無可能不記得。在第二次溫習時,你就可以從筆記中刪除了那些必定記得的東西。所以,你的筆記簿可以由 200 頁,化成 100 頁。

— Me@2010.04.09

2010.04.10 Saturday (c) All rights reserved by ACHK

SUSE Studio

SUSE Studio is an online open-source Linux creation tool by Novell, Inc.. Users can develop their own Linux OS, mainly choosing which applications they want on their “custom” Linux and how it looks. In addition, they can choose between Home and Enterprise bases, GNOME and KDE desktops, and a plethora of other features. You can create a fully functional system with Firefox, 3D graphics, and whatever apps you can find installed.

— Wikipedia on SUSE Studio

2010.04.10 Saturday ACHK

Functional programming 3

Widespread declarative domain specific languages like SQL and Lex/Yacc, use some elements of functional programming, especially in eschewing mutable values. Spreadsheets can also be viewed as functional programming languages.

— Wikipedia on Functional programming

2010.04.09 Friday ACHK

興趣

.

一個對什麼事都感興趣的人
常常注意人生旅程中的各種時機,
很少會錯過什麼。
即使在短暫的人生中,
也能掌握豐富的探索成果。

— Laurence Sterne

— Me@2000.05.12

.

.

.

2010.04.09 Friday ACHK

已婚單身

這段改編自 2009 年 12 月 01 日的對話。

.

Me: How are you today?

TYC: 為什麼寂寞的感覺會,隨時出現呢?

Me: 你不是有談戀愛嗎?還覺得寂寞?

TYC: 他的手提電話,給師長暫時沒收了。我現在找不到他。

Me: 真有趣… 你可以致電去,他家中的電話,或者用「即時通訊軟件」,去聯絡到他。

TYC: 我不會致電去,他家中的電話。他的電腦被他哥哥「鎖了」,禁止使用,所以我不能用電腦找到他。

Me: ???他真的很奇怪。

.

Me: 你們有沒有固定的,相見時間?

TYC: 有。一星期一次。

Me: 好。那就毋須擔心,亦毋須感到寂寞。

TYC: 但是,不知為什麼,我還是會有,寂寞的感覺。

Me: 讓我把真相,說給你聽。準備好未?

TYC: 好。

.

Me: 即使結了婚,大部人仍會,覺得很寂寞。

Me: 他們是「已婚單身」。

Me: 明白沒有?

TYC: 我是其中一個?

Me: 要不感寂寞,要思考層次,很高才可以。我現時只是,做到 60% 不寂寞。

Me: 我估計,如果我有女朋友的話,我可以做到 70% 不寂寞。

Me: 如果我有妻子的話,我可以做到 80% 不寂寞。

TYC: 為什麼呢?

TYC: 為什麼即使一個人,有了愛人,仍會覺得不滿足,仍會覺得寂寞呢?

Me: 我知道原因。

.

Me: 如果一個「愛人」,只是「生物愛人」,或「心理愛人」的話,那是不足夠的。

Me:「愛人」還應該是,「智力愛人」和「心靈愛人」…

Me: 他可以轉化你,你可以轉化他。

Me: 他可以擴展,你的精神世界。你可以開拓,他的心靈宇宙。

Me: etc.

Me: 太偉大了 …

TYC: … …

.

TYC: 人是不是真的,可以找到「那一個人」?

Me: 無保證。

Me: 對於人來說,要找到「那一個」,是一件「不可能」的任務。

Me: 所以,人需要神明的幫助,

TYC: …

Me: 才能找到「那一個」。

Me: 只有神明才能,完成「不可能」的事。

Me: 我們不能。

TYC: 好 …

— Me@2010.04.07

.

.

2010.04.08 Thursday (c) All rights reserved by ACHK

Lambda calculus

Functional programming has its roots in the lambda calculus, a formal system developed in the 1930s to investigate function definition, function application, and recursion. Many functional programming languages can be viewed as elaborations on the lambda calculus.

— Wikipedia on Functional programming

2010.04.08 Thursday ACHK

Functional programming

In computer science, functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. It emphasizes the application of functions, in contrast to the imperative programming style, which emphasizes changes in state.

— Wikipedia on Functional programming

2010.04.07 Wednesday ACHK

程式時間

多次元宇宙 9

程式員頭腦 7

時間定義 2

你要有寫程式的訓練,因為寫程式的訓練會令你多了很多「思考工具」。例如,我也估不到我在程式書中,閱讀到「時間」的定義。書中所描述的,只是在一個程式內「時間」的定義。但是,把「程式時間」引申開去,令我瞭解了「物理時間」的意思。

有一類 programming languages(程式語言),叫做「functional programming languages(函數程式語言)」。用 functional programming languages 所寫的程式,程式內是沒有「時間」的。

怎樣為之「程式內是沒有『時間』」呢?我們可以先倒轉來想:怎樣為之「程式內是有『時間』」呢?

如果一個程式是有 state(狀態)的,那就為之有「時間」。「有 state」的意思是,同一個 variable(變數),它的數值可以有變化。

例如,一個銀行會計程式有一個變數 x。 x 用來代表我的戶口結餘。所以,x 的數值會有變化。因為那個銀行會計程式儲存了 x,而 x 可以有變化,所以我們說,那個銀行會計程式有「時間」。

不同的 x 數值,就對應於那個程式的不同 state。例如:

程式 state 1, x = HK$ 100

程式 state 2, x = HK$ 200

程式 state 3, x = HK$ 170

程式 state 4, x = HK$ 251

程式 state 5, x = HK$ 350

— Me@2010.04.06

2010.04.06 Tuesday (c) All rights reserved by ACHK

Ninety-ninety rule

The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.

90% of the project accounts for the first 90% of the budget. The remaining 10% of the project accounts for the other 90% of the budget.

— Wikipedia on Ninety-ninety rule

2010.04.06 Tuesday ACHK