<?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>our journaling</title>
	<atom:link href="http://www.ourjour.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ourjour.com</link>
	<description>To accumulate over a long period</description>
	<lastBuildDate>Sun, 25 Dec 2011 20:53:03 +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>mySQL的tinytext, text, mediumtext, longtext长度限制</title>
		<link>http://www.ourjour.com/151/</link>
		<comments>http://www.ourjour.com/151/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 20:53:03 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=151</guid>
		<description><![CDATA[tinytext, tinyBlob: 最大长度255个字元(2^8-1)
text, Blob: 	最大长度65535个字元(2^16-1)
mediumtext, mediumBlob: 最大长度 16777215 个字元(2^24-1)
longtext, longBlob: 最大长度4294967295个字元 (2^32-1)
Blob (Binary large objects)储存二进位资料，且有分大小写
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/151/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>从sphinx的total、total_found到max_matches</title>
		<link>http://www.ourjour.com/145/</link>
		<comments>http://www.ourjour.com/145/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 22:55:43 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[sphinx]]></category>
		<category><![CDATA[sphinx max_matches]]></category>
		<category><![CDATA[sphinx total]]></category>
		<category><![CDATA[sphinx total_found]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=145</guid>
		<description><![CDATA[公司网站已经用sphinx很长一段时间了，一直没研究它，今天终于因为发现了一个分布问题了解了一点sphinx的基础知识。
问题是这样的，信息列表页的分页里显示有100多页，但到51页的时候不显示正确的信息列表了。按惯例，输出结果，查看可疑之处。发现返回的结果里total永远都是1000，total_found大概是分页中显示的页数和每页信息数的乘积，这说明total_found返回的是真正的信息数，但查询结果的时候又受到了total的限制。
百度sphinx total_found，得知sphinx有个max_matches是限制匹配结果数的，看了sphinx.conf，发现其中设置的max_matches远大于查询结果数，看来代码中有设置了，又查看sphinx的应用类，发现了SetLimits($start, $limit, 1000)这个东东，原来max_matches在这儿被定成了1000。
据说max_matches设定太大的话，查询速度会受影响，想了想把这个值设成变量，等于要查询的页数和每页信息数的乘积，这样就能得到正确的结果了，而且不会影响小页码的页面原查询速度。
Sphinx 0.9.9/Coreseek 3.2 参考手册
Sphinx 客户端手册
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/145/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL整型：TINYINT, SMALLINT, MEDIUMINT, INT, BIGINT的范围</title>
		<link>http://www.ourjour.com/143/</link>
		<comments>http://www.ourjour.com/143/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 05:04:16 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/143/</guid>
		<description><![CDATA[TINYINT：有符号的范围是-128至127，无符号的范围是0到255，2的8次方
SMALLINT： 有符号的范围是-32768至32767，无符号的范围是0到65535，2的16次方
MEDIUMINT：有符号的范围是-8388608至8388607，无符号的范围是0到16777215，2的24次方
INT(integer)：有符号的范围是-2147483648至2147483647，无符号的范围是0到4294967295，2的32次方
BIGINT：有符号的范围是-9223372036854775808至9223372036854775807，无符号的范围是0到18446744073709551615，2的64次方
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/143/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于7609启动时进rommon</title>
		<link>http://www.ourjour.com/140/</link>
		<comments>http://www.ourjour.com/140/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 08:20:50 +0000</pubDate>
		<dc:creator>pest</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Router]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=140</guid>
		<description><![CDATA[故障现象：
 
设备开机不加载IOS，停止引导并进入ROMMON状态
System Bootstrap, Version 8.4(2) Release
Copyright (c) 1994-2005 by cisco Systems, Inc.
Cat6k-Sup720/SP processor with 524288 Kbytes of main memory
rommon 1 &#62;
故障原因： 
Cisco IOS BUG。在非“-E”机框中安装两个硬件版本5.2或更高的720引擎，在线拔插引擎可能会引发Ethernet Out Band Channel (EOBC)卡死故障，进而导致引擎崩溃。故障一旦发生，就可能在此后的在线拔插操作时发生。
发生条件：

非“E”机框
两块720引擎硬件版本5.2或更高
引擎热拔插
IOS版本*12.2(18)SXF5及以下

解决方案：
升级IOS到12.2(18)SXF6或更高
故障信息：
*Jul 22 15:31:03: %EOBC-SP-0-EOBC_JAM_FATAL: Primary supervisor in slot 5 is jamming the EOBC channel.  It has been disabled.  Supervisor will return to ROMMON
参考资料：
http://www.cisco.com/en/US/ts/fn/620/fn62606.html
Here is no comments yet by [...]]]></description>
		<wfw:commentRss>http://www.ourjour.com/140/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为什么z-index不起作用？</title>
		<link>http://www.ourjour.com/136/</link>
		<comments>http://www.ourjour.com/136/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 06:39:38 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=136</guid>
		<description><![CDATA[最近做的页面，碰到两次z-index不起作用。
一次是IE6下不起作用，在网上查了一下，说是可能是这三个原因：1、父标签position属性为relative；2、问题标签无position属性（不包括static）；3、问题标签含有浮动(float)属性。
第一点，和我的相符，但我把它改成了position:absolute，问题依然存在。第二点、第三点和我的情况不符。
接着就是一层一层地追，发现把这个层（A）比较高一级的父层（B）加上&#8221;position:relative;z-index:100;&#8221;就好了，原来是B层比与相邻的层（C）低了，导致B层里的任何一层无论怎么设z-index，也高不过与B层相邻的那个C层。
第二次是任何浏览器都不起作用，还是一层一层的追，发现这一层的一个父层里有&#8221;overflow:hidden;&#8221;，这样这个父层下任何层使用z-index都会被与这个父层相邻的层遮住。
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/136/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何用radio实现checkbox的效果，再次点击后取消选择</title>
		<link>http://www.ourjour.com/123/</link>
		<comments>http://www.ourjour.com/123/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 09:44:07 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[radio取消选择]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=123</guid>
		<description><![CDATA[

1
2
3

&#60;form name=&#8221;test&#8221; method=&#8221;POST&#8221;&#62;
&#60;input type=&#8221;radio&#8221; name=&#8221;a&#8221; value=&#8221;1&#8243; onMouseOver=&#8221;chk=checked;&#8221; onClick=&#8221;checked=chk=!chk;&#8221;&#62; 1
&#60;input type=&#8221;radio&#8221; name=&#8221;a&#8221; value=&#8221;2&#8243; onMouseOver=&#8221;chk=checked;&#8221; onClick=&#8221;checked=chk=!chk;&#8221;&#62; 2
&#60;input type=&#8221;radio&#8221; name=&#8221;a&#8221; value=&#8221;3&#8243; onMouseOver=&#8221;chk=checked;&#8221; onClick=&#8221;checked=chk=!chk;&#8221;&#62; 3
&#60;/form&#62;
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/123/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>百度搜索结果中的标题前带LOGO，是怎么实现的?</title>
		<link>http://www.ourjour.com/117/</link>
		<comments>http://www.ourjour.com/117/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 02:38:38 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[百度搜索标题logo]]></category>
		<category><![CDATA[百度搜索结果带logo]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=117</guid>
		<description><![CDATA[今天忽然发现百度搜索出来的结果中有些知名网站的首页的标题带着网站LOGO，看了下他们网站首页的源代码，没发现什么不一样；在网上搜了一下，也多是发出疑问的，没有回答。
问了下相关网站的技术，回答说：“百度挂的，应该是通过了官方认证。”看来不是技术所为，呵呵。
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/117/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>删除桌面顽固Internet Explorer文件夹</title>
		<link>http://www.ourjour.com/115/</link>
		<comments>http://www.ourjour.com/115/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 01:47:34 +0000</pubDate>
		<dc:creator>pest</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=115</guid>
		<description><![CDATA[不知道什么时候桌面多了个Internet Explorer文件夹，可恶的是这个文件夹删除不了，用360桌面清理也不行！
上网查了下，找了个简单有效的方法，现记录如下：
在桌面新建个文本文件，内容为：
DEL /F /A /Q \\?\%1
RD /S /Q \\?\%1
保存为.bat文件
将那个文件夹拖到这个图标上就OK了！
不限于此哟，想删除什么都可以的！
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/115/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>str_replace怎么会不管用了呢？</title>
		<link>http://www.ourjour.com/113/</link>
		<comments>http://www.ourjour.com/113/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 02:25:47 +0000</pubDate>
		<dc:creator>kite</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[中文编码]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=113</guid>
		<description><![CDATA[经常用str_replace，从来没有出现什么问题，今天却碰到这么奇怪的事，明明参数都没问题，相同的一行代码放到别的文件就没能执行，放到这个文件里就不行，百思不得其解。上网搜吧，还真有人问同样的问题，但看结果都是代码中犯了一些小错误引起的，我的代码没错呀！
mixed str_replace ( mixed search, mixed replace, mixed subject [, int &#38;count] )
自己调试吧，一步一步排错，没发现问题；一个一个变量输出，忽然发现有乱码，这下才想到编码问题，mixed subject 这个参数是从数据库里读出来的，是utf-8的编码，再看看这个文件的编码，是ANSI的。原来这个系统以前都是ANSI的，后来网站改成utf-8，只改了代码里有中文的文件，这个文件的代码里以前是没有中文的，今天我加了中文的替换，str_replace只看到了一堆乱码，当然就不执行了。
编码问题真是害人呀。
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/113/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco 7609的奇怪故障</title>
		<link>http://www.ourjour.com/105/</link>
		<comments>http://www.ourjour.com/105/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 09:10:22 +0000</pubDate>
		<dc:creator>pest</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Router]]></category>

		<guid isPermaLink="false">http://www.ourjour.com/?p=105</guid>
		<description><![CDATA[前几天为一客户升级一台7609，加了一块WS-X6582-2PA，升级IOS到c7600s72033-advipservicesk9-mz.122-33.SRB3，安装c7600-fpd-pkg.122-33.SRB3.pkg。重启设备后出现两个奇怪故障，一个是所有接口卡的ALARM灯都亮，但查看不到任何错误信息输出，所有应用也都正常。另一个是两个8E1卡都有个别接口灯不亮，但接口工作正常。查看了CISCO网上关于此版本IOS的BUG列表出没有相关说明。
等cisco开case吧！
Here is no comments yet by the time  your rss reader get this, Do you want to be the first commentor? Hurry up ]]></description>
		<wfw:commentRss>http://www.ourjour.com/105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

