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

<channel>
	<title>Activars &#187; Programming</title>
	<atom:link href="http://www.activars.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activars.com</link>
	<description>Be active, make things happen</description>
	<pubDate>Tue, 30 Dec 2008 06:24:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;Fork Ruby&#8221; Summary (RubyConf 2008)</title>
		<link>http://www.activars.com/2008/12/fork-ruby-summary-rubyconf-2008/</link>
		<comments>http://www.activars.com/2008/12/fork-ruby-summary-rubyconf-2008/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 06:12:01 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Others]]></category>

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

		<category><![CDATA[Ruby on Rails]]></category>

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

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

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

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

		<guid isPermaLink="false">http://www.activars.com/?p=172</guid>
		<description><![CDATA[I like screencast and keynote, they are great ways of learning practically. But some people don&#8217;t have much time to watch or listen to all these. Or maybe you forgot some ideas were presented, but it&#8217;s difficult to select the part you want to find in the video -  you end up with watching the [...]]]></description>
		<wfw:commentRss>http://www.activars.com/2008/12/fork-ruby-summary-rubyconf-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE6方程式: 提高开发效率</title>
		<link>http://www.activars.com/2008/12/ie6%e6%96%b9%e7%a8%8b%e5%bc%8f-%e6%8f%90%e9%ab%98%e5%bc%80%e5%8f%91%e6%95%88%e7%8e%87/</link>
		<comments>http://www.activars.com/2008/12/ie6%e6%96%b9%e7%a8%8b%e5%bc%8f-%e6%8f%90%e9%ab%98%e5%bc%80%e5%8f%91%e6%95%88%e7%8e%87/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 15:31:04 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[CSS]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.activars.com/?p=163</guid>
		<description><![CDATA[Jeremy Keith在他的博客中写到关于如何选择对IE6支持的问题。对于不同的网站，他们有不同的用户群，如果很少部分的人用IE6，还要考虑对老版本的支持么？又如果在IE6中发现很小的错误，是否要修正，应该用多少工作时间？
Jeremy分析了不同层面极端的几个方案：

将所有的 IE6 访问者踢出你的站点
完全遵循标准开发，并且没有任何针对 IE6 的测试
只使用 Dean Edwards 的脚本让 IE6 支持额外的 CSS
编写针对 IE6 的样式解决大部分问题（比如布局等）
让站点在 IE6 以及其他浏览器上看起来一摸一样

并和Cennydd Bowle一起推算出一个数学公式(使用 t 表示总的开发时间、t6 表示花在 IE6 上的时间；所有的访问者数目表示为 a、 a6 则表示正在使用 IE6 的访问者)：
p = 50 [ log ( at6 / ta6 ) + 1 ]
运算出来的p概率可以判断是应该应用 Dean Edwards 的 IE 脚本:

&#60;!--[if lt IE 7]&#62;
&#60;script src=&#34;http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;![endif]--&#62;


&#60;!--[if lt IE 8]&#62;
&#60;script src=&#34;http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;![endif]--&#62;

当然在某些极端的情况下，比如公司的政策内部一定要运用IE6，作为内部网络软件开发人员，应当要保证IE6的100％正常运作。在浏览器支持的问题上，Yahoo YUI发布过一篇很好的文章&#8221;Graded [...]]]></description>
		<wfw:commentRss>http://www.activars.com/2008/12/ie6%e6%96%b9%e7%a8%8b%e5%bc%8f-%e6%8f%90%e9%ab%98%e5%bc%80%e5%8f%91%e6%95%88%e7%8e%87/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Configure Rails migration version type</title>
		<link>http://www.activars.com/2008/12/configure-rails-migration-version-type/</link>
		<comments>http://www.activars.com/2008/12/configure-rails-migration-version-type/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 23:36:26 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

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

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

		<guid isPermaLink="false">http://www.activars.com/?p=129</guid>
		<description><![CDATA[Rails use a UTC time stamp as migration version by default. Although most examples in books have simple number based system for managing migration versions, there isn&#8217;t much information about version type configuration. By default, a migration file(&#62;=Rail 2.0) name look similar to:

20081202130543_create_group_categories.rb

We can turn this off and use numeric prefixes by adding this in [...]]]></description>
		<wfw:commentRss>http://www.activars.com/2008/12/configure-rails-migration-version-type/feed/</wfw:commentRss>
		</item>
		<item>
		<title>config.gem &#8216;rspec-rails&#8217; on Rails 2.2.2</title>
		<link>http://www.activars.com/2008/11/configgem-rspec-rails-on-rails-222/</link>
		<comments>http://www.activars.com/2008/11/configgem-rspec-rails-on-rails-222/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 15:09:07 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

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

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

		<guid isPermaLink="false">http://www.activars.com/?p=118</guid>
		<description><![CDATA[After googling, I counld&#8217;t find much information about including rspec-rails in the ruby gems config/environment.rb. The only reason I include it in gem dependency is for the sake of continuous integration, to make sure the build platform happy and green.
So, back to the topic. This was related to rspec bug #577 (still an open ticket), [...]]]></description>
		<wfw:commentRss>http://www.activars.com/2008/11/configgem-rspec-rails-on-rails-222/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RubyGem update on Leopard</title>
		<link>http://www.activars.com/2008/11/rubygem-update-on-leopard/</link>
		<comments>http://www.activars.com/2008/11/rubygem-update-on-leopard/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 21:54:28 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Configration]]></category>

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

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

		<category><![CDATA[Ruby on Rails]]></category>

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

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

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

		<guid isPermaLink="false">http://www.activars.com/?p=109</guid>
		<description><![CDATA[I have a RubyGem version 1.2.0 installed on Leopard. If you would like to update RubyGems to a newer version, the RubyGem user guide suggests for modern versions( &#62;0.8.5 ) can use the following command:

gem update --system

But, console told me the 1.2.0 is the latest version - Nothing to update! The work around is to [...]]]></description>
		<wfw:commentRss>http://www.activars.com/2008/11/rubygem-update-on-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Frustrating User Experiences: Live Mail</title>
		<link>http://www.activars.com/2008/11/frustrating-user-experiences-live-mail/</link>
		<comments>http://www.activars.com/2008/11/frustrating-user-experiences-live-mail/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 03:06:21 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[Internet]]></category>

		<category><![CDATA[User Experiences]]></category>

		<category><![CDATA[email client]]></category>

		<category><![CDATA[fancy features]]></category>

		<category><![CDATA[Frustrating User Experiences]]></category>

		<category><![CDATA[hotmail user]]></category>

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

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

		<category><![CDATA[mail body]]></category>

		<category><![CDATA[new mail]]></category>

		<category><![CDATA[writing process]]></category>

		<guid isPermaLink="false">http://www.activars.com/?p=105</guid>
		<description><![CDATA[I used to be a Hotmail user for many years. Since gmail support SMTP, IMAP and more fancy features, I made the switch over. Last week, I had chance to send an email for a friend using Windows Live Mail, I wasn&#8217;t suppised that the general spead was faster while the auto spam filtering isn&#8217;t [...]]]></description>
		<wfw:commentRss>http://www.activars.com/2008/11/frustrating-user-experiences-live-mail/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress the_excerpt Plugin</title>
		<link>http://www.activars.com/2008/10/wordpress-the_excerpt-plugin/</link>
		<comments>http://www.activars.com/2008/10/wordpress-the_excerpt-plugin/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 00:26:54 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
		
		<category><![CDATA[PHP]]></category>

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

		<guid isPermaLink="false">http://www.activars.com/?p=82</guid>
		<description><![CDATA[Recently, I was looking for a solution for extracting post text by defining the length of the string. WordPress offers two useful functions:

the_content(): returns the full content of a post
the_excerpt(): returns a fixed extracted text from a post, but no parameter option is provided.

The idea is to write a better function that has a few [...]]]></description>
		<wfw:commentRss>http://www.activars.com/2008/10/wordpress-the_excerpt-plugin/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>
		<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>
		<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下面有什么整理代码的好工具，可以留言和我分享一下。



Share and Enjoy:


	
	
	
	
	
	
	
	
	
	


]]></description>
		<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>
	</channel>
</rss>
