tag:blogger.com,1999:blog-210800462023-11-16T18:59:09.234+08:00愛作夢的男人DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.comBlogger208125tag:blogger.com,1999:blog-21080046.post-29791724724323639432014-06-04T10:46:00.002+08:002014-06-04T10:46:14.484+08:00Chrome 64 bit version<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.google.com/chrome/assets/common/images/chrome_canary_logo_2x.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.google.com/chrome/assets/common/images/chrome_canary_logo_2x.png" /></a></div>
<br />
Google <a href="http://blog.chromium.org/2014/06/try-out-new-64-bit-windows-canary-and.html">發表</a>了64 bit 版本的Chrome 了, 主要增強速度與安全, 不過我用起來最引起我興趣的, 是記憶體使用變小很多, 大概平均少了一半, 有興趣快點來<a href="http://www.google.com/intl/en/chrome/browser/canary.html">下載</a>吧.!<br />
<br />
<br />
<br />
<br />
參考連結<br />
http://www.google.com/intl/en/chrome/browser/canary.html<br />
http://blog.chromium.org/2014/06/try-out-new-64-bit-windows-canary-and.htmlDreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-18243545171908961542014-03-18T13:48:00.002+08:002014-03-18T13:51:39.186+08:00Visual Studio 的ipch/ 目錄最近在整理較大系統的 git 目錄結構, 要把整個git untracker 的檔案分開, 所以要指定一些VC產生出來的目錄, 整理到 ipch 時很抓狂, 它就一直黏著.sln 檔放<br />
<br />
ipch目錄據說是Visual Studio 2010 IntelliSense 開始拿來放一些precompiled的東西,最賭爛的是,它不是放Compiler 的precompiled 的東西, 所以找很久都朝C++ compiler 的precompiler 的方向找, 拜了幾次Goolge大神才找到, 其實主要是IntelliSense自己的暫存檔, 但這個設定確不是sln 可以設定的, 所以不能夠過設定.sln 來讓所有人都可以用, 得每台電腦都得設定<br />
<br />
<br />
到這裡來<br />
Tools > Options > Text Editor > C/C++ > Advanced ->Fallback Location<br />
<br />
將Always Use Fallback Location設為 True<br />
<br />
預設存放的目錄為 C:\users\AppData\Local\Temp\<br />
你也可以透過 Fallback Location 來設定, 例如直接設到 %TEMP% 去眼不見為淨<br />
<br />
參考連結<br />
<br />
<a href="http://blog.bfitz.us/?p=1315">http://blog.bfitz.us/?p=1315</a><br />
<a href="http://stackoverflow.com/questions/4315681/how-to-change-ipch-path-in-visual-studio-2010">http://stackoverflow.com/questions/4315681/how-to-change-ipch-path-in-visual-studio-2010</a><br />
<a href="http://blogs.msdn.com/b/vcblog/archive/2010/03/09/intellisense-browsing-options-in-vc-2010.aspx">http://blogs.msdn.com/b/vcblog/archive/2010/03/09/intellisense-browsing-options-in-vc-2010.aspx</a>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-33134358615555742662014-02-27T09:53:00.003+08:002014-03-18T13:52:00.175+08:00把多張JPEG 轉成MJPEG 的video file記錄一下摟.!<br />
<br />
<blockquote class="tr_bq">
ffmpeg -r 30 -i input%03d.jpg -codec copy output.avi</blockquote>
-r 是frame rate<br />
-i 輸入檔名, 其參數方式跟printf 類似, 如果是 input_001.jpg to input_123.jpg, 那就下成input_%03d.jpg摟<br />
<br />
-code copy : 則是直接copy不做壓與解<br />
<br />
記得, 輸出檔名為.avi 或mkv ,mov 等容器類的檔案, 而不要設定成mp4 指定格式壓縮格式<br />
<br />
<br />
參考資料<br />
<a href="http://video.stackexchange.com/questions/7903/ffmpeg-how-to-losslessly-encode-many-jpg-images-to-a-video">http://video.stackexchange.com/questions/7903/ffmpeg-how-to-losslessly-encode-many-jpg-images-to-a-video</a>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-16719322824070023782014-02-20T10:32:00.000+08:002014-02-20T10:32:15.577+08:00git submodule update 後, 不會自動對到master branch 的解法git submodule update 後, 每次都在要commit 時被提醒沒有設branch, 這很怪, 查了一下才注意到root 在記錄submodule 的狀態只記錄最後commit 的hash id, 並沒有記錄是那個branch 的, 所以當你submodule update 會將hash id update後, branch 就拖勾了.<br />
<br />
不過在git 1.8.1 之後加入了可以設定submodule 的branch 了, 使用方式是在加入submodule 時下-b 的參數<br />
<br />
<span style="background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 17.804800033569336px;">git submodule add -b master [URL to Git repo];</span><br />
<br />
這樣當我們 submodule update 時就會自動將branch 設為master , 這樣也比較像svn 的external link 的方式, 可以設定某個root 的git 使用某個submodule 的branch<br />
<br />
不過如果現有的submodule 要加入呢?<br />
<br />
這時只要回到parent 的git 目錄去設定就可以了<br />
<br />
<pre style="background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;">git config -f .gitmodules submodule.<path>.branch <branch><span style="background-color: transparent;"> </span></branch></path></pre>
<br />
<br />
參考連結:<br />
ref1: <a href="http://stackoverflow.com/questions/9189575/git-submodule-tracking-latest">integrate with the tip of the remote branch</a><br />
ref2: <a href="http://stackoverflow.com/questions/1777854/git-submodules-specify-a-branch-tag/18799234#18799234">if you have an existing submodule which isn't tracking a branch yet</a><br />
<br />DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-77672747850562651682013-12-31T18:09:00.001+08:002014-02-20T10:32:29.644+08:002013 年終廢言<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;">這一年是我離開了待了13年的公司</span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;">這一年開始回到寫Code 為主的工作</span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;">這一年我看了29本書,面目一點很恐怖, 整整比去年少了一半</span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;">這一年寫了8篇Blog</span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;"><br /></span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;">這一年我女兒可以自己洗碗</span><br />
<span style="color: #333333; font-size: 13px;">這一年我兒子可以從抱著餵奶, 到自己拿著奶瓶爬上樓梯躺好自己喝</span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;">這一年我老婆開的諮商所三年了!</span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;"><br /></span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;">這一年對我來說是改變的一年, 改變對我來說是很恐懼的, 但我還是面對了</span><br />
<span class="Apple-style-span" style="color: #333333; font-size: 13px;"><br /></span>
<span style="color: #333333; font-size: x-small;">總體來說, 今天是刺激與精彩的一年</span><br />
<span style="color: #333333; font-size: x-small;">2013 再見了.!</span></div>
<div>
<span class="Apple-style-span" style="color: #333333; font-size: 13px;"><br /></span></div>
<div>
<br /></div>
<div>
<br /></div>
DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-55123622324611480772013-12-31T13:24:00.002+08:002013-12-31T13:24:44.115+08:00Google search for VNC<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
這廣告投的也太機車了吧</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixc1ZcEW8tibm1ppqB1BC8b7Wv0q-zt5R87Z3CF3dU6C2RCgXSS_fR4PrFmB3shwSy2Z9nl8nqzXuMlk3lKeK0EkxJCigaHpMcWNAIO4vy1jQjvlQMVOwK8u2ypns1l2GQwFKY/s1600/VNC.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="383" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixc1ZcEW8tibm1ppqB1BC8b7Wv0q-zt5R87Z3CF3dU6C2RCgXSS_fR4PrFmB3shwSy2Z9nl8nqzXuMlk3lKeK0EkxJCigaHpMcWNAIO4vy1jQjvlQMVOwK8u2ypns1l2GQwFKY/s640/VNC.png" width="640" /></a></div>
<br />DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-40383551064531613592013-11-02T20:50:00.003+08:002013-11-02T20:50:30.527+08:00Google Apps Script Shortcut <br />
<br />
不知道為啥,google不直接列一張表,還是有我沒找到,有的在Menu地方有寫,有得沒有,所以在此記錄一下, MAX 是 command , PC則是 Ctrl 請自己轉換一下<br />
<br />
<br />
Mac<br />
<br />
Run : command + R<br />
Save : command + S<br />
View log : command + enter<br />
Select All : command + A<br />
auto Indent : Shift + Tab<br />
auto complete : alt + / (會在你程式裡找曾經定義的變數名稱,所以如果第一次不正確,就多按幾次來選)<br />
<br />
Undo : command + Z<br />
Redo : command + Y<br />
<br />
<br />
另外 Debug mode 裡set break point 或是 step into or step out 如果有知道的人可以告訴我一下,不然寫起程式來有點困擾<br />
<br />
<br />DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-26962977340443220802013-11-01T10:10:00.000+08:002013-11-01T10:47:51.546+08:00WriteFile fail with error 87<div class="tr_bq">
最近為了測試檔案系統的效能, 寫了一個測試程式, 結果掛在一個很簡單的地方, 所以記錄一下</div>
<div class="tr_bq">
<br /></div>
<div class="tr_bq">
這是寫檔程式, </div>
<blockquote>
<br />
hFile = CreateFile(filename, GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, CREATE_ALWAYS,FILE_FLAG_NO_BUFFERING, NULL);</blockquote>
<br />
<blockquote>
if (WriteFile(hFile, &OutData, iRand, &BytesOut, NULL) == 0) <br />
{<br />
printf (" Error writing file error=%d\n\n",GetLastError ( ));<br />
CloseHandle(hFile);<br />
return 0;<br />
}</blockquote>
CloseHandle(hFile);<br />
<br />
<br />
很簡單, 確會傳出 INVAILD_PARAMETER <span style="background-color: #fff8df; color: #666666; font-family: 'Segoe UI', Arial, sans-serif; font-size: 11.333333015441895px; white-space: pre-wrap;"> </span>87 的error number , 簡查了老半天沒啥參數寫錯呀, 整個MSDN找了一遍也不知道啥原因, 反到是拜google大神找到, 因為要測效能, 所以我用<span style="color: red;">FILE_FLAG_NO_BUFFERING </span>來測, 不過只要設成NO Buffer , writefile 就只能接受一次至少要寫1個sector 的限制, 而目前windows 7 都是4k也就是4096, 所以就一定要寫4096的倍數<br />
<br />
所以看是要把FILE_FLAG_NO_BUFFERING改為 FILE_ATTRIBUTE_NORMAL來解,或是iRand這個變數一定要為4096的倍數都可以摟.!!<br />
<br />
<br />
Update :<br />
看來是我眼濁, MSDN有寫很清楚<br />
<br />
http:// <a href="http://support.microsoft.com/kb/99794/en-us">http://support.microsoft.com/kb/99794/en-us</a><br />
<br />
<br />
<blockquote class="tr_bq">
<span style="background-color: white; color: #333333; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 13px;">The FILE_FLAG_NO_BUFFERING takes this concept one step further and eliminates all read-ahead file buffering and disk caching as well, so that all reads are guaranteed to come from the file and not from any system buffer or disk cache. </span><span style="background-color: white; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 13px;"><span style="color: red;">When using FILE_FLAG_NO_BUFFERING, disk reads and writes must be done on sector boundaries</span></span><span style="background-color: white; font-family: 'Segoe UI', Arial, Verdana, Tahoma, sans-serif; font-size: 13px;"><span style="color: red;">, and buffer addresses must be aligned on disk sector boundaries in memory. </span></span></blockquote>
DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-59039145456172050972013-09-18T18:16:00.001+08:002014-07-22T10:30:46.745+08:00快速移動<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHHqMDfMWHMeuo0ek2fonTyliPc0XHBtZRgCADEjBtPraW6iKOwf7j90OUaxZFHAqYL-f19vNkpYCFyvo79WTofC95eacGq4RB6w7K81v3NzyECUCz1XTkdaDoWfNCE5YhIQ6D/s1600/A1CB20FE-D8CB-447E-BFA2-83B4FACA5CC3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHHqMDfMWHMeuo0ek2fonTyliPc0XHBtZRgCADEjBtPraW6iKOwf7j90OUaxZFHAqYL-f19vNkpYCFyvo79WTofC95eacGq4RB6w7K81v3NzyECUCz1XTkdaDoWfNCE5YhIQ6D/s320/A1CB20FE-D8CB-447E-BFA2-83B4FACA5CC3.JPG" height="320" width="239" /></a></div>
<br />
<br />
台南與台北, 在快速移動中兩個城市中,就像切換兩張圖,上一張下一張的比較,就算多細微的差別都可以感覺的出來,有趣的是在這樣的差異中再拉出一個時間軸,比較出隨時間,兩個城市各自的改變,更可以看出兩個城市互相認知的改變,以一個觀察者來看真的很有趣。<br />
<br />
不過即將結束這樣的快速移動的生活了,有點鬆一口氣的感覺,卻也有點惆悵,鬆一口氣的原因是這樣的移動,實在是相當累的事,可以不用再奔波卻實是較輕鬆,但惆悵的事還居然很懷念這樣到處跑的日子!DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-48238614764924339962013-06-27T11:28:00.001+08:002013-06-27T11:28:22.596+08:00WDK 8.1 preview 發表了今天Windows 8.1 preview 已經開放下載了, 相關工具也都開工了, 快去看看吧.!<br />
<br />
<a href="http://msdn.microsoft.com/zh-tw/windows/hardware/bg127147">http://msdn.microsoft.com/zh-tw/windows/hardware/bg127147</a>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-13586056162787965162013-03-14T10:09:00.002+08:002013-03-14T10:09:30.665+08:00Google reader 要收工了..!!<br />
<br />
<a href="http://googlereader.blogspot.tw/2013/03/powering-down-google-reader.html">Power down Google Reader</a><br />
<br />
今天一早最悲的消息吧, 我是Google Reader 的重度使用者, 得想想辦法了<br />
<br />
官方提到的理由是使用率下滑和集中火力, 事實上可以看出Google 正在整個產品上有更明確的策略運用, Google要把流量能集中在Google+裡, 希望blog 這樣的型式可以轉成Google+ 來發行內容, 而用follow 來取代 feed 的訂閱型式, 所以網路開始有人提出希望能在Google+ 加feed的support, 我覺的不太可能出現這樣的功能, 因為與Google 的策略違背<br />
<br />
Google Reader 一路好走了....<br />
<br />DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-61626440053894941712013-02-07T11:59:00.000+08:002013-02-26T11:59:54.893+08:00detect Kernel-Mode memory leak 這陣子遇到一個怪Case ,客戶開機上線大概三天左右就會出錯, 因為有時間性, 所以一開始就鎖定是memory leak 的方向, 不過因為現場常會被破壞, 因為一出問題, 客戶就重開電腦, 後來請客戶保留現場後, 總算看到狀況了, 什麼程式都點不開了,會出現 resource 不足Message, 所以確定是Memory leak<br />
<br />
執行工作管理員, 可以看到memory 已經吃了4G 了, 但怪的是找不到哪個process 吃走的, 這下麻煩了, 是kernel level 的, 把現場配制拉回公司內部覆製, 還是出不出問題, 後來才想到客戶端有接IO 裝置, 透過USB to COM 去控制, 所以就完整接了起來, 就看到問題了..!!<br />
<br />
<br />
利用 WDK 內附的Poolmon 來看, 可以加個 -b 的參數讓pool tag 以吃記憶體大小做排列, 白色的為有記憶體變動的pool tag, 慢慢的就看到問題了, 紅色框起來的Ser2 慢慢往上長, 這下抓到了, 那來看一下是誰搞的鬼摟.!!<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJnSjl3CPi9CKEas0WsdSKansOPDAu1Au-sn3GehtrugVA22JzusPxmRFQEJF9SS4nSjecS5fTU3TGnK3N9YD6qy0nDxm9nJiuIwsOzrjFcuegFe1U6ctO__VnR-ymrKfSjbY9/s1600/Ser2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="620" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJnSjl3CPi9CKEas0WsdSKansOPDAu1Au-sn3GehtrugVA22JzusPxmRFQEJF9SS4nSjecS5fTU3TGnK3N9YD6qy0nDxm9nJiuIwsOzrjFcuegFe1U6ctO__VnR-ymrKfSjbY9/s640/Ser2.png" width="640" /></a></div>
<br />
<br />
用Windbg 的kernel debug 連進去<br />
<br />
<br />
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;">KD > ed nt!poolhittag '2reS' </pre>
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;"></pre>
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;">記得tag 要反過來.!</pre>
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;"></pre>
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;">按了幾下g 就可以確定問題了, ser2pl64.sys 這個檔案出問題, 確定是USB2COM的Driver有問題</pre>
<pre style="overflow: auto; padding: 5px;"><span style="font-family: Consolas, Courier, monospace;"><span style="font-size: 14px; line-height: 20px;">kd> kb
: Call Site
: nt!ExDeferredFreePool+0xb57
: Wdf01000!FxPoolAllocator+0x29b
: Wdf01000!FxObjectHandleAlloc+0xb2
: Wdf01000!imp_WdfMemoryCreatePreallocated+0x16e
: ser2pl64+0x1239d
: ser2pl64+0x121cc
: ser2pl64+0x1138e
: ser2pl64+0xed35
: ser2pl64+0xad65
: ser2pl64+0x28065
: Wdf01000!FxPkgGeneral::OnCreate+0x4b1
: Wdf01000!FxPkgGeneral::Dispatch+0x15c
: Wdf01000!FxDevice::Dispatch+0xa9
: serenum!Serenum_DispatchPassThrough+0x86
: serenum!Serenum_CreateClose+0xd9
: nt!IopParseDevice+0x5a5
: nt!ObpLookupObjectName+0x588
: nt!ObOpenObjectByName+0x306
: nt!IopCreateFile+0x2bc
: nt!NtCreateFile+0x78
: nt!KiSystemServiceCopyEnd+0x13
: ntdll!ZwCreateFile+0xa
: 0x7529bff7
: 0x3bffd98
: 0x3bffdb0</span></span></pre>
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;"></pre>
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;">update 他們公司最新的Driver ,問題依舊, 在64 bit OS 下就會出問題, 打去給他們公司要反應這問題, 結果一定要問我是哪家公司, 因為這產品也不是我買的, 是我客戶買的, 我跟他說我是誰有啥義意, 本來還在幫忙trace 看是為啥他們會一直allocate memory 而不release, 這下算了, 請客戶換別家USB2COM 好了, 而且還一定不能用這家chip 的.!!</pre>
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;"></pre>
<pre style="font-family: Consolas, Courier, monospace; font-size: 14px; line-height: 20px; overflow: auto; padding: 5px;">參考連結</pre>
<a href="http://msdn.microsoft.com/zh-tw/library/windows/hardware/ff560189(v=vs.85).aspx">Using the Kernel Debugger to Find a Kernel-Mode Memory Leak</a><br />
<div>
<br />
<a href="http://msdn.microsoft.com/zh-tw/library/windows/hardware/ff560135(v=vs.85).aspx"> Using PoolMon to Find a Kernel-Mode Memory Leak</a><br />
<br />
<span id="goog_1497374521"></span><span id="goog_1497374522"></span><a href="http://www.blogger.com/"></a> <strong style="background-color: white; color: #666666; font-family: Arial; font-size: 13px; line-height: 20px;"><a href="http://www.prolific.com.tw/UserFiles/files/PL2303_Prolific_DriverInstaller_v1_7_0.zip" style="color: #156ebe; font-size: 13.3px; text-decoration: none;" target="_blank"><span id="ctl00_mainpage_ListView1_ctrl1_ctl01_lblName"><span style="color: mediumblue;"><u>PL2303_Prolific_DriverInstaller_v1.7.0.zip</u></span></span></a></strong><br />
<div>
<br />
<div>
<br />
<div>
<br />
<br />
<blockquote class="tr_bq">
<br /></blockquote>
</div>
</div>
</div>
</div>
DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-9023800478384207592012-10-24T00:05:00.001+08:002012-11-15T08:07:24.369+08:00錢買不到的東西<div class="separator" style="clear: both; text-align: center;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvUKV124xFkh8EJmElQCwcjDsuW2UobyOUO1KsH353iRC9cTzkFOoD1oSsG6GG8LS38mAvATGh25NT_wiixj7dvx6JSVeb_q6tB7gXsOfRBu9zUt0Ww4_TGacHsVOc89ipOf3y/s320/20DDDC62-FBCD-4981-BC63-1664CE8515D9.JPG" width="239" /></div>當我看這本書超過一半時, 讓我想起<a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010520788">親愛的臥底經濟學家</a> 這本書, 將生活上看似煩瑣的事, 以經濟學基本的成本與效益, 簡單的解析出可能的路徑, 但Michael Sandel 確讓我們思考以現今經濟學家, 以市場主導方式來看世界是否過於簡單了呢? 自由經濟是利用人性貪婪, 還是導致貪婪呢?DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-57043532305119123412012-10-03T01:09:00.007+08:002012-10-03T01:09:57.667+08:00How to use VS 2012 online samples在 VS2012 裡的 Tools->Extensions and Updates .. 有看到可以直接Download Sample , 下載下來了, 確不知道跑去哪個地方, 找了半天總算找到方法了!<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFOGZ5PbWaPc9rDwR1EYTfk9Ta9J2BJCb8jndnWn9-tsyjzqa28-8PgI3UrTUhys5WOv7cijIxnNITaF456J09ooQAl1Kpdrk6TAIXVxExkT9vrQjKgH7ki5Lc8tshNWS-Bsrb/s1600/sample.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFOGZ5PbWaPc9rDwR1EYTfk9Ta9J2BJCb8jndnWn9-tsyjzqa28-8PgI3UrTUhys5WOv7cijIxnNITaF456J09ooQAl1Kpdrk6TAIXVxExkT9vrQjKgH7ki5Lc8tshNWS-Bsrb/s1600/sample.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;">在Help->Samples , 可以選擇已經下載的Sample, 如果選到沒有下載過的, 會直接下載, </span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjywGBdRxdo3Sl359zjlRgtxmKym42zyI0sidBxJp6WWsCg5nYZl3c_36D_As8oC_WM8t6brMiaRUAFxEF_pficxsOdiJ27sRFf4OkW9UbXFg8TO6gahNUs-bheYAn5aY29Nss5/s1600/%25E5%2585%25A8%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%258F%2596+2012103+%25E4%25B8%258A%25E5%258D%2588+125308.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="215" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjywGBdRxdo3Sl359zjlRgtxmKym42zyI0sidBxJp6WWsCg5nYZl3c_36D_As8oC_WM8t6brMiaRUAFxEF_pficxsOdiJ27sRFf4OkW9UbXFg8TO6gahNUs-bheYAn5aY29Nss5/s320/%25E5%2585%25A8%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%258F%2596+2012103+%25E4%25B8%258A%25E5%258D%2588+125308.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;">只要填好Name 與 設定Sample 要存放的位址, 就可以直接開啟這個Sample 的Projects 了...</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjePMe5tvpTlGu4mztAQxixPXRKNBl_k-eHADkuOIL_GtJYPzqZsB4mHzzeZrBMuVRS9gZiV4QB0GW8hU570eiJL4ViaNTJvW-NwsvBuUG2kSa7r-csZIiqB95F0dkDdjZtVaTg/s1600/%25E5%2585%25A8%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%258F%2596+2012103+%25E4%25B8%258A%25E5%258D%2588+010516.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="353" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjePMe5tvpTlGu4mztAQxixPXRKNBl_k-eHADkuOIL_GtJYPzqZsB4mHzzeZrBMuVRS9gZiV4QB0GW8hU570eiJL4ViaNTJvW-NwsvBuUG2kSa7r-csZIiqB95F0dkDdjZtVaTg/s640/%25E5%2585%25A8%25E8%259E%25A2%25E5%25B9%2595%25E6%2593%25B7%25E5%258F%2596+2012103+%25E4%25B8%258A%25E5%258D%2588+010516.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-42399964532914053992012-06-26T05:35:00.001+08:002012-06-26T05:35:49.523+08:00自省父親從沒直接教過我怎麼畫圖,只是教我看圖,或畫給我看,他說畫家一輩子要畫非常多次自己的手,因為那是最隨手可得的練習<br />
<br />
從小到大,父親教過我許多事,但真正感覺到父親的智慧時是在開始工作後,父親的智慧讓我能夠平穩向前,每年回首,總是可以看到收穫<br />
<br />
<br />
但隨著我自己些許但成就後,開始以為自己能夠開創自己的智慧,視父親的論點為過時的作法,一開始果然跳脫原來平穩的步伐,有著全新的思維與結果,不過這一兩年卻跌了幾次,總覺得一直離不開困境,越是努力掙脫,就是越陷越深<br />
<br />
直到這個失眠夜,好幾年沒提筆了,有點慘不忍睹,但過程中,我突然了解父親的智慧!<br />
<br />
這幾年,我一直以為動才能制勝,卻忘了靜的力量!父親曾經為了教我靜下來思考,給我許多方法,素描是其中一種!<br />
<br />
希望今天開始,先讓自己靜下來,思考後再出發!<br />
<br />
<br />
<br />
<br />
<div class="separator"style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOMNW2Gceh1g2JRrj1YSyIGNR5gB6Hq1w3zpv63sraE7sRJZkbeiTEkUBnaIpenckLAErZ7P6gXDew_1XwgLDIFGtSiRldBnFrKGmBgEicIgKN4gE-eDLsNFpDPYZ_EaFFdroo/s640/blogger-image-802004709.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOMNW2Gceh1g2JRrj1YSyIGNR5gB6Hq1w3zpv63sraE7sRJZkbeiTEkUBnaIpenckLAErZ7P6gXDew_1XwgLDIFGtSiRldBnFrKGmBgEicIgKN4gE-eDLsNFpDPYZ_EaFFdroo/s640/blogger-image-802004709.jpg" /></a></div>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-71768162768087228932012-03-27T22:36:00.000+08:002012-03-29T00:28:40.959+08:00長大後才知道的事有些事沒有遇到過還真的不知道,怎麼用邏輯想都想不懂,還真的要遇過,或多了一點..怎麼說,年紀吧!才能真的體會,好久沒寫文章了,最近人生有很多感觸,就以這個主題寫點東西吧!<br />
<br />
小時候,被媽媽騎著摩托車載著,總是覺得很怪,明明車速計最大到120km,路大又沒車,為啥媽媽總是騎40,這根本是浪費時間,當人生第一次出車禍,是因為車速過快,疑似看到車子衝出,緊急煞車,在沒撞到任何東西下滑倒,嚴重擦傷後,才知道,原來車速除了車子本身的能力外,還要考量人的反應能力<br />
<br />
所以當我開始開車後就很清楚這個道理,雖然開的猛,至少知道要把自身反應考量進去,不過就在一次重大車禍後我才發覺,考量的參數不夠,足以威脅生命,在一個閃黃燈的路口,遠遠看到左前方來車駛來,因為還有一段距離,所以我就直接開到十字路口中間,要等對向車道車一過就可以左轉,我以為來車看到我在路口,一定會放慢閃過的,但那是一般人在一般情況, 沒有考量到的是酒醉或打磕睡的人...!!我這樣就被來車撞到整台車旋轉270度, 整個車頭全毀, 好在小命保住了, 那來車車主酒醉駕車,但我差點沒辦法活著檢討錯誤的判斷.!<br />
<br />
不過或許只是我的思慮不周, 好的RD總會把所有的情況考量進去, 這算是經驗不足吧, 下次決定前要多思考吧, 直到有一天我老婆有事,我自己一個人從我父母那把我家女兒載回家,不過因為女兒熟睡了, 所以我把她放在後座椅子上, 就這樣時速20~30的開回家, 在一直注意後視鏡要讓後車來時閃到右邊以免擋到後車時, 還一面看著女兒, 才猛然想起20幾年前問題的答案..!!<br />
<br />
媽媽騎著時速40載著我, 並不是考量時間, 效率, 車子能力或是自身的反應, 而是為了車上的兒子, 完全不冒任何險的把所有意外的可能都排除, 只為了把兒子安全的載回家<br />
<br />
年紀漸長, 有些還是要領悟過, 才知道吧.!DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com2tag:blogger.com,1999:blog-21080046.post-63843283320868546162012-01-16T17:25:00.000+08:002012-01-16T17:25:02.660+08:00Unix 與 x86 的比較??這是來亂的嗎? Unix 是指OS x86是硬體平台, 本來就有Unix on X86, 標題下這樣是怎樣,<br />
<br />
看了整個內文也是以此來比較?, 不過應該是指 Itanium 刀 鋒 與x86 刀鋒可以共用一個機櫃吧, 用Unix與x86來比較人的人應該是外行的..!!<br />
<br />
<br />
<br />
<a href="http://www.ithome.com.tw/itadm/article.php?c=71750">http://www.ithome.com.tw/itadm/article.php?c=71750</a> <br />
<br />
<span style="font-family: 新細明體, Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; line-height: 36px;">HP奧德賽計畫通吃Unix與x86</span> <br />
<br />
<table border="0" cellpadding="0" cellspacing="0" class="Bpadd" style="color: black; margin-top: 7px;"><tbody>
<tr><td class="text13b" style="font-family: 新細明體, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;">HP啟動奧德賽計畫,將在未來2年內,讓企業利用同一臺機箱同時執行Unix與x86兩種異質伺服器平臺,而且兩者可以共享一些相同的系統功能<br />
</td></tr>
<tr><td class="text20" style="font-family: 新細明體, Arial, Helvetica, sans-serif; font-size: 20px; line-height: 36px;"></td></tr>
<tr><td class="text15" style="font-family: 新細明體, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 26px;">HP展開奧德賽(Odyssey)計畫,將在未來2年內,讓企業在同一臺機箱內,將關鍵業務的應用系統同時運行在Unix與x86兩種系統架構上,以簡化企業混雜了異質伺服器平臺的運算環境。</td></tr>
</tbody></table>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-66166215000662600642011-12-21T11:53:00.001+08:002011-12-21T11:54:19.288+08:00Google Analytic 上的"落跑"<div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;">現在是Google Analytic 是怎樣, 連"落跑"都出現了.!!</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUOOGgcDxl06YkCUJLdBcJwohW4OBt5JdUhLmXa7qU2EpW6vdijnCLaD6PaWZcrhYK_NAt1bKnNdiECj0fLRI_CK0Pue_qqknZ4fAci5e_MgHzLyobCJDNQwNNmm_23BeVXaUV/s1600/away.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="411" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUOOGgcDxl06YkCUJLdBcJwohW4OBt5JdUhLmXa7qU2EpW6vdijnCLaD6PaWZcrhYK_NAt1bKnNdiECj0fLRI_CK0Pue_qqknZ4fAci5e_MgHzLyobCJDNQwNNmm_23BeVXaUV/s640/away.png" width="640" /></a></div>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-27707885190742281902011-11-16T17:33:00.001+08:002011-11-16T17:34:33.790+08:00cvs 檔案損毀這算是悲據吧..!!<br />
昨天 CVS 系統出現ext3 的node錯誤的message ,大驚, 所以盡快換了一顆硬碟, 把檔案覆製好後以為安全了, 結果今天陸續傳回災情, 某些binary 檔案無法用WinCVS log or graph, 出現下面的些log<br />
<br />
<br />
cvs log -- xxx.dll ( in directory x:\xxx\ )<br />
cvs [log aborted]: premature end of value in /cvs/xxx/xxx.dll,v revision 1.187<br />
<br />
<br />
搞了老半天, 最後只好把1.187 這個版本直接從 xxx.dll,v 這個檔案裡砍掉, 總算解了這個問題<br />
<br />
但又接到幹譙信, 換另一個檔出問題, 再查這次就慘了, 出現下面這個LOG<br />
<br />
cvs log -- xxx.dll (in directory x:\xxx\)<br />
cvs [log aborted]: unexpected '\x5e' reading revision number in RCS file /cvs/xxx/xx2.dll,v<br />
<br />
<br />
沒有地方可以查問題出在哪, google 大神請出來拜了N回了, 還是找不到修復的程式, 有點欲哭無淚, 後來有找到原來cvs 的套件裡已檢查檔案是否損毀的script<br />
<br />
一般應該放在這<br />
/usr/share/cvs/contrib/check_cvs<br />
<br />
需要先設定CVSROOT<br />
export CVSROOT="/cvs/xxx" <-設成你的CVSROOT<br />
如果想要show多一點information 就再設 <span style="white-space: pre-wrap;">CVSDEBUGEDIT 變數</span><br />
<span style="white-space: pre-wrap;">export </span><span style="white-space: pre-wrap;">CVSDEBUGEDIT=1</span><br />
<span style="white-space: pre-wrap;"><br />
</span><br />
<span style="white-space: pre-wrap;">如果是在windows 下的, 記得把export 改成 setenv </span><br />
<span style="white-space: pre-wrap;"><br />
</span><br />
<span style="white-space: pre-wrap;">然後執行就可以列出損毀的檔案了..可以檢查災情....</span><br />
<span style="white-space: pre-wrap;"><br />
</span><br />
<span style="white-space: pre-wrap;"><br />
</span><br />
<span style="white-space: pre-wrap;">然後.... 然後.. 沒有救檔的程式嗎? 靠夭勒.. 沒有....... 看來又得再一一比對了..!!</span><br />
<span style="white-space: pre-wrap;">如果知道自動修的檔案, 記得通知我一下..!!</span>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com1tag:blogger.com,1999:blog-21080046.post-54669057609335592842011-09-09T17:56:00.001+08:002011-09-09T17:56:49.502+08:00Post from iPhone appTest from iphone<br />
<br />
Blogger 可以有原生的發版app了DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-79886527363493706062011-03-23T13:54:00.004+08:002011-03-24T19:58:53.963+08:00VC6 在Windows 7 64 bit 下Debug break 後, 所debug 的process 就hang 死的解法<p>因為Driver 的工作都已經移到 amd64 的工作環境了, 所以開發的OS就直接使用Windows 7 64bit, 測試上也比較容易, 不過AP 大部份還都是用VC6 寫的, 但是在windows 7 64 bit下用VC6 開發最痛苦的就是, 當程式因為某個中斷點break 後, 如果按Shift-F5 離開正在debug的程式時, 這個程式就會hang 住, 用工作管理員也砍不掉</p><p> 這樣問題就來了, 當你修改完code重新compiler 時, 會無法link成exe, 因為這個exe因為還在執行, 所以是無法寫入的, 然後就得關掉VC6, 這個debug一半的process才會被release, 然後重新開啟VC6 進行compiler , 一整個痛苦</p><p>這幾天實在受不了了, 用google了一下, 居然有看到解法, 這個真是感動,</p><p>請先確定將VC6 升到SP6, 我已經試過SP5 無法成功, 然後下載這個TLLOC.dll</p><p><span style="border-collapse: collapse; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 16px;">http://www.dr-hoiby.com/TLLOC.dll </span></p><p>覆蓋原來的<span style="color: rgb(51, 51, 51); font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; "><span style="font-style: inherit; font-family: arial, sans-serif; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; border-collapse: collapse; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> </span><span style="font-style: inherit; font-family: arial, sans-serif; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; border-collapse: collapse; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"<span style="font-style: inherit; font-family: inherit; outline-width: 0px; outline-style: initial; outline-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Common/MSDev98/Bin/TLLOC.dll</span>" 這個檔案, 重開VC6, 就可以解除痛苦了</span></span></p><p> </p><p> </p><p><span style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: x-small;"><span style="line-height: 16px;"><span style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"><span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; border-collapse: separate;"><span style="font-weight: inherit; font-style: inherit; font-family: arial, sans-serif; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; border-collapse: collapse; padding: 0px; margin: 0px; border: 0px initial initial;">參考連結</span></span></span></span></span></p><p><a href="http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/a9914982-ff0f-4981-b1f3-f0c936fec74e">http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/a9914982-ff0f-4981-b1f3-f0c936fec74e</a></p><p><span style="color: #333333; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px;"><br /></span></p>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com3tag:blogger.com,1999:blog-21080046.post-9934547744444038792011-03-22T15:11:00.001+08:002011-03-22T15:11:36.363+08:00在 VC6 SP6 上裝Processor Pack 5 的方式<p>Visual C++ 6.0 在出了 ServicePack 6 後, 不知道為啥要先remove 掉 Processor Pack 5, 所以當安裝完SP6 後 PP5 就不見蛋了, 如果要重裝PP5就會出現需要先裝SP5的訊息,所以只好讓PP5爽一下了</p><blockquote><p><span style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; line-height: 18px;">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\ServicePacks</span></p></blockquote><p><span style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; line-height: 18px;">把latest 的值由6 改為5 裝完PP5 後, 再改回 6吧..</span></p><p> </p><p><span style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; line-height: 18px;">記得如果是在Windows 7 64bit 版本下要改registry 需要執行 C:\Windows\SysWOW64\regedt32.exe 才可以讀的到上述的registry </span></p><p> </p><p><span style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; line-height: 18px;">不過因為就算PP5 也只support 到SSE2, 要改SSE3 以上的inline assambly 除非使用VS2005 以上了, 所以VC6下最好還是改為.asm 後再由外部Assambly 如NASM, YASM來 Assabmly 才是王道了..!!</span></p>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-19172999338376776732011-02-08T01:08:00.009+08:002011-02-08T10:19:34.715+08:00100年博客來網路書展 - 特價推荐書<div>國際書展要到了, 博客來又因應推出書展特價,</div><div>所以再把我的推薦書單中掃了一次, 把打5折與</div><div>7折的書列出來給大家參考摟</div><div><br /></div><div><br /></div>5 折書<div><br /><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; ">這本圖文並茂, 以介紹龐貝城挖掘的現狀, 是精裝本的型式, 很適合收藏</span></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; "><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010333868" style="color: rgb(85, 136, 170); text-decoration: none; ">龐貝的末日</a></span></div><div><br /></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; "><div>居禮夫人眾所周知的諾貝爾得獎者, 但這個家族確得了4的諾貝爾獎, 本書詳述了居禮夫人與其先生外,還記載了他們女兒女婿的事跡, 相當推薦</div><div><br /></div><div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010392056" style="color: rgb(85, 136, 170); text-decoration: none; ">居禮們:一個傳奇的家族</a></div></div><div><br /></div><div><div>我同事說過這本書, 看了就想要走一趟西班牙..</div><div><br /></div><div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010384119" style="color: rgb(85, 136, 170); text-decoration: none; ">無形之城</a></div></div></div></span></div><div><br /></div><div>7折書</div><div><br /></div><div><span class="Apple-style-span"><div style="color: rgb(51, 51, 51); font-size: 13px; ">約翰.康納利 的書幾乎都7折<br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010372421" style="color: rgb(85, 136, 170); text-decoration: none; ">罪惡森林</a></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010356965" style="color: rgb(85, 136, 170); text-decoration: none; ">奪命旅人</a></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010390038" style="color: rgb(85, 136, 170); text-decoration: none; ">嗜殺族</a></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010428485">魔鬼的名字</a></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010424537">蒼白冥途</a></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010369981">失物之書</a></div><div><br /></div><div><br /></div><div>艾倫的波頓 有兩本書 7 折</div></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010461198">機場裡的小旅行 : 狄波頓第五航站日記</a></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010466412">工作! 工作! : 影響我門生命的重要風景</a></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><span class="Apple-style-span" style="font-family: arial, helvetica, clean, sans-serif; line-height: 21px; color: rgb(0, 0, 0); "></span></div><div><span class="Apple-style-span"><span class="Apple-style-span"><span class="Apple-style-span"><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><div>黃文雄先生, 引經據典, 要洗掉威權政權下所為孫文所化的妝,很值的看</div></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010175351" style="color: rgb(85, 136, 170); text-decoration: none; ">國父與阿Q</a></div></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><br /></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><div>陳舜臣的書有兩本打七折</div><div><br /></div><div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010392881" style="color: rgb(85, 136, 170); text-decoration: none; ">成吉思汗一族(全四冊)</a></div></div></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010224710">諸葛孔明</a> (<a href="http://daydreamman.blogspot.com/2008/08/blog-post_3621.html">書評</a>)</div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><br /></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><br /></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><div><div>丹尼爾,凱曼 的兩本好書, 出現七折, 尤其是丈量世界, 真的很棒<br /></div><div><br /></div></div><div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010469970">丈量世界</a></span></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010469961">名 . 聲</a></div></div></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><br /></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><div>齊格飛.藍茨, 也有兩本書在7折, 以<a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010356725" style="color: rgb(85, 136, 170); text-decoration: none; ">德語課</a>出名的齊格飛, 其小品也都很棒,</div><div>我很喜歡<span class="Apple-style-span" style="font-weight: bold; ">我的小村如此多情</span>, 文筆風趣, 妙語橫生, 相當推薦</div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010416041" style="color: rgb(85, 136, 170); text-decoration: none; ">燈塔船</a></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010383528" style="color: rgb(85, 136, 170); text-decoration: none; ">我的小村如此多情</a></div></div><div style="color: rgb(51, 51, 51); font-family: Georgia, serif; font-size: 13px; font-weight: normal; line-height: normal; "><br /></div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010476612">迷宮中等待果陀</a></span></div><div><span class="Apple-style-span"><br /></span></div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010306948">失物招領處</a></span></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010356725">德語課</a></div><div><br /></div><div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; ">兩本有名的策略書</div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010245603" style="color: rgb(204, 102, 0); text-decoration: underline; ">創新者的解答</a></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010415827" style="color: rgb(85, 136, 170); text-decoration: none; ">策略的兩難:為什麼明明成功在望,卻以失敗終場?</a></div></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; ">這本平裝本7折, 但精裝9折...還是買平裝就好</div><div style="color: rgb(51, 51, 51); font-size: 13px; "><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010405911">刺蝟的優雅</a></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><div>黑色幽默大師 馮內果!!</div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010359232" style="color: rgb(85, 136, 170); text-decoration: none; ">沒有國家的人</a></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010359116" style="color: rgb(85, 136, 170); text-decoration: none; ">第五號屠宰場</a></div><div><br /></div><div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010369973" style="color: rgb(85, 136, 170); text-decoration: none; ">貓的搖籃</a></div><div><br /></div></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010372425" style="color: rgb(85, 136, 170); text-decoration: none; ">藍鬍子</a><br /></div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010388483" style="color: rgb(85, 136, 170); text-decoration: none; ">泰坦星的海妖</a></div></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010410077">時間軸</a> 的作者威爾森 有一本7折書</div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010469734">記憶之塵:朱利安戰記</a></span></div><div><br /></div><div><br /></div><div>石久讓的書</div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010399889">感動,如此創造:日本電影配樂大師久石讓的音樂夢</a></div><div><br /></div><div><br /></div><div><br /></div><div>美國三大科幻大師 史坦尼斯勞.萊姆</div><div><br /></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010473149">索拉力星</a></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div><span class="Apple-style-span">塔娜.法蘭琪 的書有一本七折</span></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010450887">神秘化身</a></span></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div><div><span class="Apple-style-span">大衛.蓋梅爾 生前最後大作</span></div><div><div><span class="Apple-style-span"><br /></span></div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010464496">特洛伊首部曲:銀弓之王</a></span></div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010464506">特洛伊二部曲:雷霆之盾</a></span></div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010470153">特洛伊 終曲:諸王殞落</a></span></div><div><br /></div><div>一次買進</div><div><span class="Apple-style-span"><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010495203">特洛伊【三部曲】套書</a></span></div></div><div><span class="Apple-style-span"><br /></span></div><div><span class="Apple-style-span"><br /></span></div><div><div style="color: rgb(0, 0, 0); font-size: 16px; ">其餘好書</div><div style="color: rgb(0, 0, 0); font-size: 16px; "><br /></div><div style="color: rgb(0, 0, 0); font-size: 16px; "><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010481051">發現緩慢</a></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010476508">荷蘭不唬爛</a></div></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010473752">1959:拉薩!─ 達賴喇嘛如何出走</a></div><div><a href="http://www.books.com.tw/exep/assp.php/dreamman/exep/prod/booksfile.php?item=0010472846">時空旅行社</a></div><div><br /></div><div><br /></div><div><br /></div><div style="color: rgb(51, 51, 51); font-size: 13px; "><br /></div></div></span></span></span></div></span></div></div>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-50567804955982116122011-01-18T19:04:00.006+08:002011-01-18T19:16:07.468+08:00double .dmp 直接開啟windbg進行分析的方法常常得要分析不論 OS 的crash dump 或是AP 的dump, 利用按右鍵開啟windbg 的方式是無法使用的, 無意間看到, 做個記錄<div><br /></div><div><br /></div><div><dt><b>-IA</b>[<b>S</b>] </dt><dd>Associates WinDbg with the file extensions <i>.dmp</i>, <i>.mdmp</i>, and <i>.wew</i> in the registry. After this action is attempted, a success or failure message is displayed. If <b>S</b> is included, this procedure is done silently if it is successful; only failure messages are displayed. After this association is made, double-clicking a file with one of these extensions will start WinDbg. <p>The <b>-IA</b> parameter must not be used with any other parameters. This command will not actually start WinDbg, although a WinDbg window may appear for a moment.</p><p><br /></p></dd></div><div>所以只要執行 windbg -IA</div><div>這樣就可以直接dobule click dump file 就可以開始來分析了...!!</div><div><br /></div><div><br /></div>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com0tag:blogger.com,1999:blog-21080046.post-53797598069428210022010-12-31T13:26:00.003+08:002010-12-31T13:34:30.522+08:002010年終廢言<span class="Apple-style-span" style="font-size: 13px; color: rgb(51, 51, 51); "><div>這一年是我在同一家公司待的第11年</div><div>這一年開始適應code越寫越少,唬爛越來越多的日子</div><div><div>這一年我看了59本書,比去年多10本</div></div><div>這一年寫了1篇Blog, 慘不忍睹</div><div><br /></div><div>這一年我女兒由抱在手上跨年到今年可以自己走去跨年</div><div>這一年我老婆要開一家諮商所</div><div><br /></div><div>這一年.....就這樣要過了... </div><div><br /></div><div>BUT</div><div><br /></div><div>今年還是一個快樂的年...</div><div>希望大家今年與未來的一年都順心快樂..</div></span>DreamManhttp://www.blogger.com/profile/05616109450002253067noreply@blogger.com1