星期六, 5月 23, 2009

Using cwrsync for synchronization data

Using RSYNC clinet ( Windows platform: cwrsync ) synchronization data:
There are no GUI for now, all Text interface。
  • Windows Side RSYNC client/server: SourceForge DOWNLOAD.
    After download then install it。
  • Upload
    • Windows:
      rsync -avrHS --progress --delete ./go 192.168.1.100::test
    • Linux:
      The same as Windows.
  • Download
    • Windows:
      rsync -avzHS username@FROM_IP:/SOURCE_PATH /TARGET_PATH
    • Linux:
      rsync -avzHS -e "ssh -p SOURCE_PORT" username@FROM_IP:/SOURCE_PATH TARGETPATH
  • --delete,Be Care!!! It will be delete files, using it when u know what r u doing
  • Install and start SSH in Target machine。It will ask u password during procedure。
Server Side rsyncd:
  • Install and find execution file below \Program files\ICW.
  • Create rsyncd.conf and put to bin.
  • mkdir.exe /etc; cp.exe rsyncd.conf /etc
  • rsync --daemon
  • ps.exe aux (check it! is rsyncd running? ).
  • Finished.

Reference:

星期五, 5月 22, 2009

Windows 下 L2 Cache

打開L2 Cache 的方式:
  • 首先要知道你的 CPU L2 有多大.
  • 打開 regedit
  • 修改下面的值 (單位)
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\SecondLevelDataCache
  • OK , 重開機.

星期一, 5月 18, 2009

學乖

二年了,就讀碩專兩年了,直到今天才體會,為何每堂課的教授都要求作業要以論文的格式來寫,真的是台上10分鐘;台下十年功,平常累積起來的學習經驗,真的是有一天會用到。如果未來還要走在學術界,無論是當學生、老師、顧問這一類的,往後勢必要拿出一些能代表自己所擁有專業的證明時,就考驗著當初下了多少苦心寫的文件了,沒有過往的文件只靠嘴巴講講,沒有那麼容易讓人【信道】。這次為了繳交報名資料,光是寫幾頁的文件,花了好幾個日夜,無論是排版、文字的運用、該呈現的資料等撰寫的技巧,若是經過課堂報告的練習,定不會如此狼狽。

期間參考到一篇 政大 莫建清先生 所寫的【研究論文撰寫的方法與技巧】,不看還好,看了發現寫文章更是另一門學問。文中提到美國應用語言學家HatchFarhady (1982:1)給「研究」所下的定義是:「用有系統的方法與步驟,找出問題的答案(a systematic approach to finding answers to questions)」。工作上的程式撰寫與做研究也有相同之處:觀察問題、假設、猜測發生原因、求證,而文件就是要讓這一系列的動作能讓他人複製出相同的結果,雖然我們的重點放在學科的研究上,對於未來Paper 發表上,還是要在平常多花點時間練習。


學一次乖!未來的課業寧可一學期只出一份能拿的出檯面的報告,也不要草草了事的交出 5 份作業,至少還有一份讓人能看的點頭。