Let's go inside

          this blog is deprecated as a result of laziness.
          posts - 59, comments - 2, trackbacks - 0, articles - 0

          2006年9月23日

          Hi,

          My cricket events are going fine. Very soon the domestic T20 cricket league in India will start. It is a gala event. It is called the Indian Premier League. Ours is a very good team. The name of our team is Kolkata Knight Riders. Very excited. Will go to the stadium and watch the games live. Tomorrow entire team in company are going for a movie. :)
          We just completed a sprint. We follow Agile SCRUM here. We worked on Spring Webflow, jQuery, JSP. Hope you are doing fine. In each step here I realize how helpful you have been and the lessons you taught me are coming to great advantage here. Thank you! I always feel that meeting you was a part of my destiny. Tell hi to Yu Ting as well. I miss her too.

          Thanks and regards,
          Rohan Ghosh,
          IT Professional.

          ================
          Hello,
           
             yes, I haven't watched the game yet. maybe I will watch the video this weekend. I've been practicing starcraft.
          I learned how to manipulate Vulture, how to use one vulture to kill a dozen of zealots or zerglings or something alike.

          ..
          about Kobe, he scored very low in the two games before this game against Mavericks.
          and was scolded by some public commentators. but we fandom will forever support him no matter he is in low or high spirit :D

          thanks for sharing me the news link.

          you have to confess the news is not exciting at all, it's a small victory among this season, we Kobe Fandom expect more

          how's your favorite cricket event

          posted @ 2012-03-30 21:00 Earth 閱讀(220) | 評論 (0)編輯 收藏

          today.. i enabled the comment function for my blog.

          anyone can leave comment here now.

          posted @ 2012-03-30 20:57 Earth 閱讀(342) | 評論 (0)編輯 收藏

          給一個陌生人做的作業,

          要求如下:
          編寫一個TCP?Socket程序,采用圖形化的界面實現,在服務器可輸入客戶端的IP地址和端口號,程序根據該IP地址和端口號與客戶端建立連接,在服務器端輸入要發送的內容點擊發送按鈕,就可以發送到客戶端,客戶端只接收服務器端發送的消息。

          正好在學SWT,?就一邊學一邊寫了,可以到這里去下載源代碼http://www.eclipseworld.org/bbs/read.php?tid=10290

          憑記憶總結一下期間碰到的問題,一個是如果button要處理一個可能會阻塞或耗時的事件,那個事件處理的需要放在一個新的Thread里邊。不然的話。界面沒法響應其它的操作。

          另外如果要在新的線程里操作SWT中的元素比如文本框。必須像下面這樣處理。
          ?display.asyncExec(new?Runnable()?{
          ??public?void?run()?{
          ???listenButton.setEnabled(false);
          ??}
          ?});
          否則會拋出好像是什么invalid?access的異常。

          最后在進行Socket編程的時候要把防火墻關掉。否則會拋出JVM_bind之類等莫名其妙的錯誤

          哈哈,今天又發現了一個問題。。就是改成keyReleased()?以后。。還是要按照那個回貼的人來做。String?text?=?sendText.getText().trim()?+?lineS;

          因為如果發送的消息末尾沒有line.separator的話。。在客戶端

          ???????BufferedReader?in?=?new?BufferedReader(
          ?????????new?InputStreamReader(socket
          ???????????.getInputStream()));
          ???????while?(true)?{
          ????????String?str;
          ????????while?((str?=?in.readLine())?!=?null)?{
          ?????????append(lineS?+?str);
          ????????}
          ????????Thread.sleep(500);
          ???????}
          就收不到?。消息的末端必須要有斷行符!呵呵。這樣in.readLine()才算讀到行尾才會打出來?。可以做一個試驗。輸入a,點按鈕,client沒反應,再輸入b,點按鈕,client沒反應,再輸入c,?這次用Ctrl?+?Enter發送。這樣client一次打印出abc來。。呵呵?。!!明白了?!!!!!

          posted @ 2007-01-07 21:19 Earth 閱讀(1115) | 評論 (2)編輯 收藏

               摘要:   閱讀全文

          posted @ 2006-11-15 09:29 Earth 閱讀(1158) | 評論 (0)編輯 收藏

          每次插上移動硬盤,windows都要掃描好半天,關起來也很麻煩,
          要關閉自動播放的功能,操作如下:
          Fn+R,???? 輸入gpedit.msc,回車 
          然后依次點擊 計算機配置-〉管理模版-〉系統-〉關閉自動播放

          posted @ 2006-11-10 09:13 Earth 閱讀(324) | 評論 (0)編輯 收藏

               摘要:   閱讀全文

          posted @ 2006-10-25 22:46 Earth 閱讀(337) | 評論 (0)編輯 收藏

          好久不博,恢復中~~
          主要原因好久不弄JAVA,
          今天晚上回來。把IBM SDK 1.4.2, ECLIPSE3.1.2裝好后, 又下了swt designer5.0及破解文件
          一番辛苦,把hello world 弄出來咯~~

          其中有一個叫swt-win32-3139.dll的SWT原生包文件在D:\eclipse\configuration\org.eclipse.osgi\bundles\14\1\.cp下面。需要拷貝到C:
          WINDOWS\system32下面

          嗯。下一篇是關于hello world jdom的。等我弄好了再博一篇

          posted @ 2006-10-25 22:06 Earth 閱讀(364) | 評論 (0)編輯 收藏

          The first good news:
          Sky win the WCG2006 champion, follow this link and leave a message there:
          sky's sina blog

          The second good news:
          I received?5 ubuntu?CDs today from?receptionist due to my subscription one month ago from Ubuntu Official Website, tho it's 6.06 LTS, it's terrific news for me! i m very excited about that~

          posted @ 2006-10-23 21:19 Earth 閱讀(222) | 評論 (0)編輯 收藏

               摘要:   閱讀全文

          posted @ 2006-10-08 10:00 Earth 閱讀(3263) | 評論 (0)編輯 收藏

               摘要: 北京的冬季,地上還有積雪,灰黑色的禿樹枝丫叉于晴朗的天空中,而遠處有

          一二風箏浮動,在我是一種驚異和悲哀。  閱讀全文

          posted @ 2006-09-23 21:41 Earth 閱讀(213) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 那坡县| 同心县| 望江县| 申扎县| 普兰县| 鄢陵县| 芜湖县| 屏山县| 习水县| 安陆市| 盘锦市| 洞口县| 德庆县| 巫溪县| 汝南县| 德安县| 景东| 炉霍县| 广州市| 泽普县| 南川市| 宜兰市| 广饶县| 泽州县| 南昌县| 秀山| 榆社县| 八宿县| 东乡族自治县| 洛南县| 安平县| 化德县| 邳州市| 莱西市| 阿合奇县| 定西市| 工布江达县| 壤塘县| 儋州市| 漳州市| 鄂伦春自治旗|