xterm's ziconbeep feature

One of the cornerstones of my X setup is an xterm feature that a lot ofpeople probably haven't heard of: -ziconbeep . The manpage explanationis too long and obscure to quote, so I'll summarize: if an iconified(aka minimized) xterm with -ziconbeep gets output, it puts ' *** ' atthe front of its title (technically only the icon name) and optionallybeeps. (When you de-minimize the xterm, the title addition goes away.)

This probably


Thx... ...

謝謝你送的花。

它正靜靜的躺在餐椅上,日光斜照進來,空氣中的微塵在花束旁邊飄蕩。
不言不語,寧靜中可以感受到你對我的關愛。

作為朋友,你用於我身上的心思專注,太厚重了。

大概,這已經是你和我最好的出路了。

不管

An awk idiom: getting fields backwards from the end of the line

It's easy in awk to get fields counting from the start of a line;the first field is $1 , the second field is $2 , and so on. Butperiodically I'm not interested in fields at the start of the line, I'minterested in a field at the end of the line; it's much easier to seethat it's the third-last field than to carefully count how many fieldsit is from the start.

(And sometimes you have a


Reading Unix manpages

One of the important skills for Unix programming is the ability to parsemanpages carefully. This is not as easy as it looks, because manpagesare traditionally written in a style where everything is important andyou have to think carefully about the implications of the exact wordingused.

(This can be useful for other things than Unix manpages, since a lot ofspecifications are written in the same style.)

For example, today I was emailed a comment on my Pythonsocket module irritation entry pointing out the existence of the .


有個朋友去咗西藏

好多年之前
有一班中學生
佢地好窮
好貪玩
好想扮有型
唔鍾意旅行團
佢地好想一齊去一次旅行
目的地係西藏

好多年之前
呢班中學生
一得閒就會講將來約齊成班人去西藏
要全男班
要好辛苦
要用最少錢玩最長時間
要了解當地人生活
要認

真實在你的左邊冷冷睨著你

網上容量無限大:有些人在某個圈子裡先撩者賤丟盡了人,往日與之交遊者都低頭嘆息「由他去罷」,無地自容先將自己的blog裡的東西delete扮冇件事,再弄個網頁到另一個圈子面向國內讀者,將人家見不到的香港事搬弄一番,故事

著數

文明單位:書展
嘉賓: 葉蔭聰

在大失眠兼訓矮頸的情況下,有好的嘉賓真是太好了。何況之後佢還請我食飯。聰頭萬歲!

內面的風景
(可能只是拖稿的藉口………不過真的很少見他寫這樣的文章)


今日大失眠至中午,只有貼些文

「掃」讀

之前一篇 《嘥氣》 發了一下牢騷,當中提到「掃文」:因為資訊太多,所以由「讀」文變成「掃」文。其實「掃文」沒有問題,這反倒是這個資訊爆炸的年代,每個人都應該有的技能。以前我們要選擇讀些什麼,現在我們要選擇


Link: Linguistic blindness illustrated

If you can answer this, you are not paying attention is a nice illustration and discussion of the importance of thinkingabout what you're writing in prompts and questions in software.Also interesting is a followup entry on whyeveryone is so against using 'yes' and 'no' for answers in dialog boxes.

(From Daring Fireball .)


A brief history of cut and paste in X

Here's a brief history and explanation of how cut and paste works in theX Windows system (to give it its formal name), prompted by this blogentry withthe entirely reasonable gripe that selecting something in a program andthen exiting the program causes the selection to disappear.

There are two separate cut and paste mechanisms in X, from two separateeras: the cut buffer and selections.The cut buffer is the older mechanism, and works by having programs storethe cut data into an X property on the