<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>JohnPuPu</title>
	
	<link>http://blog.johnpupu.tw</link>
	<description>博觀而約取，厚積而薄發!!!</description>
	<lastBuildDate>Mon, 25 Jan 2010 17:34:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Johnpupu" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="johnpupu" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Yii 1.1 CActiveRecord 關連的部份修正</title>
		<link>http://blog.johnpupu.tw/2010/01/13/yii-1-1-cactiverecord-%e9%97%9c%e9%80%a3%e7%9a%84%e9%83%a8%e4%bb%bd%e4%bf%ae%e6%ad%a3/</link>
		<comments>http://blog.johnpupu.tw/2010/01/13/yii-1-1-cactiverecord-%e9%97%9c%e9%80%a3%e7%9a%84%e9%83%a8%e4%bb%bd%e4%bf%ae%e6%ad%a3/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 11:07:04 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[program]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=494</guid>
		<description><![CDATA[剛剛用Yii 的AR 寫的很開心,
下了這個

    $criteria=new CDbCriteria;
    $criteria-&#62;condition=&#039;products.id=:ID AND products_info.language_id=:languageID&#039;;
    $criteria-&#62;params=array(&#039;:ID&#039;=&#62;$_GET[&#039;id&#039;], &#039;:languageID&#039; =&#62; $this-&#62;_lang_id );
    $criteria-&#62;order = &#039;products_content.content_orders ASC&#039;;

    $model = Products::model()-&#62;with( &#039;products_info&#039;, &#039;products_content&#039; )-&#62;find( $criteria );

一直出現
CDbCommand 無法執行 SQL 陳述: SQLSTATE[42S22]: Column not found: 1054 Unknown column &#8216;products.id&#8217; in &#8216;where clause&#8217;
想說怪了&#8230;
再看了一下 sql [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2010/01/13/yii-1-1-cactiverecord-%e9%97%9c%e9%80%a3%e7%9a%84%e9%83%a8%e4%bb%bd%e4%bf%ae%e6%ad%a3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>快快樂樂打造你自已的port</title>
		<link>http://blog.johnpupu.tw/2009/12/17/%e5%bf%ab%e5%bf%ab%e6%a8%82%e6%a8%82%e6%89%93%e9%80%a0%e4%bd%a0%e8%87%aa%e5%b7%b2%e7%9a%84port/</link>
		<comments>http://blog.johnpupu.tw/2009/12/17/%e5%bf%ab%e5%bf%ab%e6%a8%82%e6%a8%82%e6%89%93%e9%80%a0%e4%bd%a0%e8%87%aa%e5%b7%b2%e7%9a%84port/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 17:12:33 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ports FreeBSD perl]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=486</guid>
		<description><![CDATA[以我自已弄的Net-POP3-SSLWrapper為例
# mkdir /root/Net-POP3-SSLWrapper
# vim Makefile

# New ports collection makefile for:  p5-Net-POP3-SSLWrapper
# Date created:       16 December 2009
# Whom:         johnpupu &#60;johnpupu @gmail.com&#62;
#
# $FreeBSD$
#

PORTNAME= Net-POP3-SSLWrapper
PORTVERSION=  0.02
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= johnpupu@gmail.com
COMMENT=  Perl extension for simple POP3S wrapper for Net::POP3

BUILD_DEPENDS=  [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/17/%e5%bf%ab%e5%bf%ab%e6%a8%82%e6%a8%82%e6%89%93%e9%80%a0%e4%bd%a0%e8%87%aa%e5%b7%b2%e7%9a%84port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>benchmarking with sysbench on X3650 M2</title>
		<link>http://blog.johnpupu.tw/2009/12/16/enchmarking-with-sysbench-on-x3650-m2/</link>
		<comments>http://blog.johnpupu.tw/2009/12/16/enchmarking-with-sysbench-on-x3650-m2/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 08:54:48 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[有的沒的]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=475</guid>
		<description><![CDATA[手邊剛好有x3650m2的機器
順手測了一下&#8230;FreeBSD 7.1 i386 &#038; FreeBSD 8.0 AMD64
學Jeff Roberson弄一下..XD
就沒圖先看數據吧&#8230;
CPU: Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz (2266.76-MHz 686-class CPU)
real memory  = 2137583616 (2038 MB)==>其實這台機器有12G, 不過i386只抓得到2G
avail memory = 2081353728 (1984 MB)
RAID 5 / 四顆 IBM 43W7538 146.8GB 10Krpm SAS
RAID controller MR10i
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;7.1 i386 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
uname -a
FreeBSD ms1.xxx.xxx.xx 7.1-RELEASE-p9 [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/16/enchmarking-with-sysbench-on-x3650-m2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache-worker &amp; php5 &amp; mod_fastcgi</title>
		<link>http://blog.johnpupu.tw/2009/12/16/apache-worker-php5-mod_fastcgi/</link>
		<comments>http://blog.johnpupu.tw/2009/12/16/apache-worker-php5-mod_fastcgi/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 17:22:20 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[apache php fastcgi]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=469</guid>
		<description><![CDATA[
cd /usr/ports/www/apache22
make WITH_MPM=worker install clean


cd /usr/ports/lang/php5; make install clean


cd /usr/ports/www/mod_fastcgi
make install clean

httpd.conf 中新增or把註解拿掉這兩行
LoadModule fastcgi_module     libexec/apache22/mod_fastcgi.so
Include etc/apache22/extra/httpd-mpm.conf
編輯
/usr/local/etc/apache22/extra/httpd-mpm.conf

    ThreadLimit 512
    StartServers 1
    MaxClients 512
    MinSpareThreads 1
    MaxSpareThreads 512
    ThreadsPerChild 512
    MaxRequestsPerChild 0

新增/usr/local/etc/apache22/Includes/fastcgi.conf

AddType [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/16/apache-worker-php5-mod_fastcgi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dovecot-lda</title>
		<link>http://blog.johnpupu.tw/2009/12/12/dovecot-lda/</link>
		<comments>http://blog.johnpupu.tw/2009/12/12/dovecot-lda/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 09:01:30 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=461</guid>
		<description><![CDATA[dovecot.conf

auth default {
  socket listen {
    master {
      # Master socket provides access to userdb information. It&#039;s typically
      # used to give Dovecot&#039;s local delivery agent access to userdb so it
      # can find mailbox locations.
 [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/12/dovecot-lda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeNAS 得到iXsystems 支持</title>
		<link>http://blog.johnpupu.tw/2009/12/06/freenas-%e5%be%97%e5%88%b0ixsystems-%e6%94%af%e6%8c%81/</link>
		<comments>http://blog.johnpupu.tw/2009/12/06/freenas-%e5%be%97%e5%88%b0ixsystems-%e6%94%af%e6%8c%81/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 16:31:34 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[FreeNAS]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=459</guid>
		<description><![CDATA[前一陣子FreeNAS 說0.7 是最後一版了
以後會轉成Linux 平台上 叫coreNAS
後來 剛剛看到消息說iXsystem 的工程師會大幅度的改寫
而FreeNAS Project 也會繼續下去了
目前會先昇上FreeBSD 8 
看起來 可以繼續下去~~
]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/12/06/freenas-%e5%be%97%e5%88%b0ixsystems-%e6%94%af%e6%8c%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>勤能補拙 !!?</title>
		<link>http://blog.johnpupu.tw/2009/11/24/%e5%8b%a4%e8%83%bd%e8%a3%9c%e6%8b%99/</link>
		<comments>http://blog.johnpupu.tw/2009/11/24/%e5%8b%a4%e8%83%bd%e8%a3%9c%e6%8b%99/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 16:42:35 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[有感而發]]></category>
		<category><![CDATA[人生]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=456</guid>
		<description><![CDATA[今天發生的一些討論如下~~
XX: 勤永遠不能補拙!!
XX的老闆: (笑了一下)勤能補拙是維他命!!
然後我問了強者長輩這件事他提了他的看法如下
聰明跟智慧是兩回事
很多東西需要累積, 不是聰明一點的人就會累積的快一點, 聰明人只是會找到比人家好一點少費一點力氣的方法

]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/11/24/%e5%8b%a4%e8%83%bd%e8%a3%9c%e6%8b%99/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>vim on eclipse</title>
		<link>http://blog.johnpupu.tw/2009/11/13/vim-on-eclipse/</link>
		<comments>http://blog.johnpupu.tw/2009/11/13/vim-on-eclipse/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 09:48:21 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[有的沒的]]></category>
		<category><![CDATA[vim eclipse]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=452</guid>
		<description><![CDATA[http://www.viplugin.com/viplugin/
挺好用的&#8230;..
UPDATE: 2009/11/23
http://vrapper.sourceforge.net/home/
這個不用錢 !!!! 讚
]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/11/13/vim-on-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>winbind cache refresh</title>
		<link>http://blog.johnpupu.tw/2009/10/23/winbind-cache-refresh/</link>
		<comments>http://blog.johnpupu.tw/2009/10/23/winbind-cache-refresh/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 10:21:08 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[samba winbind]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=450</guid>
		<description><![CDATA[man winbindd
       SIGHUP
           Reload the smb.conf(5) file and apply any parameter changes to the
           running version of winbindd. This signal also clears any cached
      [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/10/23/winbind-cache-refresh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lib</title>
		<link>http://blog.johnpupu.tw/2009/10/21/lib/</link>
		<comments>http://blog.johnpupu.tw/2009/10/21/lib/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 08:59:27 +0000</pubDate>
		<dc:creator>johnpupu</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blog.johnpupu.tw/?p=448</guid>
		<description><![CDATA[ldd -a /usr/local/bin/mysql
ldconfig -r
/sbin/ldconfig -m /usr/local/lib
ldconfig
     -m     Instead of replacing the contents of the hints file with those
             found in the directories specified, &#8220;merge&#8221; in new entries.
         [...]]]></description>
		<wfw:commentRss>http://blog.johnpupu.tw/2009/10/21/lib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
