你眼中的我
《寂寞人》
淡妝的杏臉,呷著一口又一口散滿鹽花的margarita,她的容顏帶點悲憫,畢竟她是個寂寞人。
這張臉,雖不至於令人暗暗驚呼,亦至少會讓你稍作停留
Solving an automounter timeout problem with brute force
Our central mail machine runs various cron jobs as part of its work.Starting recently, every now and then a cron job (or a command run outof an alias) would randomly die with an error like:
sh: /cs/foo/adm/script: cannot execute
(Where /cs/foo is NFS mounted through the automounter, and the cronentry just runs that script.)
I am pretty sure that this is a gift from the Solaris 8 automounter.
Our central mail machine is pretty old
醫院記
今早卻已入了急症室,
待在觀察病房內。
這該是一個驗證真心和誠意的機會,
但何必試煉別人呢?
所以,
當醫生要求繼續留院觀察,
我只能說:「不。」
又病倒,離x譜!
What I really want from an automounter
As peculiar as it sounds, I don't like the automatic mounting andunmounting of NFS filesystems. I don't have unreliable NFS fileserversand I don't like the various side effects of not having everythingmounted; pretty much the only thing it seems good for is making oursystems slower and more fragile.
However, one thing that the automounter is good for is maintaininga nice, organized list of NFS mounts in a format that can be easilydistributed around without problems, and even automatically gettingit right
I love You All
請原諒我這慵懶的女人。
到了今天,才發現不曾對關心我的網友們,說一聲多謝。
今天晚上,朋友說看到她的同事瀏覽我這個行李篋;自己也曾在機場巴士車廂中,一邊化妝一邊聽著後座乘客討論我的blog。
嗯... ..
Another issue with C's volatile
I think that part of the issue with volatile is that it can beused for at least three different things:
- stuff that can change behind the compiler's back (eg flags set ina signal handler), where mostly you need the compiler to not cachevalues loaded from
volatilevariables. - hardware registers, where reads and writes have side effects, soyou need the compiler to do all loads, even apparently pointlessones (as John Mashey and MIPS found out in the early ages ofoptimizing compilers being used on
帶凳的觀眾
第一招: 天星、皇后、大會堂建築群導賞團
一月十一日﹝星期四﹞日間、時間待定。
帶團人:葉蔭聰﹝他說上次預備得唔好,呢幾日特登潛去台灣秘密練兵,大家拭目以待﹞
第二招: 讀城市的書:「 城
扮成回顧殺時間
Fixing up .rpmnew files
For some reason, rpm in Fedora Core 6 (and I believe Fedora Core 5 too)has become overly twitchy about replacing configuration files; a lot ofthe time it will write .rpmnew files instead of just replacing the oldversion of the file even if the old file is unchanged and the new andthe old file are completely identical.
While I think this is multiarch stuff in action, I still have toclean it up every so often. I use a little scriptlet for this,usually typed at the command