<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Dripping Rubies - Home</title>
  <id>tag:ralree.info,2008:mephisto/</id>
  <generator uri="http://mephistoblog.com" version="0.8.0">Mephisto Drax</generator>
  <link href="http://ralree.info/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://ralree.info/" rel="alternate" type="text/html"/>
  <updated>2008-08-24T10:23:35Z</updated>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-08-24:15753</id>
    <published>2008-08-24T09:26:00Z</published>
    <updated>2008-08-24T10:23:35Z</updated>
    <category term="america"/>
    <category term="currency"/>
    <category term="economics"/>
    <category term="finance"/>
    <category term="money"/>
    <category term="politics"/>
    <category term="stocks"/>
    <link href="http://ralree.info/2008/8/24/protectionism-and-buying-american" rel="alternate" type="text/html"/>
    <title>Protectionism and Buying American</title>
<content type="html">
            &lt;p&gt;I have recently been reading &lt;a href=&quot;http://jim.com/econ/&quot;&gt;&lt;i&gt;Economics in One Lesson&lt;/i&gt; by Henry Hazlitt&lt;/a&gt;, and in &lt;a href=&quot;http://jim.com/econ/chap11p2.html&quot;&gt;Chapter 11, Section 2&lt;/a&gt;, I found an interesting analysis of tariffs and how they actually hurt everyone except the special interest producer.  In his hypothetical example, the consumers pay more for the products, there is less export of American currency to foreign countries, and therefore less export from America, and he even goes on in the following sections about wages decreasing as an effect of tariffs.&lt;/p&gt;

&lt;p&gt;This has made me rethink &#8220;buying American,&#8221; which seems to be a big movement in today&#8217;s society.  If it is more expensive for me to buy from an American company, and I do it anyway, along with tens of thousands of other consumers, what are the actual effects?  That company doesn&#8217;t go out of business, yet some foreign company with cheaper equivalent products may, or at least it will lose profits, resulting in the increased unemployment in that country and a decrease in buying power of that country, affecting American exports.  If the option to buy the alternative is lost, the cost of the product to consumers increases, hurting working families in America.  The employees of the American company will keep their jobs instead of moving to other industries, which is seen as the motivation behind the choice to buy American.  But, the unseen result is that there is less &lt;strong&gt;American&lt;/strong&gt; money in the pockets of the foreigners, money that has no purpose other than to be spent in America.  Therefore, by buying American, you are helping that single company at the expense of the minuscule loss to every American company that exports its products outside the country.  In reality, it doesn&#8217;t really matter if you buy American or not, since that money will probably not spend long in foreign circulation before it is re-used to buy American out of necessity.  The power of electronic circulation of currency these days is incredible.&lt;/p&gt;

