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
激勵
這個週末
《香港新詩資料彙編》發佈會
日期: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:
| 0 | No error |
| 1 | Usage error |
| 2 | Attempt to apply a patch that's already been applied |
| 3 | Effective UID is not root |
| 4 | Attempt to save original files failed |
| 5 | pkgadd failed |
| 6 | Patch |
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
Google Desktop and conditional GET (part 2)
When I start grumpily thinking of ways to punish a program's badbehavior is about when it sinks in that I don't like it. Which meansthat Google Desktop has a problem.
Back in December I wrote about Google Desktop and conditional GET and concluded that I didn't have enoughevidence to really know what the heck was going on. Well, I have severalmonths more data and more people using Google Desktop against me, andI've reached a conclusion: Google Desktop doesn't do