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

<channel>
	<title>Activars</title>
	<atom:link href="http://www.activars.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activars.com</link>
	<description>Be active, make things happen</description>
	<pubDate>Sat, 23 Aug 2008 03:18:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>mySQL: Error 1045</title>
		<link>http://www.activars.com/2008/08/mysql-error-1045/</link>
		<comments>http://www.activars.com/2008/08/mysql-error-1045/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 01:25:48 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Configration]]></category>

		<category><![CDATA[Apache]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=81</guid>
		<description><![CDATA[If you get this error (in phpMyAdmin or other operation) after setting up a MySQL password:

ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

This might caused by phpMyAdmin&#8217;s configuration doesn&#8217;t have the new password. If using XAMPP, you need to update the /Applications/xampp/xamppfiles/phpmyadmin/config.inc.php for the phpMyAdmin:

$cfg['Servers'][$i]['password'] = 'YOURPASSWORD';

Change the YOURPASSWORD to the password you [...]]]></description>
			<content:encoded><![CDATA[<p>If you get this error (in phpMyAdmin or other operation) after setting up a MySQL password:</p>

<div class="wp_syntax"><div class="code"><pre class="shellscript" style="font-family:monospace;">ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)</pre></div></div>

<p>This might caused by phpMyAdmin&#8217;s configuration doesn&#8217;t have the new password. If using XAMPP, you need to update the /Applications/xampp/xamppfiles/phpmyadmin/config.inc.php for the phpMyAdmin:</p>

<div class="wp_syntax"><div class="code"><pre class="shellscript" style="font-family:monospace;">$cfg['Servers'][$i]['password'] = 'YOURPASSWORD';</pre></div></div>

<p>Change the YOURPASSWORD to the password you set before.</p>
<p>Also the /Applications/xampp/etc/my.cnf should be updated accordingly. The configration file specifies mysql&#8217;s setting. So dig in the file and update the settings:</p>

<div class="wp_syntax"><div class="code"><pre class="shellscript" style="font-family:monospace;"># The following options will be passed to all MySQL clients
[client]
password	= YOURPASSWORD
port		= 3306
socket		= /Applications/xampp/xamppfiles/var/mysql/mysql.sock</pre></div></div>

<p>Same here update the password.</p>
<p>Although setting up securities for local development is a little hassle as you need to type in password etc etc, I still recommend to set it properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/08/mysql-error-1045/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VirtualHost browser cache</title>
		<link>http://www.activars.com/2008/08/virtualhost-browser-cache/</link>
		<comments>http://www.activars.com/2008/08/virtualhost-browser-cache/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 13:09:44 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Management]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Browser]]></category>

		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=79</guid>
		<description><![CDATA[Setting up a virtual host on PC, Mac or Linux isn&#8217;t difficult, but the browser cache problem drives me crazy. Apart from editing the /etc/hosts mappings and httpd.conf, you need to restart both Apache and browser. Refreshing the browser(Firefox) doesn&#8217;t clean the cache, so the result will be always add /xampp/index.php at the end of [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up a virtual host on PC, Mac or Linux isn&#8217;t difficult, but the browser cache problem drives me crazy. Apart from editing the <code>/etc/hosts</code> mappings and <code>httpd.conf</code>, you need to restart both Apache and browser. Refreshing the browser(Firefox) doesn&#8217;t clean the cache, so the result will be always add <code>/xampp/index.php</code> at the end of the virtual host name.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/08/virtualhost-browser-cache/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Leopard system environment PATH setting</title>
		<link>http://www.activars.com/2008/08/leopard-system-environment-path-setting/</link>
		<comments>http://www.activars.com/2008/08/leopard-system-environment-path-setting/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 22:42:06 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Management]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[XAMMP]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=78</guid>
		<description><![CDATA[Leopard PATH setting is quite different from Tiger. Configuring PATH on Tiger, we used to either modify the /etc/path or user path configuration. With Leopard, system-wide path configuration is managed by /etc/profile. The file loads a path_helper script. So what the script does?
The path_helper constructs the system environment PATH in this order:

Reads the local user [...]]]></description>
			<content:encoded><![CDATA[<p>Leopard PATH setting is quite different from Tiger. Configuring PATH on Tiger, we used to either modify the <code>/etc/path</code> or user path configuration. With Leopard, system-wide path configuration is managed by <code>/etc/profile</code>. The file loads a <code>path_helper</code> script. So what the script does?</p>
<p>The <code>path_helper</code> constructs the system environment PATH in this order:</p>
<ol>
<li>Reads the local user configuration first, under <code>~/.bash_login</code></li>
<li>Appends default system paths <code>/usr/bin:/bin:/usr/sbin:/sbin</code></li>
<li>Reads the paths line by line in <code>/etc/paths</code></li>
<li>Retrieves all the files in <code>/etc/paths.d/</code> that contains other packages configurations. For example, I created a file <code>/etc/paths.d/system</code> and stuff in some user paths settings. They are appended after step 3.</li>
</ol>
<p>In my case, I wanted my XAMPP packages overrides the default Leopard MySQL, PHP and Apache paths ( so I don&#8217;t have to type in <code>/Application/xampp/xamppfile/bin</code> to use the command every time, also the package is easier to manage ). So just put the paths in the <code>~/.bash_login</code>, that will override the system default.</p>
<p>Close the Terminal and open it again, to check your path settings, type:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;"> echo $PATH</pre></div></div>

<p>There we go, it&#8217;s updated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/08/leopard-system-environment-path-setting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Code Collector Pro帮助整理代码</title>
		<link>http://www.activars.com/2008/08/code-collector-pro%e5%b8%ae%e5%8a%a9%e6%95%b4%e7%90%86%e4%bb%a3%e7%a0%81/</link>
		<comments>http://www.activars.com/2008/08/code-collector-pro%e5%b8%ae%e5%8a%a9%e6%95%b4%e7%90%86%e4%bb%a3%e7%a0%81/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 21:04:29 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Management]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=75</guid>
		<description><![CDATA[代码整理问题一直是我的难题，不想用大的IDE整理自己的代码，特别是一些很小的部分。今天看到Code Collector Pro这个在MacOSX上面简单的程序能够帮助整理日常用的代码碎片。
确实，如果你是一个经常写代码的工作人员或者学生，总是有一些有用的代码需要记住又一时不能记下来，一般的办法，就是创建一个空的文本档暂时粘贴到里面；再有就好好整理到一个自己的记事本上；或者再源文件里加上注释；要么在什么网站上找到的就当作书签。时间长了，代码就都很凌乱，这样总不是个办法。

CCP支持很多整理功能：

将代码分组
语言种类的标实
搜索
Drag &#38; Drop代码的片断
增加标签
输入，导出文本
到CodeCollector.net上下载或者上传代码的碎片
设置这片代码的版权
自动更新版本，等等

CCP有两个版本，一个免费的Lite版本，支持少部分的功能，但是足够可以完成整理的工作；收费版本支持更多的功能，价钱也很合理，大约20欧元。
如果大家知道Windows和Linux下面有什么整理代码的好工具，可以留言和我分享一下。
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-76" title="Code Collector Pro" src="http://www.activars.com/wp-content/uploads/2008/08/picture-1.png" alt="Code Collector Pro" width="258" height="91" />代码整理问题一直是我的难题，不想用大的IDE整理自己的代码，特别是一些很小的部分。今天看到<a title="Code Collector Pro" href="http://www.mcubedsw.com/software/codecollectorpro/" target="_blank">Code Collector Pro</a>这个在MacOSX上面简单的程序能够帮助整理日常用的代码碎片。</p>
<p>确实，如果你是一个经常写代码的工作人员或者学生，总是有一些有用的代码需要记住又一时不能记下来，一般的办法，就是创建一个空的文本档暂时粘贴到里面；再有就好好整理到一个自己的记事本上；或者再源文件里加上注释；要么在什么网站上找到的就当作书签。时间长了，代码就都很凌乱，这样总不是个办法。</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-77" title="Screen Shot" src="http://www.activars.com/wp-content/uploads/2008/08/screenmain.png" alt="Screen Shot" width="467" height="379" /></p>
<p>CCP支持很多整理功能：</p>
<ul>
<li>将代码分组</li>
<li>语言种类的标实</li>
<li>搜索</li>
<li>Drag &amp; Drop代码的片断</li>
<li>增加标签</li>
<li>输入，导出文本</li>
<li>到CodeCollector.net上下载或者上传代码的碎片</li>
<li>设置这片代码的版权</li>
<li>自动更新版本，等等</li>
</ul>
<p>CCP有两个版本，一个免费的Lite版本，支持少部分的功能，但是足够可以完成整理的工作；收费版本支持更多的功能，价钱也很合理，大约20欧元。</p>
<p>如果大家知道Windows和Linux下面有什么整理代码的好工具，可以留言和我分享一下。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/08/code-collector-pro%e5%b8%ae%e5%8a%a9%e6%95%b4%e7%90%86%e4%bb%a3%e7%a0%81/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google的人肉翻译中心</title>
		<link>http://www.activars.com/2008/08/google%e7%9a%84%e4%ba%ba%e8%82%89%e7%bf%bb%e8%af%91%e4%b8%ad%e5%bf%83/</link>
		<comments>http://www.activars.com/2008/08/google%e7%9a%84%e4%ba%ba%e8%82%89%e7%bf%bb%e8%af%91%e4%b8%ad%e5%bf%83/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 18:32:50 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=74</guid>
		<description><![CDATA[Google翻译的服务一向是做的比较到位，简单的界面，并且提供很多功能的API。比如Firefox的插件translator利用提供的API可以在页面中帮助用户翻译选定的字句。
那这次Google又玩什么新的花样。自动翻译是不能满足对精确度的需求，那Translate Center用人帮助翻译。具体进行方式是需要一个需求者和服务者，服务者是一些资源的翻译人员并不是被google聘用的人。这样的情况下有两种可能，服务的人免费帮助翻译，或者和需求者有合同关系。
在创建新的翻译项目的时候，用户可以选择源文件是什么语言，然后需要翻译到什么语言。文章被翻译的时候是实时的，这样需求人可以看到左边是原文，右边是正在翻译过程中的文章，并且文字一个个被需求的人翻译的过程。
Google这样来说对翻译的质量是没有责任的。翻译的项目只不过是需求者和服务者两个人之间的“合同”而已。
]]></description>
			<content:encoded><![CDATA[<p>Google翻译的服务一向是做的比较到位，简单的界面，并且提供很多功能的API。比如<a title="translator plugin" href="https://addons.mozilla.org/en-US/firefox/addon/3361" target="_blank">Firefox的插件translator</a>利用提供的API可以在页面中帮助用户翻译选定的字句。</p>
<p>那这次Google又玩什么新的花样。自动翻译是不能满足对精确度的需求，那Translate Center用人帮助翻译。具体进行方式是需要一个需求者和服务者，服务者是一些资源的翻译人员并不是被google聘用的人。这样的情况下有两种可能，服务的人免费帮助翻译，或者和需求者有合同关系。</p>
<p>在创建新的翻译项目的时候，用户可以选择源文件是什么语言，然后需要翻译到什么语言。文章被翻译的时候是实时的，这样需求人可以看到左边是原文，右边是正在翻译过程中的文章，并且文字一个个被需求的人翻译的过程。</p>
<p>Google这样来说对翻译的质量是没有责任的。翻译的项目只不过是需求者和服务者两个人之间的“合同”而已。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/08/google%e7%9a%84%e4%ba%ba%e8%82%89%e7%bf%bb%e8%af%91%e4%b8%ad%e5%bf%83/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Analytics Icon Changed</title>
		<link>http://www.activars.com/2008/07/google-analytics-icon-changed/</link>
		<comments>http://www.activars.com/2008/07/google-analytics-icon-changed/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 23:26:00 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=71</guid>
		<description><![CDATA[ I just noticed today that Google Analytics icon has changed. The fave icon used to be the generic Google icon. Just a few weeks back, Google updated their home page icon.
It seems to me that they have a lot of re-branding activities going on.
谷歌今天突然更新了站点分析服务页面的收藏夹图标。一个很小的细节，就在前几个星期，公司也重新设计了搜索引擎主页面的图标。可见内部应当有一些产品重新设计定位的活动在进行中。
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.activars.com/wp-content/uploads/2008/07/google-analytics-icon.png"><img class="alignleft size-full wp-image-72" title="google-analytics-icon" src="http://www.activars.com/wp-content/uploads/2008/07/google-analytics-icon.png" alt="Google Analytic new icon" width="258" height="77" /></a> I just noticed today that Google Analytics icon has changed. The fave icon used to be the generic Google icon. Just a few weeks back, Google updated their home page icon.</p>
<p>It seems to me that they have a lot of re-branding activities going on.</p>
<p>谷歌今天突然更新了站点分析服务页面的收藏夹图标。一个很小的细节，就在前几个星期，公司也重新设计了搜索引擎主页面的图标。可见内部应当有一些产品重新设计定位的活动在进行中。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/07/google-analytics-icon-changed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Git:更好的SCM版本管理系统</title>
		<link>http://www.activars.com/2008/07/git%e6%98%af%e6%9b%b4%e5%a5%bd%e7%9a%84scm%e7%89%88%e6%9c%ac%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f/</link>
		<comments>http://www.activars.com/2008/07/git%e6%98%af%e6%9b%b4%e5%a5%bd%e7%9a%84scm%e7%89%88%e6%9c%ac%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 08:21:08 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Management]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Project Management]]></category>

		<category><![CDATA[Source Control]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=69</guid>
		<description><![CDATA[一直在忙着工作的事情，清闲下来准备一下毕业项目的资料。特别是代码版本管理的软件，有考虑到CVS, SVN等等，这些大多数是中心服务器结构的管理，最近看到Google工程师开发的Git, 让我感到一阵兴奋。
Linus Torvalds 开发了Git，一开始主要因为CVS和SVN不能满足开源的需求，需要一种新的方式管理Linux Kernel。Git是一个distributed SCM(Source Code Management). 他的最大优势在于开发人员可以随意的创建自己的Brunch，简便多版本的整合(merge)问题，并且优化下载速度。
如果有人用过CVS, SVN在一个开发小组，都会发现这样的问题：大家都不能Commit，直到觉得代码被第二个开发人员review过，或者通过测试才可以，这样才能保持Source trunk的整洁。这样是件很麻烦的事情，如果在SVN, CVS上创建branch, 做自己的一些新功能的试验，也会造成麻烦，你会想到底用什么tag? 大的公司里面会有一堆的规则创建branch(加B下划线版本号码等等），然后整合到trunk上又给自己代来一堆麻烦，所以如果用过centerailized SCM开发人员大都会在trunk上开发。
如果你是一个充分利用Brunch的开发人员，那Git可以是一个不错的选择。给个Git官方网站，还有YouTube 2005年的Git开发介绍会(一个小时的录像)。
]]></description>
			<content:encoded><![CDATA[<p>一直在忙着工作的事情，清闲下来准备一下毕业项目的资料。特别是代码版本管理的软件，有考虑到CVS, SVN等等，这些大多数是中心服务器结构的管理，最近看到Google工程师开发的Git, 让我感到一阵兴奋。</p>
<p><a title="Linus Torvalds" href="http://en.wikipedia.org/wiki/Linus_Torvalds">Linus Torvalds</a> 开发了Git，一开始主要因为CVS和SVN不能满足开源的需求，需要一种新的方式管理Linux Kernel。Git是一个distributed SCM(Source Code Management). 他的最大优势在于开发人员可以随意的创建自己的Brunch，简便多版本的整合(merge)问题，并且优化下载速度。</p>
<p>如果有人用过CVS, SVN在一个开发小组，都会发现这样的问题：大家都不能Commit，直到觉得代码被第二个开发人员review过，或者通过测试才可以，这样才能保持Source trunk的整洁。这样是件很麻烦的事情，如果在SVN, CVS上创建branch, 做自己的一些新功能的试验，也会造成麻烦，你会想到底用什么tag? 大的公司里面会有一堆的规则创建branch(加B下划线版本号码等等），然后整合到trunk上又给自己代来一堆麻烦，所以如果用过centerailized SCM开发人员大都会在trunk上开发。</p>
<p>如果你是一个充分利用Brunch的开发人员，那Git可以是一个不错的选择。给个<a title="Git官方网站" href="http://git.or.cz/" target="_blank">Git官方网站</a>，还有YouTube 2005年的<a title="Git teck talk" href="http://www.youtube.com/watch?v=4XpnKHJAok8" target="_blank">Git开发介绍会</a>(一个小时的录像)。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/07/git%e6%98%af%e6%9b%b4%e5%a5%bd%e7%9a%84scm%e7%89%88%e6%9c%ac%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Xiaonei is a bad sample for China web industry</title>
		<link>http://www.activars.com/2008/07/xiaonei-is-a-bad-sample-for-china-web-industry/</link>
		<comments>http://www.activars.com/2008/07/xiaonei-is-a-bad-sample-for-china-web-industry/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 01:53:56 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<category><![CDATA[Web 2.0]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=68</guid>
		<description><![CDATA[If you are a western reader, you may not hear about xiaonei(校内, means &#8220;at the school&#8221;). Searching &#8220;xiaonei&#8221; at Google UK site, possibly, the first one is their home page and the next would be this criticism article &#8220;Blatant Facebook Rip-Off Gets Acquired&#8220;.Also you will find CrunchBase giving the company a definition:
Xiaonei.com is a Chinese [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a western reader, you may not hear about xiaonei(校内, means &#8220;at the school&#8221;). Searching &#8220;xiaonei&#8221; at <a title="Search now!" href="http://www.google.co.uk/search?source=ig&amp;hl=en&amp;rlz=&amp;=&amp;q=xiaonei&amp;btnG=Google+Search&amp;meta=" target="_blank">Google UK</a> site, possibly, the first one is their home page and the next would be this criticism article &#8220;<a href="http://mashable.com/2006/10/24/blatant-facebook-rip-off-gets-acquired/" target="_blank">Blatant Facebook Rip-Off Gets Acquired</a>&#8220;.Also you will find <a href="http://www.crunchbase.com/company/xiaonei" target="_blank">CrunchBase</a> giving the company a definition:</p>
<blockquote><p><em><strong>Xiaonei</strong>.com is a <span style="text-decoration: underline;">Chinese Facebook clone</span> that was acquired by Oak Pacific, a Chinese internet consortium for an undisclosed sum.</em></p></blockquote>
<p>Personally, I&#8217;m a Xiaonei user. The application itself is fairly immature. There is a big question of how their team manages the development because all the ongoing new features expose a lot of bugs, which means the users will definitely spot these bugs - seems (to me) that they don&#8217;t have a good development procedure.</p>
<p>Why this is bad sample? Everyone cares about what other people think of your country. You have seen a lot criticism news on how people clone Wii turning it to Vii, how people clone iPhone turning it to M4, etc. Every time I see those similar products coming out and read western users&#8217; comments, you will get the impression of &#8220;copy cat&#8221;, &#8220;cheap bad product&#8221;. This is not positive impression if national industry wants to enter the world wide market.</p>
<p>Here we come, another bad sample. I think developers at Xiaonei has been brain-washed. I talked to one of the xiaonei developers a few weeks ago. Basically, he thinks that the clone is nothing wrong and the interface clone is not a big worry. (Well, I would worry about the icons copyright issue, isn&#8217;t it important?). What gives me a even bad impression is the company have a large number of developers graduated from top 3 universities in China. Then, you have to think about the education, what do they learn at university? University is not about knowledge, it&#8217;s the place where students grow up and shape their own personalities.</p>
<p>Here is a video, the CEO of Xiaonei talks about Product DNA), on <a href="http://www.youtube.com/watch?v=aXCLa9msJic" target="_blank">YouTube</a>. Ironic. Basically, what he said was that Chinese market is always clone others idea (online video market). It&#8217;s not going to be a good market share if he builds a video site clone again. So, here we come! The SNS clone is a better money booster.</p>
<p>The web industry in China is a sad story. Less people care about standards and health of the web. I read an article a few days ago saying the <a href="http://news.yahoo.com/s/ap/20080604/ap_on_hi_te/tec_dangerous_domains" target="_blank">most dangerous domains</a> are end with &#8220;.hk&#8221; and &#8220;.cn&#8217;. I&#8217;m a Mac user now, but I did get a lot of spams back to the Windows days when I browse some chinese sites(sometimes, they don&#8217;t render well in Firefox).</p>
<p>A product has its own &#8220;personality&#8221; I believe. It generates the culture in the company and exposes to the world - especially dealling with the web. The product name is under the clone category, it will never get out from it. Everyone knows we need to protect the natural enviroment, it hits back if you don&#8217;t. So does the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/07/xiaonei-is-a-bad-sample-for-china-web-industry/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CSS优化：减少HTTP Requests</title>
		<link>http://www.activars.com/2008/06/css%e4%bc%98%e5%8c%96%ef%bc%9a%e5%87%8f%e5%b0%91http-requests/</link>
		<comments>http://www.activars.com/2008/06/css%e4%bc%98%e5%8c%96%ef%bc%9a%e5%87%8f%e5%b0%91http-requests/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 13:48:11 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=67</guid>
		<description><![CDATA[大多数的前端用户都会遇到一个问题，那就是下载速度。对于网络优越的用户，不是问题，但是考虑到移动用户或者是网络条件较差的使用者，最终要的是速度。现在的网站有很多的内容，比如Flash, 图像，声音，JavaScript等等都会减慢页面下载速度。
最基本的优化方法是减少客户端对HTTP Requests。有很多方法可以实现：
使用单个文件。就是说尽量把多个文件的CSS，或者JavaScript放到一个文件里面。虽然有时后我们需要不同的样式在不同的界面，但是在开发过程中能尽量考虑到这个问题，会给减少页面反馈等待时间。
显示图片的局部。如果一个按钮在hover和link的状态用不同的图，大多的方法是利用2个图片来实现鼠标的反馈。其实利用 background-image 和 background-position CSS属性可以实现用显示图片的局部。这样其实页面只做了一次对服务器的Request.

图片定义放在CSS中。如果显示图片的时候把图片插入到页面，这样会使得文本档尺寸增大，增加下载时间。我们可以把图片定义尽量放在缓存的CSS中，这样第一可以减少页面大小，也减少了http requests.
减少Http request是一个最好的性能优化起点。经过一些调查，百分之40－60的用户基本上是带着干净的缓存访问网站的，给他们的第一感觉一定是要页面装载迅速。
]]></description>
			<content:encoded><![CDATA[<p>大多数的前端用户都会遇到一个问题，那就是下载速度。对于网络优越的用户，不是问题，但是考虑到移动用户或者是网络条件较差的使用者，最终要的是速度。现在的网站有很多的内容，比如Flash, 图像，声音，JavaScript等等都会减慢页面下载速度。</p>
<p>最基本的优化方法是减少客户端对HTTP Requests。有很多方法可以实现：</p>
<p>使用单个文件。就是说尽量把多个文件的CSS，或者JavaScript放到一个文件里面。虽然有时后我们需要不同的样式在不同的界面，但是在开发过程中能尽量考虑到这个问题，会给减少页面反馈等待时间。</p>
<p>显示图片的局部。如果一个按钮在hover和link的状态用不同的图，大多的方法是利用2个图片来实现鼠标的反馈。其实利用<code> background-image 和</code><code> background-position CSS属性可以实现用显示图片的局部。这样其实页面只做了一次对服务器的Request.<br />
</code></p>
<p>图片定义放在CSS中。如果显示图片的时候把图片插入到页面，这样会使得文本档尺寸增大，增加下载时间。我们可以把图片定义尽量放在缓存的CSS中，这样第一可以减少页面大小，也减少了http requests.</p>
<p>减少Http request是一个最好的性能优化起点。经过一些调查，百分之40－60的用户基本上是带着干净的缓存访问网站的，给他们的第一感觉一定是要页面装载迅速。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/06/css%e4%bc%98%e5%8c%96%ef%bc%9a%e5%87%8f%e5%b0%91http-requests/feed/</wfw:commentRss>
		</item>
		<item>
		<title>校内涂鸦板Mac&#124;Apple样式 [Ver 0.11]</title>
		<link>http://www.activars.com/2008/06/%e6%a0%a1%e5%86%85%e6%b6%82%e9%b8%a6%e6%9d%bfmac%e6%a0%b7%e5%bc%8f/</link>
		<comments>http://www.activars.com/2008/06/%e6%a0%a1%e5%86%85%e6%b6%82%e9%b8%a6%e6%9d%bfmac%e6%a0%b7%e5%bc%8f/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 01:57:32 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Download]]></category>

		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=52</guid>
		<description><![CDATA[我曾经看到过一些Mac样式的校内涂鸦板，但是大多都不太完美，于是自己花了一些时间做了一份Leopard为基础的校内摸板，自己用过一断时间现在把所有的代码公开，并且增加了一些样式。喜欢的朋友可以免费拿去，前提在Creative Commons之内，请详细阅读。
如何安装？

首先要登陆校内网，点击“个人主页”边上的“修改”
选择涂鸦板-&#62;个性涂鸦板
把下载的代码复制粘贴到下面的大文本框里，然后输入验证码并保存
到自己的页面看一下，是不是更新了？

版本更新：

v0.11 修复了校内最新增加的应用tab的位置，“资料”和“应用”显示正常。
v0.1 首次发布

已知问题：

主题只支持Firefox，或者Internet Explorer 7.0或者以上的版本（由于IE6对透明图像不支持）
有朋友说IE8显示不正常，下一个大更新会修复这个问题。
我没有Maxthon, 谁哪位朋友能帮忙测试一下？（谢谢）

这里暂时发布6种不同背景的摸板样式：
1. Earth v0.11


点击下载Earth校内Mac主题
2. F1 v0.11

点击下载F1校内Mac主题
3. Leopard v0.11

点击下载Leopard校内Mac主题
4. Air v0.11

点击下载Air校内Mac主题
5. LightBlue v0.11

点击下载LightBlue校内Mac主题
6. Sky v0.11

点击下载Sky校内Mac主题
其他：

如果有朋友做了好看的背景图片想发布的话，我可以提供图片储存空间。
如果发现问题，大家可以在帖子后面留言，我会尽快解决问题。

]]></description>
			<content:encoded><![CDATA[<p>我曾经看到过一些Mac样式的校内涂鸦板，但是大多都不太完美，于是自己花了一些时间做了一份Leopard为基础的校内摸板，自己用过一断时间现在把所有的代码公开，并且增加了一些样式。喜欢的朋友可以免费拿去，前提在<a title="关于版权" href="http://creativecommons.org/licenses/by-nc-nd/3.0/deed.zh" target="_blank">Creative Commons</a>之内，请详细阅读。</p>
<p><strong>如何安装？</strong></p>
<ul>
<li>首先要登陆校内网，点击<em>“个人主页”</em>边上的<span style="text-decoration: underline;"><em>“修改”</em></span></li>
<li>选择<em><span style="text-decoration: underline;">涂鸦板</span></em>-&gt;<span style="text-decoration: underline;"><em>个性涂鸦板</em></span></li>
<li>把下载的代码复制粘贴到下面的大文本框里，然后输入验证码并保存</li>
<li>到自己的页面看一下，是不是更新了？</li>
</ul>
<p><strong>版本更新：</strong></p>
<ul>
<li>v0.11 修复了校内最新增加的应用tab的位置，“资料”和“应用”显示正常。</li>
<li>v0.1 首次发布</li>
</ul>
<p><span style="color: #000000;"><strong>已知问题：</strong></span></p>
<ul>
<li><span style="color: #000000;">主题只支持Firefox，或者Internet Explorer 7.0或者以上的版本（由于IE6对透明图像不支持）</span></li>
<li><span style="color: #000000;">有朋友说IE8显示不正常，下一个大更新会修复这个问题。</span></li>
<li><span style="color: #000000;">我没有Maxthon, 谁哪位朋友能帮忙测试一下？（谢谢）</span></li>
</ul>
<p><strong>这里暂时发布6种不同背景的摸板样式：</strong></p>
<p><strong>1. Earth v0.11<br />
</strong></p>
<p><img class="alignnone size-full wp-image-57" title="xiaonei-earth-theme" src="http://www.activars.com/wp-content/uploads/2008/06/xiaonei-earth-theme.jpg" alt="" width="500" height="410" /></p>
<p><a href="http://www.activars.com/wp-content/uploads/2008/06/earth.css">点击下载Earth校内Mac主题</a></p>
<p><strong>2. F1</strong><strong> v0.11</strong></p>
<p><img class="alignnone size-full wp-image-56" title="xiaonei-f1-theme" src="http://www.activars.com/wp-content/uploads/2008/06/xiaonei-f1-theme.jpg" alt="" width="500" height="444" /></p>
<p><a href="http://www.activars.com/wp-content/uploads/2008/06/f1.css">点击下载F1校内Mac主题</a></p>
<p><strong>3. Leopard</strong><strong> v0.11</strong></p>
<p><img class="alignnone size-full wp-image-60" title="xiaonei-leopard-theme" src="http://www.activars.com/wp-content/uploads/2008/06/xiaonei-leopard-theme.jpg" alt="" width="500" height="398" /></p>
<p><a href="http://www.activars.com/wp-content/uploads/2008/06/leopard.css">点击下载Leopard校内Mac主题</a></p>
<p><strong>4. Air</strong><strong> v0.11</strong></p>
<p><img class="alignnone size-full wp-image-58" title="xiaonei-air-theme" src="http://www.activars.com/wp-content/uploads/2008/06/xiaonei-air-theme.jpg" alt="" width="500" height="356" /></p>
<p><a href="http://www.activars.com/wp-content/uploads/2008/06/air.css">点击下载Air校内Mac主题</a></p>
<p><strong>5. LightBlue</strong><strong> v0.11</strong></p>
<p><img class="alignnone size-full wp-image-55" title="xiaonei-lightblue-theme" src="http://www.activars.com/wp-content/uploads/2008/06/xiaonei-lightblue-theme.jpg" alt="" width="500" height="452" /></p>
<p><a href="http://www.activars.com/wp-content/uploads/2008/06/lightblue.css">点击下载LightBlue校内Mac主题</a></p>
<p><strong>6. Sky</strong><strong> v0.11</strong></p>
<p><img class="alignnone size-full wp-image-59" title="xiaonei-sky-theme" src="http://www.activars.com/wp-content/uploads/2008/06/xiaonei-sky-theme.jpg" alt="" width="500" height="346" /></p>
<p><a href="http://www.activars.com/wp-content/uploads/2008/06/sky.css">点击下载Sky校内Mac主题</a></p>
<p><strong>其他：</strong></p>
<ul>
<li>如果有朋友做了好看的背景图片想发布的话，我可以提供图片储存空间。</li>
<li>如果发现问题，大家可以在帖子后面留言，我会尽快解决问题。</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.activars.com/2008/06/%e6%a0%a1%e5%86%85%e6%b6%82%e9%b8%a6%e6%9d%bfmac%e6%a0%b7%e5%bc%8f/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
