<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>The Gozer is In</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/" />
    <link rel="self" type="application/atom+xml" href="http://gozer.ectoplasm.org/blog/atom.xml" />
    <id>tag:gozer.ectoplasm.org,2008-05-28:/blog//2</id>
    <updated>2008-05-06T05:54:45Z</updated>
    <subtitle>Various Ramblings of an Internet Janitor</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Open Source 4.1</generator>

<entry>
    <title>Power Maintenance @ Metropolitan Towers</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2008/05/power-maintenan.html" />
    <id>tag:gozer.ectoplasm.org,2008:/blog//2.137</id>

    <published>2008-05-05T03:53:18Z</published>
    <updated>2008-05-06T05:54:45Z</updated>

    <summary>That&apos;s just too bad. The building we live in will be shutting down power for some electrical maintenance tonight. Why do I care ? Well, because I have this trusty OpenBSD Firewall that&apos;s been humming along in a closet forever....</summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<p>That's just too bad. The building we live in will be shutting down power for some electrical maintenance tonight. Why do I care ? Well, because I have this trusty <a href="http://www.openbsd.org">OpenBSD</a> Firewall that's been humming along in a closet forever. Well, not forever, but almost.</p><code>[root@dorsk root]# uname -a ; uptime<br />
OpenBSD dorsk.bc.ectoplasm.org 3.7 GENERIC#50 i386 11:59PM<br />
up 784 days, 10:51, 1 user, load averages: 0.86, 0.64, 0.48<br />
[root@dorsk root]# shutdown -p -h now<br /></code><code>Shutdown NOW!<br /></code><code>*** FINAL System shutdown message from root@dorsk.bc.ectoplasm.org<br /></code><code>*** System going down IMMEDIATELY<br /></code><code>System shutdown time has arrived<br /></code>
<p>Oh well, can't be helped. Go <a href="http://www.openbsd.org">OpenBSD</a>, GO!</p>

<div class="posttagsblock"><a href="http://technorati.com/tag/openbsd" rel="tag">openbsd</a></div>]]>
        
    </content>
</entry>

<entry>
    <title>History</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2008/04/history.html" />
    <id>tag:gozer.ectoplasm.org,2008:/blog//2.136</id>

    <published>2008-04-14T05:14:10Z</published>
    <updated>2008-04-14T05:17:19Z</updated>

    <summary><![CDATA[Apparently, I've got to do like everybody else it would seem. However, I wrote the shell-foo the way I would have written it. $&gt; history | awk {'print $2'} | sort | uniq -c | sort -k1 -rn | head...]]></summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<span style="font-family: -webkit-monospace;">Apparently, I've got to do like everybody else it would seem. However, I wrote the shell-foo the way I would have written it.</span><br />
<br />
<code>$&gt; history | awk {'print $2'} | sort | uniq -c | sort -k1 -rn | head</code>
<pre>
  770   vi 
  692   ls 
  491   svn 
  381   perl 
  256   make 
   83   cat 
   75   grep 
   72   ssh 
   70   rm 
   56   rpmbuild 
</pre>
<pre>
Vi, Subversion, Perl &amp; make, yup, that sounds like me on productive days. ssh feels lower than it should be though.
</pre>
]]>
        
    </content>
</entry>

<entry>
    <title>Done with my talks!</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2006/10/done-with-my-ta.html" />
    <id>tag:gozer.ectoplasm.org,2006:/blog//2.121</id>

    <published>2006-10-12T14:46:58Z</published>
    <updated>2006-10-12T16:50:21Z</updated>

    <summary> I&apos;ve just finished presenting my 2 talks at ApacheCon 2006 US and it went really well. I was presenting one old talk, and a brand new one and they both drew a good crowd. Overall, I am quite pleased,...</summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<p>
I've just finished presenting my 2 talks at <a href="http://www.us.apachecon.com/">ApacheCon 2006 US</a> and it went really well. I was presenting one old talk, and a brand new one and they both drew a good crowd. Overall, I am quite pleased, with a few little tweaks I want to make to my slides for next time.
</p>

<p>For those that might want to see what I was talking about, you can figure it out from:</p>
<ul>
  <li><em>TH4</em> - <a href="http://www.us.apachecon.com/html/sessions.html#TH4">mod_perl for Speed Freaks!</a> (<a href="http://gozer.ectoplasm.org/Talks/mod_perl-2.0-speed-freaks-9394.pdf">slides</a>)
  <li><em>TH9</em> - <a href="http://www.us.apachecon.com/html/sessions.html#TH9">Advanced Profiling and Instrumenting</a> (<a href="http://gozer.ectoplasm.org/Talks/mod_perl-2.0-profiling-9394.pdf">slides</a>)
</ul>

<p>Or just find it yourself from the <a href="http://gozer.ectoplasm.org/talks/">Talk</a> section of my website</p>

<p>One think I simply can't pass up was that I noticed there were 2 PHP guys I knew in the back of the room during my Profiling talk:</p>

<ul>
 <li><a href="http://www.gravitonic.com/">Andrei Zmievski</a>
 <li><a href="http://lerdorf.com/bio.php">Rasmus Ledorf</a>
