<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8973883475031993328</atom:id><lastBuildDate>Sun, 08 Sep 2024 01:13:27 +0000</lastBuildDate><category>尋孔顏樂處--Learning</category><category>GRE</category><category>雜七雜八--Others</category><category>Mac開發技術</category><category>Web相關技術--Web Technique</category><category>程式設計心得</category><category>邏輯--Logic</category><category>文章千古事--writing</category><category>測試文--Test Case</category><category>Xcode 5</category><category>Cobertura</category><category>Gcov</category><category>Jenkins</category><category>gcovr</category><category>類DVD技術與評論--DVD-Like Technique</category><title>Entertainment and Engineering</title><description></description><link>http://thedoublee.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>67</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-2931949424245546543</guid><pubDate>Mon, 24 Feb 2014 09:44:00 +0000</pubDate><atom:updated>2014-02-24T17:44:07.670+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cobertura</category><category domain="http://www.blogger.com/atom/ns#">gcovr</category><category domain="http://www.blogger.com/atom/ns#">Jenkins</category><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><category domain="http://www.blogger.com/atom/ns#">Xcode 5</category><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><title>將程式覆蓋率整合至Jenkins</title><description>接續&lt;a href=&quot;http://thedoublee.blogspot.tw/2014/02/xcode-5gcov.html&quot;&gt;在Xcode 5中使用Gcov測量測試覆蓋率&lt;/a&gt;一文，將&lt;a href=&quot;https://drive.google.com/file/d/0B5txekq5yR0sRldkNk1PdmNCNmM/edit?usp=sharing&quot;&gt;程式覆蓋率整合至Jenkins &lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2014/02/jenkins.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-2559929938579866637</guid><pubDate>Sun, 16 Feb 2014 10:56:00 +0000</pubDate><atom:updated>2014-02-16T18:56:17.532+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Gcov</category><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><category domain="http://www.blogger.com/atom/ns#">Xcode 5</category><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><title>在Xcode 5中使用Gcov測量測試覆蓋率</title><description>&lt;a href=&quot;https://drive.google.com/file/d/0B5txekq5yR0sWHR3QlFJUkVpVEk/edit?usp=sharing&quot;&gt;在Xcode 5中使用Gcov測量測試覆蓋率&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/chenhaiteng/CoverageFoo&quot;&gt;範例程式連結&lt;/a&gt; </description><link>http://thedoublee.blogspot.com/2014/02/xcode-5gcov.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-6196543600696754984</guid><pubDate>Thu, 23 Jan 2014 10:38:00 +0000</pubDate><atom:updated>2014-02-16T18:56:37.381+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><title>在Xcode 5.x使用Google C++ Testing Framework</title><description>&lt;a href=&quot;https://drive.google.com/file/d/0B5txekq5yR0sejN2MlQ1TUxkOUE/edit?usp=sharing&quot;&gt;Google C++ Testing Framework -- Xcode 5 下的安裝與設定(pdf)&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/file/d/0B5txekq5yR0sLVR5cFJMWnM4eTA/edit?usp=sharing&quot;&gt;Google C++ Testing Framework -- Xcode 5 下的安裝與設定(epub)&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2014/01/xcode-5xgoogle-c-testing-framework.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-5688948114172732517</guid><pubDate>Fri, 17 Jan 2014 13:37:00 +0000</pubDate><atom:updated>2014-01-17T22:30:13.260+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><title>軟體建構之道 Code Complete 2 筆記</title><description>Chapter 26.2 迴圈&lt;br&gt;
&lt;b&gt;決策外置&lt;/b&gt;一節的範例還有進一步改善的空間:&lt;br&gt;
書中範例：&lt;br&gt;
&lt;blockquote&gt;
C++ Example of a Switched Loop&lt;br&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimwO47bgpgR6JlKhWVTABdrR_SwJI_vM3PFhiNN-DDjT9z6HvJlfcsaoeda1vEYyPAX2ebvVYHkKlnKtKXUyqJzMy1Gh_ZPOaOa-Ad1MYDfA0Kp6qocEdEHkbUnF9AJilIrVC4JyldW6Ik/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;1:  for (i = 0 ; i &amp;lt; count ; i++) {  
2:    if(sumType == SUMTYPE_NET) {  
3:      netSum = netSum + amount[i];  
4:    } else {  
5:      grossSum = grossSum + amount[i];  
6:    }  
7:  }  
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;a href=&quot;http://thedoublee.blogspot.com/2014/01/code-complete-2.html#more&quot;&gt;閱讀更多 »&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2014/01/code-complete-2.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-3480283583879883335</guid><pubDate>Sat, 24 Dec 2011 11:52:00 +0000</pubDate><atom:updated>2011-12-26T01:13:05.270+08:00</atom:updated><title>Add Python Project Template to Xcode 4</title><description>&lt;p&gt;&lt;a href=&quot;https://docs.google.com/document/pub?id=1zhMB9D3wm6BXpWMlRZA-J66-Z_tkACAqYdTzZkQ4iys&quot;&gt;Add Python Project Template to Xcode 4&lt;/a&gt;&lt;/p&gt;</description><link>http://thedoublee.blogspot.com/2011/12/add-python-project-template-to-xcode-4.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-2717497222159912838</guid><pubDate>Tue, 18 Oct 2011 05:07:00 +0000</pubDate><atom:updated>2014-01-17T22:30:29.774+08:00</atom:updated><title>轉載: [心得] 長期的成長與創新</title><description>以下文章，來自台大批踢踢實業坊(telnet://ptt.cc) Soft_Job版 zanyking 版友的心得分享：&lt;br&gt;
&lt;span id=&quot;fullpost&quot;&gt;作者  zanyking (遙遠的旅人)                                                   看板  Soft_Job&lt;br&gt;
標題  [心得] 長期的成長與創新           時間  Tue Oct 18 11:43:10 2011&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://thedoublee.blogspot.com/2011/10/telnetptt.html#more&quot;&gt;閱讀更多 »&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2011/10/telnetptt.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-5358864934552109925</guid><pubDate>Sun, 02 Oct 2011 10:33:00 +0000</pubDate><atom:updated>2014-01-17T22:30:42.276+08:00</atom:updated><title>轉載:[分享] 孫維新老師課堂上談「佔位」</title><description>&lt;br&gt;這是在bbs台大批踢踢實業坊(telnet://ppt.cc) 台大版(ntu) 看到的一篇文章，內容蠻值得深思的，經同意後轉載如下:
&lt;span id=&quot;fullpost&quot;&gt;&lt;br&gt;
作者: yimaymay (Xuan) 看板: NTU&lt;br&gt;
標題: [分享] 孫維新老師課堂上談「佔位」&lt;br&gt;
時間: Sat Oct  1 22:59:12 2011&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://thedoublee.blogspot.com/2011/10/bbstelnetppt.html#more&quot;&gt;閱讀更多 »&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2011/10/bbstelnetppt.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-2393476787827852170</guid><pubDate>Sun, 10 Jul 2011 14:15:00 +0000</pubDate><atom:updated>2014-01-17T22:31:32.641+08:00</atom:updated><title>Taiwan Comix 簽書會實錄</title><description>今天過去Taiwan Comix的簽書會了，出門時因為一些事情耽擱住，到現場時已經開始了。&lt;br&gt;
參與的人數雖然不能與一些聲優或大手作家相比，但場地也差不多坐滿了。我到場的時候，正好傑利老師在講述他的黑白俱樂部，在場旁稍微觀察了一下狀況，同時詢問一下今日是否有販售TX3，工作人員很親切的告知我，除TX1目前已無存貨外,TX2,TX3都還有存貨。於是我便在購得TX2,TX3後，入座聽講。&lt;span id=&quot;fullpost&quot;&gt;&lt;br&gt;
&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://thedoublee.blogspot.com/2011/07/taiwan-comix.html#more&quot;&gt;閱讀更多 »&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2011/07/taiwan-comix.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-8307132381634142128</guid><pubDate>Mon, 21 Jul 2008 07:03:00 +0000</pubDate><atom:updated>2014-01-17T22:32:15.135+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">尋孔顏樂處--Learning</category><title>荀子性惡論</title><description>最近在讀普通心理學(Atikinson and Hilgard&amp;#39;s Introduction to Psychology)，閒暇之餘，兼讀一點荀子，兩相參照之下，對過往我們所認知的「性惡論」一說，有些新的體會。&lt;br&gt;
節錄一段荀子性惡篇的原文如下：&lt;br&gt;
&lt;blockquote&gt;
人之性惡，其善者偽也。&lt;br&gt;
今人之性，生而有好利焉，順是，故爭奪生而辭讓亡焉；生而有疾惡焉，順是，故殘賊生而忠信亡焉；生而有耳目之欲，有好聲色焉，順是，故淫亂生而禮義文理亡焉。&lt;br&gt;
然則從人之性，順人之情，必出於爭奪，合於犯分亂理，而歸於暴。&lt;br&gt;
故必將有師法之化，禮義之道，然後出於辭讓，合於文理，而歸於治。用此觀之，人之性惡明矣，其善者偽也。&lt;br&gt;
...下略...&lt;/blockquote&gt;
&lt;span id=&quot;fullpost&quot;&gt;&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://thedoublee.blogspot.com/2008/07/blog-post.html#more&quot;&gt;閱讀更多 »&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2008/07/blog-post.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-2244971666065176363</guid><pubDate>Wed, 02 Jul 2008 03:48:00 +0000</pubDate><atom:updated>2008-07-02T12:08:34.461+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><category domain="http://www.blogger.com/atom/ns#">雜七雜八--Others</category><title>回溯相容真是個地獄...T.T</title><description>這是一篇抱怨文。&lt;br /&gt;Obj-C 2.0的語法相當的方便，當開發目標放在10.5以後的系統時，property，fast enumration等新增語法，&lt;br /&gt;確實可以加快開發的速度。再加上Cocoa binding等技術，在10.5上開發真的是相當輕鬆－如果只打算在10.5上跑的話。&lt;br /&gt;&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;然而很不巧的，目前大部分的需求，還是離不開10.4的環境，當要把在10.5開發的程式，轉到10.4的時候...&lt;br /&gt;對於開發者來說，這可真是一個問候賈布斯全家大小的好時機...&lt;br /&gt;首先是所有coredata中，使用property的部分，全部要換成key-value coding的方式去呼叫，光這點就足以讓你問候一下賈布斯高堂近況...&lt;br /&gt;其次，data modal中如果有用到self inverse relationship時，你可能會想順便問一下賈布斯的祖母過得好不好...&lt;br /&gt;再來，如果在NSTable中透過NSTableDatasource實作Drag and Drop，但卻是用binding取得table的資料的話...嗯...我想應該會有人想去研究一下賈布斯的祖譜吧...&lt;br /&gt;&lt;/span&gt;</description><link>http://thedoublee.blogspot.com/2008/07/tt.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-3094961366525871202</guid><pubDate>Wed, 18 Jun 2008 19:57:00 +0000</pubDate><atom:updated>2011-10-03T09:49:49.764+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><title>應用NSTabView切換視窗內容</title><description>在設計軟體時，有時候會需要在兩個不同的View之間做切換。&lt;br /&gt;舉例來說，當我們在iTunes中，點擊左方資料庫的「音樂」,「影片」或「電視節目」，在右方的Detail View中，預設會以列表的方式呈現。&lt;br /&gt;但當我們點擊到「Apple Store」時，則右方的Detail View會以類似網頁的方式，呈現目前Apple Store的內容。&lt;br /&gt;在過去，剛開始學習Cocoa的時候，因為不清楚可用的元件，對於這類的需求，在實作上，往往會以一個Custom View做為Wrapper，用置換其Content View的方式，來達成切換內容的需求。&lt;br /&gt;&lt;span id=&quot;fullpost&quot;&gt;不過事實上，Cocoa已經提供了好用的元件--NSTabView，能夠更快速的完成類似的UI。&lt;br /&gt;一般我們在使用NSTabView的時候，都是在需要明確的Tab元件 ，也就是需要有一個地方能夠秀出&lt;br /&gt;1. 目前的View的目的，或是名稱。&lt;br/&gt;2. 其他可選用的View。&lt;br/&gt;不過上面我所舉的例子，則比較類似UI狀態的切換，通常不會秀出這些資訊--在這種情形下，一般我們不太會去考慮用到NSTabView。&lt;br /&gt;但是，Cocoa的NSTabView，提供了另一種型態的使用法--Tabless TabView。利用NSTabView的Tabless type，就可以不用秀出Tab，看起來就如同用Custom View去實作View的切換一樣。&lt;br /&gt;而使用Tabless type的View，還有一個好處，就是可以自行去更換Tab的樣式，而不需撰寫NSTabView的子類別。&lt;br /&gt;Xcode的UI中，Project/Debug View的切換，就是一個實際應用的例子。&lt;br /&gt;&lt;/span&gt;</description><link>http://thedoublee.blogspot.com/2008/06/nstabview.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-7124699689412037971</guid><pubDate>Thu, 12 Jun 2008 09:22:00 +0000</pubDate><atom:updated>2008-06-12T17:42:00.867+08:00</atom:updated><title>關於「iPhone程式開發入門」一文,以及字首字根檔案</title><description>在過去一年來，一直有網友來信要求我所整理的字首字根檔案的權限。&lt;br /&gt;而自iPhone SDK公布以來，也有些有興趣的朋友，留言或來信希望我能開放「iPhone程式開發入門」的權限。&lt;br /&gt;在此表達一下個人在這個時點上，對這兩組文章的態度與作法。&lt;br /&gt;首先，字首字根檔案的來源，是個人參加&lt;a href=http://www.luxin.com.tw/&gt;來欣&lt;/a&gt;方有毅老師的GRE課程的上課講義暨筆記的重新整理。&lt;br /&gt;在目前的著作權法的架構下，公開此檔，可能會損害到方有毅老師的權益。&lt;br /&gt;而個人目前也沒有意願，時間，精力，去與方老師商量開放的可能性。&lt;br /&gt;網友如果想要此檔案，個人之前完成時，已寄送一份予方老師，你可以報名來欣的課程，我相信方老師應該會很願意分享給修課的學生。&lt;br /&gt;至於「iPhone程式開發入門」一文，在目前(iPhone SDK beta7)的授權條款下，依然無法公開討論。&lt;br /&gt;我本人，對iPhone SDK的授權條款，固然有諸多不滿，但基於個人之理念，在蘋果未正式宣告釋出之前，我不會再發佈相關文章。&lt;br /&gt;以上，對於需要這些檔案的朋友，還請見諒。</description><link>http://thedoublee.blogspot.com/2008/06/iphone.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-2487400361361412907</guid><pubDate>Wed, 21 May 2008 10:07:00 +0000</pubDate><atom:updated>2014-01-17T22:33:13.329+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><title>使用CoreData的小技巧</title><description>上個月在參加過&lt;a href=&quot;http://cocoaheads.tw/&quot;&gt;CocoaHeades&lt;/a&gt;後，自己也試著使用CoreData。&lt;br&gt;
雖然在現場藍兄講得清楚明白又容易，自個兒嘗試使用卻不是那麼回事。&lt;br&gt;
果然是看人挑擔不吃力，自個兒挑擔壓斷肩...&lt;br&gt;
&lt;span id=&quot;fullpost&quot;&gt;&lt;br&gt;在使用CoreData時，個人覺得比較麻煩的是，CoreData的說明文件似乎已預設開發者都對資料庫的設計有一定的基礎，所以並沒有提到一些基本的資料庫程式的原則－像是怎麼規劃，如何做正規化，Data Model的圖怎麼對應到實際的資料庫與呈現的介面之上? 除此之外，其他的地方照著文件一步步進行，也還算是輕鬆如意。&lt;/span&gt;&lt;br&gt;
&lt;a href=&quot;http://thedoublee.blogspot.com/2008/05/coredata.html#more&quot;&gt;閱讀更多 »&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2008/05/coredata.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-6135170878674768266</guid><pubDate>Mon, 21 Apr 2008 12:02:00 +0000</pubDate><atom:updated>2008-04-22T21:49:45.538+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><title>iPhone程式開發入門</title><description>初稿...&lt;br /&gt;&lt;a href=&quot;http://docs.google.com/Doc?docid=dfv9v7r6_105dzndj3hf&amp;hl=en&quot;&gt;iPhone程式開發入門&lt;/a&gt;&lt;br /&gt;重新檢視一下，其實寫得蠻瑣碎的....&lt;br /&gt;===================================&lt;br /&gt;經人提醒，可能違反NDA，先暫時鎖上。&lt;br /&gt;另將Objective-C基本語法部分抽出如下:&lt;br /&gt;&lt;a href=&quot;http://docs.google.com/Doc?id=dfv9v7r6_143hc927xc7&quot;&gt;Objective-C基本語法&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2008/04/iphone.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>10</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-5564251088214984936</guid><pubDate>Fri, 14 Mar 2008 10:10:00 +0000</pubDate><atom:updated>2008-03-14T18:17:01.565+08:00</atom:updated><title>Cocoa for Newbie</title><description>&lt;p&gt;昨日CocoaHeads的投影片，順帶做一下Goggle Presentation的測試...&lt;/p&gt;&lt;br /&gt;&lt;span id=&quot;fullpost&quot;&gt;&lt;iframe src=&#39;http://docs.google.com/EmbedSlideshow?docid=dfv9v7r6_75t5vnmzfg&#39; frameborder=&#39;0&#39; width=&#39;410&#39; height=&#39;342&#39;&gt;&lt;/iframe&gt;&lt;/p&gt;&lt;br /&gt;完整連結如下：&lt;a href=&quot;http://docs.google.com/Presentation?id=dfv9v7r6_75t5vnmzfg&quot;&gt;Cocoa for Newbie&lt;/a&gt;&lt;/span&gt;</description><link>http://thedoublee.blogspot.com/2008/03/cocoa-for-newbie.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-3269830325859562876</guid><pubDate>Tue, 11 Mar 2008 09:32:00 +0000</pubDate><atom:updated>2010-02-17T19:51:21.989+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><category domain="http://www.blogger.com/atom/ns#">程式設計心得</category><title>寫給初學者的簡易程式設計概念</title><description>這篇文章，是為了讓初學者能大略了解傳統的（循序的）程式設計而寫的。&lt;br /&gt;原本是要做為CocoaHeads的講稿的前言，但實在難以在有限的時間之內講述明白，因此寫成文章，在此先行釋出。&lt;br /&gt;&lt;a href=&quot;http://docs.google.com/View?id=dfv9v7r6_70fs4xjrdc&quot;&gt;寫給初學者的簡易程式設計概念&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2008/03/blog-post.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-3693211151195893512</guid><pubDate>Wed, 28 Nov 2007 05:59:00 +0000</pubDate><atom:updated>2007-11-28T14:07:50.233+08:00</atom:updated><title>Leopard 上的倉頡輸入法</title><description>「疏」&lt;br /&gt;Leopard：弓一木中&lt;br /&gt;倉頡三/五代：弓一卜戈山&lt;br /&gt;從字形及原則來看，是Apple的錯。</description><link>http://thedoublee.blogspot.com/2007/11/leopard.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-8205244938568511268</guid><pubDate>Wed, 28 Nov 2007 05:30:00 +0000</pubDate><atom:updated>2007-11-28T13:58:26.338+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mac開發技術</category><title>Unit Test on Leopard</title><description>日前購入新款MacBook，首要之事，便是將過往專案及測試程式移至新環境。&lt;br /&gt;相對於過去每次昇級Xcode，均需將專案檔版本一同昇級，此次從Xcode 2.0轉換為Xcode 3.0, 倒是完全無須更動專案檔。也許可以視為Xcode發展已趨穩定的一個表徵。&lt;br /&gt;&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;不過，在轉換環境的過程中，依然有些許不順之處。其中之一，便是　Unit Test Target 的環境改變。&lt;br /&gt;在Mac OS X Tiger 及 Xcode 2.x　的環境下, Unit Test 相關 Frameworks 向來是置於Developer/SDKs/MacOSX10.x.sdk/Library/frameworks/ 或 System/Library/Frameworks/ 之下.&lt;br /&gt;然而，在Leopard及Xcode 3.0的環境中，為了達成各項開發工具的可攜性，將部分frameworks放置的位置改變了。&lt;br /&gt;詳細的改變如以下聯結所述:&lt;a href=&quot;http://developer.apple.com/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SystemFrameworks/chapter_951_section_3.html&quot;&gt;Xcode frameworks&lt;/a&gt;&lt;br /&gt;此一改變，並未列於Xcode 3.0的release note之中，因此讓我花了相當多的時間在找尋其位置。&lt;br /&gt;甚至一度想要自行下載原始碼編譯。這應該算是Apple在編寫文件上一個疏漏之處。&lt;br /&gt;&lt;/span&gt;</description><link>http://thedoublee.blogspot.com/2007/11/unit-test-on-leopard.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-8635250554750607057</guid><pubDate>Sat, 17 Nov 2007 03:59:00 +0000</pubDate><atom:updated>2007-11-17T12:12:14.460+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">雜七雜八--Others</category><title>電腦,程式,數值</title><description>看到一些爭論，想起了過去在數值方法課堂上學到的兩件事:&lt;br /&gt;1. 電腦算出來的答案，絕大多數都不精確的。&lt;br /&gt;2. 電腦不會無縁無故出問題。&lt;br /&gt;&lt;br /&gt;第一件事，來自於數位系統的限制，不論多強力的系統，也無法完全精確地表示無理數與循環小數。&lt;br /&gt;第二件事，則是電腦系統的本質，程式不正常中斷，系統中毒，當機，這些事情的發生，必有其原因；其責任也許在使用者，也許在製造廠商，也許在不知名的駭客，但其責任絕不會在於不可知的命運與機率。</description><link>http://thedoublee.blogspot.com/2007/11/blog-post.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-8163854899647359751</guid><pubDate>Mon, 08 Oct 2007 12:43:00 +0000</pubDate><atom:updated>2007-10-08T20:51:27.221+08:00</atom:updated><title>666</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2gXBi0kCvuAJny6nroyqGV8z43Qdqa88WC3usp9tPL43q4L9P-BVmeVn2tXRp6sKvXaZ6FHuruuUEDPic1Nc9IdNu7ITUEDckbXcyzxTPz68i5oAPacugcZg9CNjxVZDUuznWlon0rYHW/s1600-h/Picture+2.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2gXBi0kCvuAJny6nroyqGV8z43Qdqa88WC3usp9tPL43q4L9P-BVmeVn2tXRp6sKvXaZ6FHuruuUEDPic1Nc9IdNu7ITUEDckbXcyzxTPz68i5oAPacugcZg9CNjxVZDUuznWlon0rYHW/s200/Picture+2.png&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5118945942155944114&quot; /&gt;&lt;/a&gt;&lt;br /&gt;惡魔的數字....-_-</description><link>http://thedoublee.blogspot.com/2007/10/666.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2gXBi0kCvuAJny6nroyqGV8z43Qdqa88WC3usp9tPL43q4L9P-BVmeVn2tXRp6sKvXaZ6FHuruuUEDPic1Nc9IdNu7ITUEDckbXcyzxTPz68i5oAPacugcZg9CNjxVZDUuznWlon0rYHW/s72-c/Picture+2.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-2468469001334252485</guid><pubDate>Fri, 21 Sep 2007 14:39:00 +0000</pubDate><atom:updated>2007-09-21T23:08:20.096+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">雜七雜八--Others</category><title>2007, 09, 20</title><description>9月20日，天氣好得要命，回家的路上，從巷子裡透出的天光雲色，熟悉，卻未曾多加留意...&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://farm2.static.flickr.com/1221/1418005914_cb9379ac74_b.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 245px; height: 327px;&quot; src=&quot;http://farm2.static.flickr.com/1221/1418005914_cb9379ac74_b.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span id=&quot;fullpost&quot;&gt;翻出相機，將灰塵拍落，取景窗裡透出的是一片湛藍的天空。&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://farm2.static.flickr.com/1390/1418010388_023cc291fd_b.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 396px; height: 295px;&quot; src=&quot;http://farm2.static.flickr.com/1390/1418010388_023cc291fd_b.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;偶然飄過的一片烏雲，訴說著明日的天色。&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://farm2.static.flickr.com/1021/1417127849_a82d48ceeb_b.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 396px; height: 295px;&quot; src=&quot;http://farm2.static.flickr.com/1021/1417127849_a82d48ceeb_b.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;太陽逐步西沉，卻看不到火般的餘暉，只有強烈的光芒，從屋後透出，宣告一日的結束。&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://farm2.static.flickr.com/1383/1418007834_c23d51811c_b.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 396px; height: 295px;&quot; src=&quot;http://farm2.static.flickr.com/1383/1418007834_c23d51811c_b.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;</description><link>http://thedoublee.blogspot.com/2007/09/2007-09-20.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm2.static.flickr.com/1221/1418005914_cb9379ac74_t.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-4709257508316551075</guid><pubDate>Tue, 04 Sep 2007 06:03:00 +0000</pubDate><atom:updated>2007-09-04T17:14:00.198+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">雜七雜八--Others</category><title>Google Doc 屈服於恐懼之下...</title><description>其實，也就是editing掛點而已啦...&lt;br /&gt;不過好死不死，在我寫完phobia的時候掛掉....&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://farm2.static.flickr.com/1049/1318721404_113c862c36_o.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px;&quot; src=&quot;http://farm2.static.flickr.com/1049/1318721404_113c862c36_o.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;補充:這叫什麼狗屁好消息...&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://farm2.static.flickr.com/1306/1319014893_55658d7b86_o.png&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px;&quot; src=&quot;http://farm2.static.flickr.com/1306/1319014893_55658d7b86_o.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;</description><link>http://thedoublee.blogspot.com/2007/09/google-doc.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-6706832321774453797</guid><pubDate>Wed, 22 Aug 2007 10:34:00 +0000</pubDate><atom:updated>2007-08-22T18:37:19.157+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">GRE</category><category domain="http://www.blogger.com/atom/ns#">尋孔顏樂處--Learning</category><title>常用字首字根列表3</title><description>&lt;a href=&quot;http://docs.google.com/View?docID=dfv9v7r6_36d3z5rs&quot;&gt;字首字根３&lt;/a&gt;&lt;br /&gt;怎麼感覺整理所花的時間愈來愈多....</description><link>http://thedoublee.blogspot.com/2007/08/3.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-5753413324032978743</guid><pubDate>Fri, 13 Jul 2007 02:04:00 +0000</pubDate><atom:updated>2007-07-13T13:18:51.161+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">GRE</category><category domain="http://www.blogger.com/atom/ns#">尋孔顏樂處--Learning</category><title>常用字首字根列表2</title><description>為了在Safari上列印方便, 將版面也做了些調整...&lt;br /&gt;不過如果是在windows上,使用IE/Firefox瀏覧及列印的網友, 可能要自行將網頁源碼複製到本機,自行調整一下排版.&lt;br /&gt;&lt;a href=&quot;http://docs.google.com/Doc?id=dfv9v7r6_25c9c4m8&quot; target=&quot;_blank&quot;&gt;字首字根１&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://docs.google.com/Doc?id=dfv9v7r6_35hmd9sg&quot; target=&quot;_blank&quot;&gt;字首字根２&lt;/a&gt;&lt;br /&gt;整理這個比我所估計的還要花工夫.&lt;br /&gt;一堂4小時的課程內容,最少要花到8~12小時,才有辦法整理完成.&lt;br /&gt;從事後的整理中, 就可以瞭解, 補習班的課程密度實在是相當高...&lt;br /&gt;看來, 做補習班的也不好賺啊....</description><link>http://thedoublee.blogspot.com/2007/07/2.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8973883475031993328.post-6564695884846819082</guid><pubDate>Fri, 06 Jul 2007 12:31:00 +0000</pubDate><atom:updated>2007-07-06T21:47:38.684+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Web相關技術--Web Technique</category><title>一個防止網頁盜連的Java Script</title><description>昨天在檢視sitemeter的資料時, 意外發現一個奇特的訪客, 這位訪客進入本網頁的頁面, 以及離開時的頁面,&lt;br /&gt;都不是本網頁的任何頁面.&lt;br /&gt;而連結到進入點一探究竟時, 竟發現進入點的網頁內容, 與本網頁一致, 然而, 網址列卻全然不同...當下, 很直接的想到--是不是被人盜連了?&lt;br /&gt;&lt;span id=&quot;fullpost&quot;&gt;&lt;br /&gt;於是, 在情況還不明朗的情形下, 決定先找一個方式, 暫時阻擋此類連結.&lt;br /&gt;之前有看過利用網頁內容的座標, 來判斷是否網頁被他人當作嵌入內容, 不過目前的狀況似乎不適合(因為沒有看到任何frame), 在搜尋一陣子後, 發現下面的Java Script可能符合我的需要:&lt;br /&gt;&lt;blockquote&gt;&amp;lt;script type=&#39;text/javascript&#39;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;var who=document.referrer;&lt;br /&gt;if(who &amp;amp;&amp;amp; who.indexOf(&quot;thedoublee.blogspot.com&quot;) == -1 ){&lt;br /&gt;alert(&quot;It&#39;s an Illegl Link. All Rights reserved by thedoublee.blogspot.com&quot;);&lt;br /&gt;top.location.href = &quot;http://thedoublee.blogspot.com&quot;;&lt;br /&gt;}&lt;br /&gt;//--&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;將上面這一段程式碼, 加入Template中後, 每當有人意圖從其他入口進入自己的網頁時, 便會跳出一個警告視窗, 之後, 便將使用者導向正確的入口.&lt;br /&gt;這一段程式碼看來相當方便, 然而卻有相當大的問題...效果太暴力了.&lt;br /&gt;以上程式碼, 不只將盜連擋掉, 連一般的連結也擋掉了. 結果就是不論從任何連結, 想要連到本網頁, 都會先彈出一個警告視窗.&lt;br /&gt;真正要有效果的話, 可能得將條件判斷式改得更精確點...也就是說, 不能只判斷進入點是否是本網頁, 而應判斷連過來的網頁是否合法.&lt;br /&gt;不過還好這只是暫時性的作法, 之後針對連過來的網頁查了一下, 發現那是一個網上代理伺服器的網站, 基本上不會造成什麼危害後, 我也就將之移除了.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</description><link>http://thedoublee.blogspot.com/2007/07/java-script.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>1</thr:total></item></channel></rss>