<?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>Activars.(evolving  and active) &#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>tech, web, programming, rails</description> <lastBuildDate>Sat, 03 Dec 2011 14:37:58 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Not installing gem documentation by default</title><link>http://www.activars.com/2011/12/03/not-installing-gem-documentation-by-default/</link> <comments>http://www.activars.com/2011/12/03/not-installing-gem-documentation-by-default/#comments</comments> <pubDate>Sat, 03 Dec 2011 14:32:43 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Ruby on Rails]]></category> <guid
isPermaLink="false">http://www.activars.com/?p=2428</guid> <description><![CDATA[Instead of specifying --no-ri --no-rdoc in the gem install command every time, put the following in your local gemrc file located in ~/.gemrc, it will skip installing documentation for all the gem installation by default, which is ideal for production environment.]]></description> <wfw:commentRss>http://www.activars.com/2011/12/03/not-installing-gem-documentation-by-default/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>新浪微博关系图 – Social Graph of Sina MicoBlog</title><link>http://www.activars.com/2010/10/01/%e6%96%b0%e6%b5%aa%e5%be%ae%e5%8d%9a%e5%85%b3%e7%b3%bb%e5%9b%be-social-graph-of-sina-micoblog/</link> <comments>http://www.activars.com/2010/10/01/%e6%96%b0%e6%b5%aa%e5%be%ae%e5%8d%9a%e5%85%b3%e7%b3%bb%e5%9b%be-social-graph-of-sina-micoblog/#comments</comments> <pubDate>Fri, 01 Oct 2010 22:29:42 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Web 2.0]]></category> <category><![CDATA[force]]></category> <category><![CDATA[force-directed]]></category> <category><![CDATA[graph]]></category> <category><![CDATA[interaction]]></category> <category><![CDATA[node]]></category> <category><![CDATA[protovis]]></category> <category><![CDATA[social]]></category> <category><![CDATA[social graph]]></category> <category><![CDATA[social network]]></category> <category><![CDATA[visualisation]]></category> <category><![CDATA[新浪，微博，图形，数据视觉化，data]]></category> <guid
isPermaLink="false">http://www.activars.com/?p=2113</guid> <description><![CDATA[近由于需要数据来测试一些HTML SVG的绘图工具的性能，想到运用新浪微博的API调用个人数据构成‘朋友’和‘粉丝’的关系图。假设以个人为中心，我的朋友和粉丝是与自己相连的节点... 每一个人代表一个节点，我个人位于中间的节点。在这个数据组里面，连接自己的节点数量较多，中心的点weight递加之后，便形成较大的节点。图1有遗漏一些信息，比如节点并不能说明这个粉丝也同时是我的朋友，也许此人是我的粉丝而我们却没有互相关注。图2和图3就可以显示出更近一部的关系 [...]]]></description> <wfw:commentRss>http://www.activars.com/2010/10/01/%e6%96%b0%e6%b5%aa%e5%be%ae%e5%8d%9a%e5%85%b3%e7%b3%bb%e5%9b%be-social-graph-of-sina-micoblog/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>GitHub – Merge in a Fork</title><link>http://www.activars.com/2010/09/28/github-merge-in-a-fork/</link> <comments>http://www.activars.com/2010/09/28/github-merge-in-a-fork/#comments</comments> <pubDate>Tue, 28 Sep 2010 21:52:48 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Management]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[git]]></category> <category><![CDATA[github]]></category> <category><![CDATA[scm]]></category> <guid
isPermaLink="false">http://www.activars.com/?p=2100</guid> <description><![CDATA[Fork is a great way to start a new routine of software feature or improvement. There are situations when you would like to merge your current forked version with a latest/ongoing branch. The following code is an example of how to pull from another branch. The &#8216;project directory&#8217; is your current git project root. The [...]]]></description> <wfw:commentRss>http://www.activars.com/2010/09/28/github-merge-in-a-fork/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Localisation Challenge: Lego NTX</title><link>http://www.activars.com/2010/03/21/localisation-challenge-lego-ntx/</link> <comments>http://www.activars.com/2010/03/21/localisation-challenge-lego-ntx/#comments</comments> <pubDate>Sun, 21 Mar 2010 18:42:22 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Programming]]></category> <guid
isPermaLink="false">http://wp.activars.com/?p=81</guid> <description><![CDATA[After having been hard working on this Lego robot for the past 2 months, we finally get to this last challenge. Again, this is based on Monte Carlo Localisation and Place Recognition. The implementation is based on RobotC. There are several challenges: The robot will be placed randomly by the examiner in one of the [...]]]></description> <wfw:commentRss>http://www.activars.com/2010/03/21/localisation-challenge-lego-ntx/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Pass JavaScript variables to Rails controller</title><link>http://www.activars.com/2009/04/13/pass-javascript-variables-to-rails-controller/</link> <comments>http://www.activars.com/2009/04/13/pass-javascript-variables-to-rails-controller/#comments</comments> <pubDate>Mon, 13 Apr 2009 18:40:58 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Ruby on Rails]]></category> <guid
isPermaLink="false">http://wp.activars.com/?p=77</guid> <description><![CDATA[Google query doesn&#8217;t give much useful result on this topic. What we discuss here is if there is a value/function getParameters() in JavaScript returns "message = hello_world" (a URL query). How do you pass the JS variable into controller? link_to_remote Most common way is using link_to_remote which constructs an Ajax call, but the drawback is [...]]]></description> <wfw:commentRss>http://www.activars.com/2009/04/13/pass-javascript-variables-to-rails-controller/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Passing Rails restful_authentication in rspec</title><link>http://www.activars.com/2009/02/16/passing-rails-restful_authentication-in-rspec/</link> <comments>http://www.activars.com/2009/02/16/passing-rails-restful_authentication-in-rspec/#comments</comments> <pubDate>Mon, 16 Feb 2009 18:40:05 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Ruby on Rails]]></category> <guid
isPermaLink="false">http://wp.activars.com/?p=75</guid> <description><![CDATA[Plugins in Rails are useful shortcuts, they produce better implementations for some areas. I recently come across an issue of passing model controller authentication, but the before_filter :login_required stops me testing my code in Rspec. By using mock and stub technique can pass the authentication test. All you have to do is inserting these code [...]]]></description> <wfw:commentRss>http://www.activars.com/2009/02/16/passing-rails-restful_authentication-in-rspec/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Offline Rails Documentation</title><link>http://www.activars.com/2009/02/01/offline-rails-documentation/</link> <comments>http://www.activars.com/2009/02/01/offline-rails-documentation/#comments</comments> <pubDate>Sun, 01 Feb 2009 18:39:00 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Ruby on Rails]]></category> <guid
isPermaLink="false">http://wp.activars.com/?p=73</guid> <description><![CDATA[Although you can run gem server to have a rails rdoc running on localhost, the rdoc rails document could be troublesome to find a specific method you would like to know about. Fortunately, you may want to try out an ajax improved rails documentation: RailsBrain provides a free downloadable (free) offline documentation for rails. It [...]]]></description> <wfw:commentRss>http://www.activars.com/2009/02/01/offline-rails-documentation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>&#8220;Fork Ruby&#8221; Summary (RubyConf 2008)</title><link>http://www.activars.com/2008/12/30/fork-ruby-summary-rubyconf-2008/</link> <comments>http://www.activars.com/2008/12/30/fork-ruby-summary-rubyconf-2008/#comments</comments> <pubDate>Tue, 30 Dec 2008 18:37:56 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Conferences]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Ruby on Rails]]></category> <guid
isPermaLink="false">http://wp.activars.com/?p=71</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 &#8211; you end up with watching the [...]]]></description> <wfw:commentRss>http://www.activars.com/2008/12/30/fork-ruby-summary-rubyconf-2008/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Configure Rails migration version type</title><link>http://www.activars.com/2008/12/02/configure-rails-migration-version-type/</link> <comments>http://www.activars.com/2008/12/02/configure-rails-migration-version-type/#comments</comments> <pubDate>Tue, 02 Dec 2008 18:34:38 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Configuration]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Ruby on Rails]]></category> <guid
isPermaLink="false">http://wp.activars.com/?p=65</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: We can turn this off and use numeric prefixes by adding this [...]]]></description> <wfw:commentRss>http://www.activars.com/2008/12/02/configure-rails-migration-version-type/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>config.gem &#8216;rspec-rails&#8217; on Rails 2.2.2</title><link>http://www.activars.com/2008/11/29/config-gem-rspec-rails-on-rails-2-2-2/</link> <comments>http://www.activars.com/2008/11/29/config-gem-rspec-rails-on-rails-2-2-2/#comments</comments> <pubDate>Sat, 29 Nov 2008 18:33:43 +0000</pubDate> <dc:creator>jay</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Ruby on Rails]]></category> <guid
isPermaLink="false">http://wp.activars.com/?p=63</guid> <description><![CDATA[Update on 5th April 2009: This rspec-rails gem issue has been fixed and released in rspec-rails milestone “1.2.0”. see details here If you are still working on Rspec before version 1.20: 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 [...]]]></description> <wfw:commentRss>http://www.activars.com/2008/11/29/config-gem-rspec-rails-on-rails-2-2-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
