Setting up to build RPMs

There's three ways to build RPMs: the silly way, the easy way, andthe better way.

The silly way starts with /bin/su root , which should be enough of a warning sign. You really don't wantto be building and installing packages as root unless you don't have achoice, and you do.

The easy way is:

$ cat >$HOME/.rpmmacros
%_topdir /some/where
^D
$ cd /some/where
$ mkdir BUILD


激勵

有一次一夥人來到中山北路一個小酒吧,清晨三點鐘,滿屋子都是人,都是男人,怎 麼說,可能其中也有的是女人,但都由男人扮演吧,燈光打得低低暗暗的,空氣中有一種竊竊私語的甜蜜的感覺,混雜著煙、酒、古龍水和刮鬍

這個週末

1. 雖不能至,心嚮往之:

《香港新詩資料彙編》發佈會

日期:3月25日(六)下午5-7時
地點:尖沙嘴星光行商務印書館
嘉賓:小思、葉輝、崑南、關夢南、陳國球

2.AD





漫畫騎劫文學!



出庭應訊星期日漫畫家:
《默示錄

碎片

《青銅時代》系列以唐人傳奇為藍本,是王小波重寫他的少年作品,這種在文本之間的關係去尋找昔日的行動,可以說是接近絕望。《紅拂夜奔》是《青銅時代》中現實指涉最明顯的也是唯一以「王二」命名敘述者的一本,而它


牆裡鞦韆牆外道


朋友送來他們新出的手作雜誌 《月台》 ,薄薄一冊,拿在手裡,翻了兩翻,覺得輕省,忍不住羨慕起來。這種可以飄起來的幅度,在我手下實在從來沒有出現過,大概三十歲前後也不能做出來。

蘇東坡〈蝶戀花.花褪殘紅青杏小

Side effects are bad: a personal illustration

One of the things they tell you in programming school is 'side effectsare bad; you should avoid them if possible'. Apparently every now andthen I need a reminder of this, because side effects were at the bottomof my feed whoops from last night.

One of the most expensive bits of DWiki is converting pages from DWikiText into HTML. Originally the conversion was simple andstraightforward; stick wikitext in, get HTML out. But as DWiki grew morefeatures, the wikitext started having additional information: whetherpeople


We apologize for the disruption in syndication feeds

In the process of enabling caching in DWiki , I managed to illustrate theimportance of thorough testing by failing to properly cache the realtitles of entries and then not noticing, because that the Atom feedsstayed the same was the one thing I didn't test. (I carefully andsomewhat obsessively tested that the rendering of all of the otherpages did stay the same. I even have that automated.)

This caused the syndication feeds for WanderingThoughts to revert toplain filename based titles for eight hours or so, until


Solaris patch exit codes and what they mean

This isn't my work; it's from a comment on an earlier entry . I'm repeating it here partly to haveit handy, and partly because DWiki mangled the nice clear plainASCII formatting of the original. So thank you, mostly anonymouscommenter.

The following are the explanation of patchdd script exit codes:

0No error
1Usage error
2Attempt to apply a patch that's already been applied
3Effective UID is not root
4Attempt to save original files failed
5pkgadd failed
6Patch

Atom versus RSS

David Heinemeier Hansson in the comments on one of his entries :

Joe: Atom is just RSS without the bugs. [...]

What he said.

The more I've learned about syndication formats, the more thankful I'vebeen that I picked Atom way back when .(I'm not sure why I chose Atom; possibly because it seemed the more upto date of the choices at the time, since it had an RFC in developmentand all.)

The difference between Atom and RSS


20060323網摘 – 時間旅行

Google

CSS