<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>World of Pluto</title>
	<atom:link href="http://ipluto.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ipluto.wordpress.com</link>
	<description>iPluto, therefore I am.</description>
	<lastBuildDate>Sat, 31 Dec 2011 23:47:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ipluto.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>World of Pluto</title>
		<link>http://ipluto.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ipluto.wordpress.com/osd.xml" title="World of Pluto" />
	<atom:link rel='hub' href='http://ipluto.wordpress.com/?pushpress=hub'/>
		<item>
		<title>iGetWretch 05 updated&#8230;again</title>
		<link>http://ipluto.wordpress.com/2011/11/19/igetwretch-05-updated-again/</link>
		<comments>http://ipluto.wordpress.com/2011/11/19/igetwretch-05-updated-again/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 01:34:28 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[電腦相關]]></category>
		<category><![CDATA[軟體]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=894</guid>
		<description><![CDATA[iGetWretch is a Wretch album downloader for MacOSX iGetWretch是一支MacOSX上的無名相簿下載器 Due to recent changes of photo/music handling in Wretch albums, the old version no longer works. 由於無名相簿改變了照片/音樂的存放方式，舊版的軟體已經無法運作。 An updated version has been posted at the same download page, GUI remains unchanged. 新版的程式已經上傳，所有使用者介面都沒有改變。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=894&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://ipluto.files.wordpress.com/2009/07/igetwretch_t.png"><img title="iGetWretch_t" src="http://ipluto.files.wordpress.com/2009/07/igetwretch_t.png?w=128&#038;h=128" alt="" width="128" height="128" /></a></p>
<p><a href="http://ipluto.wordpress.com/2009/07/25/igetwretch-05/">iGetWretch</a> is a Wretch album downloader for MacOSX</p>
<p><a href="http://ipluto.wordpress.com/2009/07/25/igetwretch-05/">iGetWretch</a>是一支MacOSX上的無名相簿下載器</p>
<p>Due to recent changes of photo/music handling in Wretch albums, the old version no longer works.</p>
<p>由於無名相簿改變了照片/音樂的存放方式，舊版的軟體已經無法運作。</p>
<p>An updated version has been posted at the same download page, GUI remains unchanged.</p>
<p>新版的程式已經上傳，所有使用者介面都沒有改變。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/894/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/894/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/894/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/894/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/894/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/894/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/894/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/894/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/894/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/894/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/894/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/894/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/894/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/894/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=894&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2011/11/19/igetwretch-05-updated-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2009/07/igetwretch_t.png" medium="image">
			<media:title type="html">iGetWretch_t</media:title>
		</media:content>
	</item>
		<item>
		<title>打造一支Apple牌USB隨身碟</title>
		<link>http://ipluto.wordpress.com/2011/08/18/%e6%89%93%e9%80%a0%e4%b8%80%e6%94%afapple%e7%89%8cusb%e9%9a%a8%e8%ba%ab%e7%a2%9f/</link>
		<comments>http://ipluto.wordpress.com/2011/08/18/%e6%89%93%e9%80%a0%e4%b8%80%e6%94%afapple%e7%89%8cusb%e9%9a%a8%e8%ba%ab%e7%a2%9f/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 01:04:55 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[電腦相關]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=879</guid>
		<description><![CDATA[先來看看外觀： 嗯，沒錯，它就是Macbook Air和OSX Lion隨身碟版所附贈的 系統還原隨身碟 所以今天這篇教學的第一步 就是去買一台Macbook Air(好像舊的才有附USB)或者一套USB版的Lion(誤) 這支隨身碟容量共8GB 也有不錯的讀寫能力 但是有個很大的問題&#8230;. 它根本不能寫入啊！！！ 雖然說這東西的本意就是讓你做系統還原的 所以本來就不該去寫它 但是一支好好的8GB隨身碟加上這種獨特的外觀 一直放在抽屜裡也太浪費了吧&#8230;. (這種size掛在鑰匙圈超方便的!) 好 假設已經取得了這支隨身碟(那個&#8230;拍賣也有賣XD) 我們可以把它變成可讀寫的 首先，是備份裡面的東西 啊&#8230;可是Apple很厲害的讓Toast, Disk Utility, 甚至Super Duper都對它沒輒 沒關係&#8230;我們還有一招&#8230;.叫做Terminal &#124;&#124;&#124; 請插上你的隨身碟 在Terminal內輸入： 輸入完可以打這行指令檢查是不是顯示類似/dev/disk1s3的東西(數字可能不同) 下一步請輸入： 應該會顯示Volume Mac OS X Install on disk?s? unmounted 最後是這行：  整個隨身碟會變成一個叫airinstall.iso的映像檔出現在你的桌面 請確定你硬碟有約8GB的空間，並且桌面上沒有同樣的檔案名稱 (當然你也可以修改路徑啦 這邊就不贅述) 總歸所有的指令是： 時間會有點久，過程中不會顯示任何的東西，可以觀察桌面上的映像檔size開始增加 增加到7GB多時就是好了！ 結束時你應該會看到類似這樣的東西： 3738954 0 records in 3738954 0 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=879&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#000000;">先來看看外觀：</span></p>
<p><span style="color:#000000;"><a href="http://ipluto.files.wordpress.com/2011/08/20305_8504.jpeg"><span style="color:#000000;"><img class="alignnone size-medium wp-image-880" title="20305_8504" src="http://ipluto.files.wordpress.com/2011/08/20305_8504.jpeg?w=300&#038;h=168" alt="" width="300" height="168" /></span></a></span></p>
<p><span style="color:#000000;">嗯，沒錯，它就是Macbook Air和OSX Lion隨身碟版所附贈的</span></p>
<p><span style="color:#000000;">系統還原隨身碟</span></p>
<p><span style="color:#000000;">所以今天這篇教學的第一步</span></p>
<p><span style="color:#000000;">就是去買一台Macbook Air(好像舊的才有附USB)或者一套USB版的Lion(誤)</span></p>
<p><span style="color:#000000;">這支隨身碟容量共8GB 也有不錯的讀寫能力 但是有個很大的問題&#8230;. 它根本不能寫入啊！！！</span></p>
<p><span style="color:#000000;">雖然說這東西的本意就是讓你做系統還原的</span></p>
<p><span style="color:#000000;">所以本來就不該去寫它</span></p>
<p><span style="color:#000000;">但是一支好好的8GB隨身碟加上這種獨特的外觀 一直放在抽屜裡也太浪費了吧&#8230;. (這種size掛在鑰匙圈超方便的!)</span></p>
<p><span style="color:#000000;">好 假設已經取得了這支隨身碟(那個&#8230;拍賣也有賣XD)</span></p>
<p><span style="color:#000000;">我們可以把它變成可讀寫的</span></p>
<p><span style="color:#000000;">首先，是備份裡面的東西</span></p>
<p><span style="color:#000000;">啊&#8230;可是Apple很厲害的讓Toast, Disk Utility, 甚至Super Duper都對它沒輒</span></p>
<p><span style="color:#000000;">沒關係&#8230;我們還有一招&#8230;.叫做Terminal |||</span></p>
<p><span style="color:#000000;">請插上你的隨身碟 在Terminal內輸入：</span></p>
<p><pre class="brush: bash;">
DEVICE=`mount | fgrep 'Mac OS X Install' | awk '{print $1}'`
</pre></p>
<p><span style="color:#000000;">輸入完可以打這行指令檢查是不是顯示類似/dev/disk1s3的東西(數字可能不同)</span></p>
<p><pre class="brush: bash;">
echo $DEVICE
</pre></p>
<p><span style="color:#000000;">下一步請輸入：</span></p>
<p><pre class="brush: bash;">
diskutil unmount &quot;/Volumes/Mac OS X Install&quot;
</pre></p>
<p><span style="color:#000000;">應該會顯示Volume Mac OS X Install on disk?s? unmounted</span></p>
<p><span style="color:#000000;">最後是這行： </span></p>
<p><pre class="brush: bash;">
/bin/dd if=&quot;$DEVICE&quot; of=&quot;$HOME/Desktop/airinstall.iso&quot; bs=2048
</pre></p>
<p><span style="color:#000000;">整個隨身碟會變成一個叫airinstall.iso的映像檔出現在你的桌面</span></p>
<p><span style="color:#000000;">請確定你硬碟有約8GB的空間，並且桌面上沒有同樣的檔案名稱 (當然你也可以修改路徑啦 這邊就不贅述)</span></p>
<p><span style="color:#000000;">總歸所有的指令是：</span></p>
<pre></pre>
<p><span style="color:#000000;">時間會有點久，過程中不會顯示任何的東西，可以觀察桌面上的映像檔size開始增加 增加到7GB多時就是好了！</span></p>
<p><span style="color:#000000;">結束時你應該會看到類似這樣的東西：</span></p>
<p><span style="color:#000000;">3738954 0 records in</span></p>
<p><span style="color:#000000;">3738954 0 records out (兩個數字會一樣)</span></p>
<p><span style="color:#000000;">這樣就備份完成了，請好好保存你的映像檔， 然後輸入這行指令：</span></p>
<p><pre class="brush: bash;">
diskutil eject &quot;$DEVICE&quot;
</pre></p>
<p><span style="color:#000000;">來退出隨身碟</span></p>
<p><span style="color:#000000;">接下來我們要用到Storage_Zone板常提到的&#8221;量產工具&#8221;</span></p>
<p><span style="color:#000000;">所謂量產工具是隨身碟原廠在刷大量隨身碟用的工具</span></p>
<p><span style="color:#000000;">同時還有附加一些特異功能可以把隨身碟刷出不只一個分割區 (你如果用Disk Utility把隨身碟分割上了Windows只會看到其中一個分割區&#8230;)</span></p>
<p><span style="color:#000000;">甚至把隨身碟刷成光碟的形式(Apple就是這樣的&#8230;)</span></p>
<p><span style="color:#000000;">當然&#8230;也可以把隨身碟刷回可讀寫</span></p>
<p><span style="color:#000000;">由於量產工具是Windows下的，接下來的步驟需要到Windows操作</span></p>
<p><span style="color:#000000;">請下載 SM3255AB_J0818這個量產工具</span></p>
<p><span style="color:#000000;">載點在以下這些文章裡都有：</span></p>
<p><span style="color:#000000;"> <a href="http://bbs.weiphone.com/read-htm-tid-1486864-page-1.html"><span style="color:#000000;">http://bbs.weiphone.com/read-htm-tid-1486864-page-1.html</span></a></span></p>
<p><span style="color:#000000;"><a href="http://www.megaupload.com/?d=F3ZXV9JE"><span style="color:#000000;">http://www.megaupload.com/?d=F3ZXV9JE</span></a> (老外很努力的看懂第一個連結抓下來上傳的)</span></p>
<p><span style="color:#000000;">Windows的環境我選了Bootcamp，因為Parallel Desktop抓不到我的隨身碟 (也有人回報用Parallel成功就是了&#8230;可以試試看)</span></p>
<p><span style="color:#000000;">請記得把整個量產工具複製到Win磁區再執行 直接執行Mac磁區的執行檔會出現default.ini找不到的問題</span></p>
<p><span style="color:#000000;">反正就是開好工具插好隨身碟</span></p>
<p><span style="color:#000000;">你就會看到port1偵測到一個8GB左右的東西</span></p>
<p><span style="color:#000000;">start給他按下去就對了！</span></p>
<p><span style="color:#000000;">教學到這邊其實就算結束了</span></p>
<p><span style="color:#000000;">重開機回Mac你就可以發現這個隨身碟已經是可讀寫的， 可以用Disk Utility自由的改格式/名稱</span></p>
<p><span style="color:#000000;">根據這邊的測試： <a href="http://hi.baidu.com/8lei/blog/item/a7eaa4c310d63542b219a8bf.html"><span style="color:#000000;">http://hi.baidu.com/8lei/blog/item/a7eaa4c310d63542b219a8bf.html</span></a></span></p>
<p><span style="color:#000000;">寫入也有10MB/sec以上</span></p>
<p><span style="color:#000000;">比不上我的Patriot Rage XT但是比一般的隨身碟好不少了</span></p>
<p><span style="color:#000000;">最後 有些人覺得當初Apple USB Disk插入時的icon比較好看</span></p>
<p><span style="color:#000000;">沒關係上面那個網址也有原始的icon給你下載(汗)</span></p>
<p><span style="color:#000000;">不過我直接用cmt+i然後複製貼上的方法沒有成功</span></p>
<p><span style="color:#000000;">最後是載img2icns把下載的icns重新存過一次</span></p>
<p><span style="color:#000000;">更名為.VolumeIcon.icns複製到Apple USB Drive裡面才成功</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/879/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/879/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/879/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=879&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2011/08/18/%e6%89%93%e9%80%a0%e4%b8%80%e6%94%afapple%e7%89%8cusb%e9%9a%a8%e8%ba%ab%e7%a2%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2011/08/20305_8504.jpeg?w=300" medium="image">
			<media:title type="html">20305_8504</media:title>
		</media:content>
	</item>
		<item>
		<title>Matlab calling C</title>
		<link>http://ipluto.wordpress.com/2011/03/18/matlab-calling-c/</link>
		<comments>http://ipluto.wordpress.com/2011/03/18/matlab-calling-c/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 08:18:23 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[電腦相關]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=862</guid>
		<description><![CDATA[本文假設讀者已經懂matlab 和C的funtion寫法以及C的指標應用 不懂的人請自己去複習&#8230;. 所謂Matlab呼叫C 通常就是為了速度的提升 因為Matlab實在是跑太慢了&#8230;. 像一個通訊系統裡的viterbi decoder就可以考慮用C來寫 再include到Matlab的主程式裡 作法上是這樣 我們要把一個Matlab function整個用C寫好 然後compile成一個執行檔 這個執行檔可以被matlab直接呼叫 就像在呼叫一個matlab function一樣 只要名字配合好上層的程式根本不需要動 當然要這樣做你電腦裡需要有c compiler 看要裝gcc還是visual studio 在matlab的主視窗打mex setup 你就會看到它偵測到的compiler 選擇你要的 然後你要寫.c的程式 寫好後打mex filename.c filename通常就是function name 你會得到一個叫filename.mex***的檔案 這跟你用的系統有關 假設是32bit的Windows你會得到.mexw32 64bit的Mac會得到.mexmaci64 64bit的linux會得到.mexa64這樣 好 現在來講那個.c檔怎麼寫 既然是在port一個function 當然.c檔也要寫成一個c的function 但是這樣matlab認不出來 所以其實要寫兩個function 第一個是該function的主要功能(廢話) 第二是一個gateway function 是matlab跟c溝通用的橋樑 溝通的gateway function寫法基本上很固定 既然是一個matlab function的port 它的input和output應該都是matrix 所以gateway function就是要把這些input matrix的dimension和值抓出來 然後造一個output matrix 這些抓出來的值都要餵到主function去 方法當然是&#8230;C最愛用的&#8230;指標 help裡面會寫很多mex function的用法 不管是抓dimension、抓值、造output矩陣都有 廢話不多說 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=862&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>本文假設讀者已經懂matlab 和C的funtion寫法以及C的指標應用</div>
<div>不懂的人請自己去複習&#8230;.</div>
<div>所謂Matlab呼叫C 通常就是為了速度的提升</div>
<div>因為Matlab實在是跑太慢了&#8230;.</div>
<div>像一個通訊系統裡的viterbi decoder就可以考慮用C來寫</div>
<div>再include到Matlab的主程式裡</div>
<div>作法上是這樣</div>
<div>我們要把一個Matlab function整個用C寫好</div>
<div>然後compile成一個執行檔</div>
<div>這個執行檔可以被matlab直接呼叫 就像在呼叫一個matlab function一樣</div>
<div>只要名字配合好上層的程式根本不需要動</div>
<div>當然要這樣做你電腦裡需要有c compiler</div>
<div>看要裝gcc還是visual studio</div>
<div>在matlab的主視窗打mex setup</div>
<div>你就會看到它偵測到的compiler 選擇你要的</div>
<div>然後你要寫.c的程式</div>
<div>寫好後打mex filename.c</div>
<div>filename通常就是function name</div>
<div>你會得到一個叫filename.mex***的檔案</div>
<div>這跟你用的系統有關</div>
<div>假設是32bit的Windows你會得到.mexw32 64bit的Mac會得到.mexmaci64</div>
<div>64bit的linux會得到.mexa64這樣</div>
<div>好 現在來講那個.c檔怎麼寫</div>
<div>既然是在port一個function</div>
<div>當然.c檔也要寫成一個c的function</div>
<div>但是這樣matlab認不出來</div>
<div>所以其實要寫兩個function</div>
<div>第一個是該function的主要功能(廢話)</div>
<div>第二是一個gateway function 是matlab跟c溝通用的橋樑</div>
<div>溝通的gateway function寫法基本上很固定</div>
<div>既然是一個matlab function的port</div>
<div>它的input和output應該都是matrix</div>
<div>所以gateway function就是要把這些input matrix的dimension和值抓出來</div>
<div>然後造一個output matrix</div>
<div>這些抓出來的值都要餵到主function去</div>
<div>方法當然是&#8230;C最愛用的&#8230;指標</div>
<div>help裡面會寫很多mex function的用法</div>
<div>不管是抓dimension、抓值、造output矩陣都有</div>
<div>廢話不多說</div>
<div>假設我們的function是y=main_func(x,h)這樣的matlab function</div>
<div>轉換到c的話</div>
<div>我們先來看gateway function怎麼寫：</div>
<div><pre class="brush: cpp;">

void mexFunction( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] )
// 這一行基本上是照抄，nrhs是input個數，prhs[]是每個input的指標
// 我們的例子有兩個input, 那nrhs就是2, prhs[0]就是x, prhs[1]就是h
// 當然nlhs就是output個數，plhs就是我們的y
{

    double  *x_real, *x_imag, *h_real, *h_imag, *y_real, *y_imag;
    // matlab的input是double的矩陣
    // 因為C沒有complex這種data type，所以要分別存real和imag
    mwSize  x_ant, x_sample, Nrx, Ntx, Npath, Nsample;
    // 這些是要用來表示x和h的dimension，用mwSize這個datatype宣告
    // 其實在大部分的系統上，這個datatype跟int是一樣的...
    const   mwSize *h_dim_array;
    // 當input的dimension大於2D時，要抓dimension就要開一個矩陣存

    if(nrhs != 2)
      mexErrMsgTxt(&quot;Two inputs required.&quot;);
    // 檢查是不是真的吃到兩個input

    x_ant = mxGetM(prhs[0]);
    x_sample = mxGetN(prhs[0]);
    // 這邊是抓x的dimension，x是一個x_ant by x_sample的2D array

    h_dim_array=mxGetDimensions(prhs[1]);
    // 這邊是抓h的dimension，h是一個4D array所以不能用GetM和GetN
    // 來抓dimension，必須這樣寫把所有dimension一次抓齊

    Nrx = h_dim_array[0];
    Ntx = h_dim_array[1];
    Npath = h_dim_array[2];
    Nsample = h_dim_array[3];
    // 看出來了嘛？h就是一個Nrx by Ntx by Npath by Nsample的矩陣

    x_real=(double *)mxGetPr(prhs[0]);
    h_real=(double *)mxGetPr(prhs[1]);
    x_imag=(double *)mxGetPi(prhs[0]);
    h_imag=(double *)mxGetPi(prhs[1]);
    // 這邊就是在抓x和h的值了，在這邊因為x和h都是complex double
    // 所以要分別用不同的function抓

    plhs[0] = mxCreateDoubleMatrix(Nrx, x_sample+max_tap_delay, mxCOMPLEX);
    // 造output array，這是Nrx by  x_sample+max_tap_delay 2D矩陣
    // 內容一樣是complex double
    y_real = mxGetPr(plhs[0]);
    y_imag = mxGetPi(plhs[0]);
    // 把造好的矩陣的指標抓出來

    main_func(x_real, x_imag, h_real, h_imag, y_real, y_imag);
    // main_func就是你主要的function功能
    // 要用到的東西當然都要傳過去

    return;

}

</pre></p>
</div>
<div>就這樣 gateway function就是這樣的結構</div>
<div>視你的input, output格式 有很多mx function可以使用</div>
<div>這個就去help查吧</div>
<div>像如果你要造一個N-D的array當function output就要用其他指令</div>
<div>main_func怎麼寫就別問了&#8230;就看你的功能啊</div>
<div>像我是寫：</div>
<div><pre class="brush: cpp;">

void main_func( double *x_real, double *x_imag, double *h_real, double *h_imag,
                        double *y_real, double *y_imag)
{

   ......
   return;
}

</pre></p>
</div>
<div>這樣 因為main_func會在gateway後面被call</div>
<div>所以我是把main_func寫在gateway前面</div>
<div>整個.c檔的架構是這樣：</div>
<div><pre class="brush: cpp;">

#include &quot;mex.h&quot;
// 這個一定要include，剩下看需要要補math.h或stdio.h之類的自己加

void main_func(......)
{
    .......
    return;
}

void mexFunction( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] )
{
    .......
    main_func(......);
    return;
}

</pre></p>
</div>
<div>就這樣 存成main_func.c</div>
<div>然後打mex main_func.c就會編出main_func.mexw32之類的東西</div>
<div>只要那個mex檔在matlab的path下</div>
<div>你就可以在matlab裡面寫y=main_func(x,h);</div>
<div>而這段內容就會用C執行！</div>
<div>注意事項：</div>
<div>1. C的矩陣index是從0開始不是1喔XD</div>
<div>2. 如果你像我那樣寫但是你的input給的是real only，那x_imag和h_imag都會是空的</div>
<div>當你access到時就會segmentation fault&#8230;.</div>
<div>建議加上if (mxIsComplex(prhs[0]))做判斷</div>
<div>輸入為real時生出全0的imag array</div>
<div>3. segmentation fault是最常見的錯誤，在matlab的語言它叫index out of dimension</div>
<div>這件事情發生時matlab會整個當掉 所以debug會更加困難</div>
<div>4. compile好的mex檔是跟你的系統的，所以win下compile好的.mex到mac上是不會動的</div>
<div>5. 在寫main_func時要注意，雖然x是2D，h是4D，但是他全部都會存成1xn的array</div>
<div>所以你要access h_real[m][n][k][i]時，假設h是Nrx by Ntx by Npath by Nsample</div>
<div>你要寫h_real[m+n*Nrx+k*Nrx*Ntx+i*Nrx*Ntx*Npath]</div>
<div>這樣也好，不然宣告指標時會頭昏&#8230;</div>
<div>先寫到這邊</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/862/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/862/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/862/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=862&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2011/03/18/matlab-calling-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>
	</item>
		<item>
		<title>2011 Macbook Recommendation</title>
		<link>http://ipluto.wordpress.com/2011/03/01/2011-macbook-recommendation/</link>
		<comments>http://ipluto.wordpress.com/2011/03/01/2011-macbook-recommendation/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 09:29:16 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[電腦相關]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=859</guid>
		<description><![CDATA[這是筆者的Macbook採買推薦 不過買了不滿意請不要找我麻煩XD &#160; Macbook Pro分13&#8243;和15&#8243;，每種各有高階和低階兩款(17&#8243;一般人不會買故不列出來) Macbook Air分11&#8243;和13&#8243;，每種各有高階和低階兩款 &#160; 以下是由需求推到機種： 你已有一台正常運作的筆電or桌機希望加一台小型輕薄的機種&#38;你工作的地方有螢幕可以外接-&#62;Macbook Air 11&#8243; 低階，RAM加到4GB 你想要一台輕薄但又可以當主電腦使用的筆電-&#62;Macbook Air 13&#8243;低階，RAM加到4GB 你想打電動而且預算夠高-&#62;2011 Macbook 15&#8243; 高階 你想打電動但是預算沒有那麼高-&#62;2010 Macbook 15&#8243; 低階 你想打電動但是預算很低-&#62;買PC 你預算不高，但是希望筆電可以跑程式(非電玩)不會太慢，顯卡對你不重要-&#62;2011 Macbook Pro 13&#8243; 低階 &#160; 常見添購配件： MiniDisplay Port to VGA adapter：接投影機必備 USB外接光碟機：假設你要拿Air當主電腦，因為它沒有光碟機 USB Ethernet adapter：假設你要拿Air當主電腦，因為它沒有網路孔<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=859&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>這是筆者的Macbook採買推薦</p>
<p>不過買了不滿意請不要找我麻煩XD</p>
<p>&nbsp;</p>
<p>Macbook Pro分13&#8243;和15&#8243;，每種各有高階和低階兩款(17&#8243;一般人不會買故不列出來)</p>
<p>Macbook Air分11&#8243;和13&#8243;，每種各有高階和低階兩款</p>
<p>&nbsp;</p>
<p>以下是由需求推到機種：</p>
<ul>
<li>你已有一台正常運作的筆電or桌機希望加一台小型輕薄的機種&amp;你工作的地方有螢幕可以外接-&gt;Macbook Air 11&#8243; 低階，RAM加到4GB</li>
<li>你想要一台輕薄但又可以當主電腦使用的筆電-&gt;Macbook Air 13&#8243;低階，RAM加到4GB</li>
<li>你想打電動而且預算夠高-&gt;2011 Macbook 15&#8243; 高階</li>
<li>你想打電動但是預算沒有那麼高-&gt;2010 Macbook 15&#8243; 低階</li>
<li>你想打電動但是預算很低-&gt;買PC</li>
<li>你預算不高，但是希望筆電可以跑程式(非電玩)不會太慢，顯卡對你不重要-&gt;2011 Macbook Pro 13&#8243; 低階</li>
</ul>
<p>&nbsp;</p>
<p>常見添購配件：</p>
<ul>
<li>MiniDisplay Port to VGA adapter：接投影機必備</li>
<li>USB外接光碟機：假設你要拿Air當主電腦，因為它沒有光碟機</li>
<li>USB Ethernet adapter：假設你要拿Air當主電腦，因為它沒有網路孔</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/859/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/859/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/859/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=859&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2011/03/01/2011-macbook-recommendation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>
	</item>
		<item>
		<title>On the Verizon iPhone</title>
		<link>http://ipluto.wordpress.com/2011/01/12/on-the-verizon-iphone/</link>
		<comments>http://ipluto.wordpress.com/2011/01/12/on-the-verizon-iphone/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 06:03:28 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=850</guid>
		<description><![CDATA[Since this generally concerns only people in the US, I will write it in English. &#160; Today Verizon announced their version of iPhone, detailed informations can be found in the following links: &#160; http://www.cnn.com/2011/TECH/mobile/01/11/cancel.att.contract/index.html http://www.tuaw.com/2011/01/11/verizon-iphone-cant-handle-data-and-voice-simultaneously/ http://www.engadget.com/apple/verizon-iphone/ http://www.verizonwireless.com/b2c/splash/iphone.jsp &#160; &#160; Below are the advantages of a Verizon iPhone, as well as the reasons why I&#8217;m not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=850&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since this generally concerns only people in the US, I will write it in English.</p>
<p>&nbsp;</p>
<p>Today Verizon announced their version of iPhone, detailed informations can be found in the following links:</p>
<p>&nbsp;</p>
<p><a rel="nofollow" href="http://www.cnn.com/2011/TECH/mobile/01/11/cancel.att.contract/index.html" target="_blank">http://www.cnn.com/2011/TECH/mobile/01/11/cancel.att.contract/index.html</a></p>
<p><a rel="nofollow" href="http://www.tuaw.com/2011/01/11/verizon-iphone-cant-handle-data-and-voice-simultaneously/" target="_blank">http://www.tuaw.com/2011/01/11/verizon-iphone-cant-handle-data-and-voice-simultaneously/</a></p>
<p><a rel="nofollow" href="http://www.engadget.com/apple/verizon-iphone/" target="_blank">http://www.engadget.com/apple/verizon-iphone/</a></p>
<p><a rel="nofollow" href="http://www.verizonwireless.com/b2c/splash/iphone.jsp" target="_blank">http://www.verizonwireless.com/b2c/splash/iphone.jsp</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Below are the advantages of a Verizon iPhone, as well as the reasons why I&#8217;m not interested in it:</p>
<p>&nbsp;</p>
<p><strong>1. Verizon offers a &#8220;better&#8221; plan</strong></p>
<p>&nbsp;</p>
<p>This is actually related to your usage. My current plan from AT&amp;T has 450 anytime minutes for $39.99, 2GB/month data for $25, and 200 sms/month for $5. With Verizon I can get a 200 anytime minute plan for $29.99, unlimited data for $29.99, and 250 sms for $5, which is around $5 less compared to my current plan.</p>
<p>&nbsp;</p>
<p>The catch being I rarely use more than 1GB of data per month, the highest I&#8217;ve ever reached was 1.6GB, and that is because I shared my 3G data to my laptop, so unlimited is not that appealing. For SMS I never made it to 50 anyway, so 250 and 200 are the same to me. As for minutes, I don&#8217;t talk much so 200 and 450 is still the same for me. That being said, AT&amp;T and Verizon have roughly the same plan to me, but a $5 per month is just too little for me to even consider switching.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>2. Verizon has a better 3G coverage.</strong></p>
<p>&nbsp;</p>
<p>Well since I live in Westwood, AT&amp;T does fine in this area. Also, we don&#8217;t know what kind of impact the new iPhones will bring to Verizon&#8217;s network. AT&amp;T&#8217;s 3G usage raised 50 times (yeah, FIFTY) after it offered iPhone.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>3. Verizon offers Internet tethering via Wifi (and possibly USB?)</strong></p>
<p>&nbsp;</p>
<p>For those of you who does not understand what is &#8220;Internet Tethering&#8221;, it means you share your cell phone&#8217;s Internet connection to your computer/tablet/iPod, etc.</p>
<p>&nbsp;</p>
<p>On AT&amp;T you are going to be charged an additional $20 per month for this feature, and the connection is shared over an USB cable or bluetooth. On Verizon this is offered at no additional cost, and you get to do it over Wifi.</p>
<p>&nbsp;</p>
<p>However this is merely a software issue, as a Jailbreaker I&#8217;ve been using this tethering feature at no additional cost since day one. In fact, this is how I&#8217;m typing this note right now lol</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Enough about advantages, let&#8217;s talk about the drawbacks:</p>
<p>&nbsp;</p>
<p><strong>1. Verizon&#8217;s iPhone is CDMA, and it&#8217;s 3G</strong></p>
<p>&nbsp;</p>
<p>Meaning? It does not support a GSM system, also it&#8217;s without a SIM card. So unlike my AT&amp;T iPhone, I can&#8217;t put my Taiwanese SIM card in it and use freely in Taiwan, or even put in a T-mobile SIM card to use it on T-mobile.</p>
<p>&nbsp;</p>
<p>(Well even if it&#8217;s 4G LTE it won&#8217;t support GSM either, so I&#8217;m actually referring to it being &#8220;CDMA only&#8221;)</p>
<p>&nbsp;</p>
<p>You can find additional information here:<strong><a rel="nofollow" href="http://tinyurl.com/y8g2vlk" target="_blank">http://tinyurl.com/y8g2vlk</a> </strong>(Sorry, it&#8217;s in Chinese, I&#8217;m too lazy to write it in English)</p>
<p>&nbsp;</p>
<p>Some might wanna argue that the iPhone from AT&amp;T is SIM locked to AT&amp;T, well again this is a software limitation, and is not an issue for Jailbreakers like me. With Verizon it&#8217;s a hardware issue, so it&#8217;s physically impossible to use other GSM carriers.</p>
<p>&nbsp;</p>
<p><strong>2. Verizon&#8217;s iPhone can&#8217;t do Voice/Data simultaneously</strong></p>
<p>&nbsp;</p>
<p>This is the deal breaker for me.</p>
<p>&nbsp;</p>
<p>Though AT&amp;T sometimes handles this feature poorly, i.e. people can&#8217;t call me when I&#8217;m surfing the web with my iPhone, it actually works most of the time. And one thing cool about the iPhone is the ability to Google things while on the phone with someone. For a heavy internet user like myself, if Voice/Data can&#8217;t get through at the same time, it is a serious issue.</p>
<p>&nbsp;</p>
<p>(From the data I read, when you get a call while surfing the internet on Verizon, your data connection is terminated to let your call gets through)</p>
<p>&nbsp;</p>
<p><strong>3. Most of my friends are on AT&amp;T</strong></p>
<p>&nbsp;</p>
<p>Yeah..well&#8230;this is just me lol</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Overall, I think the Verizon iPhone will be appealing mostly to existing Verizon users, but we will see how this goes. I&#8217;m actually happy about this, since this will &#8220;hopefully&#8221; take off some of the 3G load on AT&amp;T (please continue to offer Tethering for $20 per month!), also more competition is always good for the industry.</p>
<p>&nbsp;</p>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fipluto.wordpress.com%2F2011%2F01%2F12%2Fon-the-verizon-iphone%2F&amp;linkname=On%20the%20Verizon%20iPhone" target="_blank"><img src="http://static.addtoany.com/buttons/share_save_256_24.png" alt="Share" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/850/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/850/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/850/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=850&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2011/01/12/on-the-verizon-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>

		<media:content url="http://static.addtoany.com/buttons/share_save_256_24.png" medium="image">
			<media:title type="html">Share</media:title>
		</media:content>
	</item>
		<item>
		<title>簡單堵住iOS重大漏洞</title>
		<link>http://ipluto.wordpress.com/2010/08/13/%e7%b0%a1%e5%96%ae%e5%a0%b5%e4%bd%8fios%e9%87%8d%e5%a4%a7%e6%bc%8f%e6%b4%9e/</link>
		<comments>http://ipluto.wordpress.com/2010/08/13/%e7%b0%a1%e5%96%ae%e5%a0%b5%e4%bd%8fios%e9%87%8d%e5%a4%a7%e6%bc%8f%e6%b4%9e/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 00:00:11 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[電腦相關]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=843</guid>
		<description><![CDATA[前一陣子發表的Jailbreakme 讓大家只要連到一個網站就可以越獄成功 連電腦都不用 相當方便 但是這背後的安全性問題非常大 也就是有心的駭客可以撰寫惡意網站 只要上網連上了整支iPhone/iPod/iPad就會被駭客入侵掌控 因此蘋果很快的在一週多一點的時間就推出了新的iOS更新把該漏洞修掉 因為實在是太恐怖了 更恐怖的是，JailbreakMe的作者Comex昨天公布了他的程式原始碼 也就是現在有心人士要用這個漏洞來作壞事相對容易很多 就像之前改SSH密碼一樣 使用者當然也要有相對應的處理方式來保護自己安全 如果你沒有Jailbreak，那直接更新iOS就好，該漏洞會被堵住 問題在於已經Jailbreak的人， 因為升級iOS會造成Jailbreak失效 更何況iPhone 2G和一代的Touch根本不能裝最新的iOS 也就是Apple完全不打算為這兩種裝置修補這個漏洞 然而又一次的，蘋果不願意做的事情Saurik幫我們做了 請打開Cydia搜尋PDF Patch 安裝起來&#8230;.你的機器就安全了 所有機型都適用 建議大家趕快安裝這個Patch，以保障你的機器安全<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=843&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>前一陣子發表的<a href="http://www.jailbreakme.com/">Jailbreakme</a><br />
讓大家只要連到一個網站就可以越獄成功<br />
連電腦都不用<br />
相當方便</p>
<p>但是這背後的安全性問題非常大<br />
也就是有心的駭客可以撰寫惡意網站<br />
只要上網連上了整支iPhone/iPod/iPad就會被駭客入侵掌控</p>
<p>因此蘋果很快的在一週多一點的時間就推出了新的iOS更新把該漏洞修掉<br />
因為實在是太恐怖了</p>
<p>更恐怖的是，JailbreakMe的作者Comex昨天公布了他的<a href="http://github.com/comex/star">程式原始碼</a><br />
也就是現在有心人士要用這個漏洞來作壞事相對容易很多</p>
<p>就像之前改SSH密碼一樣<br />
使用者當然也要有相對應的處理方式來保護自己安全<br />
如果你沒有Jailbreak，那直接更新iOS就好，該漏洞會被堵住</p>
<p>問題在於已經Jailbreak的人，<br />
因為升級iOS會造成Jailbreak失效<br />
更何況iPhone 2G和一代的Touch根本不能裝最新的iOS<br />
也就是Apple完全不打算為這兩種裝置修補這個漏洞</p>
<p>然而又一次的，蘋果不願意做的事情Saurik幫我們做了<br />
請打開Cydia搜尋PDF Patch<br />
安裝起來&#8230;.你的機器就安全了<br />
所有機型都適用</p>
<p>建議大家趕快安裝這個Patch，以保障你的機器安全</p>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fipluto.wordpress.com%2F2010%2F08%2F13%2F%E7%B0%A1%E5%96%AE%E5%A0%B5%E4%BD%8Fios%E9%87%8D%E5%A4%A7%E6%BC%8F%E6%B4%9E%2F&amp;linkname=%E7%B0%A1%E5%96%AE%E5%A0%B5%E4%BD%8FiOS%E9%87%8D%E5%A4%A7%E6%BC%8F%E6%B4%9E"><img src="http://static.addtoany.com/buttons/share_save_256_24.png" alt="Share" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/843/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/843/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=843&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2010/08/13/%e7%b0%a1%e5%96%ae%e5%a0%b5%e4%bd%8fios%e9%87%8d%e5%a4%a7%e6%bc%8f%e6%b4%9e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>

		<media:content url="http://static.addtoany.com/buttons/share_save_256_24.png" medium="image">
			<media:title type="html">Share</media:title>
		</media:content>
	</item>
		<item>
		<title>FullForce 強制把iPhone app變成iPad app</title>
		<link>http://ipluto.wordpress.com/2010/08/03/full-force-%e5%bc%b7%e5%88%b6%e6%8a%8aiphone-app%e8%ae%8a%e6%88%90ipad-app/</link>
		<comments>http://ipluto.wordpress.com/2010/08/03/full-force-%e5%bc%b7%e5%88%b6%e6%8a%8aiphone-app%e8%ae%8a%e6%88%90ipad-app/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 06:02:55 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[電腦相關]]></category>
		<category><![CDATA[軟體]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=821</guid>
		<description><![CDATA[剛收到iPad時很高興的把iPhone app們裝進去， 此時才發現太多iPhone app都沒有針對iPad做改良， 或者是要重新購買該軟體的iPad版。 雖然使用者付費是很正常的&#8230;所以像Good Reader那種$1的重買我無所謂， 可是像Beejive IM要價$9.99&#8230;我已經買了iPhone版本了不能打個折嘛~_~ 當然也可以直接把iPhone app放大兩倍來用 這種方式玩玩極速快感這種圖型為主的東西還可以，可是像字典或Facebook這類型 文字居多的程式，放大2倍後馬賽克非常嚴重。 還好有Fullforce這東西，它可以強制叫iPhone App變成iPad app執行 因為畢竟是一種改造所以並不是每個app都會適用，介面當然也比不上真正的iPad app 基本上這跟app當初是怎麼寫的有關，所以也是文字為主的app反應較好 而剛好這類app也是最受解析度影響的。 Anyway&#8230;來看看一些app啟用full force的效果吧： (點圖可放大) Beejive IM: Flight Track: Opera Mini: 鐵道時刻表: Facebook: SketchBoxX 當然也會有失敗的狀況，例如FStream開起來畫面會整個錯亂 行動股市則是一開就當掉 除此之外倒是有不少好用app可以在full force的&#8221;加持&#8221;在iPad上更好用 Full force可以在Cydia安裝，安裝好後到設定部分選擇哪些app要用full force模式開 當然要有Cydia你的iPad需要先Jailbreak<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=821&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>剛收到iPad時很高興的把iPhone app們裝進去，</p>
<p>此時才發現太多iPhone app都沒有針對iPad做改良，</p>
<p>或者是要重新購買該軟體的iPad版。</p>
<p>雖然使用者付費是很正常的&#8230;所以像Good Reader那種$1的重買我無所謂，</p>
<p>可是像Beejive IM要價$9.99&#8230;我已經買了iPhone版本了不能打個折嘛~_~</p>
<p>當然也可以直接把iPhone app放大兩倍來用</p>
<p>這種方式玩玩極速快感這種圖型為主的東西還可以，可是像字典或Facebook這類型</p>
<p>文字居多的程式，放大2倍後馬賽克非常嚴重。</p>
<p>還好有Fullforce這東西，它可以強制叫iPhone App變成iPad app執行</p>
<p>因為畢竟是一種改造所以並不是每個app都會適用，介面當然也比不上真正的iPad app</p>
<p>基本上這跟app當初是怎麼寫的有關，所以也是文字為主的app反應較好</p>
<p>而剛好這類app也是最受解析度影響的。</p>
<p>Anyway&#8230;來看看一些app啟用full force的效果吧：</p>
<p>(點圖可放大)</p>
<p>Beejive IM:</p>
<p><a href="http://ipluto.files.wordpress.com/2010/08/img_00121.png"><img class="alignnone size-medium wp-image-823" title="IMG_0012" src="http://ipluto.files.wordpress.com/2010/08/img_00121.png?w=225&#038;h=300" alt="" width="225" height="300" /></a><a href="http://ipluto.files.wordpress.com/2010/08/img_0022.png"><img class="alignnone size-medium wp-image-824" title="IMG_0022" src="http://ipluto.files.wordpress.com/2010/08/img_0022.png?w=225&#038;h=300" alt="" width="225" height="300" /></a></p>
<p>Flight Track:</p>
<p><a href="http://ipluto.files.wordpress.com/2010/08/img_0013.png"><img class="alignnone size-medium wp-image-825" title="IMG_0013" src="http://ipluto.files.wordpress.com/2010/08/img_0013.png?w=225&#038;h=300" alt="" width="225" height="300" /></a><a href="http://ipluto.files.wordpress.com/2010/08/img_0019.png"><img class="alignnone size-medium wp-image-826" title="IMG_0019" src="http://ipluto.files.wordpress.com/2010/08/img_0019.png?w=225&#038;h=300" alt="" width="225" height="300" /></a></p>
<p>Opera Mini:</p>
<p><a href="http://ipluto.files.wordpress.com/2010/08/img_0018.png"><img class="alignnone size-medium wp-image-827" title="IMG_0018" src="http://ipluto.files.wordpress.com/2010/08/img_0018.png?w=225&#038;h=300" alt="" width="225" height="300" /></a><a href="http://ipluto.files.wordpress.com/2010/08/img_0023.png"><img class="alignnone size-medium wp-image-828" title="IMG_0023" src="http://ipluto.files.wordpress.com/2010/08/img_0023.png?w=225&#038;h=300" alt="" width="225" height="300" /></a></p>
<p>鐵道時刻表:</p>
<p><a href="http://ipluto.files.wordpress.com/2010/08/img_0016.png"><img class="alignnone size-medium wp-image-829" title="IMG_0016" src="http://ipluto.files.wordpress.com/2010/08/img_0016.png?w=225&#038;h=300" alt="" width="225" height="300" /></a><a href="http://ipluto.files.wordpress.com/2010/08/img_0021.png"><img class="alignnone size-medium wp-image-830" title="IMG_0021" src="http://ipluto.files.wordpress.com/2010/08/img_0021.png?w=225&#038;h=300" alt="" width="225" height="300" /></a></p>
<p>Facebook:</p>
<p><a href="http://ipluto.files.wordpress.com/2010/08/img_0015.png"><img class="alignnone size-medium wp-image-831" title="IMG_0015" src="http://ipluto.files.wordpress.com/2010/08/img_0015.png?w=225&#038;h=300" alt="" width="225" height="300" /></a><a href="http://ipluto.files.wordpress.com/2010/08/img_0020.png"><img class="alignnone size-medium wp-image-832" title="IMG_0020" src="http://ipluto.files.wordpress.com/2010/08/img_0020.png?w=225&#038;h=300" alt="" width="225" height="300" /></a></p>
<p>SketchBoxX</p>
<p><a href="http://ipluto.files.wordpress.com/2010/08/img_0017.png"><img class="alignnone size-medium wp-image-833" title="IMG_0017" src="http://ipluto.files.wordpress.com/2010/08/img_0017.png?w=225&#038;h=300" alt="" width="225" height="300" /></a><a href="http://ipluto.files.wordpress.com/2010/08/img_0024.png"><img class="alignnone size-medium wp-image-834" title="IMG_0024" src="http://ipluto.files.wordpress.com/2010/08/img_0024.png?w=225&#038;h=300" alt="" width="225" height="300" /></a></p>
<p>當然也會有失敗的狀況，例如FStream開起來畫面會整個錯亂</p>
<p>行動股市則是一開就當掉</p>
<p>除此之外倒是有不少好用app可以在full force的&#8221;加持&#8221;在iPad上更好用</p>
<p>Full force可以在Cydia安裝，安裝好後到設定部分選擇哪些app要用full force模式開</p>
<p>當然要有Cydia你的iPad需要先<a href="http://ipluto.wordpress.com/2009/09/20/jailbreak-and-unlock-for-iphone-and-ipod-touch/">Jailbreak</a></p>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fipluto.wordpress.com%2F2010%2F08%2F03%2Ffull-force-%E5%BC%B7%E5%88%B6%E6%8A%8Aiphone-app%E8%AE%8A%E6%88%90ipad-app%2F&amp;linkname=FullForce%20%E5%BC%B7%E5%88%B6%E6%8A%8AiPhone%20app%E8%AE%8A%E6%88%90iPad%20app"><img src="http://static.addtoany.com/buttons/share_save_256_24.png" alt="Share" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/821/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/821/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/821/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=821&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2010/08/03/full-force-%e5%bc%b7%e5%88%b6%e6%8a%8aiphone-app%e8%ae%8a%e6%88%90ipad-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_00121.png?w=225" medium="image">
			<media:title type="html">IMG_0012</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0022.png?w=225" medium="image">
			<media:title type="html">IMG_0022</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0013.png?w=225" medium="image">
			<media:title type="html">IMG_0013</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0019.png?w=225" medium="image">
			<media:title type="html">IMG_0019</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0018.png?w=225" medium="image">
			<media:title type="html">IMG_0018</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0023.png?w=225" medium="image">
			<media:title type="html">IMG_0023</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0016.png?w=225" medium="image">
			<media:title type="html">IMG_0016</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0021.png?w=225" medium="image">
			<media:title type="html">IMG_0021</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0015.png?w=225" medium="image">
			<media:title type="html">IMG_0015</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0020.png?w=225" medium="image">
			<media:title type="html">IMG_0020</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0017.png?w=225" medium="image">
			<media:title type="html">IMG_0017</media:title>
		</media:content>

		<media:content url="http://ipluto.files.wordpress.com/2010/08/img_0024.png?w=225" medium="image">
			<media:title type="html">IMG_0024</media:title>
		</media:content>

		<media:content url="http://static.addtoany.com/buttons/share_save_256_24.png" medium="image">
			<media:title type="html">Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Inception: Jailbroken</title>
		<link>http://ipluto.wordpress.com/2010/07/27/inception-jailbroken/</link>
		<comments>http://ipluto.wordpress.com/2010/07/27/inception-jailbroken/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 09:44:56 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[創作]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=815</guid>
		<description><![CDATA[Just editing the subtitles&#8230;. I own nothing.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=815&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just editing the subtitles&#8230;.</p>
<p>I own nothing.</p>
<span style="text-align:center; display: block;"><a href="http://ipluto.wordpress.com/2010/07/27/inception-jailbroken/"><img src="http://img.youtube.com/vi/uOhu9mR9xm0/2.jpg" alt="" /></a></span>
<span style="text-align:center; display: block;"><a href="http://ipluto.wordpress.com/2010/07/27/inception-jailbroken/"><img src="http://img.youtube.com/vi/OdjbjJXVGzs/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/815/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=815&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2010/07/27/inception-jailbroken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>
	</item>
		<item>
		<title>舊版iPhone 3GS Jailbreak 4.0</title>
		<link>http://ipluto.wordpress.com/2010/07/05/%e8%88%8a%e7%89%88iphone-3gs-jailbreak-4-0/</link>
		<comments>http://ipluto.wordpress.com/2010/07/05/%e8%88%8a%e7%89%88iphone-3gs-jailbreak-4-0/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 20:57:21 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[電腦相關]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=810</guid>
		<description><![CDATA[翻譯自： http://tinyurl.com/27zhkmm 感謝 PTT chuliu板友的資料和測試 先說明這篇文章的效果： 用刷自製軔體的方式升級到Jailbroken 4.0 再來說明這篇文章的適用對象： 舊版bootrom的3GS 也就是可以用黑雨完全JB的那種 不確定的話可以用這個方法查: http://www.iphoneheat.com/2010/06/check-iphone-3gs-bootrom-windows-mac/ 你必須要有3.1.3的SHSH (如果你有3.1.2的話&#8230;別鬧了&#8230;降3.1.2黑雨後刷自製吧) 因為要刷自製軔體必須要Jailbreak，而且不能是用Spirit 偏偏如果你只有3.1.3的SHSH那也只有Spirit可以越獄 而Spirit越獄後的機子是不能刷自製軔體的 (原因請參考本人的文章 http://tinyurl.com/2dpwer3 ) 我們現在要做的就是把Spirit後的機器&#8221;改造&#8221; 讓它可以刷自製軔體 步驟如下： 因為有3.1.3的SHSH，先降級到3.1.3 (本來就是3.1.3的就省略這步) 用Spirit越獄(本來用Spirit越獄過的也是省略這步 請不要用iTunes9.2) 在Cydia裝Afc2Add, OpenSSH 以及 mobile terminal 用sn0wbreeze或PwnageTool打造一個3.1.3的自製軔體 把造好的軔體檔附檔名從ipsw改成.zip並解壓縮 到解開的資料夾底下的Firmware/all_flash/all_flash.n88ap.production，把該資料夾裡的東西全部copy到iPhone的/tmp裡 (看要SSH還是iFunBox還啥的) http://code.google.com/p/iphone-img3-flasher/downloads/list，下載spirit2pwn_r2.zip，解開後把裡面的東西也全丟到iPhone的/tmp下 在iPhone上打開mobile terminal，會出現一個終端機，請依序輸入以下指令： su root (輸入你的密碼，沒改過的話預設是alpine) cd /tmp chmod 755 pwn_old_boot_r2.sh ./pwn_old_boot_r2.sh 最後就可以用PwnageTool或sn0wbreeze打造4.0自製軔體刷上去 恭喜您獲得Jailbroken 3GS on iOS4！<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=810&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">翻譯自：</div>
<div id="_mcePaste"><a href="http://tinyurl.com/27zhkmm">http://tinyurl.com/27zhkmm</a></div>
<div id="_mcePaste">感謝 PTT chuliu板友的資料和測試</div>
<div id="_mcePaste">先說明這篇文章的效果：</div>
<div id="_mcePaste">用刷自製軔體的方式升級到Jailbroken 4.0</div>
<div>再來說明這篇文章的適用對象：</div>
<div id="_mcePaste">舊版bootrom的3GS 也就是可以用黑雨完全JB的那種 不確定的話可以用這個方法查:</div>
<div id="_mcePaste"><a href="http://www.iphoneheat.com/2010/06/check-iphone-3gs-bootrom-windows-mac/">http://www.iphoneheat.com/2010/06/check-iphone-3gs-bootrom-windows-mac/</a></div>
<div id="_mcePaste">你必須要有3.1.3的SHSH (如果你有3.1.2的話&#8230;別鬧了&#8230;降3.1.2黑雨後刷自製吧)</div>
<div id="_mcePaste">因為要刷自製軔體必須要Jailbreak，而且不能是用Spirit</div>
<div id="_mcePaste">偏偏如果你只有3.1.3的SHSH那也只有Spirit可以越獄</div>
<div id="_mcePaste">而Spirit越獄後的機子是不能刷自製軔體的</div>
<div id="_mcePaste">(原因請參考本人的文章 <a href="http://tinyurl.com/2dpwer3">http://tinyurl.com/2dpwer3</a> )</div>
<div id="_mcePaste">我們現在要做的就是把Spirit後的機器&#8221;改造&#8221; 讓它可以刷自製軔體</div>
<div id="_mcePaste">步驟如下：</div>
<div id="_mcePaste">
<ol>
<li> 因為有3.1.3的SHSH，先降級到3.1.3 (本來就是3.1.3的就省略這步)</li>
<li>用Spirit越獄(本來用Spirit越獄過的也是省略這步 請不要用iTunes9.2)</li>
<li>在Cydia裝Afc2Add, OpenSSH 以及 mobile terminal</li>
<li>用sn0wbreeze或PwnageTool打造一個3.1.3的自製軔體</li>
<li>把造好的軔體檔附檔名從ipsw改成.zip並解壓縮</li>
<li>到解開的資料夾底下的<span style="color:#993300;">Firmware/all_flash/all_flash.n88ap.production</span>，把該資料夾裡的東西全部copy到iPhone的<span style="color:#993300;">/tmp</span>裡 (看要SSH還是iFunBox還啥的)</li>
<li><a href="http://code.google.com/p/iphone-img3-flasher/downloads/list">http://code.google.com/p/iphone-img3-flasher/downloads/list</a>，下載spirit2pwn_r2.zip，解開後把裡面的東西也全丟到iPhone的<span style="color:#993300;">/tmp</span>下</li>
<li>在iPhone上打開mobile terminal，會出現一個終端機，請依序輸入以下指令：</li>
</ol>
<ul>
<li><span style="color:#993300;">su root</span></li>
<li><span style="color:#000000;">(輸入你的密碼，沒改過的話預設是<span style="color:#993300;">alpine</span>)</span></li>
<li><span style="color:#993300;">cd /tmp</span></li>
<li><span style="color:#993300;">chmod 755 pwn_old_boot_r2.sh</span></li>
<li><span style="color:#993300;">./pwn_old_boot_r2.sh</span></li>
</ul>
<p>最後就可以用PwnageTool或sn0wbreeze打造4.0自製軔體刷上去</p>
</div>
<div>恭喜您獲得Jailbroken 3GS on iOS4！</div>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fipluto.wordpress.com%2F2010%2F07%2F05%2F%E8%88%8A%E7%89%88iphone-3gs-jailbreak-4-0%2F&amp;linkname=%E8%88%8A%E7%89%88iPhone%203GS%20Jailbreak%204.0"><img src="http://static.addtoany.com/buttons/share_save_256_24.png" alt="Share" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/810/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/810/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/810/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=810&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2010/07/05/%e8%88%8a%e7%89%88iphone-3gs-jailbreak-4-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>

		<media:content url="http://static.addtoany.com/buttons/share_save_256_24.png" medium="image">
			<media:title type="html">Share</media:title>
		</media:content>
	</item>
		<item>
		<title>iOS 4.0的多工</title>
		<link>http://ipluto.wordpress.com/2010/06/23/ios-4-0%e7%9a%84%e5%a4%9a%e5%b7%a5/</link>
		<comments>http://ipluto.wordpress.com/2010/06/23/ios-4-0%e7%9a%84%e5%a4%9a%e5%b7%a5/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 08:29:36 +0000</pubDate>
		<dc:creator>ipluto</dc:creator>
				<category><![CDATA[電腦相關]]></category>
		<category><![CDATA[軟體]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://ipluto.wordpress.com/?p=802</guid>
		<description><![CDATA[http://thebigboss.org/2010/06/18/ios4-hold-off-a-bit bigboss的文章主要提到幾件事情 1. task bar裡面包含兩種東西，一種是真正在背景執行的程式，另一種是你最近開過的程式。但是你無法分辨哪個是背景執行哪個是最近開過，而且要移除還要長按才能出現關閉選項。 2. Apple內建程式，包含股票、時鐘、天氣、計算機那些，只要開過後一律自動背景執行，除非你去task bar關掉它 3. Built for 4.0的程式也會一直在背景跑，除非你去關掉它 4. iOS 4.0會memory leak&#8230;莫名其妙狂吃記憶體，不過他當時是在GM版看到的狀況，不知道正式版有沒有修好 5. 很多app還沒有更新，所以根本辦法多工 6. 很多cydia的app也還沒更新，根本不能用 7. 他覺得4.0比JB過的3.0還不如，建議大家先等等XD 沒想到Apple是這樣處理多工的&#8230; 當初還說we&#8217;re not the first, but we&#8217;re going to be the best&#8230; 我覺得backgrounder+pro switcher表現還比較好咧&#8230;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=802&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://thebigboss.org/2010/06/18/ios4-hold-off-a-bit">http://thebigboss.org/2010/06/18/ios4-hold-off-a-bit</a></p>
<p>bigboss的文章主要提到幾件事情</p>
<p>1. task bar裡面包含兩種東西，一種是真正在背景執行的程式，另一種是你最近開過的程式。但是你無法分辨哪個是背景執行哪個是最近開過，而且要移除還要長按才能出現關閉選項。</p>
<p>2. Apple內建程式，包含股票、時鐘、天氣、計算機那些，只要開過後一律自動背景執行，除非你去task bar關掉它</p>
<p>3. Built for 4.0的程式也會一直在背景跑，除非你去關掉它</p>
<p>4. iOS 4.0會memory leak&#8230;莫名其妙狂吃記憶體，不過他當時是在GM版看到的狀況，不知道正式版有沒有修好</p>
<p>5. 很多app還沒有更新，所以根本辦法多工</p>
<p>6. 很多cydia的app也還沒更新，根本不能用</p>
<p>7. 他覺得4.0比JB過的3.0還不如，建議大家先等等XD</p>
<p>沒想到Apple是這樣處理多工的&#8230;</p>
<p>當初還說we&#8217;re not the first, but we&#8217;re going to be the best&#8230;</p>
<p>我覺得backgrounder+pro switcher表現還比較好咧&#8230;.</p>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fipluto.wordpress.com%2F2010%2F06%2F23%2Fios-4-0%E7%9A%84%E5%A4%9A%E5%B7%A5%2F&amp;linkname=iOS%204.0%E7%9A%84%E5%A4%9A%E5%B7%A5"><img src="http://static.addtoany.com/buttons/share_save_256_24.png" alt="Share" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ipluto.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ipluto.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ipluto.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ipluto.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ipluto.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ipluto.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ipluto.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ipluto.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ipluto.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ipluto.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ipluto.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ipluto.wordpress.com/802/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ipluto.wordpress.com/802/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ipluto.wordpress.com/802/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ipluto.wordpress.com&amp;blog=8660695&amp;post=802&amp;subd=ipluto&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ipluto.wordpress.com/2010/06/23/ios-4-0%e7%9a%84%e5%a4%9a%e5%b7%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/829b343a75020200754e606000671cb7?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">ipluto</media:title>
		</media:content>

		<media:content url="http://static.addtoany.com/buttons/share_save_256_24.png" medium="image">
			<media:title type="html">Share</media:title>
		</media:content>
	</item>
	</channel>
</rss>
