Making user home directories on a stock Solaris machine

I was charmed to recently discover that Solaris 10 still hasn't fixedthat useradd issue I saw with Solaris 9 .For my future reference, since I am likely to wind up doing this a lot,here is how I add users on Solaris 10; this may or may not be theofficially approved way to work around the useradd issue.

  1. useradd -c Whatever
  2. mkdir /export/home/
  3. chown /export/home/

    (This may


    An irony of conditional GET for dynamic websites

    Ironically, dynamic websites are the least served by HTTP conditionalGET , because by the time they've worked outwhether or not a page's content is the same as what you've already got,they may well have generated the entire content. As a result, the onlything conditional GET really gets many dynamic websites is bandwidthsavings, which may go some way to explaining why many dynamic frameworksdon't have very good support for it.

    (The same is true for HTTP HEAD requests, generally


    電話歇斯底里

    已經試過很多次,在電話響起之前驀地驚醒,心悸氣喘再睡不著,然後一秒之後,床邊的電話才響起來。手提如是固網如是,有時連隔著一堵牆,都如是,我想是我自己腦電波的問題。然而我是任何時候都會聽電話的,本來——

    明報meanwhile.斑駁日常.四五六

    搬家這種主題本來應該是寫成長篇散文或者詩的,但現在成了專欄,還寫得出別的來嗎?


    1. 整理與丟棄

    遷徙涉及整理與丟棄。整理與丟棄都建基於「其後」。時間過去了,某些剩餘物自原本的框架中剝落,要被鑲嵌到入新的框

    Users are almost always right

    One of the rules of system design ought to be this:

    When the users keep doing it wrong, the users are right and yoursystem is wrong.

    I don't mean this in the sense that accommodating users is the rightthing to do; I mean this in a very pragmatic sense. If the users keepmaking some error, changing their behavior is going to be very difficultand therefor costly. (In a fight between user inertia and anything else,bet on user inertia.)

    This means that changing


    網吧的禁煙人生(難過的一次過)

    1. 文明單位: 關於今次所謂選舉
    嘉賓:馬嶽

    2. 文明單位: 遊行文化
    嘉賓:長毛、葉寶琳

    3.
    (文章刊於上星期日明報,這是一個比較多廢話的版本。)

    一個業餘觀眾的失敗筆記


    記得在大學時代,看到一位影評人在學生報的訪

    這是一個無夢的城市


    星爺講過:“人無夢,同條鹹魚有咩分別?”環顧澳門大街小巷,究竟有幾多個是人?幾多個是鹹魚?我們當然理解什麼叫“美國夢”、“香港夢”,甚至“中國夢”。把夢想寄託於某個地方,並且相信這個地方不會辜負人,憑

    英文問題

    在書店看到,給大家玩玩,以下英語有甚麼特別?

    • past experience
    • free gift
    • close proximity
    • empty space
    • frozen ice
    • multiple choice
    • unexpected surprise
    • armed gunman

    應該不難看出吧!


    搶攻離線運作之地

    FineTune (Apollo 的應用之一 FineTune,使用感覺良好,可是好像沒得設定代理?)

    現在很多新的 Web 2.0 服務出現,令我們的生活更貼近網絡世界。通過 Ajax 技術,網絡的服務表現得更像桌面軟件,我們也開始對這些新式 Ajax 應用漸漸熟識。不過用得


    我被點名了

    這兩天雜事多,沒有心情寫新東西,學生點我名要答問題,咁有我心,當然盡力完成,遊戲是年輕人玩的,我老皮老骨,已經不會有心跳的感覺,但願我的答案不會太悶蛋吧!

    遊戲介紹:這是博客裏流行的擊鼓傳花遊戲,傳給誰