Category Archives: WWW

htpasswd 的 SHA 不會帶 salt (seed)…

剛剛發現 htpasswd (Apache 的 .htpasswd 檔案產生程式) 提供的 SHA-1 不會使用 salt,不過 MD5 格式會… 以密碼「test」測試: gslin@colo-p [~] [17:44/W7] touch test.txt gslin@colo-p [~] [17:44/W7] htpasswd -b -m test.txt test1 test Adding password for user test1 gslin@colo-p [~] [17:44/W7] htpasswd -b -m test.txt test2 … Continue reading

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

Amazon CloudFront 與 Route53 增加韓國的 PoP…

Amazon CloudFront 與 Amazon Route53 增加韓國的 PoP,公告在「Amazon CloudFront / Route 53 – New Edge Location in Seoul, Korea」這邊。 CDN 這邊的價錢與 Hong Kong 以及 Singapore 相同,算 Price Class 200 等級。 剛剛測過,目前的 routing 還算正常:台灣沒有 ISP 導到韓國 PoP,都還是丟到日本與香港的 PoP。 CloudFront 用的機房代碼是 icn50,可以用 AWS … Continue reading

Posted in AWS, CDN, Cloud, Computer, DNS, Murmuring, Network, WWW | Tagged , , , , | Leave a comment

Google 官方提供 Google Fonts 下載的建議方案…

Update:一次只能選一個字體,找不到全選的地方,然後有一千多個… 還是去網路上找人家包好整包抓比較快。 在 Google Developers Blog 上看到官方對於下載 Google Fonts 的建議方案:「Download Google fonts to your desktop」。 Monotype 所推出的工具「SkyFonts」,支援 Windows 與 Mac 版。當 Google Fonts 有新的字型時,SkyFonts 會自動更新。不過當 Google Fonts 刪除時會發生什麼事情就不知道了… 會需要 Microsoft .NET Framework 4.0 與 WindowsInstaller 4.5 (x86): 這樣感覺有點肥… XD

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

2013年,IE5 在熱門網站的效果…

在「How 10 Popular Websites Are Displayed in IE 5」這篇文章裡拉了十個熱門網站測試 IE5… XD Amazon 還不差: BBC 與 CNN 的網站勉強堪用: eBay 似乎還有最基本的樣子: Facebook 抓登入頁這頁沒意義啊… XD Google 的首頁當然也很正常… StackOverflow 沒什麼問題: Wikipedia 的排版幾乎沒亂掉,變得比較樸素一點而已: 接下來是比較慘的,WordPress.org 直接爛掉: 而 Microsoft 自家 XDDDDDDDDDDD

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

白宮官方 Tumblr 帳號…

白宮在 Tumblr 上建立了官方帳號「The Official White House Tumblr」:「Launching the White House Tumblr」。 最新的一張圖很有 Tumblr 的調調: 等… 等下,這是官方帳號啊啊啊…

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

Netcraft 放出 OCSP 伺服器效能資訊…

Netcraft 開始放 OCSP 的效能資訊了。由於有個排名在上面跑,這對於 SSL 供應商應該會有一定的壓力去改善服務品質:「OCSP Server Performance in March 2013」。 前面十名幾乎都是 Verisign 與 Akamai,而 Verisign 都是用 Citrix Netscaler。繼續觀察看看好了…

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

維基百科英文版與德文版的資料庫 (條目最多的兩個語言) 從 MySQL 轉移到 MariaDB 了…

維基百科官方宣佈兩個條目最多的資料庫 (英文與德文) 已經從 MySQL (有 FB patch 的版本) 轉移到 MariaDB 5.5 了:「Wikipedia Adopts MariaDB」。 維基百科的資料庫從 MySQL 4.0 升級到 MySQL 5.1 時花了不少功夫轉換 (可以想像出來,這兩個版本的差距…),然後這次再到這次的 MariaDB 5.5 就輕鬆不少。 在文章內有提到因為維基百科是 read-heavy site,大多數前端的負荷都在 squid 層擋下來,實際到後端的量則是再透過 Redis 與 memcached 打散負荷。不過即使做了這麼多層 cache,英文版資料庫在尖峰時間還是有 50k qps 的量在跑。 尖峰時間這 50k … Continue reading

Posted in CMS, Computer, Database, Murmuring, MySQL, Network, Software, Wiki, WWW | Tagged , , , , , , | Leave a comment

不支援 IE{6,7,8} 的 jQuery 2.0…

jQuery 2.0 的消息:「jQuery 2.0 Released」。2.0 版與 1.9 的功能相同,只差在支援度:停止對 IE{6,7,8} 的維護及 workaround。 如同半年前在「jQuery 2.0 將放棄 IE{6,7,8} 的事情…」講的,如果在 John Resig 還在的時候應該不會放棄 IE8… 這是 2012 年七月的數字: 這是 2013 年三月現在的數字: 仍然是超過 10% 而且不太往下掉的數字…

Posted in Browser, Computer, IE, Murmuring, Network, Programming, Software, WWW | Tagged , , , , , , | 2 Comments

Facebook 的 Memcache 架構…

在 NSDI ’13 上 Facebook 的工程師有講到 Facebook 內的 Memcache 的架構:「Scaling Memcache at Facebook」,有影片可以看,也有 PDF 投影片可以下載。 其實 2013 年這次的 conference 提到的架構以前就有提過了… 雖然一時間找不到之前提到架構的投影片,但還是可以配合著以前提到各種架構的文章與投影片看出 Facebook 怎麼利用 Memcache 架構 cache layer: 2007 年的「Largest production memcached install?」 2008 年的「Scaling Out」。 2008 年的「Caching Performance Lessons From … Continue reading

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

OCSP 是如何影響 HTTPS 的效率…

Netcraft 從 2012 年 11 月開始偵測 OCSP 的 availability,然後發現各家 OCSP 的穩定性都不太好:「Certificate revocation and the performance of OCSP」。 OCSP 是 Online Certificate Status Protocol 的縮寫,當 HTTPS 連線建立中,client 可以透過 OCSP 詢問這份 certificate 是否有效。這是 PKI 架構下的事後補救機制,因為已經發出去的簽名是無法被收回的,只好靠連線時再查詢。 另外一個機制比較舊,叫 CRL (Certificate Revocation List),則是屬於清單類的機制,更新速度比 OCSP 慢。 … Continue reading

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