之前一篇 《嘥氣》 發了一下牢騷,當中提到「掃文」:因為資訊太多,所以由「讀」文變成「掃」文。其實「掃文」沒有問題,這反倒是這個資訊爆炸的年代,每個人都應該有的技能。以前我們要選擇讀些什麼,現在我們要選擇
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 .
有個朋友去咗西藏
有一班中學生
佢地好窮
好貪玩
好想扮有型
唔鍾意旅行團
佢地好想一齊去一次旅行
目的地係西藏
好多年之前
呢班中學生
一得閒就會講將來約齊成班人去西藏
要全男班
要好辛苦
要用最少錢玩最長時間
要了解當地人生活
要認
真實在你的左邊冷冷睨著你
著數
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
Walking away from Slashdot: a story of design
A while back I wrote about the two faces of RSS , in the process of which I held up Slashdotas an example of a site where I preferred the actual site to thesyndication feed by a large margin, and why.
I have to change that, because Slashdot has lost me as a regular visitorto their website, and what Slashdot stuff I read nowadays is almostentirely through their RSS feed. It's for the traditional reasons: awebsite redesign that actually injected 'design'.
Slashdot used to