</ul>

<p><i>And they had nothing bad to say about my talk ;-)</i> Thanks!</p>

<p>And I lied during my talk, saying <a href="http://search.cpan.org/dist/Apache2-Instrument/">Apache2::Instrument</a> was on <a href="http://search.cpan.org/">CPAN</a>, well, sorry, but i've just uploaded it now, sorry for the bugs and the documentation <i><font size=-3>(or lack of)</font></i>.</p>
</p>]]>
        
    </content>
</entry>

<entry>
    <title>ApacheCon 2006 US is about to begin</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2006/10/apachecon-2006.html" />
    <id>tag:gozer.ectoplasm.org,2006:/blog//2.119</id>

    <published>2006-10-11T09:49:15Z</published>
    <updated>2008-06-16T17:30:51Z</updated>

    <summary> .float { float: right; margin: 0 0 10px 10px; border: 0; } I am awake and about to head down to the registration desk to officially kick off the conference. Somehow, I think this picture from Ted Leung I...</summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Apache" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Travel Stories" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<style>
.float { 
    float: right;
    margin: 0 0 10px 10px;
    border: 0;
}
</style><p><a href="http://www.flickr.com/photos/twleung/266424061/in/set-72157594322186290/"><img class="float" border=0 src="http://static.flickr.com/93/266424061_52f7b67c81_m.jpg"></a>I am awake and about to head down to the registration desk to officially kick off the conference. Somehow, I think this picture from <a href="http://www.flickr.com/photos/twleung/">Ted Leung</a> I just noticed in my <a href="http://www.flickr.com/">flickr</a> stream sums it all up very nicely.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Austin, TX, we have landed!</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2006/10/austin-tx-we-ha.html" />
    <id>tag:gozer.ectoplasm.org,2006:/blog//2.118</id>

    <published>2006-10-11T01:25:09Z</published>
    <updated>2006-10-11T01:25:32Z</updated>

    <summary> I&apos;ve finally arrived in Austin, Texas. All in all, it was an uneventful trip getting here. Now, it&apos;s time for ApacheCon 2006 US to start! The weather is warmer than I expected, so no complaints so far. I do...</summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Travel Stories" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<p style="text-align:justify;">
I've finally arrived in Austin, Texas. All in all, it was an uneventful trip getting here. Now, it's time for <a href="http://www.us.apachecon.com/">ApacheCon 2006 US</a> to start!
</p><p>
The weather is warmer than I expected, so no complaints so far.
</p><p>
I do have 2 interesting incidents to share though.
</p><p>
When going through the security checkpoint, I was "caught" with 2 forbidden items. I had a can of shaving cream that was too big, as well as a tube of toothpaste that was also too big. I gave the nice security lady my best :
</p><p>
<em>"Oh, I am sorry, I had no idea you couldn't take this kind of stuff in carry-on luggage anymore..."</em>
</p><p>
Apparently she took pity on me and allowed me to pick <strong>one</strong> of the items to keep, and she would confiscate the other.
</p><p>
<em>"It's all right, go ahead, pick one and you can keep it, I'll have to confiscate the other one."</em>
</p><p>
I am no security expert, but that sounds like a complete failure of the security mechanism she was trying to enforce.
</p><p>
Before that, when going through US customs, I ended up with a fairly obtuse Immigration Officer that considered my attempts at explaining the concept of OpenSource Software <strong><em>evasive</em></strong> and forwarded me to a nice little waiting room for a secondary screening. Apparently, he suspected there was something very wrong about somebody claiming to be giving software away for free. After what seemed like a long time waiting in a small, removed, waiting room, I finally get interviewed by somebody else. Turns out, he not only understands OpenSource software, he actually runs Linux at home! Very nice, took 10 seconds, shook hands and he let me through. He still wanted to understand one thing:
</p><p>
<em>"Still, why do you guys do this stuff for FREE ?"</em>
</p><p>
Oh, well, if we meet again, and I don't have a plan to catch in 30 minutes, I would have tried to explain it all.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>VMWare Server command-line tools to the rescue</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2006/08/vmware-server-c.html" />
    <id>tag:gozer.ectoplasm.org,2006:/blog//2.112</id>

    <published>2006-08-28T02:39:01Z</published>
    <updated>2006-09-06T16:44:52Z</updated>

    <summary> I&apos;ve been a great fan of VMWare for quite some time now. But recently, I&apos;ve discovered a very elegant solution to a recurring problem I&apos;ve been having with VMWare Server. Every once in a while, a bunch of virtual...</summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<p>
I've been a great fan of <a href="http://www.vmware.com/">VMWare</a> for quite some time now. But recently, I've discovered a very elegant solution to a recurring problem I've been having with <a href="http://www.vmware.com/products/server/">VMWare Server</a>.
</p><p>
Every once in a while, a bunch of virtual machines would just hang there, as if suspended. A quick at the vmware.log would tell me that VMWare detected a disk space shortage in /tmp and wants to know if it should abort or retry?
</p><pre>
  Aug 27 22:27:44: vmx| Question without a remote UI:
  Aug 27 22:27:44: vmx| Temporary files for this virtual machine are stored in directory "/tmp/vmware-root", which is on an almost full filesystem. Please free some disk space.
  Aug 27 22:27:44: vmx| Would you like to continue?
  Aug 27 22:27:44: vmx| Select Retry to continue, Abort to terminate the session.
