Why RPM's .rpmnew files don't work in practice

In theory, RPM has a solution to yesterday's bad package upgradeproblem by way of what are generally called.rpmnew files. When you've modified a configuration file, update theRPM it comes from, and the new version of the RPM has also changed theconfiguration file, RPM does not overwrite the configuration file butinstead creates .rpmnew with the new version of it.

This does not work in practice. The problem is that there are entirelytoo many false positives; it


記者blog上攞舊聞當新聞

上星期剛剛影完新書封面, 又累又餓.

FACE記者打來,問我期指既事.

我話: "blog度咪講曬lor,仲有mut野問?自己去blog看!"

她又好不客氣地一直問, 我說:"你有無聽到我頭先講mut野? 個 blog度有曬,自己去blog搵!"

她又再次繼續

將聽歌體驗與Google雲端連接

如果你已被iPod薰陶多年,一般你的聽歌習慣都會被iTunes綁架,當Apple推出其他產品如iPhone、iPad、i乜、i物時,這個綑綁式套餐將會把你繼續鎖緊,想轉都幾煩。

但來到手機聽歌的陣營,是不是只有Mac字派才是皇道呢?這個又未必,事

Continue reading...

陳綺貞太陽巡迴演唱會(Cheer Immortal Tour)(2DVD+2CD Boxset) ----- 唱的用心,聽的入心!

Continue reading...

耶穌和睡眠癱瘓

在早兩天提過的那個派對上,和幾個朋友閒談間講及睡眠癱瘓( sleep paralysis ),我說自己不久前經驗過一次,感覺真的很嚇人。在睡夢中突然醒來,睜大雙眼卻不能移動身體任何部份,也無法張口發出聲音,像癱瘓了似的,又覺得有重

The Runaways ----- 期待中
























Film : The Runaways (2010) (USA)
Directed by Floria Sigismondi
Written by Floria Sigismondi
Starring Dakota Fanning/ Kristen Stewart/ Stella Maeve/ Scout Taylor-Compton/ Michael Shannon
Music by Lillian Berlin
Duration : 109mins

1. 在戲院看到此戲的trailer ( https://www.youtube.com/watch?v=uHpEJ749TRM ),好想睇,因為我一向喜歡看musician的人物傳記,
Continue reading...

公投後抽水派對

有 17.1% 的投票率…

  • 只有五十多萬人支持,公投失敗
  • 仍有五十多萬人支持,公投成功
  • 有五十多萬人支持,可比七一上街人數
  • 比起上屆選舉少了一半有多
  • 算是功敗垂成
  • 有二百五十多萬人反對公投
  • 有二百五十多萬人支持政改
  • 有二

五月十九日-又講幾句…

看了看新聞,這個516投票失敗了,唉...搞宣傳的就是不會用苦肉計,好明顯要學陳水扁,來一個被砍,被摳事件嘛。

据云南《生活新报》报道,富源县法官杨德会因涉嫌嫖宿幼女、强奸等罪名被当地检方提起公诉,但因

Continue reading...

ps移軸鏡頭 玩具景深較果

沒錢買貴貴的移軸鏡,用ps就得了,非常簡單。不過好多人以為移軸是為了玩這種小玩具特效,那就大錯等錯了,移軸是為了要修正變形和加深景深而存在的,比較是給專業人仕用的東東。

1. 打開相片,按一下「Q」,進入快

Continue reading...

利用 Java 獲取文件的編碼類型 (Use Java to get the file encoding)

import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;

public static String fileEncoding(File file) throws FileNotFoundException, IOException{    FileInputStream in = new FileInputStream(file);    int[] bytes = new int[3];    for (int ch, i = 0; (ch = in.read()) > 0 && i < bytes.length; i++){        bytes[i] = ch