陶傑 – 香港癌

香港自從主權移交,十三年敗政,三歲小童都看得出來,所謂「港人治港」,事實證明一切,是不行的,特區政府管治大崩潰。
 

大浪西灣挖土破壞自然,八達通出賣兩百多萬香港人的貼身資料,西區隧道來回加到九十元,一個窩囊廢的小政權,只顧自己給自己的高官制訂高薪,一點辦法也沒有。 Continue reading 陶傑 – 香港癌

吳志森 – 功能組別為何惹人討厭?

這個問題不少人已經談過,論點也早已耳熟能詳。功能組別佔着立法會一半席位,對法律和政策,起着決定性作用,功能組別一天還存在,其罄竹難書的惡行,一天都不會停止。
 

中華廠商聯合會借訪京機會,向中共政治局常委、全國政協主席賈慶林告御狀,指功能組別在立法會的存在價值,包括可以平衡議會,功能組別的貢獻和功用,直選不能取代。並向賈慶林表明,功能組別可以優化,沒有必要取消。 Continue reading 吳志森 – 功能組別為何惹人討厭?

陳雲 – 民主就是不包容

於選舉制度而言,民主是公開爭逐的場所。政黨可以轉型,政客可以轉軚,但必須自己承擔責任,向不向選民交代因由,悉隨尊便,但不可叫選民「包容」其轉軚,或散播語言迷霧,用文辭蒙蔽民智,說民主制度的精神就是包容。
 

只有暴君或昏君才會叫人民包容。民主制度,正正就是不包容。否則民主制度與封建帝制何異?選民在盤算之後,會用選票懲罰變節的政黨或議員的。有時即使領袖有功於社稷,但由於時代不同,民眾也一樣用投票趕領袖下台。二次大戰時期,英國首相邱吉爾縱橫捭闔,言辭激昂,但戰後的和平時代,邱吉爾的功用過去了,英國選民便用選票轟他下台,避免他成為有執政期限的暴君。精於權謀韜略與密室政治的領袖,戰時或可衛國,和平時期則禍國殃民。 Continue reading 陳雲 – 民主就是不包容

Java – Connect Windows Active Directory Through LDAP @ 1

The Java Naming and Directory Interface (JNDI) is the standard Java API for multiple naming and directory services such as Lightweight Directory Access Protocol (LDAP).

Active Directory is a group of network services like account authentication and it supports LDAP. Therefore, you can write a Java program using JNDI in order to obtain the account credentials in the Active Directory of a Windows Server. Here comes the example. Continue reading Java – Connect Windows Active Directory Through LDAP @ 1

iPod Touch – Check if Camera is Available

Previously my first iPhone Application was rejected by Apple App Store. That application has a feature which allow users to take a photo or select an existing photo in the gallery.

As iPod Touch does not have a camera, the application crashes when user decide to take a photo. That’s why App Store rejected it.

So i have to check if the camera of the device is available. The following piece of code can do. Continue reading iPod Touch – Check if Camera is Available

Dream BIG and go for it =)