2009-07-04

嚴重抗議香港郵政之通函郵寄服務

香港郵政為了增加收入,發明了所謂《通函郵寄服務》,即發件者不用個別地址,便可濫發郵件,將無用的宣傳郵件放在我的信箱內。

我家大廈有保安員,普通人士不能隨便將宣傳品放在住宅信箱,但郵差叔叔就出入無阻。

我曾向香港郵政投訴,要求不要再接收所有的通函郵寄件,但不獲受理!

最近發覺香港郵政派發的通函郵寄件,都有一些要用放大鏡才可看到的所謂「不收取通函」聲明,註明如不欲繼續收取本機構發出的通函,請把你的地址郵寄xxxx(即個別商戶的通訊地址)。

哪有住戶那麼有心,一個一個商戶的通知,還要自己出個幾郵費,香港郵政又可漁人得利!

香港郵政自己不做把關工作,不尊重市民的權利,只將自己部門的收入放在最重要的位置。

強烈要求香港郵政懸崖勒馬,給我卑微的信箱一個喘息的機會,給地球一個減少廢紙的機會!

2009-06-20

涼宮春日的憂鬱 之 人擇原理

聽同事講TVB J2的《涼宮春日的憂鬱》卡通片(見維基百科有關涼宮春日系列的介紹),由於深夜才播,故錄了6月12日凡的第13集(J2內容簡介)看看。

一看就嚇親,內容居然講人擇原理維基)!

簡單來說,人擇原理是講宇宙是現在的樣子,是由於人類的觀察。因為人類(觀察者)的智慧,才確定了宇宙的存在!

卡通片繼續講有關重成常數、粒子質量和物理法質的概念。

自問第一次接觸有關Anthropic Principle概念時是n年前閱讀 Stephen Hawking 的普及讀物 "A Brief History Of Time",現在局然在卡通片看到,這簡直不是一套普通的卡通片!

再做少少googling,原來已有很多人講此話題,如 陳信一的世界 自神論與涼宮春日

2009-06-19

人類豬型流感之細菌與病毒

近來人類豬型流感(所謂2009美洲H1N1)在世界各地漫延,而本港各機構也廣為宣傳叫市民注意公共衛生。

但令我最感奇怪的,就是聽到那句「預防細菌散播」。

我甚至聽到有醫護人員在人類豬型流感新聞訪問中用細菌來形容H1N1病毒!

中學程度上也應該知道細菌和病毒跟本不同!

隨便Google也可找到n篇文章講其分別,如:細菌與病毒有何區別?

香港的衛生水平仍停留在1比99和口罩的水平!

2009年6月25日後補:

在茶房發覺連洗手液也是這樣混淆不清!

2009-05-26

VB Script to Switch Proxy Server

I need to switch proxy server frequently. For Firefox, there is a handy add-on called FoxyProxy. However, for Internet Explorer, I have resorted to write a VB script called switch_proxy.vbs and put it on a convenient point (either at Start menu or on Desktop)

After clicking it, the following selection menu will pop up:

For instance, if option 1 is selected, then the acknowledgment dialogue will display to confirm the new setting:

On the other hand, if option 0 to disable the proxy setting, the following dialogue will be shown:

The source code is pasted as follows:



Rem Change the following entries to suit you name
ProxyName1 = "Proxy Server 1"
ProxyServer1 = "proxy.server1.com"
ProxyPort1 = "8080"
ProxyName2 = "Proxy Server 2"
ProxyServer2 = "proxy.server2.com"
ProxyPort2 = "8080"


Const HKEY_CURRENT_USER = &H80000001
strComputer = "."

Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"

strValueName = "ProxyEnable"
objRegistry.GetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue
IntProxy = strValue

strValueName = "ProxyServer"
objRegistry.GetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue
StrProxy = strValue

dim usr_input
usr_input=InputBox("Current ProxyEnable = " & IntProxy & chr(13) & chr(13) & _
"Current Proxy Server = " & StrProxy & chr(13) & chr(13) & _
"Enter New Choice :" & chr(13) & chr(13) & _
"0 : Disable Proxy" & chr(13) & _
"1 : " & ProxyName1 & chr(13) & _
"2 : " & ProxyName2 , _
"Proxy Management")

if usr_input = "" then WScript.Quit

Select Case usr_input
Case "0"
strValueName = "ProxyEnable"
dwValue = 0
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue

Case "1"
strValueName = "ProxyEnable"
dwValue = 1
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue

strValueName = "ProxyServer"
strValue = ProxyServer1 & ":" & ProxyPort1
objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue

Case "2"
strValueName = "ProxyEnable"
dwValue = 1
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue

strValueName = "ProxyServer"
strValue = ProxyServer2 & ":" & ProxyPort2
objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue
End Select

strValueName = "ProxyEnable"
objRegistry.GetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue
IntProxy = strValue

strValueName = "ProxyServer"
objRegistry.GetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue
StrProxy = strValue

MsgBox "ProxyEnable = " & IntProxy & chr(13) & chr(13) & "Proxy Server = " & StrProxy, ,"New Proxy Settings"



You can change the first few lines of sources to reflect your requirement.

2009-05-16

命定論

又是另一嚴肅的題目!

事緣近來在明珠台再看星球大戰(By the way,我不喜歡電視台跟電影上映的次序,即Episode 4,5,6,1,2,3,來播出,所以我錄影後再跟原情節time-line看Episodes 1-6),常常聽到的一句話:This is your destiny!

的確,近來觀察身邊人,他們的行為都是某程度上受到其性格和天生的優缺點影響,尤其是年紀越大便更明顯。

