Nov 8, 2009

B Tee 與 Binary Search Tree

 參考:Fundamentals of data structure in C / Horowitz / 原文版 / ISBN 0-7167-8250-2 / 1993
1. Tree 的定義在p.187
2. 任何 tree 都可以被轉成 binary tree (fig 5.5, 5.6)
3. binary tree 每個 node 的 child 不超過 2
4. binary tree definition: p. 191
5. binary tree 可以為空樹;但 tree 不可為空樹
6. binary tree 兩個特型:skewed tree, complete binary tree
7. thread binary tree : 利用數量太多的 null link, p.211
8. Heap : 一個 complete binary tree 的特型
9. Max Heap 可以在 insert 與 delete 都取得 O (log n) 的效率。其他的 array or list 只能單邊達到 O(1) 另一邊是 O(n)
10. binary search tree 定義在 p.226
    是 binary tree 的一種
11. 依我看來,我們 source 裡的 tree 很有可能是 binary search tree
    它的規則總是:對一個 node 來說,它的 left node 比它小;它的 right node 比它大

12. p.228, p.230 有介紹 insert / delete of binary search tree.

註:從書中看,B tree 每個 node 的值有可能是一個或兩個。我想 source 中的 tree 應該不是 B tree.

Nov 5, 2009

雲端運算 - 節譯自英文 wikipedia

http://www.csie.ntu.edu.tw/~r91044/doku.php?id=cloudcomputing

Oct 19, 2009

神鬼交鋒

在星期日的晚上在電視前面看電影不是我的計畫,
看的片是「神鬼交鋒」更不是我的計畫。
(如果你跟我一樣,沒有看過這部片,只知道片名與海報)

看完才知道,這是我看完會覺得「今天又看了一部好片」的電影,因為
1. 因為它是真實故事改編 && 有點年代 (1969年)
2. 它拍得好

法蘭克威廉阿巴奈 http://en.wikipedia.org/wiki/Frank_Abagnale
我最喜歡電影最後的10分鐘

Oct 15, 2009

WMI

[[PageOutline]]

= Windows Management Interface, WMI =

[http://140.134.26.7/wbemwiki/index.php/%E7%AC%AC%E5%8D%81%E7%AB%A0_WMI
WMI is an implementation of WBEM spec] Highly recommanded!

== External Links ==
* [http://www.wilsonmar.com/1wmiwbem.htm Blog of Wilson, about WMI]
* [http://www.serverwatch.com/tutorials/article.php/2178391/Understanding-WMI-WBEM-CIM-etc.htm,
Understanding WMI, WBEM, CIM, etc.] ~ServerWatch.com

Oct 14, 2009

Detect BitLocker volume in Windows 7

http://msdn.microsoft.com/en-us/library/aa376483(VS.85).aspx

Oct 13, 2009

解決 console program 在 WinPE 下遇到 side by side problem 的問題

1. Compile sample code in
http://msdn.microsoft.com/en-us/library/aa376483(VS.85).aspx.

2. 在 Vista 下 run ok. 在 PE 3.0 下 run 不OK
告訴我 side by side 不過

3. 將 Linker -> Manifest File -> Generate Manifest 從 Yes 設為 No.
[BDE.exe - System Error
The program can't start because MSVCP80D.dll is missing from your
computer. Try reinstalling the program to fix this problem.

4. 將 C/C++ -> Code Generation -> Runtime Library 從 Multi-threaded
Debug DLL (/MDd) 改為 Multi-threaded Debug (/MTd)
總之不要選有"DLL" 的選項就對了。

程式執行正常。

原理我是看了 HT 的投影片知道的。

IFS and NTFS

http://blogs.msdn.com/si_team/archive/2006/10/26/detecting-bitlocker.aspx
NTFS 是 IFS 的一種

看一下
http://en.wikipedia.org/wiki/Installable_File_System

裡面會有很多熟悉的 term

HPFS....

回頭再來看。

Oct 11, 2009

第一滴血、華爾奇麗雅、美國黑幫

最近三天看這三部。我給的評價都是好看。

覺得第一滴血(1982)很棒。雖然它要說的只有那一個點而己,但讓我去想像很多事情。

華爾奇麗雅不是「湯姆歷險記」。基本上很多人都有發揮角色的機會,也可以重溫當時的柏林時空。

我因為 Ridley Scott 看美國黑幫。Ridley Scott 的大片我幾乎都會看。
我的感覺是...豐富,你可以看到很多的點在這部片裡面。
故事從 1968 年開始...真實故事改編...
先看這一部,再看 Michael Mann 的「頭號公敵」,可說是倒著再重溫一次美國(紐約)的幫派歷史。

附帶一提,如果你跟我一樣對歷史有興趣的話,也許才會像我一樣覺得三片都好看。

truemovie 推出新功能

www.truemovie.com

推出 google friend 的功能

果然站長都是有站在網站功能最前端啊 ~


取消 Real Network 的服務

日前我從 windows 2000 換到 Windows XP

心想終於可以把所有軟體換成最新版

就安裝了 RealPlayer SP

安裝時它會問你要不要安裝他們的服務

有 n 天的試用期,並要你填信用卡資料。

好吧,我是貪小便宜,我就填了。

但是那是過試用期後自動續約的,而我壓根忘了這回事。

直到今天我在我的信用卡帳單上看到不熟悉的

RN *SUPER PASS CHINESE
RN *UNLIMITED MOVIE C
(信用卡帳單有欄位字元限制)

打客服問+猜 才想起可能是這回事。

Anyway, 你不太容易找到如何取消它的網頁 (例如,你去 Chinese Superpass 首頁,你找不到這個連結 !!! http://taiwan.real.com/guide/index_.htm )


注意一下這邊有類似的新聞