發表文章

目前顯示的是 7月, 2008的文章

SOAP

What is SOAP? SOAP stands for Simple Object Access Protocol SOAP is a communication protocol SOAP is for communication between applications SOAP is a format for sending messages SOAP is designed to communicate via Internet SOAP is platform independent SOAP is language independent SOAP is based on XML SOAP is simple and extensible SOAP allows you to get around firewalls SOAP will be developed as a W3C standard soap tutorial http://www.w3schools.com/soap/default.asp

[tool] ant

Ant的全名是"Another Neat Tool",是一種構建(build)工具,: Ant是以Java為基礎的構建工具,理論上,它有些類似Make,但沒有Make的缺點,並具有純Java撰寫的可攜性優點。   Ant is a Java-based build tool. In theory, it is kind of like Make, without Make's wrinkles and with the full portability of pure Java code. 只要撰寫好構建文件(buildfile),一個以XML組織的文件檔案,之後,最簡單的情況下,您只要下達ant指令,所有的一切就可以完成。 Ant可以幫您自動完成的任務: ! 編譯Java原始碼 ! 建立jar、war、zip檔案 ! 自動測試與生成報告 ! 從CVS等管理系統取得原始碼

[mysql ] MySQL Cluster

HOW TO build MySQL and MySQl Cluster setting http://www.howtoforge.com/setting-up-a-loadbalanced-mysql-cluster-with-mysql5.1-p4 http://www.davz.net/static/howto/mysqlcluster http://yezi.javaeye.com/blog/72789 http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-mgm-client-commands.html

[UPnP]reference

UPnP AV Media Server Soluition Java : Cidero   http://www.cidero.com UPnp wiki http://en.wikipedia.org/wiki/Universal_Plug_and_Play UPnP AV Media server wiki http://en.wikipedia.org/wiki/UPnP_AV_MediaServers DLNA opensource project wiki http://elinux.org/DLNA_Open_Source_Projects

當個好工程師

第一招:看到問題唸十次 a. 確認你記得問題下次還記得 b. 確認你瞭解問題,沒有漏掉什麼要求 c. 確認你以後踫到類似問題,還會想到它 d. 確認你連做夢都會想到它~悲慘的程式設計師宿命~ 第二招:程式不會寫,先開始寫註解 a. 例用註解將問題描述,將問題做分析 b. 把分析方法與解法都 document 起來~對你自己最有益處 c. 直接註解而省略白紙,由註解行數的改變,讓你老闆知道你有在努力做~ c. 人家是用照片寫記憶~程式設計師是用文件寫記憶~ 第三招:解法不會寫,先寫工具 a. 一個複雜的問題,尤其是面對演算法相關的所謂困難部份 如果能把工具(諸如模擬)寫出來,這樣是比較容易找出解法的~ b. 工具總是可以拿來重覆利用的~這會讓你越寫越輕鬆~ c. 寫工具也是一種重要練習~ 第四招:整個問題不會解,先解會解的 a. divide and conquer(偶稱它為個個擊破法) 不用多說,不知道網上查也會知道~ b. 就像寫論文一樣,如果無法提出所有問題的統一解決方法,限定一些條件來解 c. 還有有時候一下就想最困難的問題,一來浪費進度、二來心情不佳 三來老闆可能把預算砍了因為沒有結果~所以先解會解的是經驗上的金玉良言~ 因為一來你花了20%完成了80%超越進度,老闆來拍肩膀了 二來你解了簡單問題心情大好,更覺得整個問題也沒什麼大不了 說不定困難問題因心情好(沒有專牛角尖)也就想到而解決了 三來老闆看你有成果說不定常拍你肩膀哩~(老闆這時候真好騙~可惜薪水不好騙) 第五招:查網路、問別人、看書獲取各種解題的資源 a. 想想偶們還在用193x的理論,當然問題絕不可能只有你才踫到 一定粉多人早就見過了~只有你踫到的通常是你自己寫出來的bug~ b. 這是群策群力的時代,多找資源、人家的經驗和別人幫忙~ c. 對應於b, 現在這個社會最忌諱單打獨鬥, 那代表你不能 team work~ d. 增加知名度、人緣~ Social 粉重要~切記~切記~ 第六招:暴力法求解再找最佳化 a. 先求有再求好~ b. 有成果人家才看得見~不然做不出來,中間再怎麼完美都沒有用~ c. 暴力法通常是最白痴也最有效的辦法~ d. 有時白痴解法最好~因為只有呆子在演東西給傻子和電腦看~你還期待有什麼 人會看你的程式?偶們高貴的使用者嗎? e. 一代萎人瞪小平同志說過:「黑喵、白喵 會抓

[mySQL]Question

Hi all, the GD system fail in ubuntu-dapper (with default install) + GD 1.40 . The fail message is cannot load libmysqlclient.so.10 (shared library). I fix with a only soft link in /usr/lib dir with: Code: ln -s libmysqlclient.so.15.0.0 libmysqlclient.so.10

[link]專題相關資料連結

JAIN-SIP install http://blog.yam.com/carl44/article/10950739 MySQL MySQL Cluster 叢集安裝環境介紹 MySQL Cluster(MySQL 集群) 初试 MySQL Cluster性能测试结果 MySQL Cluster 學習筆記-1 http://downloads.mysql.com/archives.php?p=mysql-5.1 MySQL Cluster Server Setup test http://dev.mysql.com/doc/refman/5.0/en/mysql-test-suite.html

Reset Forgotten MySQL Root Password

Have you ever forgotten the root password on one of your MySQL servers? No? Well maybe I’m not as perfect as you. This is a quick h00tow (how to) reset your MySQL root password. It does require root access on your server. If you have forgotten that password wait for another article. Original art icle posted on reset mysql root password. First things first. Log in as root and stop the mysql daemon. Now lets start up the mysql daemon and skip the grant tables which store the passwords . mysqld_safe --skip-grant-tables You should see mysqld start up successfully. If not, well you have bigger issues. Now you should be able to connect to mysql without a password. mysql --user=root mysql update user set Password=PASSWORD('new-password'); flush privileges; exit; Now kill your running mysqld, then restart it normally. You should be good to go. Try not to forget your password again. From  HOWTOFORGE : http://www.howtoforge.com/reset-forgotten-mysql-root-password

[IMS]OPENIMS參考資料

openims http://www.openimscore.org/ http://www.linuxdiyf.com/bbs/redirect.php?tid=67981&goto=lastpost

[OSGi]參考資料

Knopflerfish http://www.knopflerfish.org/ 安裝設定教學 http://blog.pixnet.net/arvin0626/post/16548141 http://underlap.blogspot.com/2007/02/knopflerfish-osgi-tutorial.html for beginners教學 http://www.theserverside.com/tt/articles/article.tss?l=OSGiforBeginners Hello OSGi http://www.javaworld.com/javaworld/jw-03-2008/jw-03-osgi1.html

網站加速

JavaScript 篇 http://www.dbanotes.net/web/best_practices_for_speeding_up_your_web_site_javascr ipt.html CSS 篇 http://www.dbanotes.net/web/best_practices_for_speeding_up_your_web_site_css.htm l Cookie 篇 http://www.dbanotes.net/web/best_practices_for_speeding_up_your_web_site_server_ cookie.html Server 篇 http://www.dbanotes.net/web/best_practices_for_speeding_up_your_web_site_server. html 內容篇 http://www.dbanotes.net/web/best_practices_for_speeding_up_your_web_site_content .html

[XML]教學

XML Tutorial http://www.w3schools.com/xml/default.asp