2009年9月30日星期三

因為twitter和plurk的流行,所以出現了大量短網址服務-而且每一個都在和別家的鬥短。
以下是一些短的不可思議(或奇怪)的短網址服務:

  1. http://tinyarro.ws
    最早出現的世上最短URL Shortener,成名作是http://➡.ws
    除了http://➡.ws ,tinyarro.ws還有多種domain選擇...
    至於生成的網址的辨別字(word)可以短至兩個字(unicode)或自訂,而自訂也是接受unicode的..(也就是說你可以打中文進去)
    另外最近支援www.➡.ws方便twitter或plurk用家慳4個字(用www取代http://)
    API和FAQ見官方網站
  2. http://縮.jp
    和tinyarro.ws很相似的日系超短網址,Domain也是只有一個字、網址辨別字可以短至一個字,最長3個字 (作者說明)
    例: http://縮.jp/暮
    沒有自訂功能但有REST API (日文)
以上服務看似有趣,但因為是用2003年才訂立的IDN標準,非常舊/非標準的瀏覽器在解析上可能有問題...另外用在一些對url概念只停留在IDN前的program也可能有麻煩,但主流瀏覽器沒有問題。
除了可能嚇到人+打不出來外(縮.jp是可以打可是那是日文漢字),用起來沒什麼大問題就是了。
*1 如果你不知道IDN是什麼就當作可以用unicode作為domain名稱的標準好了
*2 另外你會發現tinyarro.ws的網址Domain在FF的status bar在onmouseover時看起來不一樣,這個故事有點長,另文說明

(8/10 Updated: 加入Issuu及一些補充)
PDF幾乎是公認的文檔格式之一,然而在網頁上開PDF是一件極其麻煩的事:無論如何得要安裝plugin/下載完再用PDF Reader開來看,對於網站訪客十分不便。
不過幸運的是有PDF文件線上閱讀器可以在網站上Embed PDF,省去上面的麻煩
*以下Reader除特別聲明來需要Browser有Flash Plugin...如果是為了Acessiblity請盡可能加上直連去PDF檔的Link

2009年9月23日星期三

今天,Google再一次拯救了廣大的Web Developer (包括他們自己),推出了將IE改造成Chrome的IE Plugin: Google Chrome Frame

在Frame之下,IE內將可以使用(接近)完整的Chrome功能: HTML 5、V8、Webkit CSS、SVG、Canvas,你將會看見IE 6也會Pass Acid3 test的奇妙景象

Frame可以透過html X-UA-Compatible meta tag啟動 (類似IE 7 mode的X-UA),也可以用cf:這個scheme name prefix加在url前面強制使用chrome frame來開啟網頁 (e.g. cf:http://mail.google.com/mail/)

Developer: 提示User安裝的Script和啟動Chrome Frame的X-UA語法都在Documentation
Chrome Frame目前支援IE 6、7、8-Save yourself, developers.


經常都說Chrome的工程師不是普通人類,如此逆天的點子大概只有他們才想的出...
不對,這不就是FF的IE Tab的強化Plugin版?!


相關閱讀

2009年9月22日星期二

(This is one of the topic presented in barcamp hong kong 09)
UI mockup is an important ad troublesome step betten designer and non-techy client - static photoshop wireframe is hard to understand and not easy to change. We really need a better mockup tool for communication.
Balsamiq, this may be the best UI mockup tool (wireframe) so far with tons of amazing features:

  • hand-writing/drawing style UI component
  • tons of UI pre-install, customizable and extensible components
  • interactive
  • wiki-style table editing
  • inline editing
  • can convert to flash, html/css by plugins
  • cross-platforms (Win/Mac/Web)
See the demo to understand its design flows and power!

(中文翻譯見more)

2009年9月8日星期二

VMWare Linux有非常煩人的ctrl、alt鍵失效 (事實上是 CTRL/ALT/SHIFT/CAPS )
Shift key (and caps lock) stop working when using VMWare
solution

$ setxbmap
然後,Linux Guest在VirtualBox Window發生離奇的Mouse Cusor失蹤事件...不過這其實是Ubuntu已有的bug?
Mouse pointer disappears...sporadically
Solution
$ update-icon-caches /usr/share/icons
-- OR --
大工程一點...簡易reload X
  1. 切換到 text console ctrl+alt+f1 
  2. 再換回X-11 (X screen) alt+f7
-- OR --
隨手按個icon或者找個輸入欄click一下,等mouse cursor轉成loading/text input,之後你會發現cursor回來了...