<?xml version="1.0" encoding="UTF-8"?>
<feed version="0.3" xml:lang="en-US" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/atom/ns#">
  <title>PresidentBeef.com</title>
  <tagline mode="escaped" type="text/html"/>
  <id>tag:presidentbeef.com,2005:ozimodo</id>
  <generator url="http://ozimodo.rubyforge.org/">ozimodo</generator>
  <link href="http://presidentbeef.com/blog/" rel="alternate" type="text/html"/>
  <modified>2008-08-19T05:30:00-05:00</modified>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-105</id>
    <issued>2008-08-19T05:30:00-05:00</issued>
    <modified>2008-08-19T05:30:00-05:00</modified>
    <title>Library Thing</title>
    <link href="http://presidentbeef.com/blog/2008/08/19/#105" rel="alternate" type="text/html"/>
    <dc:subject>librarything</dc:subject>
    <dc:subject>books</dc:subject>
    <content mode="escaped" type="text/html">A while ago I started adding some of my books to this &lt;a href="http://www.librarything.com/"&gt;LibraryThing&lt;/a&gt; after deciding the Facebook application I was using was lame.

Anyway, you can see a part of my pile of books &lt;a href="http://www.librarything.com/catalog/presidentbeef"&gt;right here,&lt;/a&gt; though you should be aware that it is heavily biased towards recent purchases and science fiction. I haven&amp;#8217;t really gotten to any of my non-fiction books (they tend to be heavier and harder to throw around for some reason.)

LibraryThing allows you to catalog up to 200 books for free, so if I am to add all of my books I will need to pay the (relatively small) fee for a lifetime membership. But I am waiting to see if it is really all that useful for me.</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-104</id>
    <issued>2008-08-10T23:33:00-05:00</issued>
    <modified>2008-08-10T23:33:00-05:00</modified>
    <title>Fish and Turtles</title>
    <link href="http://presidentbeef.com/blog/2008/08/10/#104" rel="alternate" type="text/html"/>
    <dc:subject>turtles</dc:subject>
    <content mode="escaped" type="text/html">&lt;p&gt;Yesterday I bought the turtles a bunch of fish to snack on. Last time I bought them fish, the turtles ate a couple and then very, very slowly worked their way through the rest of them, except for one. This time, I had asked the PetCo guy for six fish, but he gave me around twelve because several were really, really tiny.&lt;/p&gt;&lt;p&gt;The turtles have eaten them all, the only fish surviving is the one that was left from the last  bunch.&lt;/p&gt;&lt;p&gt;Little killing machines. &lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-103</id>
    <issued>2008-08-09T00:00:00-05:00</issued>
    <modified>2008-08-09T00:00:00-05:00</modified>
    <title>Magnet</title>
    <link href="http://presidentbeef.com/blog/2008/08/09/#103" rel="alternate" type="text/html"/>
    <dc:subject>taxi</dc:subject>
    <dc:subject>cab</dc:subject>
    <dc:subject>magnet</dc:subject>
    <content mode="escaped" type="text/html">Getting a refrigerator magnet from a taxi company with not just their number, but the numbers for local police and hospitals, is the kind of thing that makes me happy.</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-102</id>
    <issued>2008-08-08T19:26:00-05:00</issued>
    <modified>2008-08-08T19:26:00-05:00</modified>
    <title>Comments</title>
    <link href="http://presidentbeef.com/blog/2008/08/08/#102" rel="alternate" type="text/html"/>
    <dc:subject>website</dc:subject>
    <dc:subject>comments</dc:subject>
    <dc:subject>disqus</dc:subject>
    <content mode="escaped" type="text/html">You know have the ability to share your thoughtful insights on my clever and informative blog posts. Of course, if you were reading them through &lt;a href="http://facebook.com"&gt;Facebook&lt;/a&gt; that probably wasn&amp;#8217;t really a huge concern in the first place&amp;#8230;

