The sysadmin's life (again)
I made a bugfix to our mail server's configuration today.
Size of the bugfix: 25 characters added to an existing line.
Size of the comment sort of explaining why the bugfix is necessary: sixlines.
(And a complete discussion of the issue would be much longer.)
Of course, this is not unique to system administration; programmingalso has that sort of bugfixes. I think system administration may bemore prone to it, because so few of our tools, especially the ones with complicated logic
Linux's IP forwarding settings summarized
Unlike many Unixes, Linux determines whether or not it does IPforwarding on an interface by interface basis, based on interface thepacket arrived on . While Linux has a global IP forwarding sysctl, net.ipv4.ip_forward , pretty much all this really does is (re)set thevalue for all of the interfaces and make it the default; you can stillchange individual interfaces later.
The fine controls are in /proc/sys/net/ipv4/conf/ , where thingsgo like
因接近死亡而潦草
前幾天在某處看到那些短文拼在一起,組成一個可以連接地讀下去的檔案界面,那些我已經為之傾倒過的文字,我一面滾動浮標,一
我好depressed
我好depressed,因為今晚要飛。
我好depressed,因為減肥尚未成功。
我好depressed,因為就o黎姨媽到。
我好depressed,因為我想轉工。
我好depressed,因為天水圍凍到仆街。
我好depressed,因為尋晚俾左家用。
我好depressed,因為媽媽搶左我新買既Kate Spade。
我好depressed,因為想買
廣告兩則
An annoyance in Python's attribute access rules
When looking up names on objects, I really wishthat Python had a special attribute accessor for looking upattributes it was about to call, instead of only running them throughthe regular attribute lookup chain.
While this uniformity probably has little effects on mostcode, it complicates the life of things such as proxy objects thattrace and monitor access to objects, which sometimes want to behavedifferently for ' var = you.foo ' than for ' var = you.foo() '. You canfake this by returning
笑傲江湖
過去一個星期,我又在讀 笑傲江湖 .
這本小說,已讀了超過十次,每次重讀,都可以投入,都覺得好看,都有得著,真是百看不厭.
年輕時讀此書,喜歡其故事引人入勝,人物精彩.成年之後再讀,喜歡小說家對政治的影射,還
禮物關係
嘉賓:許寶強
禮物是經濟與政治的形式,但用傷他悶透的文學語言來說,我總覺得《禮物》裡面滲滿了自尊心。談到禮物其實是關係的確認、受禮者其實沒有拒絕禮物的自由時,我突然明白我為什麼曾經那麼生氣