<?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/"
	>

<channel>
	<title>Tarotoast's Stuff</title>
	<atom:link href="http://blog.tarotoast.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tarotoast.com</link>
	<description>Personal blog</description>
	<lastBuildDate>Mon, 30 Nov 2009 19:09:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>搬家, again</title>
		<link>http://blog.tarotoast.com/2009/11/30/502/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=%25e6%2590%25ac%25e5%25ae%25b6-again</link>
		<comments>http://blog.tarotoast.com/2009/11/30/502/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 19:09:50 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=502</guid>
		<description><![CDATA[Byebye Eka &#38; Seana :&#8217;(
Hello convenience and food.
Byebye big house, but someone else&#8217;s house.
Hello new sweet home and peace of mind.
Looking forward to the next move :)
Next Move: Summer 2010.
]]></description>
			<content:encoded><![CDATA[<p>Byebye Eka &amp; Seana :&#8217;(</p>
<p>Hello convenience and food.</p>
<p>Byebye big house, but someone else&#8217;s house.</p>
<p>Hello new sweet home and peace of mind.</p>
<p>Looking forward to the next move :)</p>
<p>Next Move: Summer 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2009/11/30/502/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GeoIP C API + mod_geoip on OSX 10.6</title>
		<link>http://blog.tarotoast.com/2009/11/15/501/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=geoip-c-api-mod_geoip-on-osx-10-6</link>
		<comments>http://blog.tarotoast.com/2009/11/15/501/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 02:40:54 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>
		<category><![CDATA[code osx geoip compile]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/2009/11/15/501/</guid>
		<description><![CDATA[Run the configure script as the following:
MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS=&#8221;-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp&#8221; CCFLAGS=&#8221;-arch i386 -arch x86_64 -g -Os -pipe&#8221; CXXFLAGS=&#8221;-arch i386 -arch x86_64 -g -Os -pipe&#8221; LDFLAGS=&#8221;-arch i386 -arch x86_64 -bind_at_load&#8221; ./configure
]]></description>
			<content:encoded><![CDATA[<p>Run the configure script as the following:</p>
<p>MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS=&#8221;-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp&#8221; CCFLAGS=&#8221;-arch i386 -arch x86_64 -g -Os -pipe&#8221; CXXFLAGS=&#8221;-arch i386 -arch x86_64 -g -Os -pipe&#8221; LDFLAGS=&#8221;-arch i386 -arch x86_64 -bind_at_load&#8221; ./configure</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2009/11/15/501/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IP -&gt; Location</title>
		<link>http://blog.tarotoast.com/2009/05/25/495/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ip-location</link>
		<comments>http://blog.tarotoast.com/2009/05/25/495/#comments</comments>
		<pubDate>Mon, 25 May 2009 18:28:06 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>
		<category><![CDATA[geoip]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=495</guid>
		<description><![CDATA[GeoLite City vs GeoIP City:




GeoLite City
GeoIP City


Cost
Free
$370 initial, $90 per month updates


Coverage
Worldwide
Worldwide


Accuracy
Over 99.5% on a country level and 79% on a city level for the US within a 25 mile radius. More details
Over 99.8% on a country level and 83% on a city level for the US within a 25 mile radius. More details


Redistribution
Free, subject [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.maxmind.com/app/geolitecity">GeoLite City</a> vs <a href="http://www.maxmind.com/app/city">GeoIP City</a>:</p>
<table border="0">
<tbody>
<tr>
<td></td>
<td>GeoLite City</td>
<td>GeoIP City</td>
</tr>
<tr>
<td>Cost</td>
<td>Free</td>
<td>$370 initial, $90 per month updates</td>
</tr>
<tr>
<td>Coverage</td>
<td>Worldwide</td>
<td>Worldwide</td>
</tr>
<tr>
<td>Accuracy</td>
<td>Over 99.5% on a country level and 79% on a city level for the US within a 25 mile radius. <a href="http://www.maxmind.com/app/geolite_city_accuracy">More details</a></td>
<td>Over 99.8% on a country level and 83% on a city level for the US within a 25 mile radius. <a href="http://www.maxmind.com/app/city_accuracy">More details</a></td>
</tr>
<tr>
<td>Redistribution</td>
<td>Free, subject to GPL/LGPL for APIs and <a href="http://geolite.maxmind.com/download/geoip/database/LICENSE.txt">database license</a>. <a href="http://www.maxmind.com/app/builder">Commercial redistribution licenses</a> are available</td>
<td>Please contact us</td>
</tr>
<tr>
<td>Updates</td>
<td>Updated monthly, at the beginning of each month</td>
<td>Updated monthly.  For binary format, weekly updates, automated updates available by using geoipupdate program included with <a href="http://www.maxmind.com/app/c">C API</a></td>
</tr>
</tbody>
</table>
<p>Very evil indeed.</p>
<ol>
<li>Download and install GeoIP C API from <a href="http://www.maxmind.com/app/c">here</a>.</li>
<li>Download and install GeoIP Python API from <a href="http://geolite.maxmind.com/download/geoip/api/python/">here</a>.</li>
<li>Download latest GeoLite City Binary Format from <a href="http://www.maxmind.com/app/geolitecity">here</a>.</li>
<li>Extract GeoLite City file to /usr/local/share/GeoIP/</li>
</ol>
<p>Example uses of API can be found in test*.py that comes with Python API.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2009/05/25/495/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trac on OSX Leopard</title>
		<link>http://blog.tarotoast.com/2009/05/23/491/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=trac-on-osx-leopard</link>
		<comments>http://blog.tarotoast.com/2009/05/23/491/#comments</comments>
		<pubDate>Sat, 23 May 2009 21:25:34 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=491</guid>
		<description><![CDATA[Use svn 1.44&#8217;s svnadmin to create repository
Use Macport to install python 2.6 and its subversion bindings
cp /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/admin/templates/deploy_trac.fcgi /Library/WebServer/CGI-Executables/deploy_trac.fcgi
edit /Library/WebServer/CGI-Executables/deploy_trac.fcgi and add in #!/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python on first line
Follow &#8216;Configure Apache to run TRAC using FastCGI&#8217; section in Installing a Secure Subversion Server on Leopard
Add a plist:
&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&#62;
&#60;!DOCTYPE plist PUBLIC &#8220;-//Apple//DTD PLIST 1.0//EN&#8221; &#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;&#62;
&#60;plist version=&#8221;1.0&#8243;&#62;
&#60;dict&#62;
&#60;key&#62;UserName&#60;/key&#62;
&#60;string&#62;root&#60;/string&#62;
&#60;key&#62;KeepAlive&#60;/key&#62;
&#60;dict&#62;
&#60;key&#62;SuccessfulExit&#60;/key&#62;
&#60;true/&#62;
&#60;/dict&#62;
&#60;key&#62;Label&#60;/key&#62;
&#60;string&#62;svnserve.plist&#60;/string&#62;
&#60;key&#62;ProgramArguments&#60;/key&#62;
&#60;array&#62;
&#60;string&#62;/usr/bin/svnserve&#60;/string&#62;
&#60;string&#62;-d&#60;/string&#62;
&#60;string&#62;-r&#60;/string&#62;
&#60;string&#62;/var/svn&#60;/string&#62;
&#60;/array&#62;
&#60;/dict&#62;
&#60;/plist&#62;

Very PITA at [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Use svn 1.44&#8217;s svnadmin to create repository</li>
<li>Use Macport to install python 2.6 and its subversion bindings</li>
<li>cp /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Trac-0.11.4-py2.6.egg/trac/admin/templates/deploy_trac.fcgi /Library/WebServer/CGI-Executables/deploy_trac.fcgi</li>
<li>edit /Library/WebServer/CGI-Executables/deploy_trac.fcgi and add in #!/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python on first line</li>
<li>Follow &#8216;Configure Apache to run TRAC using FastCGI&#8217; section in <a href="http://www.sonzea.com/articles/subversion-trac.html">Installing a Secure Subversion Server on Leopard</a></li>
<li>Add a plist:<br />
&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE plist PUBLIC &#8220;-//Apple//DTD PLIST 1.0//EN&#8221; &#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;&gt;<br />
&lt;plist version=&#8221;1.0&#8243;&gt;<br />
&lt;dict&gt;<br />
&lt;key&gt;UserName&lt;/key&gt;<br />
&lt;string&gt;root&lt;/string&gt;<br />
&lt;key&gt;KeepAlive&lt;/key&gt;<br />
&lt;dict&gt;<br />
&lt;key&gt;SuccessfulExit&lt;/key&gt;<br />
&lt;true/&gt;<br />
&lt;/dict&gt;<br />
&lt;key&gt;Label&lt;/key&gt;<br />
&lt;string&gt;svnserve.plist&lt;/string&gt;<br />
&lt;key&gt;ProgramArguments&lt;/key&gt;<br />
&lt;array&gt;<br />
&lt;string&gt;/usr/bin/svnserve&lt;/string&gt;<br />
&lt;string&gt;-d&lt;/string&gt;<br />
&lt;string&gt;-r&lt;/string&gt;<br />
&lt;string&gt;/var/svn&lt;/string&gt;<br />
&lt;/array&gt;<br />
&lt;/dict&gt;<br />
&lt;/plist&gt;</li>
</ol>
<p>Very PITA at some steps.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2009/05/23/491/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5/15 9:21 AM</title>
		<link>http://blog.tarotoast.com/2009/05/15/486/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=515-921-am</link>
		<comments>http://blog.tarotoast.com/2009/05/15/486/#comments</comments>
		<pubDate>Fri, 15 May 2009 16:44:14 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=486</guid>
		<description><![CDATA[今天是沒有上班的禮拜五，外面是大好天氣。雖然說沒有上班不過昨晚剛下飛機後才又接到一個 ticket ，有種想要先修一修的感覺。很久沒有好好的寫 blog 了，總覺得正在等待考試結束的我現在最符合邏輯的事情就是來打一篇近況。
上禮拜有個大學同學忽然間丟我 email 問我說我是不是還在 Apple 上班，我都還沒回他之前他就在 facebook 上面問說是 xx 建築物嗎？在 Directory 裡面打上他名字發現不知道什麼時候他也跑來這邊上班了，我在二樓他在一樓。他畢業後就跑去印度上班了，不知道在想什麼。不過在印度領美國的薪水聽他說起來過的跟凱子一樣，然後騎著一台 150 cc 的機車就像開著法拉利一樣厲害。唔，美國人的想法很奇妙。不過他被印度公司派回來美國後又變成凡人了。
最近的工作表現應該算還不錯，主管的主管似乎很喜歡我，所以暑假後應該會遠端半工半讀。不知道那時候領的薪水會是現在的幾分之幾就是了。
技術心得的部份嘛，我覺得轉到了 IS&#38;T 以後的確有學到不少東西，不過也都只是自己看文件自己學就是了。沒有自學能力的人好像不大可能活在這個環境下。很感慨的部份是，我發現所有對我現在工作有用的知識，好像都是我讀書讀累了在摸魚時候玩會的。唯一一個有相關的大概就是 183 時候做的 project 用 symfony 這個 framework 多少可以提供一下 vs codeigniter 的意見。唔，那時候接觸到的 js framework 好像也是有幫助啦。
暑假希望可以回台灣兩個禮拜，不過完全還是未知數。回台灣好貴，光是機票 (x2) 大概就要算  3k，然後回台灣開銷 1k 應該跑不掉。4K 就在回台灣的兩個禮拜內  byebye，不知道耶。 Eka 不知道該怎麼辦，大概託付給我妹的同學吧。我好想要每天吃飯的時候都可以開個門回到台灣的夜市逛，頂多剛開始幾天會勞賽，再來應該也會習慣吧。台北好像有好多個跟我不熟的表弟妹，回去切磋一下感情還有觀察一下現在的小朋友在那個年齡是在想什麼。我也想要在澎湖的珊瑚礁死光之前去浮淺阿，也想要跟 55 說我也有去游過日月潭或者爬玉山，也想要再去淺水，也想要在不知道某國家某棟大樓完成前去 101。新診所都還沒去過咧，好多事情想做喔，還是回台灣好了。
Eka 好可愛 &#60;3
我寶貝也好可愛 &#60;3
]]></description>
			<content:encoded><![CDATA[<p>今天是沒有上班的禮拜五，外面是大好天氣。雖然說沒有上班不過昨晚剛下飛機後才又接到一個 ticket ，有種想要先修一修的感覺。很久沒有好好的寫 blog 了，總覺得正在等待考試結束的我現在最符合邏輯的事情就是來打一篇近況。</p>
<p>上禮拜有個大學同學忽然間丟我 email 問我說我是不是還在 Apple 上班，我都還沒回他之前他就在 facebook 上面問說是 xx 建築物嗎？在 Directory 裡面打上他名字發現不知道什麼時候他也跑來這邊上班了，我在二樓他在一樓。他畢業後就跑去印度上班了，不知道在想什麼。不過在印度領美國的薪水聽他說起來過的跟凱子一樣，然後騎著一台 150 cc 的機車就像開著法拉利一樣厲害。唔，美國人的想法很奇妙。不過他被印度公司派回來美國後又變成凡人了。</p>
<p>最近的工作表現應該算還不錯，主管的主管似乎很喜歡我，所以暑假後應該會遠端半工半讀。不知道那時候領的薪水會是現在的幾分之幾就是了。</p>
<p>技術心得的部份嘛，我覺得轉到了 IS&amp;T 以後的確有學到不少東西，不過也都只是自己看文件自己學就是了。沒有自學能力的人好像不大可能活在這個環境下。很感慨的部份是，我發現所有對我現在工作有用的知識，好像都是我讀書讀累了在摸魚時候玩會的。唯一一個有相關的大概就是 183 時候做的 project 用 symfony 這個 framework 多少可以提供一下 vs codeigniter 的意見。唔，那時候接觸到的 js framework 好像也是有幫助啦。</p>
<p>暑假希望可以回台灣兩個禮拜，不過完全還是未知數。回台灣好貴，光是機票 (x2) 大概就要算  3k，然後回台灣開銷 1k 應該跑不掉。4K 就在回台灣的兩個禮拜內  byebye，不知道耶。 Eka 不知道該怎麼辦，大概託付給我妹的同學吧。我好想要每天吃飯的時候都可以開個門回到台灣的夜市逛，頂多剛開始幾天會勞賽，再來應該也會習慣吧。台北好像有好多個跟我不熟的表弟妹，回去切磋一下感情還有觀察一下現在的小朋友在那個年齡是在想什麼。我也想要在澎湖的珊瑚礁死光之前去浮淺阿，也想要跟 55 說我也有去游過日月潭或者爬玉山，也想要再去淺水，也想要在不知道某國家某棟大樓完成前去 101。新診所都還沒去過咧，好多事情想做喔，還是回台灣好了。</p>
<p>Eka 好可愛 &lt;3</p>
<p>我寶貝也好可愛 &lt;3</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2009/05/15/486/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Protected: Dell Inspiron 530 with Leopard</title>
		<link>http://blog.tarotoast.com/2009/04/20/481/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=dell-inspiron-530-with-leopard</link>
		<comments>http://blog.tarotoast.com/2009/04/20/481/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 23:47:13 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=481</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://blog.tarotoast.com/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-481">Password:<br />
<input name="post_password" id="pwbox-481" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2009/04/20/481/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maximize in Safari</title>
		<link>http://blog.tarotoast.com/2008/12/22/474/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=maximize-in-safari</link>
		<comments>http://blog.tarotoast.com/2008/12/22/474/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 00:11:59 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[maximize]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=474</guid>
		<description><![CDATA[The green button doesn&#8217;t actually maximize your window to the fullest estate of your desktop, but instead it maximized to the content in the page. To get the Firefox like maximize back, drag this link Max to your bookmark toolbar to make it into a bookmarklet.
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="buttons" src="http://farm4.static.flickr.com/3087/3128767775_d861c743e4_o.png" alt="" width="63" height="21" /></p>
<p>The green button doesn&#8217;t actually maximize your window to the fullest estate of your desktop, but instead it maximized to the content in the page. To get the Firefox like maximize back, drag this link <a href="javascript:window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight)">Max</a> to your bookmark toolbar to make it into a bookmarklet.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2008/12/22/474/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>好用的數個 jQuery plugin</title>
		<link>http://blog.tarotoast.com/2008/11/11/471/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=%25e5%25a5%25bd%25e7%2594%25a8%25e7%259a%2584%25e6%2595%25b8%25e5%2580%258b-jquery-plugin</link>
		<comments>http://blog.tarotoast.com/2008/11/11/471/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 21:51:12 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=471</guid>
		<description><![CDATA[這些是一些有在用 jQuery plugin:

jQuery UI/Date Picker
jQuery Cookie
jQuery Jeditable &#8211; In Place Editor plugin
jQuery QUnit

對沒幾個，但是這些都很好用
然後要混著跟 Prototype.js 一起用的話在 include jQuery 後記得加個
jQuery.noConflict();
就可以開心的混著一起用了
]]></description>
			<content:encoded><![CDATA[<p>這些是一些有在用 jQuery plugin:</p>
<ul>
<li><a href="http://docs.jquery.com/UI/Datepicker">jQuery UI/Date Picker</a></li>
<li><a href="http://plugins.jquery.com/project/cookie">jQuery Cookie</a></li>
<li><a href="http://plugins.jquery.com/project/jeditable">jQuery Jeditable &#8211; In Place Editor plugin</a></li>
<li><a href="http://docs.jquery.com/QUnit">jQuery QUnit</a></li>
</ul>
<p>對沒幾個，但是這些都很好用</p>
<p>然後要混著跟 Prototype.js 一起用的話在 include jQuery 後記得加個</p>
<blockquote><p>jQuery.noConflict();</p></blockquote>
<p>就可以開心的混著一起用了</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2008/11/11/471/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP &amp; Zend Searh Lucene &amp; MySQL</title>
		<link>http://blog.tarotoast.com/2008/10/31/468/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=php-zend-searh-lucene-mysql</link>
		<comments>http://blog.tarotoast.com/2008/10/31/468/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 19:05:29 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=468</guid>
		<description><![CDATA[工作到現在好像沒有真的學到什麼東西
真的要說有的話可能是工作的態度和做人處世的方法
大公司裡面要能夠往上爬的話靠技術是不夠的
技術人員很容易被取代，而且永遠都是技術人員
離題了
===========================
因為工作的關係，最近碰了很多 PHP 和 Javascript
先靠北一下 Zend Search Lucene
雖然她最近更新到 ZF 1.6 然後 Zend Search Lucene 也支援了 2.3 的 index 格式
實際上用起來實在效果還是不夠好
Lucene 有提供一個很好用的東西叫做 QueryWrapperFilter 拿來搜尋一個 subset 的 index
效果就類似用 subquery 先做一次 filter 再丟給 SELECT &#8230; FROM 來作搜尋
Zend Search Lucene 不支援這種動作
假設說我要在 1M 筆文件裡面找所有含有 A 也含有 B 的東西
含有 A 的有 30 筆，含有 B 的有 100K 筆
SQL 裡面可以可以先直接過濾出含有 A 的文件後再找裡面有沒有含有 B 的東西
Lucene 的 [...]]]></description>
			<content:encoded><![CDATA[<p>工作到現在好像沒有真的學到什麼東西</p>
<p>真的要說有的話可能是工作的態度和做人處世的方法</p>
<p>大公司裡面要能夠往上爬的話靠技術是不夠的</p>
<p>技術人員很容易被取代，而且永遠都是技術人員</p>
<p>離題了</p>
<p>===========================</p>
<p>因為工作的關係，最近碰了很多 PHP 和 Javascript</p>
<p>先靠北一下 Zend Search Lucene</p>
<p>雖然她最近更新到 ZF 1.6 然後 Zend Search Lucene 也支援了 2.3 的 index 格式</p>
<p>實際上用起來實在效果還是不夠好</p>
<p>Lucene 有提供一個很好用的東西叫做 QueryWrapperFilter 拿來搜尋一個 subset 的 index</p>
<p>效果就類似用 subquery 先做一次 filter 再丟給 SELECT &#8230; FROM 來作搜尋</p>
<p>Zend Search Lucene 不支援這種動作</p>
<p>假設說我要在 1M 筆文件裡面找所有含有 A 也含有 B 的東西</p>
<p>含有 A 的有 30 筆，含有 B 的有 100K 筆</p>
<p>SQL 裡面可以可以先直接過濾出含有 A 的文件後再找裡面有沒有含有 B 的東西</p>
<p>Lucene 的 QueryWrapperFilter 也可以這樣子</p>
<p>但是 Zend Search Lucene 不行，很雞掰</p>
<p>所以一定得先找出所有含有 A 的</p>
<p>然後再找出所有含有 B 的</p>
<p>然後再快樂的 AND</p>
<p>效率比用 SQL 硬幹遜太多了</p>
<p>===========================</p>
<p>真的要再去碰的話大概會試 Solr 吧</p>
<p>不過目前的 SQL search 已經很可以接受了</p>
<p>除了沒有 prefix search 和一些沒人會用到的功能外</p>
<p>目前就先保持用 SQL 吧</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2008/10/31/468/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10/31 11:18AM</title>
		<link>http://blog.tarotoast.com/2008/10/31/466/#utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=1031-1118am</link>
		<comments>http://blog.tarotoast.com/2008/10/31/466/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 18:47:44 +0000</pubDate>
		<dc:creator>tarotoast</dc:creator>
				<category><![CDATA[Footprints + Diary]]></category>

		<guid isPermaLink="false">http://blog.tarotoast.com/?p=466</guid>
		<description><![CDATA[這個絕對不是我摸魚的證據
話說 10 月份就這樣要過了，這個月內又不小心 age++ 了一次，感覺有老到
本來想貼張照片再打個馬賽課可是覺得好麻煩所以還是算了
(而且 shop 做出來的文字馬賽課可以暴力破解喔 XD)
最近的狀況是：戴記很好吃、狗兒很可愛、寶貝很可愛、哎鳳很會當
有些該幫忙煩惱的事情好像也是得煩惱
煩惱的事情數量果然跟年紀成正比嗎
]]></description>
			<content:encoded><![CDATA[<p>這個絕對不是我摸魚的證據</p>
<p>話說 10 月份就這樣要過了，這個月內又不小心 age++ 了一次，感覺有老到</p>
<p>本來想貼張照片再打個馬賽課可是覺得好麻煩所以還是算了</p>
<p>(而且 shop 做出來的文字馬賽課可以暴力破解喔 XD)</p>
<p>最近的狀況是：戴記很好吃、狗兒很可愛、寶貝很可愛、哎鳳很會當</p>
<p>有些該幫忙煩惱的事情好像也是得煩惱</p>
<p>煩惱的事情數量果然跟年紀成正比嗎</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tarotoast.com/2008/10/31/466/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
