好久沒有更新了
好久沒有更新了,昨天在VMware上安裝了一個虛擬的局域網(wǎng),并在其上 配置了NFS和NIS,以及公司的集群產(chǎn)品LSFposted @ 2007-10-11 18:02 楊一 閱讀(257) | 評論 (1) | 編輯 收藏
自強不息
posted @ 2007-10-11 18:02 楊一 閱讀(257) | 評論 (1) | 編輯 收藏
posted @ 2007-06-14 12:41 楊一 閱讀(878) | 評論 (1) | 編輯 收藏
Are you trying to build software that is composed by software components provided by large companies, and still name it a system?
Are you doing the job anybody can do if given enough time to read the technical handbooks and rebuild the system or you have created something?
If you are in the same situation, you are probably a coder instead of a programmer.
posted @ 2007-06-13 19:47 楊一 閱讀(304) | 評論 (1) | 編輯 收藏
I must be an extremely patient user of Linux, for I have been trying to install all versions of Linux distributions lately, and getting used to the shell commands.
I also read some books on the subject. To be honest, it is true that the command lines are more efficient, and this can be verified by the following calculation:
Suppose a mouse have 3 keys, and the keyboard ten times more. The three key mouse can generate actions 3^2 when clicked 2 times, while the keyborad 30^2. Come on, no matter we clicked the keyboard or the mouse, we just clicked 2 times.
posted @ 2007-05-31 23:08 楊一 閱讀(303) | 評論 (0) | 編輯 收藏
posted @ 2007-04-24 16:25 楊一 閱讀(3386) | 評論 (2) | 編輯 收藏
JSP給Java的應(yīng)用的重用所帶來的阻礙是巨大的, J2EE中并沒有提供這種機制.而如果你非要這么做的話,則必然以犧牲其他模塊或應(yīng)用的更大的可重用性為代價。對于容器的高度依賴導(dǎo)致了對SE的重用不可實現(xiàn),同時測試工作也變得舉步維艱,您或許不得不建立一些Mock對象來觀察結(jié)果.JSP和Servlet一對一的綁定,對我來說也不是什么有趣的事情,后臺對JSP編譯為Java類的處理也毫無意義. 既然可以通過Servlet為網(wǎng)頁直接服務(wù),為什么還要多余的推出一種混合的技術(shù)呢?Zarar建議使用Freemarker, Velocity, 以及AJAX 來替換JSP.
如果您還在考慮用JSP做您的MVC模型中的V部分來開發(fā)哪怕是一個中等大小的應(yīng)用,您已經(jīng)在犯嚴重的錯誤了。特別是,如果您的JSP僅僅作為視圖顯示的時候(頁面中沒有實際代碼,只有taglibs),因為,您甚至連它僅有的“優(yōu)點”——內(nèi)嵌Java代碼都沒有應(yīng)用。如果您是那種認為標簽庫沒有想象中那么糟的人,那么您還是可以使用頁面腳本,以此來生產(chǎn)您認為合格的軟件。您已經(jīng)無藥可救了。
posted @ 2007-04-22 15:31 楊一 閱讀(2022) | 評論 (5) | 編輯 收藏
posted @ 2006-12-11 22:55 楊一 閱讀(2562) | 評論 (1) | 編輯 收藏
posted @ 2006-11-29 15:31 楊一 閱讀(468) | 評論 (0) | 編輯 收藏
記得很久以前,曾經(jīng)看過一篇帖子說,“完全使用 Linux ,脫離 Windows ”,在最近的一個月時間里,我嘗試了這種做法。結(jié)論讓我不得不說: Linux 如果作為桌面來使用的話,還遠遠沒有到達實用的程度。
作為開發(fā)環(huán)境和服務(wù)器倒是非常不錯的,因此我把 Linux 配置成了一個開發(fā)工具,而用 Windows 來娛樂。
vi nano emacs anjuta eclipse都是非常好的編輯開發(fā)工具。
posted @ 2006-11-06 10:20 楊一 閱讀(663) | 評論 (3) | 編輯 收藏
posted @ 2006-10-25 22:31 楊一 閱讀(652) | 評論 (1) | 編輯 收藏