Let's go inside

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

          2006年11月10日

          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)編輯 收藏

          主站蜘蛛池模板: 明水县| 报价| 兴山县| 法库县| 当阳市| 鄂托克前旗| 景宁| 沾化县| 灵川县| 古浪县| 诏安县| 连城县| 五指山市| 拉孜县| 永胜县| 德庆县| 茶陵县| 定襄县| 和田县| 仁怀市| 铜梁县| 龙泉市| 博湖县| 南汇区| 府谷县| 永康市| 达孜县| 海林市| 榕江县| 曲松县| 乌拉特中旗| 巴塘县| 太仆寺旗| 铅山县| 新密市| 买车| 鄂伦春自治旗| 饶平县| 竹溪县| 方正县| 昌邑市|