<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Peter's Dance Party</title>
    <link>http://www.petersdanceparty.com</link>
    <description>Peter's Blog Dance Party</description>
    <language>en-us</language>
    <copyright>Peter Sanford</copyright>

 
    <item>
      <title>Fear Not</title>
      <description>&lt;p&gt;Internet is safer when Schneier is at the drums.&lt;/p&gt;

&lt;img src=&quot;/img/schneier_drums.jpg&quot;/&gt;
</description>
      <pubDate>2010-10-01T00:00:00-07:00</pubDate>
      <link>http://petersdanceparty.com/2010/10/01/fear-not.html</link>
      <guid>http://petersdanceparty.com/2010/10/01/fear-not.html</guid>
    </item>
 
    <item>
      <title>Recover Ubuntu encrypted private directory</title>
      <description>&lt;p&gt;One of my old machines died this past week. Nothing critical on it except for a few documents that were living in my encrypted private directory. The hard drives weren't the point though, so I wasn't too concerned about recovery.&lt;/p&gt;
&lt;p&gt;When you first create your encrypted directory, you are given a recovery key. It is recommended that you write this down it keep somewhere safe. I didn't see any point in doing that; either the disk will die and I won't be able to recover anything, or I will be able to use the same mechanism the system uses to get that key.&lt;/p&gt;
&lt;p&gt;That key is stored in ~/.ecryptfs/wrapped-passphrase if you only have ~/Private encrypted or /home/.ecryptfs/$USERNAME/.ecryptfs/wrapped-passphrase if you are encrypting your entire home directory. This file is encrypted using your normal login password. You can decrypt it with the command &lt;tt&gt;ecryptfs-unwrap-passphrase&lt;/tt&gt;. That will give you the passphrase needed to mount your private directory: &lt;tt&gt;mount -t ecryptfs .Private Private&lt;/tt&gt;.&lt;/p&gt;

</description>
      <pubDate>2010-09-19T00:00:00-07:00</pubDate>
      <link>http://petersdanceparty.com/2010/09/19/recover-ubuntu-encrypted-private-directory.html</link>
      <guid>http://petersdanceparty.com/2010/09/19/recover-ubuntu-encrypted-private-directory.html</guid>
    </item>
 
    <item>
      <title>Old CS Notes</title>
      <description>&lt;h2&gt;Carry Look-ahead Adder&lt;/h2&gt;
&lt;a href=&quot;http://www.flickr.com/photos/psanford/4783676785/&quot; title=&quot;Carry Lookahead Adder by psanford, on Flickr&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4080/4783676785_74e8511201.jpg&quot; width=&quot;500&quot; height=&quot;333&quot; alt=&quot;Carry Lookahead Adder&quot; /&gt;&lt;/a&gt;

&lt;h2&gt;Binary Integer Division&lt;/h2&gt;
&lt;a href=&quot;http://www.flickr.com/photos/psanford/4783677143/&quot; title=&quot;Integer Division by psanford, on Flickr&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4141/4783677143_d7638df7ee.jpg&quot; width=&quot;333&quot; height=&quot;500&quot; alt=&quot;Integer Division&quot; /&gt;&lt;/a&gt;
&lt;p&gt;Next time I need to do binary integer division by hand I'm sure this will be useful. It could also serve as a hilarious interview question.&lt;/p&gt;


&lt;h2&gt;Lambda Calculus&lt;/h2&gt;
&lt;a href=&quot;http://www.flickr.com/photos/psanford/4784309796/&quot; title=&quot;Lambda Calculus by psanford, on Flickr&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4138/4784309796_f87b76593d.jpg&quot; width=&quot;333&quot; height=&quot;500&quot; alt=&quot;Lambda Calculus&quot; /&gt;&lt;/a&gt;
</description>
      <pubDate>2010-07-11T00:00:00-07:00</pubDate>
      <link>http://petersdanceparty.com/2010/07/11/old-cs-notes.html</link>
      <guid>http://petersdanceparty.com/2010/07/11/old-cs-notes.html</guid>
    </item>
 
    <item>
      <title>Emacs variable eval-expression-print-length</title>
      <description>&lt;p&gt;Often I'll use (pp) or (message) to inspect a data structure in elisp. For example lets say I have a list l: &lt;/p&gt;&lt;code&gt;
