這算圖利 Windows 嗎?

底下是內政部警政署國道公路警察局全球資訊網的交通違規檢舉網頁
上頭註明:很抱歉,本系統暫不支援蘋果作業系統及Safari瀏覽器。
此時無法進行任何動作。

解決方式如下:
在蘋果作業系統的Safari瀏覽器中,
選擇 Develop > User Agent > Google Chrome (Windows) ,
然後就可以開始透過網頁檢舉。

明明就支援蘋果作業系統的Safari瀏覽器不是嗎?

MacPorts on Mountain Lion - get stuck in configuring or building packages

I upgraded my Macbook Pro from Snow Leopard to Mountain Lion by a clean installation last week and installed MacPorts.  A strange thing happened when I tried to install some packages.  For example, when I tried to install gettext, the installation got stuck in the configuration stage.  However, I could go to the working directory and successfully configure gettext manually with the same configuration options.

Assume the name of the package that gets stuck in configuration is NAME.  Below are the steps that I performed as a workaround.
  1. Go to the package folder in the working directory. The full path can be obtained from port with debugging messages (-d).
    # cd ......
  2. Configure the package manually. The full configuration command can be obtained from port with debugging messages (-d).
    # ./configure ......
  3. Go to the working directory.
    # cd `port work NAME`
  4. Modify .macports.NAME.state by appending the following line.
    target: org.macports.configure
  5. Install the package via port.
    # port -d install NAME
Bison is another example. Besides configuration, it also got stuck in building. Again, I could manually build the package with the same command /usr/bin/make -j2 -w all, appended target: org.macports.build to .macports.bison.state, and then installed bison successfully.

詭異的 第十四屆全國資訊管理博士生暨2012兩岸三地博士生學術研討會 網頁

第十四屆全國資訊管理博士生暨2012兩岸三地博士生學術研討會 這個網頁具有英文與正體中文兩個版本,然而這兩個版本所呈現的內容天差地遠。剛好我的瀏覽器除 IE 以外都是英文的,所以看到的都是錯誤訊息。從 3/9 向網頁上所寫的主要聯絡者 dept@mis.nccu.edu.tw 反映以後一直到現在,英文網頁的內容完全沒有更正,也都沒有回信。內心不禁自問,以後還要這麼雞婆嗎。

標錯價的車麗屋?(2/25 更新車麗屋之回覆)

數天前因為行車記錄器的車充線壞了,剛好車麗屋有壽星的活動,所以去車麗屋板橋店買了一個 USB 車充:digidock CA-2412+ 。如下圖所見,標價 450 ,實際售價為 405 。


產品本身是沒問題的,可以順利讓行車記錄器啟動。但,當天晚上在車麗屋網站發現一個令人驚訝的事實,那就是同樣的商品在車麗屋線上商店只賣 299 !!!

(網址後面的產品編號跟發票上是一致的)


底下是網站上的商品規格,型號一樣,輸入輸出一樣,內容物車充與快速充電 USB 接頭也都一樣。



雖然車麗屋網站的 FAQ 寫到:網路商店的價格和實體店面會有所不同。


但是那也差太多了吧! 405 / 299 = 1.354515 。去餐廳消費一次的服務費頂多也才 10% ,我這一次就多花了 35% !

事後其實有在網站上透過客戶服務信箱反應,但,毫無回應,就只是個信箱。


2/25 更新車麗屋之回覆:
下午接到車麗屋一位小姐的來電,告知可以至原購買門市退回差價。我想,就當作是車麗屋標錯價而網路客服系統出問題吧。

PS1:以後要跟商家的客服聯絡,可能寫在 Blog 比電子郵件還有效 XD 。(雖然電話最有效,但我討厭打電話。)

PS2:底下是幾個其他網站的 CA-2412+ 售價,其實大家的定價都一樣。




2014/3/18應車麗屋客服之請修改標題

Resolve "PHP not found" of PHP/Java Bridge on Gentoo Linux

Environment:
  • Gentoo Linux
  • dev-lang/php-5.3.8 +cgi
  • www-apache/mod_fastcgi-2.4.7_pre0910052141
  • www-servers/tomcat-6.0.32-r1

PHP/Java Bridge: 6.2.1, installed in /var/lib/tomcat-6/webapps/JavaBridge

Problem Description:
Follow the installation guide on the PHP/Java Bridge website.  The test by the following command does not report any error.
java -classpath JavaBridge.war TestInstallation
However, when visiting the URL http://localhost:8080/JavaBridge, an error message is returned:
java.io.IOException: PHP not found. Please install php-cgi.
PHP test command was: [/usr/bin/php-cgi, -v]

Resolution:
  1. Edit /var/lib/tomcat-6/webapps/JavaBridge/WEB-INF/web.xml.  Uncomment the following line:
    <context-param><param-name>php_exec</param-name><param-value>php-cgi</param-value></context-param>
  2. Rename the pre-compiled php-cgi brought by JavaBridge.war.
    $ cd /var/lib/tomcat-6/webapps/JavaBridge/WEB_INF/cgi/i386-linux
    $ mv php.cgi php.cgi.pjb
  3. Create a symbolic link to /usr/bin/php-cgi. Assume the working directory is /var/lib/tomcat-6/webapps/JavaBridge/WEB_INF/cgi/i386-linux.
    $ ln -s /usr/bin/php-cgi .

It is also working to use the pre-compiled php-cgi from PHP/Java Bridge. Instead of steps 2 and 3, simply make the php-cgi executable.
$ chmod +x /var/lib/tomcat-6/webapps/JavaBridge/WEB_INF/cgi/i386-linux/php-cgi
Note that the pre-compiled php-cgi from PHP/Java Bridge is not recommended.

Release of JCBR 0.8.1

Please find this version in the earlier post JCBR: Java Chinese Book Reader. In this version, the following changes are made.
  • Fix a bug in the preference dialog that does not display the gestures correctly.
  • Fix a bug in determining the change of background color and foreground color.

Release of JCBR 0.8.0

Please find this version in the earlier post JCBR: Java Chinese Book Reader. In this version, the following changes are made.
  • Add support of Windows and Linux.
  • Display the selected book name at the bottom of the bookshelves dialog.
  • Make the font of the bookshelves dialog and the TOC dialog customizable.
  • Allow language switching on Windows and Linux.