Be cautious with numbers in awk

I like awk , and often use it for quick little log aggregation things(often on the command line, if what I am interested in is a one-off).But awk has a small problem: it likes printing large numbers inexponential notation.

The minor problem with this is that I find exponential notation fornumbers harder to read than straight decimal notation. '3.18254e+10'is just harder to understand casually than 318254405


The (probable) importance of accurate Content-Types

As a result of the MSN search spider going crazy , Iam actually paying some attention to our web server logs for achange. This led to me looking up which URLs are responsible for thelargest amounts of bandwidth used.

To my surprise, the six largest bandwidth sources were some CD-ROMimages in ISO format that we happen to have lying around, the oldestone dating back to 2002. In the last week alone , there were eightrequests totaling 3.5 gigabytes of transfers. Who


給少爺仔

反對xanga,但偏心靚仔的 少爺仔

關於比較,我們應該要記住《男兒當入樽》的流川楓。在與山王一戰裡,喜歡單挑的流川,與山王的皇牌澤北在球場上one on one,多次落敗。面對面,輸。面對面,輸。對一個好鬥和好勝的人來說,

報應來臨

1.

眾所周知,這是近期最被消費的笑話:才子周某被才子張某批評,話佢d文睇唔明。 前者 素有「筆戰滅聲器」之稱,每逢出手,總可令最熱烈的筆戰砰一聲冷卻下來,唔知點應;後者則以丙左人人地都唔知見稱。我等作為被

Excluding buggy RPMs from a yum repository

We mirror the Fedora Core 4 updates area, and we use yum to installthings from it, and Red Hat recently released an extremely unsuitable(for us) update to xorg-x11 (as recounted in MoreFC4Problems ). So weneeded to take those buggy RPMs out of circulation and keep them out.

Fortunately this turns out to be pretty easy, because not all RPMs ina directory have to be in the repository metadata that yum uses. This let us continue to pull a full mirror from


20050922網摘 – 搜尋與侵權

Google

評論


What vendor updates are pending on your Linux system?

One of those routine system management tasks these days ischecking to make sure that I'm up to date on vendor security releasesand other updates. And when I'm not up to date, I generally want toknow what's out of date; being out of date on diff is one thing,being out of date on a kernel or glibc is quite another. (For astart, I probably want to test the kernel a bit more before pushing itinto our local update queue.)

Since


More Fedora Core 4 problems with X

Important update : the buggy RPMs have been superseded. See the end.

You may remember back to FC4FirstIrritations , where I talked aboutseveral X problems. Well, Red Hat managed to outdo itself recently, aswe discovered the hard way: their latest update to the xorg-x11 packages, 6.8.2-37.FC4.48.1 (released September 16th or so) nowcauses almost all of our workstations to explode.

Not literally exploded, but


錯別字

1.

有位朋友不幸路經敝站。敝站是他的search list第一位,因為他search「 除若宣床戲片段 」,yahoo就給了他「Rhetorical Pain ... 簡單,我們一般習慣明晰的結束和開始, 某事件不清楚完結,它就不能到達 ... 形式:每次一小時電影 片段 欣賞

恐怖小劇場之黃

9月10日星期六,因為喉嚨太痛而醒來,覺得世上最折磨人的就是吞口水。掙扎著找鏡子張大口,赫然發現,整條舌頭都是 鮮黃色 的,熟蛋黃那種鮮黃。好罷,認輸,去看醫生。醫生說扁桃腺超級發炎,紅腫而且流膿。那麼,