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

<channel>
	<title>ankur.org</title>
	<atom:link href="http://blog.ankur.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ankur.org</link>
	<description>Ankur Bulsara</description>
	<pubDate>Tue, 18 Nov 2008 07:39:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Send email as a text message to your iphone</title>
		<link>http://blog.ankur.org/2008/11/18/send-email-as-a-text-message-to-your-iphone/</link>
		<comments>http://blog.ankur.org/2008/11/18/send-email-as-a-text-message-to-your-iphone/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 07:39:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

		<guid isPermaLink="false">http://blog.ankur.org/?p=46</guid>
		<description><![CDATA[If you want to email your phone and have it received as a text message, simple send an email to:
[10 digit iphone number]@txt.att.net
This will work for any iphone, or att customer.
This is useful if you want to have email alerts (like when the DOW goes below 8000) sent to your phone.
]]></description>
			<content:encoded><![CDATA[<p>If you want to email your phone and have it received as a text message, simple send an email to:</p>
<p><strong>[10 digit iphone number]@txt.att.net</strong></p>
<p>This will work for any iphone, or att customer.</p>
<p>This is useful if you want to have email alerts (like when the DOW goes below 8000) sent to your phone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/11/18/send-email-as-a-text-message-to-your-iphone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySpace still more fun than Facebook</title>
		<link>http://blog.ankur.org/2008/10/18/myspace-still-more-fun-than-facebook/</link>
		<comments>http://blog.ankur.org/2008/10/18/myspace-still-more-fun-than-facebook/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 19:36:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

		<category><![CDATA[social networks]]></category>

		<guid isPermaLink="false">http://blog.ankur.org/?p=45</guid>
		<description><![CDATA[Full disclosure: I work at MySpace as a consultant on the MDP (MySpace Developer Platform) team.
I now use both social networks on a daily basis. And these are my observations:

Bulletins on myspace are funnier than posted items on Facebook. On MySpace, the bulletins tend to be funny, irreverant videos and images. On facebook, the posted [...]]]></description>
			<content:encoded><![CDATA[<p>Full disclosure: I work at MySpace as a consultant on the MDP (MySpace Developer Platform) team.</p>
<p>I now use both social networks on a daily basis. And these are my observations:</p>
<ul>
<li>Bulletins on myspace are funnier than posted items on Facebook. On MySpace, the bulletins tend to be funny, irreverant videos and images. On facebook, the posted items tend to be less funny images and reposts of New York Times repetititive and whiny op-ed columns. If I want the news, I&#8217;ll *read* the news.</li>
<li>MySpace has less of your coworkers and so users feel more at ease to be themselves. Case in point: I have friend profiles on myspace that are public, but private on facebook.</li>
<li>It&#8217;s still about the music. iLike is arguably Facebook&#8217;s de-facto music application. It&#8217;s a great app but it still doesn&#8217;t compare to the complete integration of music that MySpace has achieved. Being a musician and music-lover, this is what I care most about. I can listen to *full* songs, add them to playlists, listen to my friends playlists. It&#8217;s now a full-on personal and social radio station with whatever music I want. On facebook not everyone has the iLike app installed and I don&#8217;t always see the music notifications in my news feed. On MySpace, music is a first-class citizen. On Facebook, it&#8217;s a second-class citizen. Until this changes, MySpace will continue to be the social-network of choice for bands and music fans.</li>
<li>The chicks are cuter on myspace. It&#8217;s just true.</li>
</ul>
<p>I think that these observations are largely dependent on the demographic of friends you have on each social network. On MySpace, I definitely have more artsy, musically-inclined friends. The profile customization and freedom on MySpace attracts these freer individuals. On Facebook, I have a more heterogenous set that includes friends, family, coworkers, school friends, etc.</p>
<p>The end result is that I end up going to Facebook to learn and see what my friends are doing. But I go to MySpace to get a laugh, listen to some tunes and have a good time. Each network has it&#8217;s place and we should accept that they can live in harmony, serving a different need in the ecosystem of internet social interactions.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/10/18/myspace-still-more-fun-than-facebook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Testing windows live writer</title>
		<link>http://blog.ankur.org/2008/08/14/testing-windows-live-writer/</link>
		<comments>http://blog.ankur.org/2008/08/14/testing-windows-live-writer/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 19:29:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.ankur.org/2008/08/14/testing-windows-live-writer/</guid>
		<description><![CDATA[Hello world! Some changes here.
&#160;

]]></description>
			<content:encoded><![CDATA[<p>Hello world! Some changes here.</p>
<p>&#160;</p>
<p><a href="http://blog.ankur.org/wp-content/uploads/2008/08/voltron.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="voltron" src="http://blog.ankur.org/wp-content/uploads/2008/08/voltron-thumb.jpg" width="200" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/08/14/testing-windows-live-writer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Swapping CTRL and CAPS LOCK in Mac OS X</title>
		<link>http://blog.ankur.org/2008/06/23/swapping-ctrl-and-caps-lock-in-mac-os-x/</link>
		<comments>http://blog.ankur.org/2008/06/23/swapping-ctrl-and-caps-lock-in-mac-os-x/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 07:41:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[mac]]></category>

		<category><![CDATA[caps lock]]></category>

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

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

		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://blog.ankur.org/?p=39</guid>
		<description><![CDATA[
The CAPS LOCK key is useless. How many times during your typing career have you actually used it? Your hands will be much happier using it as an additional ctrl or command key.
To change the functionality (mapping) of this key, go to System Preferences -&#62; Keyboard -&#62; Modifier Keys. Below is a screenshot.

 

]]></description>
			<content:encoded><![CDATA[<div>
<p>The CAPS LOCK key is useless. How many times during your typing career have you actually used it? Your hands will be much happier using it as an additional ctrl or command key.</p>
<p>To change the functionality (mapping) of this key, go to System Preferences -&gt; Keyboard -&gt; Modifier Keys. Below is a screenshot.</p>
<p><a href="http://blog.ankur.org/wp-content/uploads/2008/06/picture-3.png"><img class="alignnone size-full wp-image-40" title="picture-3" src="http://blog.ankur.org/wp-content/uploads/2008/06/picture-3.png" alt="modifier keys in mac os x" width="431" height="256" /></a></p>
<p> </p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/06/23/swapping-ctrl-and-caps-lock-in-mac-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Optimizing bus routes to improve traffic flow</title>
		<link>http://blog.ankur.org/2008/06/20/optimizing-bus-routes-to-improve-traffic-flow/</link>
		<comments>http://blog.ankur.org/2008/06/20/optimizing-bus-routes-to-improve-traffic-flow/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 00:50:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ideas]]></category>

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

		<category><![CDATA[los angeles]]></category>

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

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

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

		<guid isPermaLink="false">http://blog.ankur.org/?p=37</guid>
		<description><![CDATA[Problem
Everyone knows that traffic sucks in LA - too many cars, and too few public transportation options. There are currently a few proposals to alleviate traffic woes and prepare LA for growth:

Increase the Metro coverage area with new lines (Los Angeles&#8217; subway system. Yes, LA has a subway system)
Convert more streets to one-way streets, e.g. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong></p>
<p>Everyone knows that traffic sucks in LA - too many cars, and too few public transportation options. There are currently a few proposals to alleviate traffic woes and prepare LA for growth:</p>
<ul>
<li>Increase the Metro coverage area with new lines (Los Angeles&#8217; subway system. Yes, LA has a subway system)</li>
<li>Convert more streets to one-way streets, e.g. Olympic, Pico. This improves flow by increasing the number of lanes of flow traffic and reducing the opposite-direction turning lanes. Basically, you can get rid of the middle turning lane and assign it to one-way non-interrupted flow traffic.</li>
</ul>
<div>Both of these options are a few years out. By and large, LA&#8217;s current public transportation strategy revolves around bus routes. This is a double-edge sword. While it does provide public transport, it slows down already congested streets because the buses are big and slow, make frequent stops, and often have to cross multiple lanes of traffic for turns. In the general sense, public transportation is an attempt to improve city-wide travel efficiency, mainly by reducing traffic. In LA&#8217;s case, the bus strategy can often aggravate traffic.</div>
<p><strong>Solution</strong></p>
<div>So the question is, how can we keep the buses without having them harm existing traffic flow? I think part of the answer is optimizing existing bus routes. It&#8217;s pretty clear to me that LA bus routes are inefficient. There are too many buses with too few people riding them. <strong>It is a gross inefficiency to have the largest vehicles on the road carrying the least number of passengers.</strong> I frequently see double-car buses carrying only a handful of people. This is like having 4 SUVs, each with just one rider. </div>
<div>I think LA should introduce passenger vans for many routes, or introduce some type of mini-bus. Let&#8217;s get rid of the big, ponderous, awkwardly large buses and replace them with nimbler, faster rides. This has several advantages:</div>
<div>
<ul>
<li>increased fulfillment percentage: In an ideal world, buses are full or nearly full a majority of the time</li>
<li>faster vehicles: Even if the smaller vehicles have to make the same stops, smaller vehicles have better acceleration and get to their top speed quicker</li>
<li>environmentally friendly: air-conditioning large, unoccupied spaces wastes energy and this exactly what large buses do</li>
</ul>
<p><strong>Implementation</strong></p>
<div>The main hurdle with a mini-bus or optimized bus strategy is that it&#8217;s hard (read: costly) to know what routes are inefficient. So, the LA bus system takes the easy way out and they just use the large capacity buses for all routes. But there are a few simple techniques we could use today without having to compute the inefficiency weight on each route.</div>
<div>
<ul>
<li>On non-peak hours, have all routes only use the mini-buses. This one is easy - buses on non-peak hours have very few people on them, just start using the smaller buses.</li>
<li>During peak hours, every other bus (or every third bus) is a mini-bus.</li>
<li>Poll the bus drivers to figure out which routes could benefit from a bus size reduction. I think the bus drivers opinions would rival any computer model - they&#8217;ll have an intuition about the congestion because they&#8217;ve driven the route many times before. </li>
</ul>
<p><strong>Conclusion</strong></p>
<div>There&#8217;s no reason why we have to wait until the new subway lines before we can reduce traffic in LA. Buses are a big pain in the butt on major streets like Wilshire and anything we can do to reduce the number of buses or make them smaller would go a long way towards mitigating congestion. </div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/06/20/optimizing-bus-routes-to-improve-traffic-flow/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LinkedIn confuses me</title>
		<link>http://blog.ankur.org/2008/05/31/linkedin-confuses-me/</link>
		<comments>http://blog.ankur.org/2008/05/31/linkedin-confuses-me/#comments</comments>
		<pubDate>Sat, 31 May 2008 21:47:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://ankur.org/weblog/2008/05/31/linkedin-confuses-me/</guid>
		<description><![CDATA[Is anyone else confused by LinkedIn&#8217;s messaging metaphors? Not only do I have an inbox, I have all of these:

Inbox
Messages
InMail

Sometimes I get messages, sometimes I get InMail and sometimes I get mail in my InBox. But it goes on: I also have these:

Invitations
Introductions

I really just want one central Inbox with labels, gmail style.
]]></description>
			<content:encoded><![CDATA[<p>Is anyone else confused by LinkedIn&#8217;s messaging metaphors? Not only do I have an inbox, I have all of these:</p>
<ul>
<li>Inbox</li>
<li>Messages</li>
<li>InMail</li>
</ul>
<p>Sometimes I get messages, sometimes I get InMail and sometimes I get mail in my InBox. But it goes on: I also have these:</p>
<ul>
<li>Invitations</li>
<li>Introductions</li>
</ul>
<p>I really just want one central Inbox with labels, gmail style.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/05/31/linkedin-confuses-me/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing JRuby on Mac OS X Leopard</title>
		<link>http://blog.ankur.org/2008/05/29/installing-jruby-on-mac-os-x-leopard/</link>
		<comments>http://blog.ankur.org/2008/05/29/installing-jruby-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Thu, 29 May 2008 07:45:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ankur.org/weblog/2008/05/29/installing-jruby-on-mac-os-x-leopard/</guid>
		<description><![CDATA[1. Get a copy of JRuby. I got the 1.1.2 (latest as of this writing) from http://dist.codehaus.org/jruby/
2. unzip it and put it somewhere. I put it in /Applications/jruby-1.1.2/
3. configure your shell environment. Edit your .bashrc and add JRUBY_HOME=/Applications/jruby-1.1.2 and then add JRUBY_HOME/bin to your path. This will end up looking something like this:

JRUBY_HOME=/Applications/jruby-1.1.2
export PATH="$PATH:$JRUBY_HOME/bin"

4. open [...]]]></description>
			<content:encoded><![CDATA[<p>1. Get a copy of JRuby. I got the 1.1.2 (latest as of this writing) from <a href="http://dist.codehaus.org/jruby/">http://dist.codehaus.org/jruby/</a><br />
2. unzip it and put it somewhere. I put it in /Applications/jruby-1.1.2/<br />
3. configure your shell environment. Edit your .bashrc and add JRUBY_HOME=/Applications/jruby-1.1.2 and then add JRUBY_HOME/bin to your path. This will end up looking something like this:<br />
<code><br />
JRUBY_HOME=/Applications/jruby-1.1.2<br />
export PATH="$PATH:$JRUBY_HOME/bin"<br />
</code><br />
4. open up a terminal. Now that jruby is on your path, you should be able to do issue a &#8220;jruby &#8211;version&#8221; to tell you the version - this is a sanity check.</p>
<p>That&#8217;s it - pretty much just like installing any java jar.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/05/29/installing-jruby-on-mac-os-x-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Recursively delete all .svn directories</title>
		<link>http://blog.ankur.org/2008/05/25/recursively-delete-all-svn-directories/</link>
		<comments>http://blog.ankur.org/2008/05/25/recursively-delete-all-svn-directories/#comments</comments>
		<pubDate>Mon, 26 May 2008 03:42:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://ankur.org/weblog/2008/05/25/recursively-delete-all-svn-directories/</guid>
		<description><![CDATA[Sometimes those .svn files just get in the way, especially when you want to ship your code off to someone else. Here&#8217;s a quick way to delete all of them from the command line. We&#8217;ll use the find command to locate all the .svn directories and then pass them to xargs, which will execute the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes those .svn files just get in the way, especially when you want to ship your code off to someone else. Here&#8217;s a quick way to delete all of them from the command line. We&#8217;ll use the find command to locate all the .svn directories and then pass them to xargs, which will execute the &#8220;rm -rf&#8221; command for every line of output from the find results.</p>
<p><code lang="bash"><br />
 find . -name *.svn | xargs rm -rf<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/05/25/recursively-delete-all-svn-directories/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Measuring speed in terms of relative flow instead of miles per hour</title>
		<link>http://blog.ankur.org/2008/02/13/measuring-speed-in-terms-of-relative-flow-instead-of-miles-per-hour/</link>
		<comments>http://blog.ankur.org/2008/02/13/measuring-speed-in-terms-of-relative-flow-instead-of-miles-per-hour/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 07:58:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ideas]]></category>

		<guid isPermaLink="false">http://ankur.org/weblog/2008/02/13/measuring-speed-in-terms-of-relative-flow-instead-of-miles-per-hour/</guid>
		<description><![CDATA[One of the big causes of traffic is that cars and trucks are travelling at different speeds relative to each other. This creates minor slowdowns that have consequences for cars up to a mile behind. How can we get people to get on the same page and travel at the same speed? I think the [...]]]></description>
			<content:encoded><![CDATA[<p>One of the big causes of traffic is that cars and trucks are travelling at different speeds relative to each other. This creates minor slowdowns that have consequences for cars up to a mile behind. How can we get people to get on the same page and travel at the same speed? I think the solution is a in-dash guage like a speedometer that measures your relative speed to cars around you. It would basically be like the temperature guage - you can see how much &#8220;hotter&#8221; or &#8220;cooler&#8221; you are compared to drivers around you. The &#8220;hotter&#8221; your guage, the faster you&#8217;re driving compared to your neighbors. The &#8220;cooler&#8221; your guage, the slower you&#8217;re driving relative to the flow of traffic. This would help slow and elderly drivers be more mindful of staying in sync with the adjacent traffic flow. It would also subconsciously influence more aggressive drivers to stay in harmony.</p>
<p>I think this would improve traffic flow and reduce accidents because there would be less surprising speed changes. And this has a positive-feedback element - the less accidents, the better the flow of traffic.</p>
<p>Or maybe I&#8217;m just tired from rehearsal and need some sugar. I can&#8217;t tell if this is asinine or brilliant.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/02/13/measuring-speed-in-terms-of-relative-flow-instead-of-miles-per-hour/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adding a blank / default item to an ASP.Net dropdown list and making it required</title>
		<link>http://blog.ankur.org/2008/01/31/adding-a-blank-default-item-to-an-aspnet-dropdown-list-and-making-it-required/</link>
		<comments>http://blog.ankur.org/2008/01/31/adding-a-blank-default-item-to-an-aspnet-dropdown-list-and-making-it-required/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 20:44:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[asp.net]]></category>

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

		<guid isPermaLink="false">http://ankur.org/weblog/2008/01/31/adding-a-blank-default-item-to-an-aspnet-dropdown-list-and-making-it-required/</guid>
		<description><![CDATA[Here&#8217;s the declarative way to add a default first item to an ASP.Net drop down list:


  


Notice the important attribute: AppendDataBoundItems. This just tells ASP.Net to add your dynamically data-driven list items after any declarative markup items.
Now to make it required, you can just add a Required Field Validator:




Note, you just have to set [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the declarative way to add a default first item to an ASP.Net drop down list:</p>
<p><code lang="xml"></p>
<p><asp:DropDownList ID="ddCategory1" runat="server" AppendDataBoundItems="true"><br />
  <asp:ListItem Text="-- Select a category --" Value="none" /><br />
</asp:DropDownList></p>
<p></code></p>
<p>Notice the important attribute: AppendDataBoundItems. This just tells ASP.Net to add your dynamically data-driven list items after any declarative markup items.</p>
<p>Now to make it required, you can just add a Required Field Validator:</p>
<p><code lang="xml"><br />
<asp:RequiredFieldValidator ID="rfvCategory1" runat="server" InitialValue="none"<br />
ControlToValidate="ddCategory1" Text="* required"><br />
</asp:RequiredFieldValidator><br />
</code></p>
<p>Note, you just have to set your initial value to the value of your declarative first list item in the drop down. This tells the required field validator that this value doesn&#8217;t count and that the user haven&#8217;t selected an item yet.</p>
<p>Declarative markup is easy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ankur.org/2008/01/31/adding-a-blank-default-item-to-an-aspnet-dropdown-list-and-making-it-required/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