</pre><p>
First thing I do is to resolve the disk space shortage problem, assuming it's still a problem at all. Ping the various VMs, still not responding...
</p><p>
Then,  the only thing I could do was to fire up the VMWare console GUI. Ever so annoying when I am using my MacBook and I must run it over ssh from another linux box.  I then must loop over every VM, select it, wait for the popup to tell me about this problem, then click <strong>retry</strong>. Annoying, but since it only happened 2 or 3 times so far, nothing too annoying.
</p><p>
But last time this happened, I discovered a much nicer solution. vmware-cmd (the command-line tool) lets you take care of this very nicely.
</p><pre>
  $&gt; for v in `vmware-cmd -l` ; do echo $v; vmware-cmd $v answer; done
  /vmware/vmx1/vmx1.vmx
  Question (id = 821942387) :Temporary files for this virtual machine
  are stored in directory "/tmp/vmware-root", which is on an almost
  full filesystem. 
  Please free some disk space.
  Would you like to continue?
  Select Retry to continue, Abort to terminate the session.
        0) Retry
        1) Abort
  Select choice. Press enter for default &lt;0&gt; : 
</pre><p>
Simple or what ?
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Sweet bash ssh completion trick</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2005/02/sweet-bash-ssh.html" />
    <id>tag:gozer.ectoplasm.org,2005:/blog//2.23</id>

    <published>2005-02-08T06:03:21Z</published>
    <updated>2006-09-06T16:44:51Z</updated>

    <summary>Brian McCallister just posted the nicest bash ssh completion trick. Check it out: #!/bin/sh SSH_COMPLETE=( $(cat ~/.ssh/known_hosts | \ cut -f 1 -d &apos; &apos; | \ sed -e s/,.*//g | \ uniq | \ egrep -v [0123456789]) ) complete...</summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<p>Brian McCallister just posted the nicest <a href="http://kasparov.skife.org/blog/2005/02/07#ssh_completion"><br />
bash ssh completion trick</a>. Check it out:</p>

<pre>
#!/bin/sh
SSH_COMPLETE=( $(cat ~/.ssh/known_hosts | \
                 cut -f 1 -d ' ' | \
                 sed -e s/,.*//g | \
                 uniq | \
                 egrep -v [0123456789]) )
complete -o default -W "${SSH_COMPLETE[*]}" ssh
</pre>

<p>Yum!</p>]]>
        
    </content>
</entry>

<entry>
    <title>HEAD revision of a remote subversion repository</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2005/02/head-revision-o.html" />
    <id>tag:gozer.ectoplasm.org,2005:/blog//2.20</id>

    <published>2005-02-07T17:08:55Z</published>
    <updated>2006-09-06T16:44:51Z</updated>

    <summary>I&apos;ve been dreaming of the day svn info will take a repository URL instead of working from a WC. In the meantime, I&apos;ve found a cool trick that solves my problem: $&gt; export URL=http://svn.apache.org/repos/asf/ $&gt; svn log -q -rHEAD $URL...</summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<p>I've been dreaming of the day <code>svn info</code> will take a repository URL instead of working from a WC. In the meantime, I've<br />
found a cool trick that solves my problem:<br />
<code><br />
$> export URL=http://svn.apache.org/repos/asf/<br />
$> svn log -q -rHEAD $URL \<br />
  | head -2 \<br />
  | tail -1 \<br />
  | awk {'print $1'} \<br />
  | sed -e's/r//'</p>

<p><b>151745</b><br />
</code><br />
And voila, you can tell the latest revision from a remote repository.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Quicksilver</title>
    <link rel="alternate" type="text/html" href="http://gozer.ectoplasm.org/blog/archive/2004/05/quicksilver.html" />
    <id>tag:gozer.ectoplasm.org,2004:/blog//2.5</id>

    <published>2004-05-27T00:30:25Z</published>
    <updated>2006-09-06T16:44:51Z</updated>

    <summary>Quicksilver for Mac OS X Quite a fabulous little application I stumbled upon. It is the ultimate quick launcher tool for opening applications and documents. From the quicksilver website : Quicksilver is an evolving framework for accessing and manipulating many...</summary>
    <author>
        <name>gozer</name>
        <uri>http://gozer.ectoplasm.org/</uri>
    </author>
    
        <category term="Software" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://gozer.ectoplasm.org/blog/">
        <![CDATA[<p><a href=http://blacktree.com/apps/quicksilver/>Quicksilver for Mac OS X</a></p>

<p>Quite a fabulous little application I stumbled upon. It is the ultimate quick launcher tool for opening applications and documents.

<p>From the quicksilver website : 

<p><i>Quicksilver is an evolving framework for accessing and manipulating many forms of personal data. </i>]]>
        
    </content>
</entry>

</feed>
 