<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Tenmiles Blog</title>
	
	<link>http://tenmiles.com/blog</link>
	<description>Official Tenmiles Blog</description>
	<lastBuildDate>Thu, 22 Sep 2011 06:06:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Tenmiles" /><feedburner:info uri="tenmiles" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Marketing Internship, Chennai, India</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/RSjdUHzB7BA/</link>
		<comments>http://tenmiles.com/blog/2011/09/marketing-internship-chennai-india/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 05:30:13 +0000</pubDate>
		<dc:creator>vinay</dc:creator>
				<category><![CDATA[Jobs]]></category>
		<category><![CDATA[hiring]]></category>
		<category><![CDATA[internships]]></category>
		<category><![CDATA[tenmiles]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=777</guid>
		<description><![CDATA[As part of our plans to grow our operations, we are looking for promising interns who can work as Marketing Coordinators. While we have the marketing know-how and the sales strength, we need smart young people who can execute our ideas in these areas. We&#8217;re thus looking for people who are energetic, can understand markets [...]]]></description>
			<content:encoded><![CDATA[<p>As part of <a title="Tenmiles is growing, and we're hiring!" href="http://tenmiles.com/blog/2011/09/tenmiles-is-growing-and-were-hiring/" target="_blank">our plans</a> to grow our operations, we are looking for promising interns who can work as Marketing Coordinators.</p>
<p>While we have the marketing know-how and the sales strength, we need smart young people who can execute our ideas in these areas. We&#8217;re thus looking for people who are energetic, can understand markets quickly and communicate clearly.</p>
<p>We have <a title="Tenmiles Products Webpage" href="http://tenmiles.com/products.php" target="_blank">products</a> that do most of the selling themselves, so your job is that much easier, and that much more fun! The <a title="Tenmiles Team Webpage" href="http://tenmiles.com/team.php" target="_blank">team</a> is comprised of some of the most interesting people you&#8217;ll come across in the city. And the icing on the cake? &#8211; a monthly paycheck. So if you want to take a shot at this enviable position, and subsequently a possible full time position at Tenmiles, shoot an email to jobs@tenmiles.com and tell us why you think you&#8217;ll fit this role. Be sure to include your mobile number. A resume is optional but make sure it&#8217;s in PDF format if you send it.</p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/RSjdUHzB7BA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/09/marketing-internship-chennai-india/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/09/marketing-internship-chennai-india/</feedburner:origLink></item>
		<item>
		<title>Tenmiles is growing and we’re hiring!</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/UlyyCdFxEuY/</link>
		<comments>http://tenmiles.com/blog/2011/09/tenmiles-is-growing-and-were-hiring/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 05:30:14 +0000</pubDate>
		<dc:creator>vinay</dc:creator>
				<category><![CDATA[Company News]]></category>
		<category><![CDATA[Jobs]]></category>
		<category><![CDATA[chennai]]></category>
		<category><![CDATA[hiring]]></category>
		<category><![CDATA[tenmiles]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=761</guid>
		<description><![CDATA[Tenmiles just turned eleven last week and we are celebrating by expanding our team! Tenmiles is known as that small bunch of interesting people in Chennai who churn out world class software products. We build software that looks great, works like a charm, does the job and doesn&#8217;t take water breaks. With world class products at hand, we&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>Tenmiles just turned eleven last week and we are celebrating by expanding our team!</p>
<p>Tenmiles is known as that small bunch of <a href="http://tenmiles.com/team.php" target="_blank">interesting people</a> in Chennai who churn out world class <a href="http://tenmiles.com/products.php" target="_blank">software products</a>. We build software that looks great, works like a charm, does the job and doesn&#8217;t take water breaks.</p>
<p>With world class products at hand, we&#8217;re now looking to scale our global reach and operations rapidly. We&#8217;ve been one of the few successful and profitable software product companies in the country, and we&#8217;re proud of it. If you would like to be a part of our growth story, have a look at the current openings in our team :-</p>
<p><strong>Engineering</strong></p>
<ul>
<li>Rails Developers<strong> &#8211; </strong><a title="Rails Developer, Chennai, India" href="http://tenmiles.com/blog/2010/04/rails-developer-chennai/" target="_blank">read more</a></li>
<li>Django Developers</li>
<li>iOS Developers &#8211; <a title="iOS Developer, Chennai, India" href="http://tenmiles.com/blog/2011/04/ios-developer-chennai-india/" target="_blank">read more</a></li>
<li>Linux Engineers</li>
<li>QA Engineers</li>
</ul>
<p><strong>Sales &amp; Marketing</strong></p>
<ul>
<li>Channel Managers</li>
<li>Account Managers</li>
<li>Product Marketing Manager &#8211; <a title="Product Marketing, Chennai, India" href="http://tenmiles.com/blog/2010/10/product-evangelism-marketing-chennai/" target="_blank">read more</a></li>
<li>Product Evangelist &#8211; <a title="Product Evangelist, Chennai, India" href="http://tenmiles.com/blog/2010/10/product-evangelism-marketing-chennai/" target="_blank">read more</a></li>
<li>Marketing Coordinators (open to Interns) &#8211; <a title="Marketing Internship, Chennai, India" href="http://tenmiles.com/blog/2011/09/marketing-internship-chennai-india/" target="_blank">read more</a></li>
</ul>
<p>If you think you will fit under any of the above, tell us why you think so by shooting an email to <a href="mailto:jobs@tenmiles.com" target="_blank">jobs@tenmiles.com</a>. We&#8217;re more interested in your practical experience and your passions than how much you scored in 12th grade mathematics. If you want to include your resume, make sure it&#8217;s in PDF format.</p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/UlyyCdFxEuY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/09/tenmiles-is-growing-and-were-hiring/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/09/tenmiles-is-growing-and-were-hiring/</feedburner:origLink></item>
		<item>
		<title>Rails Refactoring tip: Dry up your constants</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/c-PK9lyMsYc/</link>
		<comments>http://tenmiles.com/blog/2011/08/rails-refactoring-tip-move-up-your-constants/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 05:30:59 +0000</pubDate>
		<dc:creator>Lakshman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[refactoring]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=746</guid>
		<description><![CDATA[If you observe your rails app, you might come across some set of values constantly being used. It is a good idea to identify them and dry them up. For example, in the models, you might have used a Regular expression for checking the validity of email attribute. in app/models/account.rb validates_format_of :email,:with =&#62; /(^([^,@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})$)&#124;(^$)/i in [...]]]></description>
			<content:encoded><![CDATA[<p>If you observe your rails app, you might come across some set of values constantly being used. It is a good idea to identify them and dry them up. For example, in the models, you might have used a Regular expression for checking the validity of email attribute.</p>
<p>in app/models/account.rb</p>
<pre> validates_format_of :email,:with =&gt; /(^([^,@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})$)|(^$)/i </pre>
<p>in app/models/delegate.rb</p>
<pre>validates_format_of :email,:with =&gt; /(^([^,@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})$)|(^$)/i</pre>
<p>Don&#8217;t you see, its very hard to keep using it across models or any other ruby files. For this, We can create a file called constants.rb in config/initializers and declare a constant (with a good, rememberable name) there.</p>
<p>In config/initializers/constants.rb</p>
<pre>EMAIL_REGEXP = /(^([^,@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})$)|(^$)/i</pre>
<p>Restart the server now. Then in the model file shown above, we can use it like  </p>
<pre>validates_format_of :email,:with =&gt; EMAIL_REGEXP</pre>
<p>We can use the same technique with other constant values that are used more than once in the application.</p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/c-PK9lyMsYc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/08/rails-refactoring-tip-move-up-your-constants/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/08/rails-refactoring-tip-move-up-your-constants/</feedburner:origLink></item>
		<item>
		<title>Equality Gotcha of ActiveRecord Objects</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/mKjX5Oy8OKc/</link>
		<comments>http://tenmiles.com/blog/2011/07/equality-gotcha-of-activerecord-objects/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 03:30:04 +0000</pubDate>
		<dc:creator>Lakshman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[gotcha]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=723</guid>
		<description><![CDATA[Two Activerecord objects when compared over == operator returns true when they are instances of the same &#8216;model class&#8217; &#38;&#38; if they have same &#8216;id&#8217; values. This operation is not an attribute-by-attribute comparison. Beware, this behavior can give problems when you do a lot of == operations b/w Activerecord objects, in your application, in which [...]]]></description>
			<content:encoded><![CDATA[<p>Two Activerecord objects when compared over == operator returns true when <em>they are instances of the same &#8216;model class&#8217;</em> &amp;&amp; <em>if they have same &#8216;id&#8217; values</em>. This operation is not an attribute-by-attribute comparison. Beware, this behavior can give problems when you do a lot of == operations b/w Activerecord objects, in your application, in which case you need to override == operator of ActiveRecord::Base according to your needs.</p>
<p>Here is a sample behavior of == operator.</p>
<p><strong>ruby-1.9.2-p180 :001 &gt; p1 = Person.first</strong><br />
=&gt; #&lt;Person id: 1, name: &#8220;John&#8221;, email: &#8220;john@gmail.com&#8221;&gt;<br />
<strong>ruby-1.9.2-p180 :002 &gt; p2 = Person.first</strong><br />
=&gt; #&lt;Person id: 1, name: &#8220;John&#8221;, email: &#8220;john@gmail.com&#8221;&gt;<br />
<strong>ruby-1.9.2-p180 :003 &gt; p1.name = &#8220;somethingelse&#8221;</strong><br />
=&gt; &#8220;somethingelse&#8221;<br />
<strong>ruby-1.9.2-p180 :004 &gt; p1.save</strong><br />
=&gt; true<br />
<strong>ruby-1.9.2-p180 :005 &gt; p1</strong><br />
=&gt; #&lt;Person id: 1, name: &#8220;somethingelse&#8221;, email: &#8220;john@gmail.com&#8221;&gt;<br />
<strong>ruby-1.9.2-p180 :006 &gt; p2</strong><br />
=&gt; #&lt;Person id: 1, name: &#8220;John&#8221;, email: &#8220;john@gmail.com&#8221;&gt;<br />
<strong>ruby-1.9.2-p180 :007 &gt; p1 == p2</strong><br />
=&gt; true</p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/mKjX5Oy8OKc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/07/equality-gotcha-of-activerecord-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/07/equality-gotcha-of-activerecord-objects/</feedburner:origLink></item>
		<item>
		<title>Bootstrapping a business without shortcuts</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/OiOUx1lMbJk/</link>
		<comments>http://tenmiles.com/blog/2011/07/bootstrapping-a-business-without-shortcuts/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 05:07:24 +0000</pubDate>
		<dc:creator>Shalin</dc:creator>
				<category><![CDATA[Opinions]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[entrepreneurship]]></category>
		<category><![CDATA[founder]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[vision]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=738</guid>
		<description><![CDATA[It is not hard to Bootstrap a company. Many people think bootstrapping is all about thinking short-term. Generate money for the company today. I think otherwise. Bootstrapping successfully needs a long-term vision. Doing services to bootstrap a product company is short-term. Building minimum viable product, selling as soon as you have a prototype is long-term. [...]]]></description>
			<content:encoded><![CDATA[<p>It is not hard to Bootstrap a company. Many people think bootstrapping is all about thinking short-term. Generate money for the company today. I think otherwise. </p>
<p>Bootstrapping successfully needs a long-term vision. Doing services to bootstrap a product company is short-term. Building minimum viable product, selling as soon as you have a prototype is long-term. </p>
<p>Bootstrapped entrepreneurs are not in business because they see a gap in the market. They start companies because of their ideas and ideology. Sticking to long-term vision is the shortest path to remain viable.</p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/OiOUx1lMbJk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/07/bootstrapping-a-business-without-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/07/bootstrapping-a-business-without-shortcuts/</feedburner:origLink></item>
		<item>
		<title>ActiveRecord Finders: Returns nil or Throws Exception</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/ZIg7cuUlFZU/</link>
		<comments>http://tenmiles.com/blog/2011/07/activerecord-finders-returns-nil-or-throws-exception/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 03:30:01 +0000</pubDate>
		<dc:creator>Lakshman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[activerecord]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=708</guid>
		<description><![CDATA[ActiveRecord finders behave differently for various types of finders. Suppose you have a model called Account. Here are the ways you can get a record with id 34 in the `accounts` table. acc = Account.find(34) acc = Account.where(:id =&#62; 34).first acc = Account.where(:id =&#62; 34) Suppose a record with id = 34 does not exist [...]]]></description>
			<content:encoded><![CDATA[<p><a title="ActiveRecord" href="http://api.rubyonrails.org/classes/ActiveRecord/Base.html" target="_blank">ActiveRecord</a> finders behave differently for various types of finders. Suppose you have a model called Account. Here are the ways you can get a record with id 34 in the `accounts` table.</p>
<p>acc = Account.find(34)<br />
acc = Account.where(:id =&gt; 34).first<br />
acc = Account.where(:id =&gt; 34)</p>
<p>Suppose a record with id = 34 does not exist in `accounts` table. Most programmers would think that the finders will throw ActiveRecord::RecordNotFound exception in all cases. No, thats not the behavior here. In the first case, using &#8216;find&#8217; method returns ActiveRecord::RecordNotFound exception. Where as in the second case using &#8216;where&#8217; method, it returns nil object. In the third case it returns an empty array []</p>
<p><strong>ruby-1.9.2-p180 :001 &gt;</strong> Account.find(34)<br />
ActiveRecord::RecordNotFound: Couldn&#8217;t find Account with ID=34<br />
<strong>ruby-1.9.2-p180 :002 &gt;</strong> Account.where(:id =&gt; 34).first<br />
=&gt; nil<br />
<strong>ruby-1.9.2-p180 :003 &gt;</strong> Account.where(:id =&gt; 34)<br />
=&gt; []</p>
<p>If we find records using &#8216;find&#8217; method, it is assumed that we have prior knowledge of the table &#8216;accounts&#8217; and the primary key values. So, if there is no record with that id, an exception is thrown. If we use &#8216;where&#8217; method to find records, we are querying based on some conditions. If the query finds anything that matches our conditions, it returns the result. If it cannot find any record that matches our conditions, it returns an empty array or nil object.</p>
<p>Empty array is returned when we fire a non-singular query (as in third case). A Nil object is returned if we fire a singular query. This behavior have to be kept in mind when find records and apply conditions on them, in the <a title="Ruby on Rails" href="http://rubyonrails.org/" target="_blank">Rails</a> controllers.</p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/ZIg7cuUlFZU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/07/activerecord-finders-returns-nil-or-throws-exception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/07/activerecord-finders-returns-nil-or-throws-exception/</feedburner:origLink></item>
		<item>
		<title>The day we fired the system admin</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/YtokcvAquQU/</link>
		<comments>http://tenmiles.com/blog/2011/07/the-day-we-fired-the-system-admin/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 04:49:08 +0000</pubDate>
		<dc:creator>Shalin</dc:creator>
				<category><![CDATA[Opinions]]></category>
		<category><![CDATA[get-a-mac]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=695</guid>
		<description><![CDATA[I recently received a call from my cousin, he runs a small brick-mortar business and works really hard. His question on a sunday evening was: &#8220;What anti-virus should I be using?&#8221; My reply was with another question: &#8220;Do you want to have the same call again 6-months later?&#8221; He obviously replied with a No. So, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently received a call from my cousin, he runs a small brick-mortar business and works really hard. His question on a sunday evening was: </p>
<p>&#8220;What anti-virus should I be using?&#8221; </p>
<p>My reply was with another question: &#8220;Do you want to have the same call again 6-months later?&#8221; He obviously replied with a No. </p>
<p>So, I answered him: &#8220;Then, get a Mac!&#8221;. </p>
<p>Now, probably the #1 reason someone wouldn&#8217;t move to Mac in India is a software called Tally. Tally (windows-only) is unarguably the most popular accounting package in India. But then you could simply run windows using parallels or bootcamp and deal with it. </p>
<p>Don&#8217;t get me wrong, I am not saying that you cannot run Windows virus-free and don&#8217;t really have to re-install-the-OS-every-6-months. But it&#8217;s quite hard without good IT support. You just don&#8217;t need an anti-virus, but probably also need a firewall and a malware blocker, and a more secure browser. Keep all of it updated (using their own unique update process) all the time. I know it&#8217;s not that hard, but most people don&#8217;t want to do this. </p>
<p>At Tenmiles, we started with Dell desktops running Windows. A server running Windows Server 2000. We mastered it all to ensure there is zero-downtime but as we hired more and more people we realized we had to make them familiar with all those little things that make the difference. From knowing what service pack they are using to understanding how an array of tools help us stay safe. Nevertheless, many of them called me or one of the know-all guys for help. We loved the adventure of fixing stuff. Then, one-day, I bought a Mac. Used it at work. </p>
<p>The first few weeks, the signals I got from my co-workers was, he has made a lot of money &#8211; so he is buying expensive designer stuff and soon will fall flat when he gets troubled by compatibility with the majority of us (and the software). A few months later, few folks at office decided to buy their own Macs at their own expense as their primary work machine. I was soon forgetting all the Win-OS expertise I had learnt over the years. </p>
<p>Instead of hiring a system admin, I actually fired the system-admin role in me and my colleague. We started buying Macs for everyone. </p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/YtokcvAquQU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/07/the-day-we-fired-the-system-admin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/07/the-day-we-fired-the-system-admin/</feedburner:origLink></item>
		<item>
		<title>Starting up: 5 Reasons to hire freshers</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/k5tcEMRQvw0/</link>
		<comments>http://tenmiles.com/blog/2011/07/starting-up-5-reasons-to-hire-freshers/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 05:00:01 +0000</pubDate>
		<dc:creator>Shalin</dc:creator>
				<category><![CDATA[Insights]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[entrepreneurship]]></category>
		<category><![CDATA[hire]]></category>
		<category><![CDATA[hiring]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=676</guid>
		<description><![CDATA[At Tenmiles freshers have played a huge role in building the company &#8211; they&#8217;ve stayed the longest and most importantly delivered top-notch production ready work. Many years ago when &#8216;startups&#8217; and product companies were not so often spoken about (hyped?), it was much easier hiring great freshers compared to the experienced lot with already fat [...]]]></description>
			<content:encoded><![CDATA[<p>At Tenmiles freshers have played a huge role in building the company &#8211; they&#8217;ve stayed the longest and most importantly delivered top-notch production ready work. Many years ago when &#8216;startups&#8217; and product companies were not so often spoken about (hyped?), it was much easier hiring great freshers compared to the experienced lot with already fat pay checks in services companies. </p>
<p>So, if you are hiring, think hard about hiring freshers as well.</p>
<p>#5: <strong>They are in-expensive</strong>: They are not going to cost you an arm and a leg. While money is important as they begin, good chances that a talented person is on a look out for the right job and pay is not the most critical requirement. </p>
<p>#4: <strong>They share their experience</strong>: They are most likely to talk about their work to all their friends. Everyone&#8217;s probably got a job and are reaching out to each other updating where they are and what they are doing. A fresher any day spreads the word faster about your company. </p>
<p>#3: <strong>Likely to stay longer</strong>: They are fresh and you are probably the first one to mould, motivate and inspire them. They don&#8217;t just get a pay-check but also all the guidance they require to nurture their talent. If you&#8217;ve got this right, they are likely to stick around lot longer and be a part of the growth story. </p>
<p>#2: <strong>They are young</strong>: They&#8217;ve just passed out of college. They start looking at your company as an outsider without too much mental baggage about how other companies work. They bring in a fresh perspective and ideas to the table. They are full of energy and can really slog to make things possible. </p>
<p>#1: <strong>They are hungry</strong>: This is what I love the most about hiring freshers. They are hungry and foolish. They want to win the world. They want to make a difference. They are eagerly waiting for recognition that does not look like a marksheet or a certificate. They were waiting for this day and you&#8217;ve got an opportunity to turn their enthusiasm into great work. </p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/k5tcEMRQvw0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/07/starting-up-5-reasons-to-hire-freshers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/07/starting-up-5-reasons-to-hire-freshers/</feedburner:origLink></item>
		<item>
		<title>Rails Performance Tip: Query Optimization</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/4RH7lUKQU_k/</link>
		<comments>http://tenmiles.com/blog/2011/07/rails-performance-tip-query-optimization/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 08:21:34 +0000</pubDate>
		<dc:creator>Lakshman</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=661</guid>
		<description><![CDATA[Rails applications will get significant performance boost if the sql queries sent to the database are optimized. Database must not be hit with requests unless there is an absolute necessity. Two Basic steps for Optimization: Add database indexes on all foreign keys add_index :tasks, :project_id Use Eager loading to avoid n+1 query problems, in sensible [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://rubyonrails.org" title="Rails">Rails</a> applications will get significant performance boost if the sql queries sent to the database are optimized. Database must not be hit with requests unless there is an absolute necessity. </p>
<p><strong>Two Basic steps for Optimization:</strong></p>
<ol>
<li>Add database indexes on all foreign keys</li>
<pre>add_index :tasks, :project_id</pre>
<li>Use Eager loading to avoid n+1 query problems, in sensible places.</li>
<pre>Project.find(12).includes(:tasks, :notes)</pre>
<p><strong>QueryReviewer gem:</strong>
</ol>
<p>This gem helps a lot in optimizing the SQL queries. For every page request, it gives good statistics on the number of queries, number of slow queries, in-efficient queries etc.,<br />
<a href="https://github.com/nesquena/query_reviewer">Check it out</a>.</p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/4RH7lUKQU_k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/07/rails-performance-tip-query-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/07/rails-performance-tip-query-optimization/</feedburner:origLink></item>
		<item>
		<title>Monday mornings, an entrepreneurs take</title>
		<link>http://feedproxy.google.com/~r/Tenmiles/~3/YhreYSRwtCI/</link>
		<comments>http://tenmiles.com/blog/2011/07/monday-mornings-an-entrepreneurs-take/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 04:40:29 +0000</pubDate>
		<dc:creator>Shalin</dc:creator>
				<category><![CDATA[Insights]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[entrepreneurship]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://tenmiles.com/blog/?p=657</guid>
		<description><![CDATA[Sunday night makes me think I am still at school, waiting to get out and start a business. Meet the real world. I must admit, I love monday mornings. I think many entrepreneurs I know love getting back to work &#8211; be it monday morning or back from a holiday. Some actually work most of [...]]]></description>
			<content:encoded><![CDATA[<p>Sunday night makes me think I am still at school, waiting to get out and start a business. Meet the real world. I must admit, I love monday mornings. I think many entrepreneurs I know love getting back to work &#8211; be it monday morning or back from a holiday. Some actually work most of the times during the weekend and get lot more work done than the they would the whole week. Irrespective, monday mornings are both important and inviting. </p>
<p>I can share all the thoughts I had over the weekend with my team. Reset priorities for the week. Start engaging with customers. Get responses to the emails I sent all of Friday. To say the least, get to do what you love to do the most. </p>
<p>Welcome, monday morning! </p>
<img src="http://feeds.feedburner.com/~r/Tenmiles/~4/YhreYSRwtCI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://tenmiles.com/blog/2011/07/monday-mornings-an-entrepreneurs-take/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://tenmiles.com/blog/2011/07/monday-mornings-an-entrepreneurs-take/</feedburner:origLink></item>
	</channel>
</rss>

