<?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>Ankur Shah's random thoughts!</title>
	<atom:link href="http://www.ankurshah.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ankurshah.net/blog</link>
	<description>A place where Ankur posts random thoughts, mostly personal and technology related.</description>
	<lastBuildDate>Sat, 27 Mar 2010 17:58:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SOLVED: Forward IP/Port request to another WAN IP</title>
		<link>http://www.ankurshah.net/blog/2010/03/solved-forward-ipport-request-to-another-wan-ip/</link>
		<comments>http://www.ankurshah.net/blog/2010/03/solved-forward-ipport-request-to-another-wan-ip/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 17:54:04 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=174</guid>
		<description><![CDATA[I recently had a requirement from a client to &#8220;proxy&#8221; all requests to a particular IP. Reason being, they wanted to force the DNS updates onto their end-users who had their DNS servers lagged. Also, the point is to redirect users who had the IP address &#8220;bookmarked&#8221;. IAC, being a IPTABLES follower, the task turned [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a requirement from a client to &#8220;proxy&#8221; all requests to a particular IP. Reason being, they wanted to force the DNS updates onto their end-users who had their DNS servers lagged. Also, the point is to redirect users who had the IP address &#8220;bookmarked&#8221;. IAC, being a IPTABLES follower, the task turned out to be a lot trivial than I had anticipated. </p>
<p>There are tons of resources on the web on how to do similar things, including using third-party solutions, but most advises are around port-forwarding requests to a NAT&#8217;ed IP. So, since I was able to figure out the god-sent IPTABLE&#8217;s masquerade feature, I figured I&#8217;d capture it here, both for my future reference and for others who are trying to do same thing. As always, if this helps you in any way, a simple &#8220;Thank You&#8221; comment is always appreciated <img src='http://www.ankurshah.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So here goes:</p>
<p>The first thing to do is do enable IP forwarding. This is done either by using:<br />
<code><br />
#echo "1" > /proc/sys/net/ipv4/ip_forward<br />
</code><br />
or<br />
<code><br />
#sysctl net.ipv4.ip_forward=1<br />
</code><br />
Then, we will add a rule telling IPTABLES&#8217; PREROUTING chain to &#8220;forward&#8221; the traffic on port 80 to ip 2.2.2.2 on port 80:<br />
<code><br />
#iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 2.2.2.2:80<br />
</code><br />
and finally, we ask IPtables to masquerade:<br />
<code><br />
iptables -t nat -A POSTROUTING -j MASQUERADE<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2010/03/solved-forward-ipport-request-to-another-wan-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOLVED: SSHD &#8220;/bin/bash:permission denied&#8221; on Windows 7</title>
		<link>http://www.ankurshah.net/blog/2009/10/solved-sshd-binbashpermission-denied-on-windows-7/</link>
		<comments>http://www.ankurshah.net/blog/2009/10/solved-sshd-binbashpermission-denied-on-windows-7/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 19:27:13 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=166</guid>
		<description><![CDATA[I&#8217;ve been having a hard time getting sshd to accept logins on a Windows 7 x64 box.  The problems ranged from the error mentioned in the subject line (&#8220;/bin/bash: permission denied&#8221; appearing during logins) to silent failures during password authentication, during which the ssh
connection would simply be closed by the instance of Cygwin sshd [...]]]></description>
			<content:encoded><![CDATA[<p><span>I&#8217;ve been having a hard time getting sshd to accept logins on a Windows 7 x64 box.  The problems ranged from the error mentioned in the subject line (&#8220;/bin/bash: permission denied&#8221; appearing during logins) to silent failures during password authentication, during which the ssh<br />
connection would simply be closed by the instance of Cygwin sshd running on my machine.</span></p>
<p>As it turns out, all my problems were caused by the fact that the sshd_server user being created by the ssh-host-config script was not being given all the required privileges.  I&#8217;m not sure why, but I found an online description of the rights required by sshd_server and used the<br />
&#8220;editrights&#8221; utility to grant them.  I then deleted my ~/.ssh directory (definitively to erase the known_hosts file), restarted sshd, and everything began to work perfectly.</p>
<p>Unfortunately, I neglected to record which privileges had been granted to the sshd_server user on my system before I started granting additional ones, but as far as I remember sshd_server only had 2 or so of the 8 privileges granted.</p>
<p>In case the information helps anyone else, here is a list of the privileges that the sshd_server user appears to need:</p>
<blockquote><p>SeIncreaseQuotaPrivilege<br />
SeTcbPrivilege<br />
SeAssignPrimaryTokenPrivilege<br />
SeCreateTokenPrivilege<br />
SeServiceLogonRight<br />
SeDenyInteractiveLogonRight<br />
SeDenyNetworkLogonRight<br />
SeDenyRemoteInteractiveLogonRight</p></blockquote>
<p>To determine which privileges sshd_server has on your system, use this<br />
command:</p>
<blockquote><p>editrights -u sshd_server -l</p></blockquote>
<p>And here are the commands necessary to grant the above privileges to<br />
sshd_server:</p>
<blockquote><p>editrights -a SeTcbPrivilege -u sshd_server<br />
editrights -a SeAssignPrimaryTokenPrivilege -u sshd_server<br />
editrights -a SeCreateTokenPrivilege -u sshd_server<br />
editrights -a SeDenyInteractiveLogonRight -u sshd_server<br />
editrights -a SeDenyNetworkLogonRight -u sshd_server<br />
editrights -a SeDenyRemoteInteractiveLogonRight -u sshd_server<br />
editrights -a SeIncreaseQuotaPrivilege -u sshd_server<br />
editrights -a SeServiceLogonRight -u sshd_server</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2009/10/solved-sshd-binbashpermission-denied-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Stop following me, Palm!</title>
		<link>http://www.ankurshah.net/blog/2009/08/stop-following-me-palm/</link>
		<comments>http://www.ankurshah.net/blog/2009/08/stop-following-me-palm/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 04:09:32 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[palmpre]]></category>
		<category><![CDATA[sprint]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=158</guid>
		<description><![CDATA[Just when I thought Palm was about to regain the stock back in the smart phone industry with the release of it&#8217;s Pre, I was corrected by a post from Joey Hess on how Palm has been sneaking behind my back and collecting my personal data, including names of installed apps, application usage (and crashes), [...]]]></description>
			<content:encoded><![CDATA[<p>Just when I thought Palm was about to regain the stock back in the smart phone industry with the release of it&#8217;s Pre, I was corrected by a <a href="http://www.kitenet.net/~joey/blog/entry/Palm_Pre_privacy/" target="_blank">post from Joey Hess</a> on how Palm has been sneaking behind my back and collecting my personal data, including names of installed apps, application usage (and crashes), as well as GPS coordinates (!)</p>
<p>I will say that the Pre is one of the better phones I&#8217;ve had so far, and believe me, I&#8217;ve owned plenty.  I always thought that if Palm plays it&#8217;s cards right, it can give the iPhone the run for it&#8217;s money. This move, however, is far from good IMO.</p>
<p>Now, more on the issue: In addition to Joey&#8217;s findings, I can see the status of the data upload in the file <em>/tmp/uploadd-upload-response</em></p>
<blockquote><p>root@castle:/tmp# cat uploadd-upload-response<br />
cat uploadd-upload-response<br />
HTTP/1.1 100 Continue</p>
<p>HTTP/1.1 200 OK<br />
Server: Apache-Coyote/1.1<br />
Content-Type: text/html;charset=ISO-8859-1<br />
Date: Thu, 13 Aug 2009 00:54:36 GMT<br />
Transfer-Encoding: chunked<br />
Connection: Keep-alive</p>
<p>A Servlet</p>
<p>File was uploaded successfully.<br />
ID:RDX-32350843</p></blockquote>
<p><strong>Update:</strong><a href="http://www.engadget.com/2009/08/12/pre-phones-home-with-your-location-which-explains-the-black-hel/">Engadget</a> adds some more light to this event and states that the shipping of the personal data is somehow related to using Google and it&#8217;s unclear if Palm is simply piping the data to them, among other things. Either way, I&#8217;m pretty confident that I didn&#8217;t allow anyone &#8212; Google, Palm or anyone else &#8212; to be sucking data without my consent. I realize that the Palm profile lives elsewhere, but it only backs up data that *I* know about. I&#8217;m sure it doesn&#8217;t record my GPS coordinates.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2009/08/stop-following-me-palm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sprint hash codes</title>
		<link>http://www.ankurshah.net/blog/2009/07/sprint-hash-codes/</link>
		<comments>http://www.ankurshah.net/blog/2009/07/sprint-hash-codes/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 16:04:46 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[palmpre]]></category>
		<category><![CDATA[sprint]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=149</guid>
		<description><![CDATA[Enjoy these hash codes from Sprint. I have the list compiled for the Palm Pre, but most of these codes should work on other Sprint phones, as well:
##STICKYDIALER# (784259342537)
This enables/disables the Sticky Dialer feature. The sticky dialer feature, when enabled, allows the phone app to run in the background. It is enabled by default. When [...]]]></description>
			<content:encoded><![CDATA[<p>Enjoy these hash codes from Sprint. I have the list compiled for the Palm Pre, but most of these codes should work on other Sprint phones, as well:</p>
<p><strong>##STICKYDIALER# (784259342537)</strong><br />
This enables/disables the Sticky Dialer feature. The sticky dialer feature, when enabled, allows the phone app to run in the background. It is enabled by default. When it is disabled, the phone application closes when it is not the &#8220;focused&#8221; card. This means that if you open the phone app, then go to browse the net, the phone app closes.</p>
<p><strong>##TTY# (889)</strong><br />
Enables/disables TTY.</p>
<p><strong>##GPS# (477)</strong><br />
This will give you location, altitude, speed, and accuracy information gathered via GPS.</p>
<p><strong>##RTN# (786)</strong><br />
This the Phone Information page. It tells you how many minutes the unit has on it, how much data has transpired, the warranty date, ESN, phone number, software and hardware revisions, refurbished status, etc. Note: Please be careful with the options in the pull-down menu.<br />
<strong>Code for Pre: 796174</strong><br />
<strong>Code for Touch Pro: 423175</strong></p>
<p><strong>##DEBUG# (33284)</strong><br />
CDMA phone info screen, which contains a bunch of technical data on your curent signal and tower connection. Signal strength is given as RSSI, which stands for Received Signal Strength Indicator. The closer to zero the RSSI value, the better the signal.</p>
<p><strong>##EVDO# (3836)</strong><br />
Launches EVDO Settings. It gives you the options to force your pre into the following options: 1xRTT only, EVDO Rev 0 only, Hybrid Rev 0, EVDO only, or Hybrid Rev A (meaning pick the best available). Hybrid Rev A is likely to get you the best speed, but if you don&#8217;t have good reception in your area, you may want to choose something else to conserve battery life.</p>
<p><strong>##DATA# (3282)</strong><br />
This stores all of your Sprint Data login information, including default gateway, etc. I don&#8217;t recommend changing these settings unless your data services are not working.</p>
<p><strong>##VPON# (8766)</strong><br />
Voice privacy enabled.</p>
<p><strong>##VPOFF# (87633)</strong><br />
Voice privacy disabled.</p>
<p><strong>##(MSL)# (Whatever your phone&#8217;s MSL is)</strong><br />
This allows you to see/change your number. Do NOT change this to a number without notifying Sprint, or your phone will no longer work.</p>
<p><span style="text-decoration: underline;"><em>Please exercise EXTREME caution when using the following codes…if you do something incorrectly, your phone will NO LONGER WORK, and you will have to contact Sprint technical support.:</em></span></p>
<p><strong>##AKEY# (2539)</strong><br />
Allows you to re-enter the 26-digit AKey on CDMA devices. Note: An incorrect AKey will deactivate the phone and you will need to contact technical support for the AKey.</p>
<p><strong>##PREV# (7738)</strong><br />
Opens Mobile Protocol Revision menu.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2009/07/sprint-hash-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>$tweet tweeting from shell / command-line</title>
		<link>http://www.ankurshah.net/blog/2009/06/tweet-tweeting-from-shell-command-line/</link>
		<comments>http://www.ankurshah.net/blog/2009/06/tweet-tweeting-from-shell-command-line/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:47:38 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[tmp]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=143</guid>
		<description><![CDATA[Here&#8217;s my attempt at giving something back to the software world. While playing with the twitter API (which is uber-cool, BTW), it seemed I could update the status on my twitter account by simply doing an HTTP POST. Being a shell junkie that I am, I quickly whipped out a bash script, combined it with [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s my attempt at giving something back to the software world. While playing with the twitter API (which is uber-cool, BTW), it seemed I could update the status on my twitter account by simply doing an HTTP POST. Being a shell junkie that I am, I quickly whipped out a bash script, combined it with the power of <a href="http://curl.haxx.se">cURL</a>, and was able to &#8220;tweet&#8221; away in minutes.</p>
<p>Check it out. Source code provided <a href="http://www.ankurshah.net/dev/etc/tweet">here</a> under the <a href="http://www.gnu.org/licenses/gpl.txt">GPL License</a>. Comments and feedback are welcome.</p>
<p>Pre-requisites are bash (though ksh should work, too) and curl. Here&#8217;s how you would use the program:<br />
<code><br />
$tweet<br />
Usage: ./tweet <message><br />
</code></p>
<p>Be sure to change the twitter username (either directly in the script where it says &#8220;ankur_shah&#8221; or by setting your &#8220;TW_UID&#8221; environment variable)<br />
<code><br />
$tweet hola mundo</p>
<p>[9782 2009-06-24 12:45:38] Message length: 10<br />
Please enter your twitter password:<br />
[9782 2009-06-24 12:45:44] Posting message<br />
[9782 2009-06-24 12:45:56] Got result [XML response from twitter]<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2009/06/tweet-tweeting-from-shell-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco got no love for Windows 64-bit? OSS is here to save you!</title>
		<link>http://www.ankurshah.net/blog/2009/03/cisco-got-no-love-for-windows-64-bit-dont-worry-cygwinlinuxbsd-is-here-to-save-you/</link>
		<comments>http://www.ankurshah.net/blog/2009/03/cisco-got-no-love-for-windows-64-bit-dont-worry-cygwinlinuxbsd-is-here-to-save-you/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 15:15:39 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=89</guid>
		<description><![CDATA[After my recent laptop upgrade, I bacame a [forced?] owner of Windows Vista 64-bit OS. Well, of course I didn&#8217;t waste any time and multi-booted the puppy with Ubuntu and OSX (yes, that&#8217;s Mac OSX). Long story short and while trying to install the Cisco VPN onto my windows slice, I discovered that Cisco does [...]]]></description>
			<content:encoded><![CDATA[<p>After my recent laptop upgrade, I bacame a [forced?] owner of Windows Vista 64-bit OS. Well, of course I didn&#8217;t waste any time and multi-booted the puppy with Ubuntu and OSX (yes, that&#8217;s Mac OSX). Long story short and while trying to install the Cisco VPN onto my windows slice, I discovered that Cisco does not support the 64-bit OS, and worse, &#8220;has no current plans to provide support&#8221; either! Oh sure, they&#8217;re holding out the upgrade for the upcoming 128 or 256 bit OSs; I mean, seriously?!</p>
<p>Anywho, for us disgruntled Cisco VPN users, there&#8217;s some good news after all: We have the OSS community to save us. If you don&#8217;t want to take the dive into installing another OS (I recommend giving it a try, at least), download <a href="http://www.cygwin.com/" target="_blank">cygwin</a> and install <a href="http://paolo.zarpellon.googlepages.com/" target="_blank">vpnc</a> on it. It works rather nicely with the expensive and now-seemingly-defunct Cisco hardware.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2009/03/cisco-got-no-love-for-windows-64-bit-dont-worry-cygwinlinuxbsd-is-here-to-save-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Solved] Eclipse IDE (Access Restriction) issue</title>
		<link>http://www.ankurshah.net/blog/2009/02/solved-eclipse-ide-access-restriction/</link>
		<comments>http://www.ankurshah.net/blog/2009/02/solved-eclipse-ide-access-restriction/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 14:55:15 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=83</guid>
		<description><![CDATA[For the sake of keeping it as brief as possible, while saving you Eclipse IDE users hours of aggravation around the infamous &#8220;Access Restriction&#8221; issue, this is what usually does the trick for me. YMMV, of course:
1. Right-Click on your project and go to &#8220;Properties&#8221;.
2. Go to &#8220;Java Compiler -&#62; Errors/Warnings&#8221;.
3. Check &#8220;Enable project specific [...]]]></description>
			<content:encoded><![CDATA[<p>For the sake of keeping it as brief as possible, while saving you Eclipse IDE users hours of aggravation around the infamous &#8220;Access Restriction&#8221; issue, this is what usually does the trick for me. YMMV, of course:</p>
<p>1. Right-Click on your project and go to &#8220;Properties&#8221;.</p>
<p>2. Go to &#8220;Java Compiler -&gt; Errors/Warnings&#8221;.</p>
<p>3. Check &#8220;Enable project specific settings&#8221; and then go under &#8220;Deprecated and restricted API&#8221;.</p>
<p>4. Change &#8220;Forbidden reference (access rules)&#8221; to &#8220;Warning&#8221; from &#8220;Error&#8221;.</p>
<p>5. Leave a small &#8220;thank you&#8221; comment if this saves your day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2009/02/solved-eclipse-ide-access-restriction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new chapter in history starts today</title>
		<link>http://www.ankurshah.net/blog/2009/01/a-new-chapter-in-history-starts-today/</link>
		<comments>http://www.ankurshah.net/blog/2009/01/a-new-chapter-in-history-starts-today/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 16:25:49 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Etc]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=76</guid>
		<description><![CDATA[I&#8217;m watching the inauguration of soon-to-be now elected president Barack H. Obama go down at the Capitol hill. Also physically present are as many as 2 million people surrounding miles around the podium to witness the historic event unfold as the first ever African American president gets elected the 44th president of the country.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m watching the inauguration of <span style="text-decoration: line-through;">soon-to-be</span> now elected president Barack H. Obama go down at the Capitol hill. Also physically present are as many as 2 million people surrounding miles around the podium to witness the historic event unfold as the first ever African American president gets elected the 44th president of the country.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2009/01/a-new-chapter-in-history-starts-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>30 Life Lessons Learned by Age 30</title>
		<link>http://www.ankurshah.net/blog/2008/11/30-life-lessons-learned-by-age-30/</link>
		<comments>http://www.ankurshah.net/blog/2008/11/30-life-lessons-learned-by-age-30/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 20:53:37 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=64</guid>
		<description><![CDATA[Yes, I&#8217;ve taken the leap into the big 3-0! Time sure flies. Seems like just yesterday that I was in my mid teens and was horribly spoilt as a kid. By the time I was 22, I was a full-time student working on the final year of my Master&#8217;s degree, I was a resident assistant [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, I&#8217;ve taken the leap into the big 3-0! Time sure flies. Seems like just yesterday that I was in my mid teens and was horribly spoilt as a kid. By the time I was 22, I was a full-time student working on the final year of my Master&#8217;s degree, I was a resident assistant at college, AND I was doing a full-time job as a software engineer. All while trying to maintain a healthy social life. It wasn&#8217;t exactly the easiest life to manage then, but fortunately I made through all of that unscathed. Forwarding a few years to the present day, I&#8217;ve been blessed to have learned a few things over my professional and personal life that I figured I&#8217;d share here. Take it for what it&#8217;s worth:</p>
<ol>
<li>Rule number one: Never lose money. Rule number two: Never forget rule number one.</li>
<li>Motivation comes in short bursts.  Act while it’s hot.</li>
<li>Do not demean anyone, no matter the situation. It might be sooner than you know when the roles might reverse.</li>
<li>It takes years to build a reputation and seconds to ruin it. If you think about that, you&#8217;ll do things differently.</li>
<li>Follow your own advice.</li>
<li>It&#8217;s all about delivering. If you think you have a &#8220;vision&#8221;, but can&#8217;t deliver fast enough (remember, timing is everything!), surround yourself with people who can.</li>
<li>No matter the consequences, those who are honest with themselves get farther in life.</li>
<li>While it may not be so easy at times, always try to have a positive attitude towards everything.</li>
<li>It&#8217;s not what happens to you, it&#8217;s what you do about it.</li>
<li>People you care most about in life are taken from you too soon.</li>
<li>Bad things do happen to good people.</li>
<li>You should not compare yourself to the best others can do, but to the best you can do.</li>
<li>It&#8217;s not what you have in life, but who you have in life that counts.</li>
<li>No matter how much you care, some people just don&#8217;t care back. And it&#8217;s not the end of the world.</li>
<li>Love has nothing to do with looks but everything to do with time, trust, and interest.</li>
<li>I&#8217;ve learned that greed will bury even the lucky eventually.</li>
<li>Chance is a gift, so act on chance when given the opportunity.</li>
<li>People deserve a second chance, but not a third.</li>
<li>Your actions now create memories you will reminisce and talk about in your elder years.</li>
<li>Taking ownership of failure builds the foundation for success.</li>
<li>If you never act, you will never know for sure.</li>
<li>Risk comes from not knowing what you&#8217;re doing.</li>
<li>If you don&#8217;t know jewelry, know the jeweller.</li>
<li>You cannot make someone like you. All you can do is be someone who can be liked. The rest is up to them.</li>
<li>There are people who love you dearly, but just don&#8217;t know how to show it.</li>
<li>It takes years to build up trust, and only seconds to destroy it.</li>
<li>Our background and circumstances may have influenced who we are, but we are responsible for who we become.</li>
<li>Just because two people argue, it doesn&#8217;t mean that they don&#8217;t love each other.</li>
<li>Two people can look at the exact same thing and see it totally different.</li>
<li>Talking can ease emotional pains.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2008/11/30-life-lessons-learned-by-age-30/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Still believe in supply/demand?</title>
		<link>http://www.ankurshah.net/blog/2008/10/still-believe-in-supplydemand/</link>
		<comments>http://www.ankurshah.net/blog/2008/10/still-believe-in-supplydemand/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 17:03:36 +0000</pubDate>
		<dc:creator>Ankur Shah</dc:creator>
				<category><![CDATA[Finance]]></category>
		<category><![CDATA[economics]]></category>

		<guid isPermaLink="false">http://www.ankurshah.net/blog/?p=66</guid>
		<description><![CDATA[Exxon Mobile, the world&#8217;s biggest publicly traded company (no offense, VW) today announced their biggest US quarterly profit EVER. With the way the economy has been working it&#8217;s course this year, as the biggest banks are either going under or are being taken over, thousands are being forced to evict their foreclosed homes, inflation doubling [...]]]></description>
			<content:encoded><![CDATA[<p>Exxon Mobile, the world&#8217;s biggest publicly traded company (no offense, VW) today announced their <a href="http://www.mercurynews.com/markets/ci_10854501" target="_blank">biggest US quarterly profit <strong>EVER</strong></a>. With the way the economy has been working it&#8217;s course this year, as the biggest banks are either going under or are being taken over, thousands are being forced to evict their foreclosed homes, inflation doubling while the GDP is shrinking, and so many more things going wrong with the economics of this country, am I alone to think that there&#8217;s something grossly wrong with the Exxon&#8217;s apparent &#8220;accomplishment&#8221;?</p>
<p>I mean, really. I want to hear someone spinning the current oil/gas price situation as an artifact of supply and demand, which, as far as I know, fundamentally are the backbone of a market or a country&#8217;s economy? Either that, or <a href="http://bluehawk.monmouth.edu/~dmoliver/" target="_blank">Dr. Moliver</a> and <a href="http://bluehawk.monmouth.edu/~naslanbe/" target="_blank">Dr. Aslanbeigui</a> did an aweful job in teaching me the concepts of micro and macro economics back when I was in college, respectively.</p>
<p>On the contrary, I don&#8217;t believe it&#8217;s speculation, or market correction. But instead, it&#8217;s sheer price fixing by the Exxon&#8217;s and Shell&#8217;s (OPEC?) of the world. They have their balance sheets to show for it, too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ankurshah.net/blog/2008/10/still-believe-in-supplydemand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