(setq l '(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15))
(message  l)
 =&gt; (1 2 3 4 5 6 7 8 9 10 11 12 ...)
&lt;/code&gt;
&lt;br/&gt;
&lt;p&gt;Often times I want to see the entire list instead of the truncated version. That's where eval-expression-print-length comes in. Setting this variable to nil results in the entire list being printed.&lt;/p&gt;
&lt;code&gt;
(message &quot;%s&quot; eval-expression-print-length)
 =&gt; 12
(setq eval-expression-print-length nil)
(message &quot;%s&quot; l)
 =&gt; (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
&lt;/code&gt;


</description>
      <pubDate>2009-04-12T00:00:00-07:00</pubDate>
      <link>http://petersdanceparty.com/blog/show/emacs-variable-eval-expression-print-length.html</link>
      <guid>http://petersdanceparty.com/blog/show/emacs-variable-eval-expression-print-length.html</guid>
    </item>
 
    <item>
      <title>Interesting Links for 01-19-2009</title>
      <description>&lt;ul&gt;

  &lt;li&gt;&lt;a href=&quot;http://github.com/psanford/emacs-oauth/tree/master&quot;&gt;emacs-oauth&lt;/a&gt; 
  
     &lt;br&gt;Finally got oauth.el released.
  
  &lt;/li&gt;

&lt;/ul&gt;


</description>
      <pubDate>2009-01-20T00:00:00-08:00</pubDate>
      <link>http://petersdanceparty.com/blog/show/interesting-links-for-1-19-29.html</link>
      <guid>http://petersdanceparty.com/blog/show/interesting-links-for-1-19-29.html</guid>
    </item>
 
    <item>
      <title>Interesting Links for 01-18-2009</title>
      <description>&lt;ul&gt;

  &lt;li&gt;&lt;a href=&quot;http://www.pastemagazine.com/action/paste_station/view/1318/music/my_brightest_diamond_clare_the_reasons_moon_river_ice_ice_baby&quot;&gt;My Brightest Diamond, Clare &amp; the Reasons - &quot;Moon River &amp; Ice Ice Baby&quot;&lt;/a&gt; 
  
     &lt;br&gt;My Brightest Diamond...Amazing
  
  &lt;/li&gt;

&lt;/ul&gt;


</description>
      <pubDate>2009-01-19T00:00:00-08:00</pubDate>
      <link>http://petersdanceparty.com/blog/show/interesting-links-for-1-18-29.html</link>
      <guid>http://petersdanceparty.com/blog/show/interesting-links-for-1-18-29.html</guid>
    </item>
 
    <item>
      <title>Interesting Links for 01-16-2009</title>
      <description>&lt;ul&gt;

  &lt;li&gt;&lt;a href=&quot;http://money.cnn.com/news/newsfeeds/articles/marketwire/0464786.htm&quot;&gt;Aruba Networks Introduces PCI Compliance Reporting in New AirWave Wireless Management Suite 6.2&lt;/a&gt; 
  
  &lt;/li&gt;

&lt;/ul&gt;


</description>
      <pubDate>2009-01-17T00:00:00-08:00</pubDate>
      <link>http://petersdanceparty.com/blog/show/interesting-links-for-1-16-29.html</link>
      <guid>http://petersdanceparty.com/blog/show/interesting-links-for-1-16-29.html</guid>
    </item>
 
    <item>
      <title>Emacs function of the day: (make-indirect-buffer)</title>
      <description>&lt;code&gt;(make-indirect-buffer &lt;span style=&quot;font-style: italic;&quot;&gt;base-buffer&lt;/span&gt; &lt;span style=&quot;font-style: italic;&quot;&gt;name&lt;/span&gt; &amp;amp;optional &lt;span style=&quot;font-style: italic;&quot;&gt;clone&lt;/span&gt;)
&lt;br/&gt;
Create and return an indirect buffer for buffer &lt;span style=&quot;font-style: italic;&quot;&gt;base-buffer&lt;/span&gt;, named &lt;span style=&quot;font-style: italic;&quot;&gt;name&lt;/span&gt;.
&lt;span style=&quot;font-style: italic;&quot;&gt;base-buffer&lt;/span&gt; should be a live buffer, or the name of an existing buffer.
&lt;span style=&quot;font-style: italic;&quot;&gt;name&lt;/span&gt; should be a string which is not the name of an existing buffer.
Optional argument &lt;span style=&quot;font-style: italic;&quot;&gt;clone&lt;/span&gt; non-nil means preserve &lt;span style=&quot;font-style: italic;&quot;&gt;base-buffer&lt;/span&gt;'s state,
such as major and minor modes, in the indirect buffer.
&lt;span style=&quot;font-style: italic;&quot;&gt;clone&lt;/span&gt; nil means the indirect buffer's state is reset to default values.
&lt;/code&gt;
&lt;br/&gt;
&lt;p&gt;Ran across this function today. Occasionally I want to have the same file open to different locations in different frames. You can do this, but when you change buffers in one of those frames, you lose the location of your point. (make-indirect-buffer) solves this problem quite nicely. &lt;/p&gt;
&lt;p&gt;Its always fun to learn a new useful emacs function.&lt;/p&gt;


</description>
      <pubDate>2009-01-17T00:00:00-08:00</pubDate>
      <link>http://petersdanceparty.com/blog/show/emacs-function-of-the-day-make-indirect-buffer.html</link>
      <guid>http://petersdanceparty.com/blog/show/emacs-function-of-the-day-make-indirect-buffer.html</guid>
    </item>
 
    <item>
      <title>Interesting Links for 01-08-2009</title>
      <description>&lt;ul&gt;

  &lt;li&gt;&lt;a href=&quot;http://www.firstthings.com/article.php3?id_article=5312&quot;&gt;Richard John Neuhaus, 1936-2009&lt;/a&gt; 
  
  &lt;/li&gt;

&lt;/ul&gt;


</description>
      <pubDate>2009-01-09T00:00:00-08:00</pubDate>
      <link>http://petersdanceparty.com/blog/show/interesting-links-for-1-8-29.html</link>
      <guid>http://petersdanceparty.com/blog/show/interesting-links-for-1-8-29.html</guid>
    </item>
 
    <item>
      <title>Interesting Links for 01-07-2009</title>
      <description>&lt;ul&gt;

  &lt;li&gt;&lt;a href=&quot;http://www.firstthings.com/article.php3?id_article=5312&quot;&gt;Richard John Neuhaus, 1936-2009&lt;/a&gt; 
  
  &lt;/li&gt;

  &lt;li&gt;&lt;a href=&quot;http://www.flickr.com/photos/katieweber/3172841852/&quot;&gt;Airwave's New Office Space&lt;/a&gt; 
  
     &lt;br&gt;Video of our new space before we moved in. Nothing was magnetted  to the ceiling when the video was taken.
  
  &lt;/li&gt;

&lt;/ul&gt;


</description>
      <pubDate>2009-01-08T00:00:00-08:00</pubDate>
      <link>http://petersdanceparty.com/blog/show/interesting-links-for-1-7-29.html</link>
      <guid>http://petersdanceparty.com/blog/show/interesting-links-for-1-7-29.html</guid>
    </item>
 
  </channel>
</rss>