I wasn&amp;#8217;t really planning on adding comments any time soon, but I happened across this &lt;a href="http://disqus.com/"&gt;Disqus&lt;/a&gt; thing which manages comment systems for you. You can add it to any webpage (which is good, because how many people have heard of &lt;a href="http://ozimodo.rubyforge.org/"&gt;Ozimodo,&lt;/a&gt; much less attempt to support it?) and it takes care of pretty much everything. Kind of neat.</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-101</id>
    <issued>2008-08-01T21:14:00-05:00</issued>
    <modified>2008-08-01T21:14:00-05:00</modified>
    <title>Updates and the Horizon</title>
    <link href="http://presidentbeef.com/blog/2008/08/01/#101" rel="alternate" type="text/html"/>
    <dc:subject>personal</dc:subject>
    <dc:subject>of</dc:subject>
    <dc:subject>kingdoms</dc:subject>
    <dc:subject>ahln</dc:subject>
    <content mode="escaped" type="text/html">Well, the conference paper that has been delayed again and again since the beginning of this year has finally been submitted to &lt;a href="http://www.wicon.org/"&gt;&lt;span class="caps"&gt;WICON&lt;/span&gt;&lt;/a&gt; so I feel a sudden sense of relief and release.

A meeting with my advisor today set out a fairly ambitious (I think) schedule for my next projects, but I am excited to get started on it, though that may just be because it is something new.

In celebration, &lt;a href="http://www.kingdomsofahln.com/"&gt;Kingdoms of Ahln&lt;/a&gt; now has its own little server, meaning it is actually accessible to people other than myself. I plan to be putting a lot of time into it in the remaining summertime. I&amp;#8217;ve had a lot of ideas bouncing around in my little head, but they are pretty worthless if they stay there!

It&amp;#8217;s also time to finally start working on my mom&amp;#8217;s website for her new independent practice, which I am sure she will appreciate. 

And what about &lt;a href="http://www.myspace.com/pinoforks"&gt;Pi, No Forks&lt;/a&gt; and &lt;a href="http://www.myspace.com/blackorangeisawesome"&gt;Black Orange?&lt;/a&gt; Believe it or not, I do have some song things kicking around, but I have not had the time nor energy to record them. But maybe I will now. My instruments and recording stuff look sad and lonely.

I&amp;#8217;m pretty much done with &lt;a href="http://sqwee.rubyforge.org/"&gt;Sqwee&lt;/a&gt; for now, I think. I still use it, but haven&amp;#8217;t had any burning desire to improve it or add any new features. Of course, maybe if other people used it and made suggestions&amp;#8230;

One other thing I&amp;#8217;m planning is maybe adding some way of leaving comments on this blogatron&amp;#8230;though probably nobody would. Hrm&amp;#8230;</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-100</id>
    <issued>2008-07-15T05:11:00-05:00</issued>
    <modified>2008-07-15T05:11:00-05:00</modified>
    <title>Apartments</title>
    <link href="http://presidentbeef.com/blog/2008/07/15/#100" rel="alternate" type="text/html"/>
    <dc:subject>apartments</dc:subject>
    <content mode="escaped" type="text/html">&lt;p&gt;Why do people think that being located right next to an interstate is a &amp;quot;great location&amp;quot;? &lt;/p&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-99</id>
    <issued>2008-07-09T17:54:00-05:00</issued>
    <modified>2008-07-09T17:54:00-05:00</modified>
    <title>What I've Done</title>
    <link href="http://presidentbeef.com/blog/2008/07/09/#99" rel="alternate" type="text/html"/>
    <dc:subject>research</dc:subject>
    <dc:subject>qualnet</dc:subject>
    <dc:subject>ipne</dc:subject>
    <dc:subject>manet</dc:subject>
    <dc:subject>emulation</dc:subject>
    <dc:subject>dia</dc:subject>
    <content mode="escaped" type="text/html">&lt;img src="http://presidentbeef.com/images/ipne-mod-med.png" alt="Modified IPNE"&gt;</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-98</id>
    <issued>2008-07-02T15:23:00-05:00</issued>
    <modified>2008-07-02T15:23:00-05:00</modified>
    <title>Huh?</title>
    <link href="http://presidentbeef.com/blog/2008/07/02/#98" rel="alternate" type="text/html"/>
    <dc:subject>tcp</dc:subject>
    <dc:subject>ip</dc:subject>
    <dc:subject>sockets</dc:subject>
    <dc:subject>book</dc:subject>
    <content mode="escaped" type="text/html">Three years after buying &lt;a href="http://www.amazon.com/Pocket-Sockets-Version-Kaufmann-Practical/dp/1558606866"&gt;The Pocket Guide to &lt;span class="caps"&gt;TCP&lt;/span&gt;/IP Sockets&lt;/a&gt; for my networking class, I have realized the title of this book is a little misleading.

