<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>Abhi Yerra</title>
    <description>Coding, Philosophy and everything in between.</description>
    <link href="http://www.ocf.berkeley.edu/~abhi"/>
    <pubDate>2011-08-25T01:02:45-07:00</pubDate>
    <lastBuildDate>2011-08-25T01:02:45-07:00</lastBuildDate>

    
    <item>
      <title>From GNU Screen to Tmux</title>
      <link>http://www.ocf.berkeley.edu/~abhi/2010/12/24/from-gnu-screen-to-tmux.html</link>
      <pubDate>Fri Dec 24 00:00:00 -0800 2010</pubDate>
      <guid>http://www.ocf.berkeley.edu/~abhi/2010/12/24/from-gnu-screen-to-tmux</guid>
      <description>
        <![CDATA[<p class="title">I started using <a href="http://www.gnu.org/software/screen/">Screen</a> on my machine instead of opening up multiple Terminal.app tabs as it was a bit more efficient. There was always something that bugged me about Screen which mostly related to it was difficult to configure. That said I discovered <a href="http://tmux.sf.net">tmux</a> and it&#8217;s pretty slick.</p>
<p>I essentially took this configuration from <a href="http://dev.gentoo.org/~wired/conf/tmux.conf">here</a> and modified it.</p>
<p>Otherwise read the man pages for tmux as it is quite good. Just remember that I rebound the prefix key from C-b to `.</p>
<p>&lt;script src=&#8221;https://gist.github.com/762305.js&#8221;&gt; &lt;/script&gt;</p>
]]>
      </description>
    </item>
    
    <item>
      <title>Using Mutt with Gmail</title>
      <link>http://www.ocf.berkeley.edu/~abhi/2010/11/27/using-mutt-with-gmail.html</link>
      <pubDate>Sat Nov 27 00:00:00 -0800 2010</pubDate>
      <guid>http://www.ocf.berkeley.edu/~abhi/2010/11/27/using-mutt-with-gmail</guid>
      <description>
        <![CDATA[<p class="title">I am slowly moving to text based tools as opposed to using the web. I will be making the configurations available for all the different tools I decide to move to.</p>
<p>I decided that mutt was worth a try. So I put together a configuration that works with Gmail by scouring the internet. First follow the directions listed on <a href="http://lifehacker.com/5574557/how-to-use-the-fast-and-powerful-mutt-email-client-with-gmail">Lifehacker&#8217;s article</a> but use this for the configuration. Change my email address to your&#8217;s at the appropriate place.</p>
<p>Also, I want mutt to ask me for my password everytime I use it. This is because&#8230; ARE YOU FUCKING CRAZY FOR STORING YOUR PASSWORD IN CLEARTEXT?</p>
<p>When ever you delete from mutt what it does is removes the &#8220;label&#8221; so stuff is never deleted but moved to &#8220;All mail&#8221;. So in this configration there is no way to delete mail. If you want that please look at the Lifehacker configuration.</p>
<p>&lt;script src=&#8221;https://gist.github.com/762304.js&#8221;&gt;&lt;/script&gt;</p>
]]>
      </description>
    </item>
    
    <item>
      <title>Moved over to Jekyll</title>
      <link>http://www.ocf.berkeley.edu/~abhi/2010/11/25/moved-over-to-jekyll.html</link>
      <pubDate>Thu Nov 25 00:00:00 -0800 2010</pubDate>
      <guid>http://www.ocf.berkeley.edu/~abhi/2010/11/25/moved-over-to-jekyll</guid>
      <description>
        <![CDATA[<p class="title">I decided to move to Jekyll to do my blogging since I am in Emacs most of the time anyways and I am  disliking Posterous&#8217; weird formatting seeping in which makes doing edits a bit more difficult than need be. Plus, I can customize this thing much more than I otherwise could and make it a bit more of a culmination of different sources.</p>
<p>To make life easier I migrated <a href="http://metajack.im/2009/01/02/manage-jekyll-from-emacs/">this code</a> by Jack Moffitt for my own use. I didn&#8217;t need anything fancy like draft management since I use org-mode for that. But it allows me to create a new post from a keystroke.</p>
<p>&lt;script src=&#8221;https://gist.github.com/762301.js&#8221;&gt;&lt;/script&gt;</p>
]]>
      </description>
    </item>
    
    <item>
      <title>Trust And Relevancy</title>
      <link>http://www.ocf.berkeley.edu/~abhi/2010/11/07/trust-and-relevancy.html</link>
      <pubDate>Sun Nov 07 00:00:00 -0700 2010</pubDate>
      <guid>http://www.ocf.berkeley.edu/~abhi/2010/11/07/trust-and-relevancy</guid>
      <description>
        <![CDATA[<p class="title">How do you trust something who is untrusted? There are mechanisms in society which allow for that to happen such as lawyers or in terms of the net ssl signature authorities. However, what do you do when you don&#8217;t trust the middlemen? How do you go about even communicating with others?</p>
<p>In the context of a torrent indexer how do you trust that the person who is pushing you torrents is not pushing you crap. There is a level of concern here. Trust is an important aspect of gaining new torrents, but at the same time we don&#8217;t want to trust someone too much such that they will start pedling junk to us.</p>
<p>I am still trying to think about the solution to this problem. However, I think the PGP Web of Trust model is quite good. Trust someone when you know that others have trusted them as well. However, this also posses as the weakest link. Do we really trust to be smart about crypto security? Unfortunately, I don&amp;rsquo;t think we can (and this is speaking from experience&#8230;).</p>
<p>The second part is how to deal with rogue indexers. Sites who have decided to go bad pushing junk. This part should be a bit more straightforward. Just make sure that a certain level of torrents from that indexer are verified or checked. If enough people mark a torrent as bad and further if enough torrents coming from a certain site are marked as bad then we know that it&#8217;s a rogue torrent.</p>
<p>In this situation all we have to do is block that Indexer from pushing us torrents, mark that public key as untrusted and push to all the indexers which are following that that indexer is a rogue indexer. This way the rest of the network is aware of such rogue nodes.</p>
]]>
      </description>
    </item>
    
    <item>
      <title>Ravana Decentralized Torrent Indexing</title>
      <link>http://www.ocf.berkeley.edu/~abhi/2010/11/07/ravana-decentralized-torrent-indexing.html</link>
      <pubDate>Sun Nov 07 00:00:00 -0700 2010</pubDate>
      <guid>http://www.ocf.berkeley.edu/~abhi/2010/11/07/ravana-decentralized-torrent-indexing</guid>
      <description>
        <![CDATA[<p class="title">I&#8217;m working on something called Ravana. Ravana is an experiment in how to write a distributed torrent indexer. The problem it attempts to solve is as follows. There area a bunch of individual tracker sitesif one site is taken down then all the torrents indexed on that site are largely gone until they are uploaded onto a different indexer. This is quite a problem since this makes the indexer the weakest link in any torrent serving system.</p>
<p>The proposal is to use the latest web techniques such as WebHooks and Oauth to create a distributed indexing infrastructure for torrents. Furthermore, a site operator must have the ability to maintain what torrents appear on the site (maintaining quality) and further who he is going to trust to push files to his server. Since we cannot trust any single centralized authority we must have a decentralized trust model. This is why PGP will be used as a mechanism for maintaining the <a href="http://en.wikipedia.org/wiki/Web_of_trust">Web of Trust</a> between index site maintainers.</p>
<p>I am currently writing this as a Ruby on Rails applications. It is available <a href="https://github.com/abhiyerra/Ravana">here</a>. Right now I have a basic Rails app running where a person is able to upload files and the tracker part is near completion. However, my main interest is the Indexer to Indexer communication. I am currently trying to figure out how to do that correctly. Since I have no crypto experience I am trying to get myself familiar with crypto concepts before making a move. However, the main problem that I will have going forward is that the <a href="https://github.com/bendiken/openpgp">PGP library</a> that I would like to use for the Web of Trust stuff is immature. I will likely have to help build that up before I can continue. Overall, this is an interesting project for me right now and I hope to build it up to something which is quite durable.</p>
]]>
      </description>
    </item>
    
  </channel>
</rss>