部門會議 950619 leon的錦囊妙計
DESCRIPTION
TRANSCRIPT
Leon 的錦囊妙計
HRISPD
莊子遷 (Leon Chuang)
2006.6.19
大綱
整合建置流程 程式介紹 經驗分享 結語
整合建置流程CruiseControl.NET
What is CruiseControl.NET?
Daily Build or Auto Build Tool Continuous Integration S.C.M (Software Configuration Management)
a part of CM Integration with a variety of Source Control
systems (vss, cvs…) Integration with other external tools (NAnt,
Visual Studio)
CruiseControl.NET
Integration Process
Suite Application CruiseControl Server CruiseControl Service Web DashBoard CCTray
CruiseControl.NET
CruiseControl Server
CruiseControl Service
Web DashBoard
Web DashBoard
CCTray
NAnt
功能強大的批次命令執行工具 經由設定檔 (xml format) 進行命令集設定 設定檔內可使用變數 可使用的功能如 FileSystem Control 、 Code R
epository Access 、 Code Compile 、 Compress Files 及 MailSend 等等…
NUnit 、 NDoc 的支援
DemoCCNet with NAnt (MiniToolSolution)
程式介紹Rubik_VBChessGUI
CarAccountsMaintainGssLogExplorer
Rubik_VB( 魔術方塊 )
在指定的方塊模式當中來求最佳解法 ( 回復六面 )
使用展開圖形 ( 平面 ) 方塊空間幾何邏輯處理 2D View 3D View 向量投影 OpenGL :立體模型的建構
矩陣運算
OpenGL API
DemoRubik_VB
ChessGUI( 象棋 )
人機對奕 控制邏輯及演算邏輯 畫面 UI 的處理 Alpha-Beta Search (MiniMax Search)
Board
Computer’s Move
Scan all possible Move (Depth Limitation) Legal Move Calculate Point Choose a Best Move ( Best Point )
Move Base
Offset
Grid90
Grid182
LegalPosition
Mask
0:兵 (卒 ) 1:仕 (士 ) 2:相 (象 ) 3:傌 (馬 ) 4:炮 (包 ) 5:俥 (車 ) 6:帥 (將 )
PointTable
兵(卒 )
仕(士 )
俥(車 )
帥(將 )
DemoChessGUI
CarAccountsMaintain( 收支維護 )
出車收支維護系統 簡易報表處理
DemoCarAccountsMaintain
GssLogExplorer
Log 檢視工具
DemoGssLogExplorer
經驗分享
NETSH 的應用Vmware expand disk
NetSh 的應用 匯出設定
netsh –c interface dump > config.txt
匯入設定 netsh –f config.txt
自訂設定 netsh interface ip set address “ 區域連線” static
10.168.0.88 255.255.255.0 10.168.0.1 netsh interface ip set dns “ 區域連線” 10.168.0.1 netsh interface ip set address “ 區域連線” dhcp netsh interface ip set dns “ 區域連線” dhcp
Vmware Expand Disk
Vmware-vdiskmanager.exe -x 8Gb MyDisk.vmdk
Modify Partition Capacity Partition Magic Arconis Partition
結語
抽象化 What vs How ( 關心概念而非細節 )
責任區隔 讓變動區域縮小
可讀性 讓人容易讀懂
Q & A
參考資料
CruiseControl.NET Home NAnt Home NUnit Home NDoc Home Alpha-beta pruning OpenGL API Code and Tutorial Listings