&lt;img src="http://www.presidentbeef.com/images/tcpsock.jpg" alt="" /&gt;

No, it&amp;#8217;s not the &amp;#8220;pocket&amp;#8221; part. It will actually fit into the back pocket of my pants. It&amp;#8217;s the &amp;#8220;TCP&amp;#8221; part. Why in the world would you specify that it is about &lt;span class="caps"&gt;TCP&lt;/span&gt;/IP sockets and then brazenly have an entire chapter on &amp;#8220;Using &lt;span class="caps"&gt;UDP&lt;/span&gt; Sockets&amp;#8221;?? That makes &lt;span class="caps"&gt;NO SENSE&lt;/span&gt;!

I just realized I have no idea why I am writing this.</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-97</id>
    <issued>2008-06-25T20:03:00-05:00</issued>
    <modified>2008-06-25T20:03:00-05:00</modified>
    <title>Tiny App Launcher</title>
    <link href="http://presidentbeef.com/blog/2008/06/25/#97" rel="alternate" type="text/html"/>
    <dc:subject>ruby</dc:subject>
    <dc:subject>programming</dc:subject>
    <dc:subject>application</dc:subject>
    <dc:subject>runner</dc:subject>
    <dc:subject>launcher</dc:subject>
    <dc:subject>zerenity</dc:subject>
    <content mode="escaped" type="text/html">&lt;strong&gt;Story&lt;/strong&gt;

I just upgraded my lab desktop to &lt;a href="http://www.mandrivalinux.com/"&gt;Mandriva 2008.1.&lt;/a&gt; As usual, my first action was to install  &lt;a href="http://xfce.org"&gt;Xfce.&lt;/a&gt; That all worked well until I hit my usual Alt+F2 to launch a program. Nothing happened. I tried again. Still nothing. So I checked out the keyboard shortcuts, thinking they might be messed up. After actually finding where Alt+F2 gets set (there are a few different places in Xfce where keybindings are created), I saw it was indeed set up to run xfrun4, Xfce&amp;#8217;s little run dialog.

I headed to the console (another aggravation: I am used to using gnome-terminal for my console, because I like its tabs and general feel. But it is way too slow for some reason and, even more importantly, I &lt;em&gt;cannot&lt;/em&gt; figure out how to make the cursor stop blinking. It drives me nuts) and ran xfrun4 from there. Result: &lt;code&gt;segfault&lt;/code&gt;

After poking around to see if there are any other little things like xfrun4 (something I have done before, actually), I gave up and wrote my own.

&lt;strong&gt;Requirements&lt;/strong&gt;

* &lt;a href="http://www.aimred.com/projects/zerenity/"&gt;Zerenity&lt;/a&gt;
&lt;strong&gt;* &lt;span class="caps"&gt;GTK2&lt;/span&gt;
*&lt;/strong&gt; Ruby/GTK2

