Why quoting in the Bourne shell makes me grumpy
Imagine for a moment that you have an almost arbitrary string(no nulls, newlines, or other funky control characters) thatyou want to quote so that it passes through the Bourne shellintact. How do you do it?
The Bourne shell offers you two quoting schemes, strings insingle quotes and strings in double quotes.
Strings in double quotes need special characters escaped withbackslashes. There are five of them (quick, do you know them all?), orsix in some situations in some versions of the
粉絲製的淚
厭惡
是說不出的厭惡。
巴不得有人可以上演一齣木馬屠城記,
將這鬼地方一把火燒光。
我每一對高跟鞋,
都是被這片爛地弄得遍體鱗傷。
每一次有朋友主動送我回家,
除了感恩,
我只覺尷尬。
因為這是一座午夜
How stable my AMD 64-bit systems have been
In a comment on a recent entry , Ryan asked me howstable my 64-bit Linux installs have been. The answer is kind ofcomplicated, but the quick summary is that I am happy with themachines and they're stable.
Currently and in the recent past, I have dealt with three AMD 64-bitmachines, two using ASUS M2N4-SLI motherboards, and one with a TyanTomcat K8E S2865ANRF, and all with 2GB of
Getting nice looking TrueType fonts on Fedora Core
Some TrueType fonts look significantly worse on some Linux distributionsthan on Microsoft Windows or MacOS. This is due to the usual reasonthat things suck on Linux: patents. TrueTypefonts can have special hints for looking good at low resolution, butusing those hints is apparently covered by some Apple patents in (some)countries with software patents.
(For the gory details, see here .)
Pretty much everyone on Linux uses the FreeType library to renderTrueType fonts. FreeType has implementations of the patented stuff,but Fedora Core
A spectacular web spammer failure
In the spirit of earlier heroic failures , I justsaw someone attempt to put an entire POST form in the actual HTTPrequest. No, really. The incoming request looked something like this:
login=%5Burl%3Dhttp%3A%2F%2Fwww.nextlevelnews.com%2F [.. elided..] %2F70.html%0D%0A+&view=login&page=blog%2Flinks%2FBestToolPOST/~cks/
快樂之全部
2. 伍佰+陳昇版 〈愛你一萬年〉 (見右方column之playlist)
3. 剛到台灣的24小時,不時高聲傻笑,情況類同於6月3日交論文那天。
這就是背棄的快樂,與完成的快樂一模一樣。
4. 無論如何,遇見
速記三則
小心怪留言
10月7日至今,都在忙於各種各樣的事,偶爾上來看一看,只發現一些古古怪怪的英文留言,連同一些古古怪怪的網址,初時不以為意,因為每晚回家已經累透,也不想在公司或新聞中心的電腦處理自己blog的事,所
抱緊眼前人
我在話筒的另一端錯愕得說不出話來。
我,今年25歲,她應該還比我年輕一點,無奈已經被逼退出這場生命耐力賽。
許多時間,我們總會抱怨生命太長太勞累,有限溫存無
Cross building i386 RPMs on an x86_64 Fedora Core 5 machine
The more I do stuff on my x86_64 Fedora Core 5 machine, the more Icome to understand that people must not have actually tried to use thisstuff. The latest adventure was trying to build an i386 RPM.
The best tool for this is mock , a tool forrebuilding RPMs in distribution environments, like (in theory) 'FedoraCore 5 for i386'. In practice, it needs some clubbing. The mainproblem is that when mock sets up