陶傑 – 大腦簡體

香港科大一名教授稱,香港人要「學習簡體字」,因為「本小利大」,懂簡體字後即可閱讀大陸出版物;第二是「掃除文盲」;第三,「簡體字」是全世界最多人使用的文字,不懂是你的老襯,教授越說越亢奮,大罵反對簡體字的人,是「去中國化」。

這位教授頭腦不清,與毛左糞青無異。多學一種「簡體字」,像這個「教授」說的,當做生意,當然沒有問題,正如十來歲的少年,學會越南、波斯、俄國三國的粗口,以備將來當海員,也一樣是收穫。但在鄰近地區,以簡體殲滅了正體,實行「簡體專政」,這就是問題。

簡體字「掃除文盲」,並無證據,掃除文盲的直接原因,是增加教師,多辦學校。沒有教師,你把一本簡體字的中文書本丟進一個猩猩籠子裏,猩猩拿起來,看足十年,猩猩還是文盲。即使少了文盲,但全民也一樣可以反智,塔利班不是文盲,都看得懂阿拉伯文的可蘭經。
Continue reading 陶傑 – 大腦簡體

Drupal 7 – Create Newsletter for specific role

Simplenews is a great module for newsletter feature in Drupal. You can find more info about it below.

 

QPon has been launched for more than a month but still not attractive to the shop owners in Hong Kong. Currently i have around 20 business users but only a few of them have uploaded their coupon. So i am thinking to create newsletter specific for them. This could be done easily by the Simplenews Roles module.
Continue reading Drupal 7 – Create Newsletter for specific role

哲學的教室2 讓人生更淡定的15堂課

作者: 小川仁志

期待的第二集真的出現了,今次比上集更貼近現代人忽略的東西,例如建構社會的共同體消費主義媒體、建立國家概念的社會契約等等。

我相信這些都是香港人忽略或完全不關心的東西,不,應該說這裡的生活文化並不會培養一個人去思考或關心這些看似無關痛癢的意題。

當社會上的人都不懂國家一詞的定義,你又如何去討論有關國家的議題呢?

  • 「學習」 by 蘇格拉底 Socrates/Sōkrátēs
  • 「共同體」 by 亞里士多德 Aristotle/Aristotélēs
  • 「我」 by 笛卡兒 René Descartes
  • 「思考」 by 巴斯卡 Blaise Pascal
  • 「經驗」 by 約翰.洛克 John Locke
  • 「整合意見」 by 盧梭 Jean-Jacques Rousseau
  • 「不安」 by 齊克果 Søren Aabye Kierkegaard
  • 「經濟」 by 亞當.史密斯 Adam Smith
  • 「語言」 by 維根斯坦 Ludwig Josef Johann Wittgenstein
  • 「潛意識」 by 佛洛伊德 Sigmund Freud
  • 「有用這件事」約翰.杜威 by John Dewey
  • 「消費」 by 尚.布希亞 Jean Baudrillard
  • 「媒體」 by 馬歇爾.麥克魯漢 Marschall McLuhan
  • 「人生」 by 雅克.德希達 Jacques Derrida
  • 「哲學」 by 小川仁志 Ogawa Hitoshi

Drupal 7 – Field Permissions for Node Title

Previously we talked about how to set the Field Permissions on role level.
Drupal 7 – Set field permission by role using Field Permissions

As i have mentioned, it does not work for the default node title field. One solution is to hide the node title field and set it automatically. This could be achieved by the Automatic Nodetitles.

1. Install the module.

Continue reading Drupal 7 – Field Permissions for Node Title

QPon – Made by Coupon

Made by Coupon
QPon is an online coupon platform for both shop owners and customers. The motivation of this project is to provide a free platform for the shop owners to promote their brand and products by offering discounts to customers. On the other hand, customers could find what they need in QPon.

One of the main feature which differentiate QPon from other typical coupon websites is the presentation. On the homepage, you could find many coupons flowing in a pool. Here, we name the coupon as QPon. The size of the QPon depends on the redemption ratio. The more people redeem it, the bigger it is until it meets the redemption quota and every QPon has equal probability could be viewed by the potential customers.

Continue reading QPon – Made by Coupon

Greek Mythology

2008年在Sounion買的書,現在才把它看完,最近比較空閒呢。 =D

希臘神話的流傳除了依靠幾本史詩如荷馬(Homer)《伊利亞德》《Iliad》《奧德賽》《Odyssey》赫西俄德(Hesiod)《工作與時日》《Works and Days》《神譜》《Theogony》之外,其餘的都是靠希臘人口述傳承。

這本書整合了各方面的資料,將希臘神話的世界觀勾劃出來,由天地初開到各英雄的事績,特別是Theseus與Herakles的歷險,另外亦有包括那些名不經傳的人物,在書中都可以找到有關他們的故事,再配合古希臘的考古文物圖片,所有神話迷都不可錯過。

Drupal 7 – Customize the exposed filter selection list

Yesterday we have talked about how to use selection list for selecting Entity reference in Views exposed filter.
Drupal 7 – Selection list for Entity reference in Views exposed filter

Now i want to have more control on the selection list. For example, i have a content type called competition and i want to limit the number of options in the Entity reference selection list. In this case, we have to create a custom module and alter the views_exposed_form.
Continue reading Drupal 7 – Customize the exposed filter selection list

Drupal 7 – Selection list for Entity reference in Views exposed filter

When you want to set an Entity reference field in Views exposed filter, it only allows free text input filter. But i want to have a selection list instead of a free text input.

Just simply go to the field setting page @ admin/structure/types/manage/<content-type>/fields/<field-name> and check the Render Views filters as select list option. Continue reading Drupal 7 – Selection list for Entity reference in Views exposed filter

Dream BIG and go for it =)