Why I hate the Solaris 10 version of /bin/sh
Every so often I discover some exceptional piece of braindamage inSolaris. Here is one of them, presented in handy illustrated form:
$ cat cdtest#!/bin/shcd /not/there || echo failedecho got here$ sh cdtest./cdtest: /not/there: does not exist
(No other output is produced.)
Oh yes, Solaris. Killing my script when a cd fails is just whatI want you to do, especially when this behavior is undocumented andcannot be turned
蕭灑
Do we have a choice?
Talking about Inception, recently I has quite a strong idea ruminating in my mind.
In the past, I used to consider determinism as something naive, but these days when I read more on neuroendocrinology, I started to see how our thinking, emotions and judgement are easily explainable by the minute shoot of neurotransmitters/ hormones. If so, every tiny choice we made in life can simply be attributed to a reflex physiological response.
This may sound simple, but if its true and the whole world accept it, think about
聖人
Another reason to hate $LANG and locales on Unix
Sometimes I'm slow; only recently did it occur to me how the $LANG sort misfeature and GNU comm's misfeature combine in an orgy of annoyance in a heterogenousenvironment.
Suppose that you have systems that changed their default localebetween operating system versions. As part of routine processing , you use comm to get the difference betweensomething on the local system and a global list. Well, oops. Even if youcarefully use sort on both versions, you are going to have problems.
As we saw earlier
德州撲克之夜
窒息
Mamiya 645 pro tl+mamiya 80 1.9+樂凱100黑白
上次上廣州和狄少買了不少菲林,樂凱是中國的一個菲林品牌,英文名lucky。
手上的這卷是120的黑白片,一回來就急不及待地放入了mamiya 645 pro tl入面試機,試機鏡頭是mamiya 80mm f1.9 sekor。
造形簡單,雖是1.9大光圈,但

Totem
The second time in theatre doesnt make the film dull, knowing the plot, I enjoyed the movie with much more appreciation to the fine details. This time what catches me is the role of the spinning Totem throughout the story. It