對 Javascript 的誤解

Javascript 是用在瀏覽器的 Scripting language ,很多 Programmer 都認為 Javascript 並不是一種嚴謹的 Language ,因為可以寫得很隨意,沒有太的限制,語法彈性很大。而事實上,大家最常用/寫的 Javascript 其實都是一些 Event driven 的功能,在 onclick, onblur 加上相對的 Javascript function。也有人認為, Javascript 根本不


Reconsidering network authentication delays

If you use ssh to connect to a machine and mistype your password,you'll probably have to sit through a couple of seconds of delaybefore you can try again. In theory this delay is supposed to slowdown large-scale password guessing attempts. In practice it'spointless, as anyone who is getting mass-ssh-probed can attest.

Delaying after failed login attempts started in the world of physicalterminals, where it works because the supply of physical terminals youcan try to log in on is


我是最漂亮的X'mas Cake

各位關心我的朋友:

心情其實已平伏下來,當然,有時候會泛起漣漪。

經過那樣的奇遇,經過那樣透徹的指點,把我的往事我的私密一幕幕打開,才明白有些事情的確不應勉強,也用不著認真。

在25歲生日前,我的時間都會拿

魔剎 Monster

monstertv 今朝早離開門口之前,見電視在賣一套叫做《魔剎》的動畫廣告,看一下原來就是浦澤直樹的的《怪物 Monster》的動畫版本,將會在 TVB 播放

我沒有看過動畫的版本,不過原著漫畫卻是全都有看。我還記得當年《Monster》第一期帶給我的


嘉年華之形態

馬傑偉的兩論七一 ,其實亦非意外之事。如果對此有慨嘆,也不過因為人到中年物傷其類。作為中年女孩,我不免透過他人來決定自己,即沒有馬傑偉便沒有我的論述動力。

馬傑偉的想法觸及一個相當顯眼的問題,即我們參與七

熱烈歡迎



Originally uploaded by chi_hung .


又o黎廣告時間

熱烈歡迎香港迪士尼樂園開幕哦 (um....)
熱烈歡迎
Disney Hunter 獵奇行動 .... (哇!哇!哇!)


King Kong 預告片出來了

kingkong

由《魔戒》三部曲導演 Peter Jackson 所執導的新版《 King Kong 》的首支 預告片 已出來了,由現在的持技效果,所做出來的 King Kong 當然更加迫真,而且還有不少激烈的野獸大戰。在預告片中看到有不少恐龍,他們是不是到了 Site B?

除了迫真的大猩


Scripting and automation capture knowledge

NewsForge has been running a series ofarticles by Brian Warshawsky on the 'Ten Commandments of systemadministration'. His tenth commandment is 'Thou shalt not waste timedoing repetitive and mundane tasks' (article here ,with links to the other nine), where he tells people to automate suchtasks through shell scripts.

There's a number of good reasons to follow this advice; for a start,writing shell scripts is probably less boring than doing these mundanetasks over and over. But there's a slightly


一件小事報告

Date Time: 2005 年 6 月 27 日 Place: 旺角星際城市尚書房 People: 我、女友、店主、一些客人 Detail:

晚上吃完飯,想起不如逛逛簡體書店,就上了星際的尚書房看。

起初在雜誌的欄看了好一陣子,與女友有講有笑。其中翻到了一些笑話,


Dangerously over-broad error catching

One of the stock pieces of advice about writing Python code is thatbasic error checks should be handled by catching the exception thattrying to do the operation generates, instead of through explicitchecks beforehand. For example, if you are getting the value for a keyfrom a dictionary (what some other languages call a hash), you don'tbother checking to see if the key is in the dictionary beforehand; youjust try to get the value.

This code might be written like this (especially in examples)