&lt;strong&gt;Code&lt;/strong&gt;
&lt;div style="background-color:black;color:white;padding:5px"&gt;
&lt;font face="monospace"&gt;
&lt;font color="#ff40ff"&gt;#!/bin/env ruby&lt;/font&gt;&lt;br&gt;
&lt;font color="#ff40ff"&gt;require&lt;/font&gt;&amp;nbsp;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#ff6060"&gt;rubygems&lt;/font&gt;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;br&gt;
&lt;font color="#ff40ff"&gt;require&lt;/font&gt;&amp;nbsp;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#ff6060"&gt;zerenity/entry&lt;/font&gt;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;br&gt;
&lt;font color="#ff40ff"&gt;require&lt;/font&gt;&amp;nbsp;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#ff6060"&gt;zerenity/warning&lt;/font&gt;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;br&gt;
&lt;br&gt;
&lt;font color="#ff40ff"&gt;loop&lt;/font&gt;&amp;nbsp;&lt;font color="#ff40ff"&gt;do&lt;/font&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;begin&lt;/font&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;program = &lt;font color="#00ff00"&gt;Zerenity&lt;/font&gt;.Entry(&lt;font color="#ff6060"&gt;:title&lt;/font&gt;&amp;nbsp;=&amp;gt; &lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#ff6060"&gt;Run&lt;/font&gt;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;if&lt;/font&gt;&amp;nbsp;program&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exec program&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;end&lt;/font&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;break&lt;/font&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;rescue&lt;/font&gt;&amp;nbsp;&lt;font color="#00ff00"&gt;Interrupt&lt;/font&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;break&lt;/font&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;rescue&lt;/font&gt;&amp;nbsp;&lt;font color="#00ff00"&gt;Errno&lt;/font&gt;::&lt;font color="#00ff00"&gt;&lt;span class="caps"&gt;ENOENT&lt;/span&gt;&lt;/font&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#00ff00"&gt;Zerenity&lt;/font&gt;.Warning(&lt;font color="#ff6060"&gt;:text&lt;/font&gt;&amp;nbsp;=&amp;gt; &lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#ff6060"&gt;Program not found.&lt;/font&gt;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;, &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#ff6060"&gt;:title&lt;/font&gt;&amp;nbsp;=&amp;gt; &lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#ff6060"&gt;Error&lt;/font&gt;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;rescue&lt;/font&gt;&amp;nbsp;&lt;font color="#00ff00"&gt;Exception&lt;/font&gt;&amp;nbsp;=&amp;gt; e&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#00ff00"&gt;Zerenity&lt;/font&gt;.Warning(&lt;font color="#ff6060"&gt;:text&lt;/font&gt;&amp;nbsp;=&amp;gt; e.inspect, &lt;font color="#ff6060"&gt;:title&lt;/font&gt;&amp;nbsp;=&amp;gt; &lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#ff6060"&gt;Error&lt;/font&gt;&lt;font color="#ff40ff"&gt;&amp;quot;&lt;/font&gt;)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#ff40ff"&gt;end&lt;/font&gt;&lt;br&gt;
&lt;font color="#ff40ff"&gt;end&lt;/font&gt;&lt;br&gt;
&lt;/font&gt;
&lt;/div&gt;

&lt;strong&gt;Thrilling Conclusion&lt;/strong&gt;

I dropped this in a file in /usr/bin/ and changed the keybinding&amp;#8230;and that&amp;#8217;s it. Works well enough, though it would be nice to have autocomplete/history stuff. But Zerenity does not have that (yet).</content>
  </entry>
  <entry>
    <author>
      <name>Justin</name>
    </author>
    <id>tag:presidentbeef.com,2005:ozimodo-96</id>
    <issued>2008-06-02T16:59:00-05:00</issued>
    <modified>2008-06-02T16:59:00-05:00</modified>
    <title>Am I the only one?</title>
    <link href="http://presidentbeef.com/blog/2008/06/02/#96" rel="alternate" type="text/html"/>
    <content mode="escaped" type="text/html">Seriously, am I the only one who wonders who decided to put the &lt;a href="http://www.seas.ucla.edu/esuc/cafe_main.html"&gt;&amp;#8216;SEAS Cafe&amp;#8217;&lt;/a&gt; (basically a tiny little convenience store in &lt;a href="http://maps.ucla.edu/campus?cpoint=6427537.3634538,1847839.669001&amp;#38;level=3&amp;#38;a_layers=Base%20Map&amp;#38;s_resource=Base%20Map&amp;#38;s_layer=Campus%20Building&amp;#38;s_field=SDE.CMPS_BLDG_AREA.OBJECTID&amp;#38;s_value=127"&gt;Boelter Hall&lt;/a&gt; right next to a bunch of chemistry labs? I&amp;#8217;ve been thinking about this for a while, especially those days when the odor coming from those labs is really foul.

So today I paid a little bit closer attention. One of the labs a few doors down from the Cafe has a lovely &amp;#8220;radioactive materials&amp;#8221; sign on it, but &amp;#8211; even better &amp;#8211; two labs directly adjacent to the Cafe have &amp;#8220;biohazard&amp;#8221; signs!

Now, the likelihood of something going wrong is probably pretty low, nothing to worry too much about. However, the likelihood of something going &lt;strong&gt;very&lt;/strong&gt; wrong if something &lt;em&gt;does&lt;/em&gt; go wrong&amp;#8230;well, I would guess it is quite high.

But&amp;#8230;who cares, I guess? It&amp;#8217;s convenient :)</content>
  </entry>
</feed>