&lt;p&gt;Hypothetically, if I buy my Honda Civic instead of a Chevy Volt, what&#8217;s the difference?  When I purchase the Honda new, I am putting a few thousand dollars in the pockets of a Japanese company.  Dollars don&#8217;t work over there, so they need to change them into something else.  They have a few options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;They can convert it into Japanese Yen, whose exchange rate today is 1 yen per 0.009101 U.S. dollars by selling the currency to an American entity.  This simply decreases the American holdings of the foreign currency, and injects the money right back into America.&lt;/li&gt;
&lt;li&gt;They can convert it into Japanese Yen by selling it to another foreign country on a currency exchange, or by selling it domestically to a currency trader.  This probably happens to some extent, but it just represents one more extremely fast electronic hop through the global investing ether.&lt;/li&gt;
&lt;li&gt;They can convert it into holdings in a US company, bonds, commodities, homes, or other US-based securities.  This helps our economy, allowing our companies to function, maintaining American employment directly.&lt;/li&gt;
&lt;li&gt;They can loan it back to US entities and collect interest in dollars, which have to go through this process again (yes, I realize that bonds fit here, but I feel they fit better in the previous bullet).  Eventually, these all have to end up back in the pockets of Americans, and even lift the burden of risk from &lt;strong&gt;all&lt;/strong&gt; American lenders.  If these loans are defaulted upon, it was simply a bad investment by the foreign investor, whose product &lt;strong&gt;and&lt;/strong&gt; money we have now! &lt;/li&gt;
&lt;li&gt;Finally, they can simply &lt;strong&gt;&lt;em&gt;buy American&lt;/strong&gt;&lt;/em&gt;.  Our exporters will benefit greatly by the increased spending, and will buy products being produced in America for lower prices than they can be found in Japan, necessarily adding to the efficiency of operation of the world market (otherwise, the exporters would go out of business).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Note also that investing in foreign currency is a gamble.  It is definitely possible that a foreigner may sell us a Honda Civic today for $10,000, and 6 months from now inflation of the money supply (the M3 that the Fed doesn&#8217;t publish anymore, not the CPI, which is open to interpretation) will drive the purchasing power of those dollars lower, meaning by buying that car, we actually cheated the manufacturer out of some amount of buying power.  Therefore, if the car company wants to continue being profitable, it cannot keep its holdings in American currency for more than the short term, meaning it has to offload it, the most logical place being back to America, or to a Japanese currency trader, who will do the same.&lt;/p&gt;

&lt;p&gt;All in all, I would almost encourage buying foreign to get rid of these &lt;a href=&quot;http://www.bloomberg.com/apps/news?pid=20601109&amp;amp;amp;refer=home&amp;amp;amp;sid=aN.FfcMPXR10&quot;&gt;worthless pieces of paper&lt;/a&gt; as quickly as possible.  Let the foreigners deal with our ruined currency.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-08-18:15272</id>
    <published>2008-08-18T04:42:00Z</published>
    <updated>2008-08-18T04:52:56Z</updated>
    <category term="crime"/>
    <category term="guns"/>
    <category term="law"/>
    <category term="politics"/>
    <category term="road rage"/>
    <link href="http://ralree.info/2008/8/18/road-rage-with-handguns" rel="alternate" type="text/html"/>
    <title>Road Rage with Handguns</title>
<content type="html">
            &lt;p&gt;One of the things I&#8217;m always hearing is how if you are allowed to have a gun in your car, road rage will involve a lot more shootings.  I&#8217;ve never really believed it, and I decided to see how much the Google News Archives show for this type of story.  There are around 40,000 stories that contain &#8220;road rage gun,&#8221; some of which can be seen &lt;a href=&quot;http://news.google.com/archivesearch?q=road+rage+gun&amp;amp;amp;num=10&amp;amp;amp;scoring=n&amp;amp;amp;nav_num=100&quot;&gt;here&lt;/a&gt;.  I saw some interesting trends:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;There are three incidents on the linked page in Australia, surprisingly, even though they have very strict handgun control.  Even fake guns were involved&#8230;&lt;/li&gt;
&lt;li&gt;There was one in Toronto, also strict on handgun ownership&lt;/li&gt;
&lt;li&gt;Many states in the US are represented, including Maryland, Georgia, and Florida&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Quite a few are road rage incidents involving off-duty or retired police officers or Federal marshalls&lt;/strong&gt;!!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There was a &lt;a href=&quot;http://johnrlott.tripod.com/2006/02/research-on-guns-and-road-rage.html&quot;&gt;study&lt;/a&gt; that showed that &#8220;people who carry guns in their car are more likely to have road rage.&#8221;  It&#8217;s a pretty far stretch since the percentages are 23% of people with guns vs. 16% of people without them.  I don&#8217;t think this is a good conclusion.  Until someone can show me that road rage deaths in Texas or Alaska or Florida increased when carry laws were loosened, I won&#8217;t believe these urban legends I keep hearing.  And, if they&#8217;re not urban legends, please &lt;strong&gt;please&lt;/strong&gt; cite your source - at least the publication.&lt;/p&gt;

&lt;p&gt;I find the last one really shocking.  Many of these people are trained very well in firearm use and safety.  I would really like to be able to break it down by state using the Google archive search, but I can&#8217;t find that.  If anyone knows where I can find statistics on police reports per state for road rage incidents involving handguns, especially time series data, let me know.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-08-17:15261</id>
    <published>2008-08-17T22:45:00Z</published>
    <updated>2008-08-17T23:11:00Z</updated>
    <category term="books"/>
    <category term="history"/>
    <category term="interesting"/>
    <category term="libertarianism"/>
    <category term="politics"/>
    <category term="truman"/>
    <link href="http://ralree.info/2008/8/17/as-we-go-marching-first-edition" rel="alternate" type="text/html"/>
    <title>As We Go Marching First Edition</title>
<summary type="html">&lt;p&gt;I ordered a first edition (1944 Doubleday) of John T. Flynn&#8217;s &lt;i&gt;As We Go Marching&lt;/i&gt;, which is an interesting book I&#8217;m half-way through.  I found a curious letter inside from one &lt;strong&gt;Andrew W. Wilson&lt;/strong&gt;&#8230;&lt;/p&gt;</summary><content type="html">
            &lt;p&gt;I ordered a first edition (1944 Doubleday) of John T. Flynn&#8217;s &lt;i&gt;As We Go Marching&lt;/i&gt;, which is an interesting book I&#8217;m half-way through.  I found a curious letter inside from one &lt;strong&gt;Andrew W. Wilson&lt;/strong&gt;&#8230;&lt;/p&gt;
&lt;p&gt;I ordered a first edition (1944 Doubleday) of John T. Flynn&#8217;s &lt;i&gt;As We Go Marching&lt;/i&gt;, which is an interesting book I&#8217;m half-way through.  I found a curious letter inside from one &lt;strong&gt;Andrew W. Wilson&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ralree.com/assets/2008/8/17/00001_medium.jpg&quot; alt=&quot;Letter&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The full text reads as follows:&lt;/p&gt;

&lt;blockquote&gt;
Editor,&lt;br /&gt;
The Fresno Bee&lt;br /&gt;
Fresno, California
&lt;br /&gt;&lt;br /&gt;
Dear Sir:

&lt;br /&gt;&lt;br /&gt;
President Truman today has issued a report written by a group of prominent Americans supporting a program of Compulsory Military Training, although the prefer to use a more acceptable term, Universal Training.  To the extent that this report is represented to be a non-partisan statement, it is a fraud on the American people.

&lt;br /&gt;&lt;br /&gt;
Two members of the commission are educators, President Compton of Massachusetts Institute of Technology and President Dodds of Princeton University.  These are two of a very few prominent educators who support peacetime conscription.  The much larger group who oppose it were not represented.
&lt;br /&gt;&lt;br /&gt;

The Protestant clergyman in the group is another exception to the general rule.  It can be said with considerable accuracy that this man is the only Protestant clergyman in the country who supports peacetime conscription.
&lt;br /&gt;&lt;br /&gt;

These examples are enough to show that this report was not written by a group of unbiased men, but by a hand picked group known to support a program of peacetime military training.  The report is, then, nothing but a summary of the personal opinions of men already known to be in favor of the program and not an independently arrived at report of impartial men.
&lt;br /&gt;&lt;br /&gt;

Sincerely yours,

&lt;br /&gt;&lt;br /&gt;
Andrew W. Wilson
&lt;/blockquote&gt;

&lt;p&gt;Sounds like we could have been a lot more like Switzerland, with that training.  Here&#8217;s an excerpt of a speech Truman made regarding his plans for Universal Training:&lt;/p&gt;

&lt;blockquote&gt;
So long as democracy is threatened in the world, and during the period in which the free nations of Europe are regaining their strength, this country must remain strong in order to give support to those countries of Europe whose freedom is endangered.  Universal training is the best means of building up a large pool of trained civilians who could be called upon in times of emergency. The presence, within this country, of a strong, well-trained group of our young men would be of great importance in preventing future conflicts.  The adoption of universal training by this nation at this time would serve notice on the world that our pleas for peace were not mere idle words, but that we had the strength to back up our will for peace.

&lt;br /&gt;&lt;br /&gt;
Even after we adopt universal training, however, it will take a substantial period of time before the pool of trained reserves can be developed. In the meantime our armed forces lack the necessary men to maintain their authorized strength. Voluntary enlistments have been dropping, and each month we fall further under our authorized strength.  &lt;b&gt;This is why we must have a selective service law.&lt;/b&gt;

&lt;br /&gt;&lt;br /&gt;
Our armed forces have to be kept up at the authorized level if we are to meet, our international responsibilities and maintain a minimum force in the continental United States.  &lt;b&gt;Selective service would be used only as an interim measure until the solid foundation of universal training can be established.&lt;/b&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;http://www.teachingamericanhistory.org/library/index.asp?document=1452&quot;&gt;Source&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, watch out for the calls to eliminate the selective service in favor of Universal Training.  Here&#8217;s more pictures of my beautiful book:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ralree.com/assets/2008/8/17/00004_medium.jpg&quot; alt=&quot;Spine&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ralree.com/assets/2008/8/17/00003_medium.jpg&quot; alt=&quot;Inside Cover&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ralree.com/assets/2008/8/17/00002_medium.jpg&quot; alt=&quot;Title Page&quot; /&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-08-16:15108</id>
    <published>2008-08-16T03:33:00Z</published>
    <updated>2008-08-16T03:40:06Z</updated>
    <category term="food"/>
    <category term="restaurant"/>
    <category term="review"/>
    <link href="http://ralree.info/2008/8/16/my-review-of-the-melting-pot" rel="alternate" type="text/html"/>
    <title>My Review of The Melting Pot</title>
<content type="html">
            &lt;p&gt;So, I went to the Melting Pot restaurant today.  I was anticipating it last night, so I had a look at the menu.  I noticed it was going to be extremely expensive, and I knew it was fondue, so I thought it would be a ripoff.  It turns out that it isn&#8217;t all that bad, but it&#8217;s still overpriced.  You start with pots of cheese with bread, apples, and vegetables to dip.  Then you move to salad, which is pretty good - I had the Caesar, which had real anchovie flavor!  Next, they bring out new pots of broth for you to boil potatoes, salmon, 2 kinds of beef, shrimp, and chicken in.  The helpings are actually pretty massive - the 6 of us had 3 plates of meat, and we didn&#8217;t finish all of it.  You cook the meat in the broth for 1.5 to 2 minutes for most of it, and the chicken for longer.  Then, you pull it out and have it with a variety of sauces, ranging from yellow curry sauce to horseradish ranch to bleu cheese.  It was pretty fun.  Finally, you top it off with some chocolate fondue for dessert, including pound cake, rice crispy treats, strawberries, and cheesecake.  All in all, if you want to drop about $50/person on novelty, it&#8217;s not bad.  But, I still recommend Tersiguel&#8217;s in Ellicott City for the same price much more.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-08-07:14603</id>
    <published>2008-08-07T06:49:00Z</published>
    <updated>2008-08-07T07:12:30Z</updated>
    <category term="bash"/>
    <category term="flash"/>
    <category term="hack"/>
    <category term="howto"/>
    <category term="ipod"/>
    <category term="linux"/>
    <category term="ssh"/>
    <category term="videos"/>
    <category term="xml"/>
    <category term="youtube"/>
    <link href="http://ralree.info/2008/8/7/putting-non-youtube-videos-in-mxtube" rel="alternate" type="text/html"/>
    <title>Putting Non-YouTube Videos in MxTube</title>
<content type="html">
            &lt;p&gt;So, you have your &lt;strong&gt;Jailbroken&lt;/strong&gt; iPod Touch or iPhone with 2.0 firmware running OpenSSH, and you have &lt;a href=&quot;http://www.appleiphoneapps.com/2008/08/update-mxtube-v15-with-walkthrough/&quot;&gt;MxTube 1.5 or better&lt;/a&gt;, of course.  What if you want one of those pesky videos that YouTube deletes all the time, like Paris Hilton For President?  Or maybe you want a full movie on your iPod without having to sync to iTunes since you&#8217;re stuck in Linux Land.  Well, here&#8217;s how:&lt;/p&gt;

&lt;h2&gt;Download the video&lt;/h2&gt;

&lt;p&gt;This can be done lots of ways, but somehow obtain a version of the video that ffmpeg can read.  It can be just about any format.  Let&#8217;s assume that we get a file called &lt;strong&gt;paris.flv&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;Convert the video&lt;/h2&gt;

&lt;pre&gt;&lt;code&gt;
 ffmpeg -i paris.flv -b 500000 -s 176x144 -ac 1 -ab 64000 paris-high.mp4
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will make a nice movie for us to play.  Let&#8217;s put it on the iPod:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
scp paris-high.mp4 root@ipod:/var/mobile/Media/MxTube/
&lt;/code&gt;&lt;/pre&gt;

&lt;h2&gt;Make the Thumbnail&lt;/h2&gt;

&lt;p&gt;We need to grab a frame from the middle of the movie.  Let&#8217;s use &lt;code&gt;mplayer&lt;/code&gt; for that!&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
mplayer -vo jpeg -frames 1 -ss 30 paris.flv
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will make a file called &lt;strong&gt;00000001.jpg&lt;/strong&gt;.  Let&#8217;s put that in the right spot:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
scp 00000001.jpg root@ipod:/var/mobile/Media/MxTube/paris.thm
&lt;/code&gt;&lt;/pre&gt;

&lt;h2&gt;Add the video to the Library&lt;/h2&gt;

&lt;p&gt;Edit &lt;strong&gt;/var/mobile/Library/MxTube/VideoLibrary.plist&lt;/strong&gt; &lt;i&gt;on the iPod&lt;/i&gt;.  Make a new &lt;strong&gt;dict&lt;/strong&gt; entry in the list like so:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
        &amp;lt;dict&amp;gt;
                &amp;lt;key&amp;gt;author&amp;lt;/key&amp;gt;
                &amp;lt;string&amp;gt;hank&amp;lt;/string&amp;gt;
                &amp;lt;key&amp;gt;duration&amp;lt;/key&amp;gt;
                &amp;lt;string&amp;gt;01:50&amp;lt;/string&amp;gt;
                &amp;lt;key&amp;gt;high&amp;lt;/key&amp;gt;
                &amp;lt;string&amp;gt;/var/mobile/Media/MxTube/paris-high.mp4&amp;lt;/string&amp;gt;
                &amp;lt;key&amp;gt;id&amp;lt;/key&amp;gt;
                &amp;lt;string&amp;gt;64ad536a6dQ&amp;lt;/string&amp;gt;
                &amp;lt;key&amp;gt;thumbnail&amp;lt;/key&amp;gt;
                &amp;lt;string&amp;gt;/var/mobile/Media/MxTube/paris.thm&amp;lt;/string&amp;gt;
                &amp;lt;key&amp;gt;title&amp;lt;/key&amp;gt;
                &amp;lt;string&amp;gt;Paris for President&amp;lt;/string&amp;gt;
        &amp;lt;/dict&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Just fill in the right filenames for the thumbnail and movie like you used above.  Also, change the author to yourself or the original director, and the duration accordingly.  Keep the id something random.  Also, you can change the display title as the last option there.&lt;/p&gt;

&lt;h2&gt;Other Pro Tips&lt;/h2&gt;

&lt;p&gt;Keep in mind that if you want to be able to delete the movie from the interface, you need to change the ownership on all the files to &lt;strong&gt;mobile:mobile&lt;/strong&gt; using &lt;code&gt;chown&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;Results!&lt;/h2&gt;

&lt;p&gt;Well, it totally works, with sound even.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ralree.com/assets/2008/8/7/IMG_0001.PNG&quot; alt=&quot;Paris is at the Bottom&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ralree.com/assets/2008/8/7/IMG_0006.PNG&quot; alt=&quot;Here's Paris in Full Glory&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Good luck!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-08-06:14564</id>
    <published>2008-08-06T05:37:00Z</published>
    <updated>2008-08-07T07:20:54Z</updated>
    <category term="bash"/>
    <category term="hack"/>
    <category term="howto"/>
    <category term="images"/>
    <category term="ipod"/>
    <category term="linux"/>
    <category term="ssh"/>
    <category term="xml"/>
    <link href="http://ralree.info/2008/8/6/putting-images-on-the-ipod-touch-from-linux" rel="alternate" type="text/html"/>
    <title>Putting Images on the iPod Touch from Linux</title>
<content type="html">
            &lt;h2&gt;Idea&lt;/h2&gt;

&lt;p&gt;I wanted to put images on my iPod Touch without using iTunes since, as most of us know, there is no &lt;strong&gt;good&lt;/strong&gt; way to use it from Linux.  It turns out there is a magic directory on the iPod Touch where it saves images from Safari.  I simply looked at how it saved them, and applied it on my box here at home.&lt;/p&gt;

&lt;h2&gt;Requirements&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Jailbroken iPod Touch (I used WinPWN), with OpenSSH installed and working (the root password is &lt;i&gt;alpine&lt;/i&gt;)&lt;/li&gt;
&lt;li&gt;Firmware 2.0 (Though, 1.x may work, I just haven&#8217;t tried it)&lt;/li&gt;
&lt;li&gt;A Linux box with a bash shell&lt;/li&gt;
&lt;li&gt;Cool images&lt;/li&gt;
&lt;li&gt;&lt;code&gt;convert&lt;/code&gt; and &lt;code&gt;mogrify&lt;/code&gt; from ImageMagick installed&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Method&lt;/h2&gt;

&lt;h5&gt;&lt;span&gt;These instructions might work for the iPhone as well.  YMMV&lt;/span&gt;&lt;/h5&gt;

&lt;p&gt;All of your images must be in the format &lt;strong&gt;IMG_XXXX.YYY&lt;/strong&gt; where &lt;strong&gt;XXXX&lt;/strong&gt; is a number &amp;lt; 9999, and &lt;strong&gt;YYY&lt;/strong&gt; is either &lt;strong&gt;JPG&lt;/strong&gt; or &lt;strong&gt;THM&lt;/strong&gt; (THM is a thumbnail).  To rename our files, I use a simple trick I outlined in my last post:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
EII=4; for i in *.jpg; do ls $i; \
NEWNAME=IMG_00`printf &quot;%02d&quot; $EII`.JPG; \
echo Renaming $i to $NEWNAME; \
mv $i $NEWNAME; EII=`expr $EII + 1`; done
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;That will rename all the JPEG files in order from 4 to, in my case, 62.  Now, I have to make the thumbnails:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
for i in `ls *.JPG | cut -d '.' -f 1`; do \
convert $i.JPG -resize 75x75! $i.THM; \
done
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The &lt;strong&gt;75x75!&lt;/strong&gt; part makes sure they are exactly those dimensions.  You end up with something like the following:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
IMG_0004.JPG  IMG_0016.JPG  IMG_0028.JPG  IMG_0040.JPG  IMG_0052.JPG
IMG_0004.THM  IMG_0016.THM  IMG_0028.THM  IMG_0040.THM  IMG_0052.THM
IMG_0005.JPG  IMG_0017.JPG  IMG_0029.JPG  IMG_0041.JPG  IMG_0053.JPG
....
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now, note that the iPod can only display images under 100KB (to my knowledge).  If your high-res image is too large, it will just display the magnified 75x75, which is &lt;strong&gt;&lt;em&gt;really&lt;/strong&gt;&lt;/em&gt; ugly.  So, make sure all your images fit that description, and if they don&#8217;t, &lt;code&gt;mogrify -resize&lt;/code&gt; them until they do (or take other measures as necessary).  I used this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
mogrify -resize 400x *.JPG
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;All my images turned out to be between 30 and 90 KB.  This also keeps the aspect ratio, unlike the &lt;strong&gt;75x75!&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Now, SSH into your iPod (if you can&#8217;t do this yet, google it).  You should have the following file:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
/var/mobile/Media/DCIM/.MISC/Info.plist
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Open this file in vi, and observe the &lt;strong&gt;plist&gt;dict&gt;integer&lt;/strong&gt; part of the hierarchy:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
&amp;lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&amp;gt;
&amp;lt;plist version=&quot;1.0&quot;&amp;gt;
&amp;lt;dict&amp;gt;
        &amp;lt;key&amp;gt;LastFileGroupNumber-100&amp;lt;/key&amp;gt;
        &amp;lt;integer&amp;gt;62&amp;lt;/integer&amp;gt;
&amp;lt;/dict&amp;gt;
&amp;lt;/plist&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So, I put &lt;b&gt;62&lt;/b&gt; in there since the last image I have is numbered 0062.  It&#8217;s a very simple idea.  Now, just load them onto the iPod:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
scp IMG_00* root@ipod:/var/mobile/Media/DCIM/100APPLE/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Let&#8217;s have a look from the iPod console!&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
HanksTouch:/var/mobile/Media/DCIM/100APPLE root# ls
IMG_0002.JPG  IMG_0014.THM  IMG_0027.JPG  IMG_0039.THM  IMG_0052.JPG
IMG_0002.THM  IMG_0015.JPG  IMG_0027.THM  IMG_0040.JPG  IMG_0052.THM
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Beautiful.  Now, to test it&#8230;&lt;/p&gt;

&lt;table&gt;
&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;http://ralree.com/assets/2008/8/6/IMG_0002.PNG&quot; /&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src=&quot;http://ralree.com/assets/2008/8/6/IMG_0001.PNG&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-08-06:14562</id>
    <published>2008-08-06T04:34:00Z</published>
    <updated>2008-08-06T04:36:56Z</updated>
    <category term="bash"/>
    <category term="linux"/>
    <category term="one-liner"/>
    <category term="tip"/>
    <link href="http://ralree.info/2008/8/6/renaming-files-sequentially-with-bash" rel="alternate" type="text/html"/>
    <title>Renaming Files Sequentially with BASH</title>
<content type="html">
            &lt;p&gt;I made a cool one-liner in bash today that renames files sequentially.  Here&#8217;s an example that takes all the JPEGs in a directory and renames them in order:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;
EII=4; for i in *.jpg; do ls $i; \
NEWNAME=IMG_00`printf &quot;%02d&quot; $EII`.JPG; \
echo Renaming $i to $NEWNAME; \
mv $i $NEWNAME; EII=`expr $EII + 1`; done
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Pretty cool, huh?  This is in relation to my next post.  Keep watch&#8230;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-07-25:14009</id>
    <published>2008-07-25T13:44:00Z</published>
    <updated>2008-07-25T14:28:00Z</updated>
    <category term="amazon"/>
    <category term="arduino"/>
    <category term="beer"/>
    <category term="c++"/>
    <category term="cloud computing"/>
    <category term="conference"/>
    <category term="hadoop"/>
    <category term="life"/>
    <category term="oscon"/>
    <category term="oscon2008"/>
    <category term="politics"/>
    <category term="python"/>
    <category term="ruby"/>
    <category term="swig"/>
    <category term="ubuntu"/>
    <link href="http://ralree.info/2008/7/25/oscon-sessions-day-2" rel="alternate" type="text/html"/>
    <title>OSCON Sessions, Day 2</title>
<content type="html">
            &lt;p&gt;Oh man, what a day.  &lt;/p&gt;

&lt;p&gt;I attended quite a few talks, grabbed a lot of swag, and entered a few contests.  I ended up buying the &lt;a href=&quot;http://www.makershed.com/ProductDetails.asp?ProductCode=MSAK&quot;&gt;Arduino Starter Kit from MAKE&lt;/a&gt; so I can do some awesome &lt;a href=&quot;http://rad.rubyforge.org/&quot;&gt;embedded Ruby&lt;/a&gt; like I saw at FOSCON.  It looks really fun - I can&#8217;t wait to try it out.&lt;/p&gt;

&lt;p&gt;The talks I attended were half-way decent, but I learned a lot more on the first day.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/Hadoop.EC2.rdoc&quot;&gt;Hadoop and EC2&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;A good overview of how one can use Amazon&#8217;s S3 and EC2 services to cheaply process and store data on a pretty large scale.  The New York Times digitized hundreds of years of articles in &lt;em&gt;a single day&lt;/em&gt; using these services and some awesome C++ code.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/Open.Standards.Cloud.Computing.rdoc&quot;&gt;Open standards in cloud computing&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;This ended up being a marketing talk.  I don&#8217;t know what it had to do with cloud computing, and I didn&#8217;t stick around to find out.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/Ruby.1.9.rdoc&quot;&gt;Ruby 1.9: What to Expect&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;An awesome overview of all the new stuff in Ruby 1.9 given by Sam Ruby.  I had no idea they were changing so much, and this was a good dive with code examples into that.  There was some discussion among everyone in the middle on whether &lt;code&gt;for&lt;/code&gt; loops should work like &lt;code&gt;.each&lt;/code&gt; blocks with regards to scope.  I happen to disagree with what ended up being the popular thought on this subject.  Most were advocating that a &lt;code&gt;for&lt;/code&gt; loop constitutes a block, and that scope variables and iterators should be localized inside of it.  This is contrary to almost every language, which I brought up using the example of C.  Yet, when you iterate with &lt;code&gt;.each&lt;/code&gt;, you immediately define a block and a scoped iterator, which, if it has a conflicting name with the outside world, it doesn&#8217;t matter since that&#8217;s out of scope.  The only thing this changes is the value of a variable outside after the loop finishes.  I think leaving the ability to modify a variable external to the loop is very convenient - in summary, &lt;em&gt;leave it how you&#8217;ve done it in Ruby 1.9 already&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/Mobile.rdoc&quot;&gt;Ubuntu on the Go: Subnotebook and MID technologies&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;This was an interesting session on where Canonical is taking mobile technology, and what the community can do to help.  They seem to have a pretty neat subnotebook coming out soon.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/SWIG.rdoc&quot;&gt;Python, C++, and SWIG&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;This could have been one of the best talks, but the speed at which it was given and the lack of enthusiasm in the presentation left most of us either bored or unfulfilled at the end of the talk.  He spent the first half explaining what Python and C++ were, then he got to what SWIG is.  The end was a quick dive into an extremely complicated bunch of files that didn&#8217;t help very much.  In the future, it would be helpful to go to a SWIG talk that details &lt;em&gt;how to make a simple Python extension with SWIG&lt;/em&gt;.  I may have to throw that one together myself&#8230;&lt;/p&gt;

&lt;p&gt;I also attended the tail end of &lt;a href=&quot;http://en.oreilly.com/oscon2008/public/schedule/detail/2872&quot;&gt;Designing Political Web Apps for MoveOn.org&lt;/a&gt;, but I didn&#8217;t take any notes.  &lt;/p&gt;

&lt;p&gt;We ended up going to dinner at &lt;a href=&quot;http://www.widmer.com/Default.aspx&quot;&gt;Widmer Brothers&lt;/a&gt;, which was pretty awesome.  I had the Pork Schnitzel, a very tender piece of meat if I do say so myself, along with 2 Full Nelson IPAs.  Afterwards, we caught the bus from the convention center to BeerForge and the SourceForge Community Choice Awards party.  Beerforge was a blast.  I ended up talking to &lt;a href=&quot;http://www.jbkempf.com/&quot;&gt;Jean-Baptiste Kempf&lt;/a&gt;, one of the developers of VLC, for hours - a truly great guy.  I learned a lot about France and the French people, but also about VLC.  Apparently, you can use VLC from the command line much like mplayer, which I did not know.  Yet, he explained that they removed Directshow support from VLC in Linux in favor of open source alternatives, which in part I can understand.  Yet, the only codec available that is able to smoothly play 1080p h264 video is closed source (&lt;a href=&quot;http://www.coreavc.com/&quot;&gt;CoreAVC&lt;/a&gt;), and until the ffmpeg avc codec catches up, I&#8217;ll have to continue using mplayer.  When I can play everything back smoothly with VLC, I may consider switching.&lt;/p&gt;

&lt;p&gt;The beer at BeerForge was pretty good - I had the IPA.  SourceForge had some sort of mixed drink which wasn&#8217;t too great.  All in all, a good day, but now I&#8217;m dehydrated&#8230;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-07-24:13961</id>
    <published>2008-07-24T08:08:00Z</published>
    <updated>2008-07-24T08:50:48Z</updated>
    <category term="africa"/>
    <category term="chisimba"/>
    <category term="cloud computing"/>
    <category term="databases"/>
    <category term="ejabberd"/>
    <category term="erlang"/>
    <category term="foscon"/>
    <category term="mysql"/>
    <category term="oscon"/>
    <category term="oscon08"/>
    <category term="philanthropy"/>
    <category term="rails"/>
    <category term="ruby"/>
    <category term="xmpp"/>
    <link href="http://ralree.info/2008/7/24/oscon-sessions-day-1" rel="alternate" type="text/html"/>
    <title>OSCON Sessions, Day 1</title>
<content type="html">
            &lt;p&gt;I went to 5 sessions today, and I was pleasantly surprised by most of them.  &lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/CouchDB.rdoc&quot;&gt;CouchDB&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;CouchDB is a distributed non-relational database written in Erlang.  It is unique in that its main query interface is simply HTTP REST, and for every UPDATE, it simply creates a new version of the row.  Additionally, you can request the entire history of a row very simply.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/Hypertable.rdoc&quot;&gt;Hypertable&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;An open-source implementation of Google&#8217;s bigtable.  Hypertable uses novel methods such as Bloom filters to significantly decrease query times, as well as smart messaging to distribute a database across many nodes.  It is also non-relational.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/Africa.rdoc&quot;&gt;Creating and supporting Free Software in Africa&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;A group of CS professors hailing from Africa have gotten together to create a community that fosters creativity and innovation from people in Africa.  People in first-world countries can participate by acting as mentors, or directly contribute to the projects involved.  &lt;a href=&quot;http://en.wikipedia.org/wiki/Chisimba&quot;&gt;Chisimba&lt;/a&gt; is an open-source MVC framework for rapid application development.  I am very interested in contributing to this project.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/LucidDB.rdoc&quot;&gt;LucidDB&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;I thought going in that this would be somehow in the same ballpark as Hypertable and CouchDB, but I was disappointed.  Basically, they are using compression and some fairly neat indexing to speed up traditional database queries.  The main problem is that they only have a Java API, which completely turned me off after 30 minutes.  Before that, it seemed like they were getting some pretty promising results.  If they add some more APIs in the future, this may be another one to take a look at.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/sessions/History.of.Failure.rdoc&quot;&gt;A History of Failure&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;An awesome talk by Paul Fenwick from Australia, generally detailing failures in computer science and engineering going back into the 20th century and even back to Roman times.  This was a wonderful presentation - he&#8217;s a really good speaker - and it poked a &lt;em&gt;lot&lt;/em&gt; of fun at New Zealand.&lt;/p&gt;

&lt;p&gt;All in all, I must say that this OSCON is much better than last year&#8217;s at least according to what I was looking for in the sessions.  The exhibit hall is also very good this year - I&#8217;m pretty loaded down with swag at the moment.  &lt;/p&gt;

&lt;p&gt;I know someone who would have gotten a kick out of &lt;a href=&quot;http://en.oreilly.com/oscon2008/public/schedule/detail/4549&quot;&gt;Temporally Quaquaversal Virtual Nanomachine Programming In Multiple Topologically Connected Quantum-Relativistic Parallel Timespaces&#8230;Made Easy!&lt;/a&gt; had they been here.  He needs to come next year (you know who you are..)&lt;/p&gt;

&lt;p&gt;Tonight, I also attended &lt;a href=&quot;http://pdxfoscon.org/&quot;&gt;FOSCON 4: Cooking with Ruby&lt;/a&gt;.  This was a spectacular event hosted by Cubespace.  I have to say that the live coding competition was a great spectacle, and held everyone&#8217;s attention for hours.  It was an epic battle between Symfony, Rails, Smalltalk/Seaside, and Drupal.  The rankings ended up being the following:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Rails&lt;/li&gt;
&lt;li&gt;Drupal&lt;/li&gt;
&lt;li&gt;Symfony&lt;/li&gt;
&lt;li&gt;Smalltalk/Seaside&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The presentations were good as well for the most part (notes &lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/foscon/Notes.rdoc&quot;&gt;here&lt;/a&gt;).  &lt;strong&gt;AND THEY HAD BEER!&lt;/strong&gt; I had some of the best keg beer imaginable - I thought it would be crap like you usually get out of a keg, but this was real quality Northwestern hopped pale ale.  My cup says Bridgeport Ales, so I&#8217;ll have to investigate.  If anyone knows the exact beer that was available in the left-side keg tonight, I&#8217;d appreciate a comment.  I also met some cool people, some of which are all into XMPP and ejabberd.  I may have to check all of that out now&#8230;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-07-22:13875</id>
    <published>2008-07-22T18:10:00Z</published>
    <updated>2008-07-22T18:42:47Z</updated>
    <category term="conference"/>
    <category term="django"/>
    <category term="intel"/>
    <category term="oscon"/>
    <category term="oscon2008"/>
    <category term="postgres"/>
    <link href="http://ralree.info/2008/7/22/oscon-2008-tutorials-a-perspective" rel="alternate" type="text/html"/>
    <title>OSCON 2008 Tutorials: A perspective</title>
<content type="html">
            &lt;p&gt;I&#8217;ve been at OSCON 2008, and I&#8217;ve been keeping pretty good notes on &lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/tutorials&quot;&gt;the tutorials I&#8217;ve attended&lt;/a&gt;.  GitHub has a great feature if you take notes in rdoc, making nice HTML when it&#8217;s viewed online.  Here&#8217;s some links to my notes:&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/tutorials/ProPostgres.rdoc&quot;&gt;Pro PostgreSQL&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;This talk was alright, but it wasn&#8217;t really tailored for people who hadn&#8217;t used Postgres extensively.  Yet, I&#8217;m sure the notes will come in handy in the future.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/tutorials/Django.rdoc&quot;&gt;Introduction to Django&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;This was an awesome talk.  He went through designing an actual working application using Django.  It turns out to be incredibly easy to quickly create a really cool application.  I need to research this because it looks to me to be better than Rails.&lt;/p&gt;

&lt;h2&gt;&lt;a href=&quot;http://github.com/hank/life/tree/master/oscon/2008/tutorials/Ubiquitous.Multithreading.rdoc&quot;&gt;Ubiquitous Multithreading&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;This talk was alright if you wanted to get an idea about the challenges of multi-threading and how Intel&#8217;s TBB solves some of them.  It was interesting, and I learned a few things, but it would have been a better session than a tutorial (LONG!)&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-07-19:13688</id>
    <published>2008-07-19T02:40:00Z</published>
    <updated>2008-07-19T02:41:00Z</updated>
    <category term="humor"/>
    <category term="nph"/>
    <category term="shows"/>
    <category term="tv"/>
    <link href="http://ralree.info/2008/7/19/doctor-horrible-is-awesome" rel="alternate" type="text/html"/>
    <title>Doctor Horrible Is Awesome</title>
<content type="html">
            &lt;p&gt;&lt;a href=&quot;http://www.drhorrible.com&quot;&gt;&lt;img src=&quot;http://www.drhorrible.com/images/banners/big_square.gif&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You &lt;strong&gt;&lt;em&gt;have&lt;/strong&gt;&lt;/em&gt; to watch it.  Trust me, and trust &lt;strong&gt;NPH&lt;/strong&gt;.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-07-18:13679</id>
    <published>2008-07-18T23:05:00Z</published>
    <updated>2008-07-18T23:10:53Z</updated>
    <category term="funny"/>
    <category term="humor"/>
    <category term="rails"/>
    <category term="recruiting"/>
    <category term="rolodex"/>
    <category term="ruby"/>
    <link href="http://ralree.info/2008/7/18/pradipta-s-rolodex-epic-conclusion" rel="alternate" type="text/html"/>
    <title>Pradipta's Rolodex Epic Conclusion</title>
<content type="html">
            &lt;p&gt;If you don&#8217;t already know about Pradipta&#8217;s Rolodex, read up &lt;a href=&quot;http://groups.google.com/group/pradiptas-rolodex&quot;&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here&#8217;s the epic apology email from &lt;strong&gt;THE MAN HIMSELF!&lt;/strong&gt;:&lt;/p&gt;

&lt;blockquote&gt;
Hi All,

First of all I just wanted to say I apologize for the emails I sent. As of today I promise to stop the Email marketing campaigns. And I do believe it was a very&#8230;very..stupid mistake, this is the result of working late.

Also, I am deeply amazed of how talented you guys are. I mean seriously all this happened in less than 24 hours.  I hope this mishap would create a benefit for all of us.

I understand this is fun for a lot of you, however, people are getting angry so if we could keep everything under the google groups that would be most appreciated.

http://groups.google.com/group/pradiptas-rolodex?hl=en

If anyone wants to contact me feel free to contact this new email
pradipta416@gmail.com.

Humbly Sorry,
Pradipta (Max) Archiputra

P.S: this time I used BCC. :)
&lt;/blockquote&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-07-11:13395</id>
    <published>2008-07-11T05:24:00Z</published>
    <updated>2008-07-11T05:31:41Z</updated>
    <category term="ayn rand"/>
    <category term="books"/>
    <category term="economics"/>
    <category term="philosophy"/>
    <category term="politics"/>
    <category term="robin hood"/>
    <category term="taxes"/>
    <link href="http://ralree.info/2008/7/11/ayn-rand-s-robin-hood" rel="alternate" type="text/html"/>
    <title>Ayn Rand's Robin Hood</title>
<content type="html">
            &lt;p&gt;Ayn Rand brings up an interesting point about Robin Hood in &lt;em&gt;Atlas Shrugged&lt;/em&gt;.  She argues that Robin Hood is remembered for robbing from the rich and giving to the poor based on &lt;strong&gt;need&lt;/strong&gt;, and that this is not the correct way to think about the tale.  Robin Hood indeed did rob from the rich and gave to the poor, but not because the poor simply needed money, but because the money &lt;strong&gt;&lt;em&gt;had been stolen from them&lt;/strong&gt;&lt;/em&gt; by the rulers.  This is a subtle, but extremely good point.  Robin Hood was simply giving people back their property, which they earned, that was stolen using overbearing taxation.  In fact, theoretically, he should have been robbing from the ruling class and giving to &lt;strong&gt;all&lt;/strong&gt; taxpayers the same amount they paid in taxes, assuming a progressive or income-proportional tax system.  This would include people from the middle class, such as merchants, as well as the poor.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-07-04:13168</id>
    <published>2008-07-04T16:31:00Z</published>
    <updated>2008-07-04T18:23:18Z</updated>
    <category term="democracy"/>
    <category term="economy"/>
    <category term="government"/>
    <category term="politics"/>
    <link href="http://ralree.info/2008/7/4/when-is-democracy-viable" rel="alternate" type="text/html"/>
    <title>When is democracy viable?</title>
<summary type="html">&lt;p&gt;As I&#8217;ve been reading various books, an idea keeps popping up.&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;Suddenly radio playlists, MTV, and A&amp;amp;R guys aren’t
    the all-powerful gatekeepers anymore. At long last the music industry
    is becoming a democracy.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In our governmental systems, we elect representatives to make decisions for us, sending them to Washington to write bills, oppose bills, pass bills, or veto bills.  We ideally find candidates who will make similar decisions to those we ourselves would make.  We elect them in a process called democracy (unless it&#8217;s a presidential election, in which case the popular vote only determines a winner-takes-all vote for the state, allowing the electoral votes to originate from one party or another).  In government, a direct legislative rule by the people is as dangerous as a direct legislative rule by any tyrant.  In a country where we preach equal treatment of any minority, we cannot have raw majority rule, where fear of the majority silences all those who might oppose it out of fear of rejection, blasphemy, or outright violence.  &lt;/p&gt;</summary><content type="html">
            &lt;p&gt;As I&#8217;ve been reading various books, an idea keeps popping up.&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;Suddenly radio playlists, MTV, and A&amp;amp;R guys aren’t
    the all-powerful gatekeepers anymore. At long last the music industry
    is becoming a democracy.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In our governmental systems, we elect representatives to make decisions for us, sending them to Washington to write bills, oppose bills, pass bills, or veto bills.  We ideally find candidates who will make similar decisions to those we ourselves would make.  We elect them in a process called democracy (unless it&#8217;s a presidential election, in which case the popular vote only determines a winner-takes-all vote for the state, allowing the electoral votes to originate from one party or another).  In government, a direct legislative rule by the people is as dangerous as a direct legislative rule by any tyrant.  In a country where we preach equal treatment of any minority, we cannot have raw majority rule, where fear of the majority silences all those who might oppose it out of fear of rejection, blasphemy, or outright violence.  &lt;/p&gt;
&lt;p&gt;As I&#8217;ve been reading various books, an idea keeps popping up.&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;Suddenly radio playlists, MTV, and A&amp;amp;R guys aren’t
    the all-powerful gatekeepers anymore. At long last the music industry
    is becoming a democracy.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In our governmental systems, we elect representatives to make decisions for us, sending them to Washington to write bills, oppose bills, pass bills, or veto bills.  We ideally find candidates who will make similar decisions to those we ourselves would make.  We elect them in a process called democracy (unless it&#8217;s a presidential election, in which case the popular vote only determines a winner-takes-all vote for the state, allowing the electoral votes to originate from one party or another).  In government, a direct legislative rule by the people is as dangerous as a direct legislative rule by any tyrant.  In a country where we preach equal treatment of any minority, we cannot have raw majority rule, where fear of the majority silences all those who might oppose it out of fear of rejection, blasphemy, or outright violence.  &lt;/p&gt;

&lt;p&gt;This, of course, leads to problems, as the majority would:&lt;/p&gt;

&lt;h4&gt;&lt;a href=&quot;http://economictimes.indiatimes.com/PoliticsNation/Americans_fear_of_terror_attack_lowest_since_911/articleshow/3191147.cms&quot;&gt;Withdraw from Iraq&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;&#8220;Three in 10 voters favour the war, while 68 per cent oppose it. &#8221;&lt;/strong&gt;&lt;/em&gt; &lt;/p&gt;

&lt;h4&gt;&lt;a href=&quot;http://www.cbsnews.com/stories/2008/06/13/opinion/polls/main4180335.shtml?source=mostpop_story&quot;&gt;Legalize gay marriage or civil unions&lt;/a&gt;&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;&#8220;Most Americans continue to think there should be some legal recognition of gay and lesbian couples, and 30 percent say same-sex couples should be allowed to marry&#8221;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Representative government also has many boons, since &lt;a href=&quot;http://www.cnn.com/2008/POLITICS/07/01/cnn.poll/&quot;&gt;free trade would now be outlawed under a pure democracy&lt;/a&gt;, which of course could mean &#8220;Free Trade Agreements,&#8221; which are oxymoronic, but the article says these people fear &#8220;trade with other nations.&#8221;  So, what do we do about this?  I think keeping a &lt;a href=&quot;http://en.wikipedia.org/wiki/Republicanism&quot;&gt;republican&lt;/a&gt; form of government is central to our freedoms and the protection of minorites.  &lt;/p&gt;

&lt;p&gt;While my opinion of a pure democracy determining the law of the land, I am convinced that it is viable in many situations, particularly those where the decisions being made by the majority are based solely on the quality of a range of products.  One example is art.&lt;/p&gt;

&lt;h4&gt;Art&lt;/h4&gt;

&lt;p&gt;Art is produced by an artist in order to promote ideas, encourage thought, make a political statement, inspire people, enjoy oneself, or simply to make a profit.  When one observes a piece of art, he/she can generally come to a conclusion about how much they like it.  Promotion of art based on a democratic system is perfectly acceptable since the minorities are simply manufacturers of art that most people find unattractive and those who like unattractive art.  The result of unpopular art is the encouragement of artists to improve themselves.  Yet, minorities can also form when a new type of art is being introduced, the majority still on the bandwagon of the last big thing.  The fact that art has eras tells us that most people are not so attached to one era that they cannot begin to enjoy another one equally, therefore not polarizing them like political issues do.  You&#8217;re either pro-life or pro-choice, but you can enjoy country and reggae music at the same time.&lt;/p&gt;

&lt;h2&gt;Summary&lt;/h2&gt;

&lt;p&gt;In essence, when one can only take sides on an issue, pure democracy and referenda are evil and should be avoided.  Yet, when one can use democracy to promote things they find attractive - when promotion of any member of the category in question does not polarize the promoter - it is serving its purpose.  When a choice by the majority does not prevent the minority from expressing themselves in any way they please, democracy is appropriate.  Democratic input is definitely warranted in politics, and should have an influence on the representatives who supposedly study all the facts before making decisions (see the &lt;a href=&quot;http://www.downsizedc.org/read_the_laws.shtml&quot;&gt;Read the Bills Act&lt;/a&gt;), but popular opinion should not have complete influence on decision makers.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://ralree.info/">
    <author>
      <name>hank</name>
    </author>
    <id>tag:ralree.info,2008-07-04:13142</id>
    <published>2008-07-04T04:26:00Z</published>
    <updated>2008-07-04T23:46:47Z</updated>
    <category term="close source"/>
    <category term="firefox"/>
    <category term="flash"/>
    <category term="linux"/>
    <link href="http://ralree.info/2008/7/4/flash-10-for-linux-fixes-landmark-bug" rel="alternate" type="text/html"/>
    <title>Flash 10 for Linux Fixes Landmark Bug</title>
<content type="html">
            &lt;p&gt;The new July 2nd version of Flash Player 10 for Linux finally fixes the HTML overlay bug that we&#8217;ve been seeing for years.  You can now see things on top of the flash elements on the page, like so:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://ralree.info/assets/2008/7/4/flash_linux_fix.png&quot; alt=&quot;Now I have to go clean myself&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://labs.adobe.com/downloads/flashplayer10.html&quot;&gt;Get it now!&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;Update&lt;/h1&gt;

&lt;p&gt;After trying it with YouTube and &lt;a href=&quot;http://www.thesixtyone.com&quot;&gt;TheSixtyOne&lt;/a&gt;, and seeing some lame bugs, I decided to go back to Flash 9 and face the music on overlays.&lt;/p&gt;
          </content>  </entry>
</feed>
