Programming blindness and security

Here is a thought and a theory that has recently struck me.

One reason that writing secure programs is hard is because programmershave a kind of blindness about our own code. Instead of seeing the codeas it really is, we tend to see the code as we imagine it in our heads,and as a result we see what we wrote it to do, not what it actuallydoes.

(This is not usually a literal blindness, although we can do that too,but a disconnect between what the the


廣州一年級學生說出“我的志願”

轉載自《 東南西北 》網站
https://www.zonaeuropa.com/200909a.brief.htm#003


“你长大了想做什么?”

“想做官。”

“做什么样的官呢?”

“做……贪官,因为贪官有很多东西。”


Environment variables make bad switches

Someday you may be faced with a deprecation situation where you need to add a compatibilityswitch to your program. When in this situation it may be tempting toresort to controlling things with an environment variable, instead ofgiving your program yet another command line option.

(The problem with using command line options is that they add clutter,complexity, or both to your documentation, including any usage stuffthat the program prints.)

Unfortunately this is not a good way to add such switches to yourprogram, especially compatibility switches


爭氣再爭氣-尉東君


爭氣再爭氣-梁鳳曉


想法一致

轉載自《 蘋果日報

李碧華

傳媒踢爆幾位藝人婚訊,原來早已秘密註冊了。於是各界人士尤其 fans都不滿他們「說謊」,表現激動的還哭訴被騙,大表失望。
當事人有顧左右言他、不回應、身邊人封嘴,也有公開道歉,用上「違諾


請別放棄


“今屆立法會選舉,你會唔會去投票?”

“唔會。”

“點解唔會?這是盡公民義務啊!”

“投咗又點,有用咩?就算要去盡公民責任,我最多都係去投白票,投白票都係一種態度呀!”

以上的對話,可能你也不感到陌生,不投票

新Monday專欄 - 接機7件事/我的梳妝檯

From for blog



Continue reading...

爭氣再爭氣-吳文源


爭氣再爭氣-朱焯信