<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.2" -->
<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/"
	>

<channel>
	<title>Vinsol</title>
	<link>http://vinsol.com</link>
	<description>Ruby Rails Services</description>
	<pubDate>Wed, 30 Apr 2008 06:52:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>
	<language>en</language>
			<item>
		<title>RubyOnRails Plugin: Auto Tags</title>
		<link>http://vinsol.com/2008/04/30/rubyonrails-plugin-auto-tags/</link>
		<comments>http://vinsol.com/2008/04/30/rubyonrails-plugin-auto-tags/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 06:52:30 +0000</pubDate>
		<dc:creator>SUR</dc:creator>
		
	<category>RubyonRails</category>
	<category>plugin</category>
	<category>auto_tags</category>
	<category>open_source</category>
	<category>networking</category>
		<guid isPermaLink="false">http://expressica.com/2008/04/29/rubyonrails-plugin-auto-tags/</guid>
		<description><![CDATA[Announcing the release of this tiny useful plugin AutoTags.
A couple of weeks ago I travelled to Mumbai in train which was a long 17hrs journey&#8230; and I utilized that by coding down the idea while travelling. So here it comes&#8230;
AutoTags, an open source project, is a plugin for RubyOnRails applications to automatically generate the relevant [...]]]></description>
			<content:encoded><![CDATA[<p>Announcing the release of this tiny useful plugin <a href="http://expressica.com/auto_tags">AutoTags</a>.<br />
A couple of weeks ago I travelled to Mumbai in train which was a long 17hrs journey&#8230; and I utilized that by coding down the idea while travelling. So here it comes&#8230;</p>
<p><a href="http://expressica.com/auto_tags">AutoTags</a>, an open source project, is a plugin for RubyOnRails applications to automatically generate the relevant tags for the provided content. Its quite simple to use and provide easy integration with ActiveRecord. The plugin is very useful for social applications, community websites and all those networking applications where there is a scope of user generate content to be tagged. No more heck for the admin to sit and add the tags to the content or waiting for the users to add the tags to their content.</p>
<p>For installation and usage read <a href="http://expressica.com/auto_tags">here</a>.</p>
<p>If you liked the plugin then please <a href="http://www.workingwithrails.com/recommendation/new/person/7756-sur-max">recommend me</a> on workingwithrails.</p>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/04/30/rubyonrails-plugin-auto-tags/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>New in Ruby 1.9: Threads</title>
		<link>http://vinsol.com/2008/04/26/new-in-ruby-19-threads/</link>
		<comments>http://vinsol.com/2008/04/26/new-in-ruby-19-threads/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 20:54:21 +0000</pubDate>
		<dc:creator>SUR</dc:creator>
		
	<category>ruby</category>
	<category>ruby1.9</category>
	<category>threads</category>
		<guid isPermaLink="false">http://expressica.com/2008/04/26/new-in-ruby-19-threads/</guid>
		<description><![CDATA[The ruby is getting changed and improved a lot with every release. No doubt the existing demerits of rails are soon going to be history.
Currently for my rails applications I am running Ruby1.8&#8230; and exploring 1.9 to get ready as we are heading with nice speed in the rails developments. Modrails has already started making [...]]]></description>
			<content:encoded><![CDATA[<p>The ruby is getting changed and improved a lot with every release. No doubt the existing demerits of rails are <a href="http://www.fromdelhi.com/2008/04/26/ride-the-rails-still-skeptical/">soon going to be history</a>.</p>
<p>Currently for my rails applications I am running Ruby1.8&#8230; and exploring 1.9 to get ready as we are heading with nice speed in the rails developments. Modrails has already started making waves all around.<br />
Soon I would be publishing a couple of posts on threads, processes and sockets in ruby&#8230; here is a bit on how they are going to be different in Ruby1.9.</p>
<p>In Ruby1.9 the threads implementation is going to be really different than what we all know/do in Ruby1.8. The Ruby1.8 uses a single native thread and runs all Ruby threads within that&#8230; which certainly protects the Ruby threads to take on much responsibilities and to  completely leverage the hardware with multiple processors. </p>
<p>Now, the good news, <b>the Ruby1.9 allocates a separate native thread for every Ruby thread</b>. But at this very moment it is not fully functional&#8230; as because of some C libraries, used here, are not thread-safe that it will not allow Ruby1.9 to take control on multiple native threads. Still, great signs of improvements in these directions&#8230; It has been mentioned that this restriction will be removed in the upcoming versions of Ruby1.9 and there will be full fledged implementation of multithreading in Ruby with multiple native threads, and the charm of parallel execution&#8230; means a lot more scope of improvements for all related libraries, frameworks built on the top of Ruby.</p>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/04/26/new-in-ruby-19-threads/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Ride the Rails: Still skeptical?</title>
		<link>http://vinsol.com/2008/04/26/ride-the-rails-still-skeptical/</link>
		<comments>http://vinsol.com/2008/04/26/ride-the-rails-still-skeptical/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 10:49:38 +0000</pubDate>
		<dc:creator>manik</dc:creator>
		
	<category>rails</category>
	<category>software</category>
	<category>ruby on rails</category>
	<category>ruby</category>
		<guid isPermaLink="false">http://www.fromdelhi.com/2008/04/26/ride-the-rails-still-skeptical/</guid>
		<description><![CDATA[Ok, so we had been shouting ourselves hoarse, claiming that Rails is all about developer productivity and joy. So is that all about it?, huh!, was the normal reaction. But isn&#8217;t that a big enough reason. Not for many people though.
Yes, we accept that there are some pain points, like hosting Rails applications at shared [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so we had been shouting ourselves hoarse, claiming that Rails is all about developer productivity and joy. So is that all about it?, huh!, was the normal reaction. But isn&#8217;t that a big enough reason. Not for many people though.</p>
<p>Yes, we accept that there are some pain points, like <a href="http://loudthinking.com/posts/21-the-deal-with-shared-hosts" >hosting Rails applications at shared hosts</a>. No we don&#8217;t need those in production, but don&#8217;t you wish it was easier to deploy a rails app for a quick review with a client (a client who can&#8217;t run it on his own machine). Yes php scores there, just throw the code on the server and you are done. Why do I still run this blog on wordpress and not typo or mephisto? The big reason is that it&#8217;s easy to let just apache handle everything.</p>
<p>But things might change soon with the launch of <a href="http://www.modrails.com/" >passenger aka modrails</a>. </p>
<p>And the other classic allegation against Rails has been performance. Remember the discussion between <a href="http://duncandavidson.com/" >JDD</a> and <a href="http://loudthinking.com/" >DHH</a> about <span class="caps">CPU</span> cycles vs. developer cycles. We are definitely headed in the direction of lesser <span class="caps">CPU</span> cycles for our Rails app. Rails2 made some advances towards that and with Ruby1.9 and <span class="caps">YARV</span> and Rubinium, we have high expectations. Also you have heard about <a href="http://www.rubyenterpriseedition.com/" >Ruby Enterprise Edition</a> , haven&#8217;t you?</p>
<p>So things might change, when people try to figure out <a href="http://discuss.joelonsoftware.com/default.asp?design.4.340437.39" >the fastest web language or framwework</a> , the next time around.</p>
<p>I and those around me here, are generally biased towards rails. <a href="http://rubyrags.com/products/1" >Ruby makes us happy</a>. For us the pleasure points in Rails were always far more than the pain points. The basic Rails principles of DRY and Convention Over Configuration clicked with us.  Ruby&#8217;s and Rail&#8217;s simplicity and beauty clicked with us. We did not need hosting on shared hosts. We could work with Rails caching to improve performance. No wonder we were one of the early adopters of Rails in India. But today, I would like to thank the critics whose untiring rants have moved Rails in the direction of being much more than what is was a couple of years ago.</p>
<p> Some of those changes have been in rails, but more have been around it. If you would have noticed, most of these development are not in rails as such, but in the ruby ecosystem.</p>
<p>Rails provides developer productivity and joy; ease of deployment; and ever-improving performance. And no, now you don&#8217;t need to go back to Java. We knew it, I am just repeating it for you.</p>
<p> Extrapolate <a href="http://www.javalobby.org/java/forums/t101110.html" >this one year old graph</a> for yourself.</p>
<p>So what is your reason for not having rail-ed yet?</p>
<p>Update: Charles Nutter has a post on upcoming Ruby implementations <a href="http://headius.blogspot.com/2008/04/promise-and-peril-for-alternative-ruby.html" >here</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/04/26/ride-the-rails-still-skeptical/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Git Error: trailing whitespace, indent SP followed by a TAB, unresolved merge conflict</title>
		<link>http://vinsol.com/2008/04/23/git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict/</link>
		<comments>http://vinsol.com/2008/04/23/git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 18:19:34 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
		
	<category>rails</category>
	<category>RubyonRails</category>
	<category>Tools</category>
	<category>Git</category>
	<category>VCS</category>
	<category>SCM</category>
	<category>pre-commit</category>
		<guid isPermaLink="false">http://webonrails.com/2008/04/23/git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict/</guid>
		<description><![CDATA[I have been using Git from last few days, and faced following errors while committing:
1) Trailing whitespace
2) Indent SP followed by a TAB
3) Unresolved merge conflict
The first error &#8220;Trailing whitespace&#8221; is because of carriage-return/line-feed(windows style line feed/end). To resolve this problem comment following lines(58-60) in .git/hooks/pre-commit file:

  if (/\s$/) {
    bad_line("trailing [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using <a href="http://git.or.cz/" target ="_blank">Git</a> from last few days, and faced following errors while committing:</p>
<p>1) Trailing whitespace<br />
2) Indent SP followed by a TAB<br />
3) Unresolved merge conflict</p>
<p>The first error <strong>&#8220;Trailing whitespace&#8221;</strong> is because of carriage-return/line-feed(windows style line feed/end). To resolve this problem comment following <strong>lines(58-60) in .git/hooks/pre-commit file</strong>:</p>
<textarea name="code" class="c" cols="50" rows="10">
  if (/\s$/) {
    bad_line("trailing whitespace", $_);
 }
</textarea>
<p>The second one <strong>&#8220;Indent SP followed by a TAB&#8221;</strong> is because of leading spaces/tabs. To resolve this problem comment following <strong>lines(61-63) in .git/hooks/pre-commit file</strong>:</p>
<textarea name="code" class="c" cols="50" rows="10">
  if (/^\s*   /) {
    bad_line("indent SP followed by a TAB", $_);
  }
</textarea>
<p>The third one <strong>&#8220;Unresolved merge conflict&#8221;</strong> is because of seven or more successive  occurrence of = or < or > characters. Major chances of having seven = character in README or doc files. To resolve this problem replace following <strong>line(64) in .git/hooks/pre-commit file</strong>:</p>
<textarea name="code" class="c" cols="50" rows="10">
  if (/^(?:[<>=]){7}/) {
</textarea>
<p>by </p>
<textarea name="code" class="c" cols="50" rows="10">
  if (/^(?:[<>=]){7}$/) {
</textarea>
<p>These tricks worked for me, I hope it could help you.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/04/23/git-error-trailing-whitespace-indent-sp-followed-by-a-tab-unresolved-merge-conflict/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Rails Plugin Annotate Models For Spec And Spec Fixtures</title>
		<link>http://vinsol.com/2008/04/23/rails-plugin-annotate-models-for-spec-and-spec-fixtures/</link>
		<comments>http://vinsol.com/2008/04/23/rails-plugin-annotate-models-for-spec-and-spec-fixtures/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 11:18:14 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
		
	<category>rails</category>
	<category>ruby</category>
	<category>RubyonRails</category>
	<category>subversion</category>
	<category>rails plugins</category>
	<category>Tools</category>
	<category>Git</category>
	<category>VCS</category>
	<category>svn</category>
	<category>annotate_models</category>
	<category>patch</category>
		<guid isPermaLink="false">http://webonrails.com/2008/04/23/rails-plugin-annotate-models-for-spec-and-spec-fixtures/</guid>
		<description><![CDATA[I have been using &#8220;Annotate Models&#8221; rails plugin written by Dave Thomas since I found it around one and half year ago. It really helps while writing fixtures. But if you use RSpec you might miss schema info at the top of your rspec fixture file as I do. So, today I modify the plugin [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using &#8220;Annotate Models&#8221; rails plugin written by Dave Thomas since I found it around one and half year ago. It really helps while writing fixtures. But if you use RSpec you might miss schema info at the top of your rspec fixture file as I do. So, today I modify the plugin file so that it prepends schema info to spec file and fixture file. Below are the links of patch file:</p>
<p><a href="http://webonrails.com/wp-content/plugins/wp-downloadMonitor/download.php?id=9" title="Version 0.1 downloaded 42 times" >svn patch to add schema info to spec file and spec fixture file</a><br />
<a href="http://webonrails.com/wp-content/plugins/wp-downloadMonitor/download.php?id=10" title="Version 0.1 downloaded 44 times" >git patch to add schema info to spec file and spec fixture file</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/04/23/rails-plugin-annotate-models-for-spec-and-spec-fixtures/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Avoiding the Distractions</title>
		<link>http://vinsol.com/2008/04/21/avoiding-the-distractions/</link>
		<comments>http://vinsol.com/2008/04/21/avoiding-the-distractions/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 03:59:44 +0000</pubDate>
		<dc:creator>SUR</dc:creator>
		
	<category>distractions</category>
		<guid isPermaLink="false">http://expressica.com/2008/04/21/avoiding-the-distractions/</guid>
		<description><![CDATA[I was reading something about how to avoid the distractions and the article exemplified it using a scene from the Indian mythology &#8216;Mahabharata&#8217; where the Guru Dronacharya asked all the students to aim at the bird&#8217;s eye sitting at a branch of the tree, then he asked what you can see&#8230; most students replied they [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading something about how to avoid the distractions and the article exemplified it using a scene from the Indian mythology &#8216;Mahabharata&#8217; where the Guru Dronacharya asked all the students to aim at the bird&#8217;s eye sitting at a branch of the tree, then he asked what you can see&#8230; most students replied they can clearly see the branch, tree and the bird&#8230; only Arjuna said he can only see the bird&#8217;s eye&#8230;  At that very young age he had learned the willingness of how to avoid the distractions which are joyful to you. </p>
<p>Here in this post I admit that gaming, especially playing &#8216;Tekken3&#8242; is one of the biggest distraction for me. As whenever I spend continuous hours on work, I get the time out and start playing &#8216;Tekken3&#8242; which surely very much joyful. But, actually I know I make reason to myself to play that game and not actually to take some time off to have rest. Playing game certainly gives some enjoyment but not exactly the rest, I still be in the same position on my desk, sitting on my chair, and playing the game instead of doing the work&#8230; so its almost that I am doing work and not giving rest to my body. So, basically I was not willing enough to say that the game is a distraction for me&#8230; instead I kept on saying that I am playing it to take a time out of the work, But its for sure a wastage of time. And now I am sure enough to say its purely a wastage of time as I have made a resolution to say NO TO GAMES. I am in my 20s and need to conquer many of my dreams and need to work really hard to do so&#8230; which will certainly require killing of all these distractions in my life. And I&#8217;ve started very well by signing off from games&#8230; Though its true that I have a dream to run a Gaming company&#8230; and if I would be able to do so&#8230; the Gaming will also be my work <img src='http://expressica.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So, to take time out from my work I would rather now read my newspaper and I can now allocate the time I used to spend in reading newspaper back to work. Reading newspaper is a required task to be accomplished and would not be a reason to take a forced time out from the work&#8230; moreover I can relax while reading newspaper that I couldn&#8217;t do while gaming. I must say I have dumped a biggest distraction of mine.</p>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/04/21/avoiding-the-distractions/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Acts as solr: Logical Search</title>
		<link>http://vinsol.com/2008/04/15/acts-as-solr-logical-search/</link>
		<comments>http://vinsol.com/2008/04/15/acts-as-solr-logical-search/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 08:37:00 +0000</pubDate>
		<dc:creator>SUR</dc:creator>
		
	<category>acts_as_solr</category>
	<category>logical_search</category>
		<guid isPermaLink="false">http://expressica.com/2008/04/15/acts-as-solr-logical-search/</guid>
		<description><![CDATA[There are a couple of ways described in acts_as_solr documentation for the logical search, with AND or OR operations. But I needed to dig a bit into the code as the documentation is not complete and doesn&#8217;t suggest all the possible implementations of making the complex Logic Gates for searching.
Here I am consolidating various possibilities [...]]]></description>
			<content:encoded><![CDATA[<p>There are a couple of ways described in acts_as_solr documentation for the logical search, with AND or OR operations. But I needed to dig a bit into the code as the documentation is not complete and doesn&#8217;t suggest all the possible implementations of making the complex Logic Gates for searching.<br />
Here I am consolidating various possibilities of Logical Search&#8230;</p>
<p><b>Find all blogs with category ruby or rails</b></p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">

  Blog.find_by_solr("category:rails category:ruby", :operator => :or)

</textarea>
<p>another way</p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
 
 Blog.find_by_solr("category:rails OR category:ruby")

</textarea>
<p><b>Find all blogs with categories ruby and rails</b></p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  Blog.find_by_solr("category:rails category:ruby", :operator => :and)
</textarea>
<p>another way</p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  Blog.find_by_solr("category:rails AND category:ruby")
</textarea>
<h3>Grouping for more precision</h3>
<p><font color='red'>NOTE: mind the grouping using parenthesis, you might get unexpected results without proper grouping.</font></p>
<p><b>Find all blogs with categories ruby or rails with author Sur</b></p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  Blog.find_by_solr("(category:rails OR category:ruby) author:sur")
</textarea>
<p><b>Find all blogs with categories ruby AND rails with author Sur</b></p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  Blog.find_by_solr("(category:rails AND category:ruby) author:sur")
</textarea>
<p><b>Find all blogs with categories ruby or rails with author Sur or David</b></p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  Blog.find_by_solr("(category:rails OR category:ruby) (author:sur OR author:David)")
</textarea>
<p><b>Find all blogs with categories ruby and rails with author Sur or David</b></p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  Blog.find_by_solr("(category:rails AND category:ruby) (author:sur OR author:David)")
</textarea>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/04/15/acts-as-solr-logical-search/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Mongrel to THIN</title>
		<link>http://vinsol.com/2008/04/15/mongrel-to-thin/</link>
		<comments>http://vinsol.com/2008/04/15/mongrel-to-thin/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 04:30:30 +0000</pubDate>
		<dc:creator>SUR</dc:creator>
		
	<category>mongrel</category>
	<category>thin</category>
		<guid isPermaLink="false">http://expressica.com/2008/04/14/mongrel-to-thin/</guid>
		<description><![CDATA[For Rails applications I am using THIN on my local machine since a couple of weeks and found it better than Mongrel. I&#8217;ve started replacing mongrel with THIN on servers as well. THIN leverages the best of the available resources&#8230; It uses mongrel&#8217;s parser along with the Eventmachine and the Rack Ruby libraries which together [...]]]></description>
			<content:encoded><![CDATA[<p>For Rails applications I am using <a href="http://code.macournoyer.com/thin/">THIN</a> on my local machine since a couple of weeks and found it better than Mongrel. I&#8217;ve started replacing mongrel with THIN on servers as well. THIN leverages the best of the available resources&#8230; It uses mongrel&#8217;s parser along with the Eventmachine and the Rack Ruby libraries which together provide better speed, greater requests/sec and certainly consumes lesser memory.</p>
<p>Install THIN by issuing</p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  sudo gem install thin
</textarea>
<p>THIN accepts more or less similar switches as that of mongrel. You start THIN by issuing</p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  thin start -p 9090 -d -e production
</textarea>
<p>-p &#8212; port, defaults to 3000<br />
-e &#8212; environment, defaults to development<br />
-d &#8212; daemonize mode</p>
<p>THIN provides an in built support for clustering and running multiple servers for the same applications. You can start say 3 servers for the single application by providing the -s switch as&#8230;</p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  thin start -p 9090 -d -e production -s 3
</textarea>
<p>And similar to mongrel it will start three servers on the ports 9090, 9091 and 9092.</p>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/04/15/mongrel-to-thin/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Design-o-Logics: Today’s market is the market of Design</title>
		<link>http://vinsol.com/2008/03/25/design-o-logics-today%e2%80%99s-market-is-the-market-of-design/</link>
		<comments>http://vinsol.com/2008/03/25/design-o-logics-today%e2%80%99s-market-is-the-market-of-design/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 05:10:00 +0000</pubDate>
		<dc:creator>SUR</dc:creator>
		
	<category>design</category>
		<guid isPermaLink="false">http://expressica.com/2008/03/24/design-o-logics-todays-market-is-the-market-of-design/</guid>
		<description><![CDATA[Today&#8217;s market is the market of the Design but the technology. Not only related to the web applications but in a very generic sense. The greatly designed application basecamp turned Rails into a favorite framework of numerous programmers all over the globe. But the non-tech end users who are using basecamp don&#8217;t even think on [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s market is the market of the Design but the technology. Not only related to the web applications but in a very generic sense. The greatly designed application basecamp turned Rails into a favorite framework of numerous programmers all over the globe. But the non-tech end users who are using basecamp don&#8217;t even think on which tech it has been built. Its all design and usability that matters. If you are in product business, the technology matters when it comes to scalability. A lots of frameworks offers good scalability&#8230; Rails applications are now even much more scalable. The great thing, which certainly adds up much a +ve biasing to select Rails as a framework of choice is the boost it adds to the development speed for a product business. But, for a services and consultancy most people opt for whats in demand in the market. I really like working on rails, naturally in consultancy it gives good business and in product it adds up a speed which second to none.<br />
But the only thing which is mandatory to be on top with any tech you select for your product is the design and the vice-versa doesn&#8217;t stand here.</p>
<h4>Great words from great design enginners&#8230;</h4>
<blockquote><p>
 With the market being ultra-competitive and high on style, it is not enough to just have a good product &#8212; it has to score good on looks too.
</p></blockquote>
<blockquote><p>
Design gives the consumer an experience and not just a product, which, in turn, leads to a loyal customer base. This is one area where investments are small when compared to the benefits a company can get out of it.
</p></blockquote>
<blockquote><p>
It takes time fort a startup to realize the worth of design. A startup is also, more often than not, cash strapped and thus does not have funds to invest in designing, which is an area that requires huge investments.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/03/25/design-o-logics-today%e2%80%99s-market-is-the-market-of-design/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Nginx: Set up error pages</title>
		<link>http://vinsol.com/2008/03/23/nginx-set-up-error-pages/</link>
		<comments>http://vinsol.com/2008/03/23/nginx-set-up-error-pages/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 04:10:48 +0000</pubDate>
		<dc:creator>SUR</dc:creator>
		
	<category>nginx</category>
		<guid isPermaLink="false">http://expressica.com/2008/03/22/nginx-set-up-error-pages/</guid>
		<description><![CDATA[Setting up custom error pages are needed whenever the app goes in maintenance or when the code gets crashed  &#8230; In Nginx, its fairly simple but once when you know it.
Say your app example.com is residing in /var/www/apps/example
Nginx configurations
say your existing configuration looks like&#8230;

  server{
      listen 80;
  [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up custom error pages are needed whenever the app goes in maintenance or when the code gets crashed <img src='http://expressica.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> &#8230; In Nginx, its fairly simple but once when you know it.</p>
<p>Say your app example.com is residing in /var/www/apps/example</p>
<h4>Nginx configurations</h4>
<p><b>say your existing configuration looks like&#8230;</b></p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  server{
      listen 80;
      server_name .example.com;
      location / {
           proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_set_header Host $http_host;
           proxy_redirect false;
           proxy_pass http://127.0.0.1:9002;
      }
  }
</textarea>
<p><b>add the error page configurations</b></p>
<textarea name="code" class="ruby:nocontrols:nogutter" cols="60" rows="10">
  server{
      listen 80;
      server_name .example.com;
      location / {
           proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_set_header Host $http_host;
           proxy_redirect false;
           proxy_pass http://127.0.0.1:9002;
      }
      error_page 500 502 503 504  /500.html;
      location = /500.html {
          root  /var/www/maintenance/example;
      }
  }
</textarea>
<p>Create the required html error page at /var/www/maintenance/example/500.html.<br />
Now, restart the nginx to reload the configurations by issuing /etc/init.d/nginx restart.<br />
And you are done!</p>
]]></content:encoded>
			<wfw:commentRSS>http://vinsol.com/2008/03/23/nginx-set-up-error-pages/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
