Tag Archives: web

GitHub 總算把使用者頁面放到新的 domain 上:github.io

剛剛看到 GitHub 公告,將使用者網站 (http://username.github.com/ 這種) 改到 http://username.github.io/ 下:「New GitHub Pages domain: github.io」。 GitHub 總算把把使用者頁面放到 subdomain 下這種對安全性問題吃力不討好的事情給搞定了… PS:我還是對 HiNet 把 hinet.net 用在使用者 IP 上這件事情感覺到… XD

Posted in Computer, Murmuring, Network, Security, WWW | Tagged , , , , | 1 Comment

變難用的 Zite…

我很喜歡在 iPad 上用 Zite 讀文章,除了看文章以外,有些常出現的新站台我會丟到 Google Reader 訂閱… 不過最近一次改版後,操作上變得很難用… next 的設計是希望我一直看一下去,不過我用了一陣子以後發現: 大概還是有一半的文章我沒興趣。 按下 next 後,如果剛好遇到 web mode 會很煩躁… (我在 Zite 裡不用 web mode 看文章) 所以後來就完全放棄 next 按鈕,我寧可點左上角的 close 按鈕… (要用左手按,很不方便) 有人要推薦其他的軟體嗎?

Posted in Blog, Computer, Murmuring, Network, Recreation, Software, WWW | Tagged , , , , | 3 Comments

node.js 版的 YUICompressor…

看「Fantastic front-end performance Part 1 – Concatenate, Compress & Cache – A Node.JS Holiday Season, part 4」的時候發現 node.js 版的 YUICompressor 比起 Perl 版本更早之前就 porting 完成了:「UglifyCSS」,甚至是官方版本的「yuicompressor / ports / js / cssmin.js」也都遠早於 Perl 版本… 用 npm 裝 uglifycss 就可以用了…

Posted in Computer, Murmuring, Network, Programming, Software, WWW | Tagged , , , , , , , , , , , , , , | Leave a comment

sitespeed.io 網站測速

sitespeed.io 是一個 open source 軟體,讓開發者可以測試網站的效能,然後輸出 html 報表:「Do you sitespeed?」。 執行需要 Java 1.7+ 以及 PhantomJS,我是在 FreeBSD 上跑 (Java 的部份是用 java/openjdk7),另外根據文章裡第三個 comment,在 Windows 上用 Cygwin 也可以跑。 以 ./sitespeed.io -u http://ptt.cc/ -d 1 -o img 跑出來後會有一整個目錄的報告,包括了 summary 以及所有頁面的清單 (後面這兩個連結是跑完後用 s3cmd sync 丟上 S3 … Continue reading

Posted in Computer, Murmuring, Network, Software, WWW | Tagged , , , , , , , , , , , | Leave a comment

nginx 作者 Igor Sysoev 成立公司

在 nginx 網站上有這則訊息,Igor Sysoev 將會成立公司,全力投入 nginx 的發展及維護。nginx 仍然會維持 2-clause BSD license,並免費提供使用。 在「Nginx Creator Plans Company to Better Serve Millions of Sites Using Its Web Servers」這邊有些說明,另外在說明後面有訪問的內容。 不知道會提供怎麼樣的服務…

Posted in Computer, Murmuring, Network, Software, WWW | Tagged , , , | Leave a comment

Firefox Channel…

Firefox 也打算要加快開發的速度,打算每 18 個星期出一個大版本,同時推出新的 Aurora channel 讓人下載測試:「New Channels for Firefox Rapid Releases」。 以前如果不用 Beta 就得等 Nightly (每天更新),現在中間多了一個 Aurora 讓人選擇。這類似於 Google Chrome 的 Dev-Beta-Stable 模式… 這樣應該可以改善 Firefox 的套件相容性,不用等到 Beta 才開始修… (有時候會在 Nightly 修好後又被揍了一拳 XD)

Posted in Browser, Computer, Firefox, Murmuring, Network, Software, WWW | Tagged , , , , | Leave a comment

HTTP Archive:網站速度的歷史紀錄

Steve Souders 公開新網站 HTTP Archive。類似於 Internet Archive 紀錄網站的每個時間點的樣子,HTTP Archive 紀錄網站每個時間點的 HTTP 效能:「Announcing the HTTP Archive」。 目前蒐集了 ~17000 個網站,每個網站約每兩個禮拜分析一次,選擇的網站來自 Alexa Topsites、Fortune 500 (2010)、Quantcast。翻了自家的站台,看起來是從 2010 年 11 月就開始跑… 也因為紀錄了很多網站,所以也有些有趣的數據可以在「Interesting stats」這邊看到 (有日期可以選)。

Posted in Computer, Murmuring, Network, WWW | Tagged , , , | Leave a comment

Bing 與 Google 都使用 HTML5 的 localStorage 加速手機瀏覽速度…

Steve Souders 分析了手機瀏覽 Bing 與 Google 的手機平台時,這兩個平台如何處理 cache issue:「Storager case study: Bing, Google」。 這兩個平台不約而同都用上 HTML5 的 localStorage,其中 Bing 用了 ~170KB (未壓縮大小) 的 localStorage,內容包括 CSS/JS/JSON,而 Google 也用了 154KB 存放這些資料。 這應該是因為手機平台的 browser cache 共用一塊不大的空間,很容易被 purge:(我的 Desire 跑 Android 2.2,剛剛看設定,預設值是最大值 6MB) 而 localStorage … Continue reading

Posted in Browser, Computer, Murmuring, Network, Software, WWW | Tagged , , , , , , | Leave a comment

產生任意大小的貓圖片…

{placekitten} 這個站提供 API 產生圖片,讓你在規劃版面的時候會比較方便: Like this: http://placekitten.com/200/300 or: http://placekitten.com/g/200/300 像是這樣: 測了幾次,那個 g 應該是指灰階?記得之前有個站是產生純數字的 block image,有誰記得嗎?

Posted in Computer, CSS, Murmuring, Network, Recreation, WWW | Tagged , , , | 3 Comments

改善網頁的態度問題

看到 Local maxima 這個詞還真懷念:「Local maxima and the perils of data-driven design」。 這篇文章在講改善網頁時的態度。你可以用科學方法 (像是 A/B testing) 測試不同的小細節以達到 local maxima,但如果要有更重大的突破則必須靠結構性的改變。然後拿了 Facebook 在 2007 與 2008 年的網頁當作失敗案例… 雖然概念很久前就有,但用「Local Maxima」這個詞彙來表示是以前沒想過的,現在看到倒是覺得相當適合 XD

Posted in Computer, Murmuring, Network, WWW | Tagged , , , | Leave a comment