2009年11月26日 星期四

Lazarus - is an open source development environment that strives to be Delphi compatible

http://wiki.lazarus.freepascal.org/Screenshots

過去常常用到 Delphi,編譯很快速,Linux 版本的話有 Kylix,不再出新版,可以說已經沒有前景可言
Lazurus 有點像是支援多平台的 Delphi,看到它的 screenshot 感覺好親切!

Disable VNC or setup for Localhost access only and use an SSH tunnel

同學說要裝 VNC,由於被同事教育的結果,聽到 VNC 就覺得很刺耳
據說 VNC 經常有漏洞傳出,印象中,之前有個洞是,免密碼就能登入
在我們公司,禁止安裝 VNC 在 server 上面

若真的要用,建議加上 SSH port forwarding,然後只有本機 IP 能連 VNC
http://security.fnal.gov/CriticalVuln/vnc.html
這樣外部 IP 無法直接對 VNC port 連線,安全性大增,而且是 SSH tunnel

有 sshd for win32, 非商用免費 http://www.bitvise.com/download-area.html
client 用 putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

PS. 之前玩 Google 提供的 Hadoop 主機,也是用 SSL port forwarding 去看 Hadoop 的網頁

2009年11月25日 星期三

轉貼: Windows 7 使用技巧

http://blog.joytown.tw/2009/09/07/545

10、從隨身碟安裝
28、有效解決Windows 7下刪除檔案提示被佔用
33、解開32位元Win 7記憶體4GB限制

Apache CouchDB: The CouchDB Project

Apache CouchDB
http://couchdb.apache.org/

Ubuntu 9.10 server 有支援這個 DB,據 Apache 網站說它是個 document-oriented database,總之跟平常用的 relation database 不一樣,但真正讓我感興趣的是,它是用 Erlang 開發的, 或許能透過這專案來學習 Erlang

另一個我知道用 Erlang 開發的 DB 就是 Mnesia,不過據聞不合適儲存大量資料 (待實驗)

Firefox 附加元件 - JSONView

https://addons.mozilla.org/zh-TW/firefox/addon/10869

Normally when encountering a JSON document (content type "application/json"), Firefox simply prompts you to download the file. With the JSONView extension, JSON documents are shown in the browser similar to how XML documents are shown. The document is formatted, highlighted, and arrays and objects can be collapsed. Even if the JSON document contains errors, JSONView will still show the raw text.
Once you've got JSONView installed, check out http://brh.numbera.com/software/jsonview/example.json to see the extension in action!

Find Open Source Alternatives to commercial software | Open Source Alternative - osalt.com

這個網站專門收集一些 Open Source 專案,做為 Commercial Software 的替代方案

http://www.osalt.com/

另外,排名在前十名的 Clonezilla 是台灣人開發的!~

Sunon 建準電機 - 世界最小的風扇Mighty Mini Fan & Blower

這家公司相當有誠意,如果你 NB 風扇掛點
可以拍照寄過去,他們免費提供替代風扇 (如果有類似的規格)
詳情請看
http://www.sunon.com.tw/contact/contact_NB_TC_new.htm

本來我的 Sony VAIO V505 GTP 風扇不太會動
結果我拆機灌上矽油後,風扇回復原來的強勁,又是一尾活龍,我就沒去拿免費風扇~
若有需要更換 NB 風扇、鼓風扇的話,可以跟他們聯絡看看

這是網路找到的 V505 分解圖片
http://blog.sina.com.cn/s/blog_4fe80eb101007ww9.html

如果大台北地區的朋友需要清理 VAIO V505 的風扇,歡迎聯絡我
其他 NB 沒拆過,相信也不會有人想給我當白老鼠 >.<

Firefox 附加元件 - Live HTTP Headers

平常要 debug ajax, web 多半用 fiddler,也算是相安無事
不過,如果要追 HTTPS 下的 request/respone header 就沒辦法再用 fiddler


若還有跳頁 (redirect page)的話,將連 FireBug 也不能用,HTTP Request Log 會被清掉

這時要改用 Live HTTP Headers 這個 Firefox 的 add-on

https://addons.mozilla.org/zh-TW/firefox/addon/3829

但同事特別提醒,水能載促舟亦能覆舟
 

網頁相容性測試 for Internet Explorer Versions from 5.5 to 8

Requirement


Windows 7, Windows Vista or Windows XP with IE7 minimum (Windows XP/IE6 config has some problems and IE8 instance do not work under XP without IE7)

Known problems and limitations :

  • The Previous/Next buttons are not working properly
  • Focus is not working properly
  • Java applets are not working
  • Flash is not working on IE6 instance in user mode : A solution is to launch IETester as admin user and Flash will work.
  • CSS Filters are not working correctly in user mode : A solution is to launch IETester as admin user and CSS Filters will work.
程式下載:
http://www.my-debugbar.com/wiki/IETester/HomePage

2009年11月24日 星期二

HAProxy - The Reliable, High Performance TCP/HTTP Load Balancer

朋友在問有關 Load Balance 的問題,找到了 HAProxy
也有人推 nginx (讀作 engine x) http://nginx.org/en/

上線前要預估需要 "未來" 會用到多少硬體資源是相當困難的,特別是 public site
與其瞎子摸象亂買主機,不如弄一個比較容易擴充的架構 (high scalability)
debian lenny 裡面,只要 apt-get 即可安裝