Keeping secrets as a system administrator

There are two sorts of secrets in the world: known secrets and unknownsecrets.

A known secret is something that people already know exists; forexample, your root password is a known secret. Keeping a known secretis simple: you just don't tell people your root password. You haveto guard known secrets against inadvertent disclosure (it's alwaysembarrassing to type your root password into the wrong window), butthat's mostly it.

(I am ignoring the possibility of deliberate attacks against the


三月蘋果

《給 身 體 髮 膚 的 信》

親 愛 的 身 體 髮 膚 :

你 們 好 嗎 ? 抱 歉 這 麼 遲 才 寫 信 給 你 們 , 對 不 起 。 現 在 才 來 跟 你 們 說 聲 「 對 不 起 」 , 是 否 太 遲 了 ? 你 們 可 會 原 諒 我 ? 七 年 前 仍 是 學 生 的 我 , 開 始 浪 擲 每 天 的 二 十 四 小 時 , 急 不 及 待 消 耗 健 康 青 春

版本號的意思

近年很多東西都用版本號,尤以 2.0 為甚,意味新一代劃時代的感覺。

EVA 的新劇場版也用版本號:《Evangelion 1.0 You are (not) alone》,我也以為是一種「重新再來」的意思,加上趕趕潮流用版本號。而且「序」篇為第一集,用 1.0


別了,IPO!

別了,IPO!

我們一大班人已經在printer廝殺了整整三天,卻依然無法為這單IPO的招股書定稿。首先是那些令人髮指的會計師,早前還拍心口保證能在限期前將過去三年的財務報表定稿,豈料到了printer才改來改去!此外還有那些可惡的bankers

Docstrings versus comments in my code

One of the great not quite arguments in the Python world is betweendocstrings and comments, specifically which one you should use inyour code. My answer is that I use both, although more comments thandocstrings, but I use them for different things.

My comments are primarily written as internal documentation; how afunction operates, why it operates that way, the high level logic andstructure of the code, and so on. Docstrings, when I write them, areexternal documentation, covering things like how to use


《玩十誡》(The Ten)


《玩十誡》(The Ten) , 顧名思義就是玩轉十誡.

誇張是影片的表達手法, why not? 就是影片的主旨.《玩十誡》過癮之處不只是將《十誡》規條顛倒, 將人類視為醜惡或美麗的事情, 以不同角度再看一次, 加上一群明星演員豁出去

Tradeoffs in where you store volume management metadata

One of the divisions between different logical volume systems is whereand how they store the metadata about what logical volumes exist andwhat they're made up of. Roughly speaking there are two choices:'in-band', where you store the metadata in a reserved area of some ofthe disk space you're managing, and 'out-of-band', where you store itoutside. In-band storage is used by Linux software RAID and LVM; out ofband storage is used by Solaris


Mathematics

In his elegant book All I Really Need to Know I Learned in Kindergarten , Robert Fulghum teaches us many golden rules that we can extrapolate into the sophisticated adult world. Very true. Another way to appreciate his wisdom is to see how the subsequent teachings after our kindergarten can be remarkably wrong.

As we move on from the kindergarten to elementary school through graduate school, we learn the mathematics. We were taught that "one plus two equals three" and then "minus one plus one balances out each other." Simple

The stages of Bittorrent encryption

Recently it's been mentioned in the news that versions of BitTorrent have gotten more encryption. Because thissort of thing interests me (partly due to my long standing interest in BitTorrent), I'vedecided to summarize the various current sorts of BitTorrent encryption.

BitTorrent encryption efforts have been designed to hide BitTorrent, sothey have acted to make it less recognizable .

Traffic shapers started out recognizing (and choking) the distinctclient to client communication, so people obfuscated and encryptedit. A unique session key is arranged


小玩意



“我們真的要結婚嗎?”

“女孩子三十歲之前就要生孩子,過了二十五歲,她的容顏,她的子宮,她身體的其他功能,都會開始退化,那樣對下一代不好。”

有一種女孩子,是按周詳的計劃跟男朋友交往的,永遠會為伴侶設定

Continue reading...