<?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>CODIGG</title>
	<atom:link href="http://www.codigg.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codigg.com</link>
	<description>关注互联网，关注云计算，关注生活</description>
	<lastBuildDate>Fri, 08 Jul 2011 02:48:15 +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>PHP中uniqid的性能</title>
		<link>http://www.codigg.com/2011/07/php-uniqid-performance/</link>
		<comments>http://www.codigg.com/2011/07/php-uniqid-performance/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 02:47:40 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[Linux/Server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[uniqid]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=855</guid>
		<description><![CDATA[程序中经常使用uniqid生成唯一id，但发现加了这个函数的代码都会慢一点，仔细测试了一下，发现uniqid的more_entropy设置为true之后，性能大大提高。在不同机器上测试过。 一台普通PC机上相差30倍， 而在cpu很差的虚拟机上相差了4000倍！！！

测试代码：



?View Code PHP$t = null;

$t1 = microtime&#40;true&#41;;

<span class="readmore"><a href="http://www.codigg.com/2011/07/php-uniqid-performance/" title="PHP中uniqid的性能">阅读全文——共175字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2010/12/php-treapdb-thrift/" title="用php操作treapdb 2010.12.7">用php操作treapdb</a>(2)</li>
<li><a href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/" title="PHP pfsockopen错误码的含义 2010.10.18">PHP pfsockopen错误码的含义</a>(2)</li>
<li><a href="http://www.codigg.com/2010/08/php-request-cookie/" title="搞清楚php中$_REQUEST变量的问题，备忘一下 2010.08.16">搞清楚php中$_REQUEST变量的问题，备忘一下</a>(3)</li>
<li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(4)</li>
<li><a href="http://www.codigg.com/2010/03/php-rrdtool-install/" title="安装php rrdtool 2010.03.24">安装php rrdtool</a>(3)</li>
<li><a href="http://www.codigg.com/2010/01/php-aes-java-encrypt-decrypt/" title="php版的AES算法（可与java兼容） 2010.01.21">php版的AES算法（可与java兼容）</a>(1)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(1)</li>
<li><a href="http://www.codigg.com/2009/05/7-free-powerful-file-managers-1/" title="7款php/ajax/js实现的免费web文件管理工具（上） 2009.05.26">7款php/ajax/js实现的免费web文件管理工具（上）</a>(0)</li>
</ul><h3>最近评论</h3><ul></ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2011/07/php-uniqid-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome不能使用root帐号的解决办法</title>
		<link>http://www.codigg.com/2011/06/google-chrome-root/</link>
		<comments>http://www.codigg.com/2011/06/google-chrome-root/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 07:04:56 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=853</guid>
		<description><![CDATA[WordPress 数据库错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
' at line 8 查询 SELECT p.ID, p.post_title, p.post_date, p.comment_count, p.post_name, COUNT(tr.object_id) AS max_share
				   FROM wp_posts AS p 
				   INNER JOIN wp_term_relationships AS tr ON (p.ID = tr.object_id)
				   INNER JOIN wp_term_taxonomy AS tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
				   WHERE tt.taxonomy = 'post_tag'
				   AND p.ID <> 853
				   AND p.post_status = 'publish'
				   AND tt.term_id IN ()
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
				   LIMIT 0, 10  require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, the_excerpt_rss, apply_filters, call_user_func_array, wkc_add_related_posts_to_feed, wkc_related_posts, WPKitCN->get_related_posts 调用
升级了chrome, 提示:

Google Chrome can not be run as root

解决办法：在启动命令中加入&#8211;user-data-dir参数，设置到一个目录就行了

/opt/google/chrome/google-chrome %U &#8211;user-data-dir=/root/.config/chromium

<h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul></ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2011/06/google-chrome-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZeroMQ学习笔记：似乎无法顺利进行故障恢复</title>
		<link>http://www.codigg.com/2011/01/zeromq-trouble-network-block/</link>
		<comments>http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 09:13:35 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=843</guid>
		<description><![CDATA[WordPress 数据库错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
' at line 8 查询 SELECT p.ID, p.post_title, p.post_date, p.comment_count, p.post_name, COUNT(tr.object_id) AS max_share
				   FROM wp_posts AS p 
				   INNER JOIN wp_term_relationships AS tr ON (p.ID = tr.object_id)
				   INNER JOIN wp_term_taxonomy AS tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
				   WHERE tt.taxonomy = 'post_tag'
				   AND p.ID <> 843
				   AND p.post_status = 'publish'
				   AND tt.term_id IN ()
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
				   LIMIT 0, 10  require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, the_excerpt_rss, apply_filters, call_user_func_array, wkc_add_related_posts_to_feed, wkc_related_posts, WPKitCN->get_related_posts 调用
ZeroMQ（http://www.zeromq.org) 性能非常卓越，设计理念也非常牛，正在看文档中，这里记录一下遇到的一个问题：

服务端和客户端之间使用REQ , REP ， 启动之后，不停杀掉Server进程，并重启（模拟故障恢复），多试几次之后，Client就会卡住，此时无论怎样都恢复不了。看tcp连接，发现是ESTABLISHED，而且由于zeromq提供的接口都无法感知网络状况，所以此时client压根不知道已经挂死了&#8230;

继续看文档，看看是不是自己写得不对&#8230;



?View Code JAVApublic class Server &#123;

<span class="readmore"><a href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/" title="ZeroMQ学习笔记：似乎无法顺利进行故障恢复">阅读全文——共1148字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.ddsofts.com" >john</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-120305" title="View the entire comment by john" >也好久没来了...</a></li>
<li><a class="commentor" href="http://www.zhiwenweb.cn" >工作室</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-114790" title="View the entire comment by 工作室" >很久没来了过来看看~</a></li>
<li><a class="commentor" href="http://www.codigg.com" >Codigg</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-105654" title="View the entire comment by Codigg" >http://comments.gmane.org/gmane.network.zeromq.dev...</a></li>
<li><a class="commentor" href="http://www.codigg.com" >Codigg</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/zeromq-trouble-network-block/#comment-105651" title="View the entire comment by Codigg" >一些参考：
https://github.com/zeromq/pyzmq/issues/issu...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2011/01/zeromq-trouble-network-block/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>DBank.com数据银行广招各类人才(转载)</title>
		<link>http://www.codigg.com/2011/01/dbank-com/</link>
		<comments>http://www.codigg.com/2011/01/dbank-com/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 04:36:31 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=840</guid>
		<description><![CDATA[WordPress 数据库错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
' at line 8 查询 SELECT p.ID, p.post_title, p.post_date, p.comment_count, p.post_name, COUNT(tr.object_id) AS max_share
				   FROM wp_posts AS p 
				   INNER JOIN wp_term_relationships AS tr ON (p.ID = tr.object_id)
				   INNER JOIN wp_term_taxonomy AS tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
				   WHERE tt.taxonomy = 'post_tag'
				   AND p.ID <> 840
				   AND p.post_status = 'publish'
				   AND tt.term_id IN ()
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
				   LIMIT 0, 10  require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, the_excerpt_rss, apply_filters, call_user_func_array, wkc_add_related_posts_to_feed, wkc_related_posts, WPKitCN->get_related_posts 调用
DBank数据银行(http://www.dbank.com) 是全国最大的个人文件存储及分享平台，现招聘各类人才，所需岗位如下：

研发类



网络安全高级工程师（深圳、北京）

Windows软件（高级）工程师（深圳、北京）

<span class="readmore"><a href="http://www.codigg.com/2011/01/dbank-com/" title="DBank.com数据银行广招各类人才(转载)">阅读全文——共562字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.cntend.com" >cntend风向-电子商务新闻</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/dbank-com/#comment-175257" title="View the entire comment by cntend风向-电子商务新闻" >人才是最宝贵滴、、 稀缺啊~~~~~~~</a></li>
<li><a class="commentor" href="http://www.chanue.com" >许岑</a> : <a class="comment_content" href="http://www.codigg.com/2011/01/dbank-com/#comment-124795" title="View the entire comment by 许岑" >dbank也做大了！</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2011/01/dbank-com/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>用php操作treapdb</title>
		<link>http://www.codigg.com/2010/12/php-treapdb-thrift/</link>
		<comments>http://www.codigg.com/2010/12/php-treapdb-thrift/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 07:25:25 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[thrift]]></category>
		<category><![CDATA[treapdb]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=834</guid>
		<description><![CDATA[treapdb是国内个人开发者的一个开源项目，支持memcache，thrift协议。但如果使用memcache协议，就无法支持range,prefix等特性了（如果丧失这些特性，还不如直接用memcache了吧）。

thrift是apache的一个项目，支持10余种语言。也要感谢facebook的大规模使用，让更多的人知道了这个东东。

作者提供了java/python的例子，这里仅提供php的操作方法。

关于thrift的编译/php扩展的编译，就不再啰嗦了，无非都是configure/make/phpize等命令，可以参考：

http://chanian.com/2010/05/13/thrift-tutorial-a-php-client/

<span class="readmore"><a href="http://www.codigg.com/2010/12/php-treapdb-thrift/" title="用php操作treapdb">阅读全文——共1238字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2011/07/php-uniqid-performance/" title="PHP中uniqid的性能 2011.07.8">PHP中uniqid的性能</a>(0)</li>
<li><a href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/" title="PHP pfsockopen错误码的含义 2010.10.18">PHP pfsockopen错误码的含义</a>(2)</li>
<li><a href="http://www.codigg.com/2010/08/php-request-cookie/" title="搞清楚php中$_REQUEST变量的问题，备忘一下 2010.08.16">搞清楚php中$_REQUEST变量的问题，备忘一下</a>(3)</li>
<li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(4)</li>
<li><a href="http://www.codigg.com/2010/03/php-rrdtool-install/" title="安装php rrdtool 2010.03.24">安装php rrdtool</a>(3)</li>
<li><a href="http://www.codigg.com/2010/01/php-aes-java-encrypt-decrypt/" title="php版的AES算法（可与java兼容） 2010.01.21">php版的AES算法（可与java兼容）</a>(1)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(1)</li>
<li><a href="http://www.codigg.com/2009/05/7-free-powerful-file-managers-1/" title="7款php/ajax/js实现的免费web文件管理工具（上） 2009.05.26">7款php/ajax/js实现的免费web文件管理工具（上）</a>(0)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.allwinworld.net/yeela" >John</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/php-treapdb-thrift/#comment-103460" title="View the entire comment by John" >很强大啊。</a></li>
<li><a class="commentor" href="" >Junyi</a> : <a class="comment_content" href="http://www.codigg.com/2010/12/php-treapdb-thrift/#comment-101589" title="View the entire comment by Junyi" >hello，又更新了，欢迎继续关注哦:-)
http://code.google.com/p/tr...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/12/php-treapdb-thrift/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ActiveMQ: How to set property in BrokerFilter</title>
		<link>http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/</link>
		<comments>http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 02:18:48 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[ActiveMQ]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=830</guid>
		<description><![CDATA[在ActiveMQ的BrokerFilter中，如果调用setProperty设置了属性，在consumer中收到后是没有的，这个问题一两年前就有人提，参见 google 搜索结果 。而设置其属性，如setGroupId等，则有效。

查看了ActiveMQ的源码，发现传输中属性和setProperties调用的不是一个对象,前者(marshalledProperties)是用于传输的，后者(properties)是读取和设置的：



?View Code JAVAprotected ByteSequence marshalledProperties;

protected Map properties;

<span class="readmore"><a href="http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/" title="ActiveMQ: How to set property in BrokerFilter">阅读全文——共1172字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul></ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/12/activemq-how-to-set-property-in-brokerfilter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>对httpsqs的改造（支持二进制数据）</title>
		<link>http://www.codigg.com/2010/11/httpsqs-binary-data-support/</link>
		<comments>http://www.codigg.com/2010/11/httpsqs-binary-data-support/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 08:11:30 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[Linux/Server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[httpsqs]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=827</guid>
		<description><![CDATA[张宴(http://blog.s135.com) 开发了httpsqs(http://blog.s135.com/httpsqs_1_3/) ， 简单方便高效，但是不直接支持二进制，如

&#60;pre lang=&#8221;bash&#8221;&#62;

curl http://host:port/?name=xxx&#38;opt=put&#38;data=a%00b

&#60;/pre&#62;

花了点时间画蛇添足，将httpsqs改为支持二进制了。

<span class="readmore"><a href="http://www.codigg.com/2010/11/httpsqs-binary-data-support/" title="对httpsqs的改造（支持二进制数据）">阅读全文——共698字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul></ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/11/httpsqs-binary-data-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP pfsockopen错误码的含义</title>
		<link>http://www.codigg.com/2010/10/php-pfsockopen-errorno/</link>
		<comments>http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 01:45:19 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[errorno]]></category>
		<category><![CDATA[pfsockopen]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=823</guid>
		<description><![CDATA[工作中，发现pfsockopen返回错误码110 , 111 等，但是不知道这个函数一共会返回哪些错误，php的网站也没有说明：

http://cn.php.net/manual/en/function.pfsockopen.php

这里给出一个全列表：



?View Code PHP  1 =&#62; 'Operation not permitted',

<span class="readmore"><a href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/" title="PHP pfsockopen错误码的含义">阅读全文——共3549字</a></span><h3>相关文章</h3><ul><li><a href="http://www.codigg.com/2011/07/php-uniqid-performance/" title="PHP中uniqid的性能 2011.07.8">PHP中uniqid的性能</a>(0)</li>
<li><a href="http://www.codigg.com/2010/12/php-treapdb-thrift/" title="用php操作treapdb 2010.12.7">用php操作treapdb</a>(2)</li>
<li><a href="http://www.codigg.com/2010/08/php-request-cookie/" title="搞清楚php中$_REQUEST变量的问题，备忘一下 2010.08.16">搞清楚php中$_REQUEST变量的问题，备忘一下</a>(3)</li>
<li><a href="http://www.codigg.com/2010/04/lighttpd-expect-100-417-continue/" title="lighttpd不支持Expect: 100-continue的解决办法 2010.04.13">lighttpd不支持Expect: 100-continue的解决办法</a>(4)</li>
<li><a href="http://www.codigg.com/2010/03/php-rrdtool-install/" title="安装php rrdtool 2010.03.24">安装php rrdtool</a>(3)</li>
<li><a href="http://www.codigg.com/2010/01/php-aes-java-encrypt-decrypt/" title="php版的AES算法（可与java兼容） 2010.01.21">php版的AES算法（可与java兼容）</a>(1)</li>
<li><a href="http://www.codigg.com/2009/09/php-curl-download-filename/" title="php curl下载文件时保存原文件名 2009.09.6">php curl下载文件时保存原文件名</a>(1)</li>
<li><a href="http://www.codigg.com/2009/05/7-free-powerful-file-managers-1/" title="7款php/ajax/js实现的免费web文件管理工具（上） 2009.05.26">7款php/ajax/js实现的免费web文件管理工具（上）</a>(0)</li>
</ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://www.zhiwenweb.cn" >任侠</a> : <a class="comment_content" href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comment-99542" title="View the entire comment by 任侠" >看不懂吧，就过来转一圈</a></li>
<li><a class="commentor" href="http://www.ddsofts.com" >john</a> : <a class="comment_content" href="http://www.codigg.com/2010/10/php-pfsockopen-errorno/#comment-97948" title="View the entire comment by john" >看不懂，呜呜</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/10/php-pfsockopen-errorno/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>技术女的寂寞你永远不懂（转载）</title>
		<link>http://www.codigg.com/2010/09/coder-joke/</link>
		<comments>http://www.codigg.com/2010/09/coder-joke/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 10:51:07 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=821</guid>
		<description><![CDATA[WordPress 数据库错误 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
' at line 8 查询 SELECT p.ID, p.post_title, p.post_date, p.comment_count, p.post_name, COUNT(tr.object_id) AS max_share
				   FROM wp_posts AS p 
				   INNER JOIN wp_term_relationships AS tr ON (p.ID = tr.object_id)
				   INNER JOIN wp_term_taxonomy AS tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id)
				   WHERE tt.taxonomy = 'post_tag'
				   AND p.ID <> 821
				   AND p.post_status = 'publish'
				   AND tt.term_id IN ()
				   GROUP BY tr.object_id
				   ORDER BY max_share DESC, p.post_date DESC
				   LIMIT 0, 10  require, require_once, do_feed, do_action, call_user_func_array, do_feed_rss2, load_template, require_once, the_excerpt_rss, apply_filters, call_user_func_array, wkc_add_related_posts_to_feed, wkc_related_posts, WPKitCN->get_related_posts 调用
好玩，转~

一个女程序员twitter上发了一条tweet:

昨晚梦见男朋友和别的女人在逛街，梦里我的第一反应是查源代码，结果调试半天查不出来为什么显示的是那个女人不是我，最后含泪把那个女人给注释掉了，再一运行就是我男朋友自己逛街了，醒来囧字脸呆了很久……

评论：

1L 把那个女人的指针指向你即可。

<span class="readmore"><a href="http://www.codigg.com/2010/09/coder-joke/" title="技术女的寂寞你永远不懂（转载）">阅读全文——共305字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://blog.flfboy.net.ru" >flfboy</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-100383" title="View the entire comment by flfboy" >真是专业人士，梦中也在思考着如何调试自己的男朋友</a></li>
<li><a class="commentor" href="http://www.xuwemjian.info/" >睿智小超人</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-99900" title="View the entire comment by 睿智小超人" >有这么一个女朋友也挺有意思的</a></li>
<li><a class="commentor" href="http://www.chnlog.com" >博客之家</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-99610" title="View the entire comment by 博客之家" >老婆整天拉着我去玩</a></li>
<li><a class="commentor" href="http://www.syhjyl.cc" >三亚婚纱摄影</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-96158" title="View the entire comment by 三亚婚纱摄影" >呵呵  正所谓高处不胜寒呢！</a></li>
<li><a class="commentor" href="http://www.zhiwenweb.cn" >任侠</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/coder-joke/#comment-95655" title="View the entire comment by 任侠" >哈哈，还应该反汇编一下，看看庐山真面目的</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/09/coder-joke/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>在电脑上模拟QQ WAP浏览器偷菜（浏览器特权）</title>
		<link>http://www.codigg.com/2010/09/qq-wap-browser-on-pc/</link>
		<comments>http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comments</comments>
		<pubDate>Sat, 25 Sep 2010 09:05:17 +0000</pubDate>
		<dc:creator>Codigg</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[QQ农场]]></category>
		<category><![CDATA[QQ浏览器]]></category>
		<category><![CDATA[QQ牧场]]></category>
		<category><![CDATA[外挂]]></category>
		<category><![CDATA[浏览器特权]]></category>

		<guid isPermaLink="false">http://www.codigg.com/?p=815</guid>
		<description><![CDATA[<a href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/"><img align="left" hspace="5" width="150" height="150" src="http://www.codigg.com/wp-content/uploads/2010/09/qq_browser-150x150.jpg" class="alignleft wp-post-image tfe" alt="" title="qq_browser" /></a>使用地址: http://www.codigg.com/poxy 使用之前请先看文章最后的注意事项

进入测试地址，输入 http://3g.qq.com, 并勾选最下面的：Use QQ Wap Browser，就和手机一样操作了

测试QQ号: 1242570707   密码: poxytest

最终效果：

﻿

<span class="readmore"><a href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/" title="在电脑上模拟QQ WAP浏览器偷菜（浏览器特权）">阅读全文——共501字</a></span><h3>相关文章</h3><ul><li>0</li></ul><h3>最近评论</h3><ul><li><a class="commentor" href="http://wangluoboke.com" >网络博客</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-104118" title="View the entire comment by 网络博客" >可以用手机版浏览器试试</a></li>
<li><a class="commentor" href="http://1" >yuren</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-103208" title="View the entire comment by yuren" >试过了，好像挂了，不行</a></li>
<li><a class="commentor" href="http://www.codigg.com" >Codigg</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-96835" title="View the entire comment by Codigg" >UA的算法比较复杂，主要是有几个Q-AUTH，Q-GUID等，由于法律原因，这个算法是不能通过反汇编...</a></li>
<li><a class="commentor" href="" >Cash Miao</a> : <a class="comment_content" href="http://www.codigg.com/2010/09/qq-wap-browser-on-pc/#comment-95325" title="View the entire comment by Cash Miao" >太好了 能否具体说说怎么实现2.QQ Wap Browser: 模拟QQ手机浏览器的

我试过改...</a></li>
</ul>]]></description>
		<wfw:commentRss>http://www.codigg.com/2010/09/qq-wap-browser-on-pc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