佛家有講的「習氣」,現代也講基因影響行為。

年少時,覺得甚麼也可改變,所謂「命運在我手」,現在年紀大了,覺得世界在變,反而要自己變是最困難的!

自從牛頓的機械宇宙論發展到量子力學,其中的Uncertainty Principle最教我迷思,我們只可以用Probability Density Function來描述宇宙,但是當中的Randomness有多random?

數學或電腦學中,我們只有pseudo random number generator。

佛家講無常。

或者,是不是人生的過程就是體驗sigma (standard deviation)趨向zero?

2009-04-12

另類中文輸入法

我愈來愈相信我有中文書寫障礙,因為要我寫(或用電腦打)中文時常常忘記個字形(只得個字音在腦中蕩盪來盪去),但閱讀就沒有問題。

另一方面,由此英文是拼音,我英文spelling也沒有問題,所以以前我曾有英漢字典來找出我想寫的中文字,真有點諷刺!

其實中文輸入法有廣東話輸入法,但是最大的門題是:除常用的姓名外,我發%稅有多字我都不識其廣東話拼音。例如不知「賺」是"jaan"等。

後來,在網上download了廣東話輸入法的dictionary,不過我沒有安裝,反而我將它轉成html而在browser內search!方法如下:

  • 如果我知道廣東話拼音是"hung",我可直接search到「空」、「 雄」、「 紅」、「 控」等。

  • 如果我不知道廣東話拼音但記得另一同音字,如我忘記「賺」,但記得「讚」,我也可用 「讚」來search

有興趣的朋友可參考!網址如下

2009-03-03

Internet - a world without friction

When I study physics in my junior secondary years, my teacher asked me what the world would be without friction. While I was told that friction causes energy loss and reduced the efficiency of the systems, I was also aware that friction has also a place in the world to make us live better - when we saw the cars skied on an icy road!

At the time, I have made an internal conclusion - friction is good so long that it is not too strong. I draw an analogy with inflation, which most of us thinks it is good if it is, say, below 3%

When internet grows more popular, I find this "second world" is a world without friction. We can use copy-and-paste to replicate information, instead of photo-copying or hand jotting. We can search information by googling instead of browsing the catalogue in the library. We can send mails to friends and they can nearly instantly receive them instead of waiting for days as in the normal postal paper mail.

However, in a recent news report, I heard parents complaining about their lack of control on their kids how they use internets. The parents urge the government to take a more active role to make the internet "safer" to use.

While I have no kids and cannot comment on the difficulties of a parent, I try to view the problem in an alternative way.

The root problem is that in this world, there are bad guys. In a world with friction, there are hurdles for bad guys to contact us or vice versa (actually the hurdle also applies to good guys). Worst still, with the anonymity in internet, we cannot easily identify whether a guy is good or bad.

I try to draw another example. If a bad guy wants to fool somebody in the non-internet world by saying he/she is a banker, he/she may have to waste some effort to set up a fake office with a XXX bank logo. Because of relatively higher setup cost (friction), the bad guy will not make it easily unless the target fraud is a much higher amount of money!

On the other hand, in the world of internet, setting up a fake bank web site is much easier and cannot be easily trapped. Therefore the bad guys will easily spread the net to trap some innocent victims.

I consider this is just a problem of awareness. For instance, even in a phone call, we should not tell a caller our personal details, even though he/she is indeed from a famous (but foolish) university conducting a survey.

When one speaks loudly in the public transport on a phone call about his/her personal life, phone number, address etc, please do not say the pubic transport has not protected his/her privacy!

2009-02-26

我撐馮禮慈:不要消費

看2009年2月19日第248期【溫暖人間】,馮禮慈在《一望無際》講「救市……不要消費」。

他擔心在主流媒體這樣講會被罵到狗血淋頭,覺得【溫暖人間】的讀者想法會比較接近。

無錯!我十足同意馮禮慈的見解。

自從西方凱恩斯理論流行,(其實中國的保8的現在政策也不是一樣?)政府的有形之手被期望成救世主,但其實效果如何?(君不見日本經濟衰了多年?)

我覺得這好比我們感冒就去看西醫叫他開抗生素!而不會自行休息休息,以致身體缺乏抵抗力決越來越差。

人倒容易將問題外圍化而忽略自身的問題!

2009-01-31

馬多夫騙案與生育

知道外國有龐大的種金式的金融騙案【馬多夫騙案】爆煲,其實自己一直以為更大的案例就是社會保障系統,不過覺得無o麥人講,終於看許沂光才知香樹輝也發表同題的評論(連結


由於有名人出聲,也不用再多題。今次論生育。

生活了幾十年,自問還未了解生命的意義,所以對生育問題也是不了了知。聽過有父母講育兒的過程就可發現生命的意義,大概是繁衍論人云云,但講不到具體內容,只是說感受其中過程就可體驗,好似好宗教性,甚至像引誘人嘗試吸第一毒一樣!

最不恥的就是聽過有父母講育兒的目的就是以便自己老來可以有仔養,所謂「養兒防老」,這不何嘗不是另一種馬多夫騙案?

其實也想談談馬多夫騙案與婚姻,不過想來想去,還是覺得用錢鍾書的【圍城】比較貼切!

2008-09-21

Level of Excellence



這是我喜歡的一幅圖畫,是從財富雜誌2006年10月剪下來,它描述了不同層次的能力。

一般來講,是用四分法,可分為:

財富今次最有趣是加了兩項:
- 知道自己醒
- 知道自己醒(然後跌落河,重新開始過!)

大家共勉。