<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Kiffin Gish dot Com</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/" />
    <link rel="self" type="application/atom+xml" href="http://www.kiffingish.com/atom.xml" />
    <id>tag:www.kiffingish.com,2008-12-24://1</id>
    <updated>2010-07-30T19:58:24Z</updated>
    <subtitle>&quot;The more I practice, the luckier I get&quot; - Ben Hogan</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.34-en</generator>

<entry>
    <title>A walk along the Keizersgracht</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/a-walk-along-the-keizersgracht.html" />
    <id>tag:www.kiffingish.com,2010://1.1862</id>

    <published>2010-07-30T19:32:31Z</published>
    <updated>2010-07-30T19:58:24Z</updated>

    <summary> Too often one is so consumed by a jungle of intertwined thoughts that the beauty of the nearby surroundings is completely foresaken. Having tried to solve an especially complicated problem for the last couple of days already, I needed...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Work and play" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="work" label="work" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
Too often one is so consumed by a jungle of intertwined thoughts that the beauty of the nearby surroundings is completely foresaken.
</p>

<p>
Having tried to solve an especially complicated problem for the last couple of days already, I needed an escape. I decided to take an extended lunch break this time by walking further than normal along the canals of Amsterdam. It didn't matter where as long as I stopped tackling that ornery mountain of code for a bit, return to normalcy.
</p>

<p><a href="http://www.kiffingish.com/assets_c/2010/07/Keizersgracht-196.html" onclick="window.open('http://www.kiffingish.com/assets_c/2010/07/Keizersgracht-196.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.kiffingish.com/assets_c/2010/07/Keizersgracht-thumb-350x262-196.jpg" width="350" height="262" alt="Keizersgracht.jpg" class="mt-image-none" style="" /></a><br />View of the Keizersgracht where I work.</p>

<p>
The walk was alright I guess, getting away from it all. When I crossed the last bridge on my return to the office, I was at once struck by a wonderful, serene scene of peaceful movements. The gentle splashing of the tourists in the paddle boat is what woke me. Right there in front of me and I had missed it completely when walking earlier the other way. I took this picture so that I would not forget the awe of that special moment.
</p>

<p>
Mo more than five seconds after I snapped this picture using my mobile phone, the answer to the problem came to me in a flash. Better get back quickly before I forget.
</p>

<p>
That's the building where I work in the distance on the left right about the middle of the photograph.
</p>

<p>
Also for the sake of completeness notice on the right of the picture the girl bicycling ever so swiftly going to who knows where.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Popularity is fickle</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/popularity-is-fickle.html" />
    <id>tag:www.kiffingish.com,2010://1.1861</id>

    <published>2010-07-30T18:17:21Z</published>
    <updated>2010-07-30T18:26:54Z</updated>

    <summary> The popularity of a given next generation technology is very fickle, and its success or failure depends on many random and unexpected events independent of what logical reasoning would lead us to choose. The best does not necessarily beat...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="World affairs" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="world" label="world" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
The popularity of a given next generation technology is very fickle, and its success or failure depends on many random and unexpected events independent of what logical reasoning would lead us to choose. 
</p>

<p>
The best does not necessarily beat all, and the final winner is usually not by definition the best solution for mankind. More often than not it is the lucky player who takes home all of the chips hands down.
</p>

<p>
In the end we unknowingly become locked into this randomly chosen technology whether we like it or not. Thanks to a couple of extremely rich lucky winners.
</p>

<p>
Nature throws a bunch of random events our way. The fittest techies are the species that survives,  has more children and spreads the geeky DNA all over the place.
</p>

<p>
There must be a better way, or not?
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Where was Kiffin really buried?</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/where-was-kiffin-really-buried.html" />
    <id>tag:www.kiffingish.com,2010://1.1860</id>

    <published>2010-07-29T19:19:00Z</published>
    <updated>2010-07-29T19:31:58Z</updated>

    <summary> Hi There seems to be some confusion on the current resting place of Kiffin Rockwell, some say that his body was exhumed from Luxeuil-les-bains and reinterred at the Lafayette Espadrille Memorial near Paris. (see findagrave) I wonder which is...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Kiffin Rockwell" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="kiffin" label="kiffin" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<pre>
Hi

There seems to be some confusion on the current resting place of Kiffin Rockwell, some say that his body was exhumed from Luxeuil-les-bains and reinterred at the Lafayette Espadrille Memorial near Paris. (see findagrave)

I wonder which is correct
</pre>

<pre>
Good question. Any old website doesn't necessarily have to contain accurate information.

All I know is that I've been to his real resting place in Luxeuil-les-bains two times and seen it for myself.

Also the simple fact that there is a yearly ceremony there to pay Kiffin tribute, plus the fact that in the village museum there's more factual data, tends to make me believe that findagrave isn't very trustworthy.

By the way, why are you interested in Kiffin Yates and what brought you to my homepage?
</pre>

<pre>
Thank you for replying so promptly. An acquaintance is staying in Luxeuil-les-Bains and was photographing the four Commonwealth War Graves for me, he noticed your namesake's grave with the plaque and photographed this too.

My insatiable curiosity took over and by "Googling" I found your website, so here we both are.
</pre>]]>
        
    </content>
</entry>

<entry>
    <title>Going to Portugal</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/going-to-portugal.html" />
    <id>tag:www.kiffingish.com,2010://1.1859</id>

    <published>2010-07-29T17:55:27Z</published>
    <updated>2010-07-29T18:48:50Z</updated>

    <summary> Normally the week just before I leave for summer vacation, I spend hours on end desperately searching for some interesting books to read. Usually I just collect another huge pile of literature to explore while sunning on the beach...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Vacation" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="vacation" label="vacation" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
Normally the week just before I leave for summer vacation, I spend hours on end desperately searching for some interesting books to read. Usually I just collect another huge pile of literature to explore while sunning on the beach or reclining on the balcony of our resort hotel in some faraway exotic country. This time it'll be on the Algarve Coast in Portugal.
</p>

<p>
However, over the years I've collected so many unread books from these previous bookstore excursions, that I've decided not to look for anything new. There already here surrounding me on the bookshelves aching to be considered. Please pick me, oh I'll be such a good book to you, please.
</p>

<p>
I'll simply have a look through all of my unopened hardcovers and paperbacks. Hopefully I can come up with a good healthy selection, balancing perhaps a couple fiction titles, one computer tome and a history book also.
</p>

<p>
I've been keen on reading the new 50th year anniversary English translation of "The Tin Drum" by Gunter Grass, so I'll bring that along. Also the latest hardcover "At Home" by Bill Bryson, looks interesting. And then there's Kafka's "Metamorphosis and Other Stories" as well as "Mortal Combat" by Michael Burleigh. Just in case, I'll also bring along the latest edition of "Effective Perl Programming" just to keep my mind well oiled.
</p>

<p>
Bringing too many books along for vacation can also be a problem, as it can be hard to decide which book to start. You end up switching endlessly back and forth, getting so stressed out reading multiple lines of thought, that you end up reading nothing. Except those cheap puzzle magazines you happened to pick up at the airport, which involve minimal concentration, and they are fun and relaxing also.
</p>

<p>
Will also bring along an extra set of pencils, erasers and a good pencil sharpener.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>A human language</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/a-human-language.html" />
    <id>tag:www.kiffingish.com,2010://1.1858</id>

    <published>2010-07-22T09:29:38Z</published>
    <updated>2010-07-22T12:06:48Z</updated>

    <summary> These days it is not very often that a new and exciting Perl book comes along. That&apos;s why I was very excited when my Amazon.co.uk box arrived by post the other day. I gleefully ripped the cardboard box open...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
These days it is not very often that a new and exciting Perl book comes along. That's why I was very excited when my Amazon.co.uk box arrived by post the other day.
</p>

<p>
I gleefully ripped the cardboard box open and held in my very own hands the recently released <a href="http://www.amazon.co.uk/Effective-Perl-Programming-Idiomatic-Development/dp/0321496949/ref=sr_1_1?s=books&ie=UTF8&qid=1279789612&sr=1-1">Effective Perl Programming, 2nd edition</a>. Twice the thickness of the first edition and jam-packed with even more useful information.
</p>

<p>
This is a fantastic read which covers just about every aspect of Perl needed to program like the pros. Myself having had quite some experience with Perl was pleasantly surprised to learn new and interesting tidbits and other gems of information. Since having already read the book from cover to cover a couple times, I now keep it close at hand for reference purposes.
</p>

<p>
This wonderful book can be useful for beginners although it's pretty detailed and technical at times, but it's real use I believe is for experienced folks like myself who want to refresh their memories, extend their horizons, and recharge their enthusiasm for exploring new and possibly dangerous territories.
</p>

<p>
Here's an example of one of those one-liner gems, see if you can figure out what it does:
</p>

<pre><code>@a[ map { $_ * 2 + 1, $_ * 2 } 0 .. ( $#a / 2 ) ] = @a
</code></pre>

<p>
From Chapter 2, Item 17 we find the following quote which appropriately summarizes one of the important philosophies: <em>Perl is a "human" language in that it has a context-dependent syntax.</em>
</p>

<p>
Finally, here are some other interesting places you might want to explore:
<ul>
<li><a href="http://www.effectiveperlprogramming.com/">Effective Perler</a></li>
<li><a href="http://effectiveperl.blogspot.com/">Effective Perl Blog</a></li>
</ul>
</p>

<p>
I can recommend you get the book also. Have fun.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Smart match operator</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/smart-match-operator.html" />
    <id>tag:www.kiffingish.com,2010://1.1857</id>

    <published>2010-07-19T12:11:28Z</published>
    <updated>2010-07-19T13:38:02Z</updated>

    <summary> I really like programming languages that allow you to think less without compromising the quality of your coding practices. Take for instance the new smart match operator &apos;~~&apos; which was introduced in the latest Perl releases. if ( &apos;123.0&apos;...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Perl" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="perl" label="perl" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
I really like programming languages that allow you to think less without compromising the quality of your coding practices. Take for instance the new smart match operator '<code>~~</code>' which was introduced in the latest Perl releases.
</p>

<pre><code>if ( '123.0' ~~ 123 ) { ... } # String and number: TRUE
</code></pre>

<p>
You don't have to keep trying to remember if a given scalar is a string or a number or 'numish' (both), sometimes wrongly using the standard operators ( <code>eq</code>, <code>ne</code>, <code>lt</code>, <code>==</code>, <code>>=</code> ) in the wrong places causing bugs which are hard to track down.
</p>

<p>
Don't forget to enable this functionality by including the following in your code:
</p>

<pre><code>use 5.010;
</code></pre>

<p>
Or you can enable the feature by calling Perl with the '<code>-E</code>' option at the command line.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Where is everyone?</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/where-is-everyone.html" />
    <id>tag:www.kiffingish.com,2010://1.1856</id>

    <published>2010-07-19T08:12:16Z</published>
    <updated>2010-07-19T08:14:40Z</updated>

    <summary> This is a little bit creepy, but my early morning train is almost completely empty. Has there been some kind of nuclear holocaust I&apos;m missing out on? Hopefully when I arrive in Amsterdam, there&apos;ll be many more kind folks...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Travel" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="travel" label="travel" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
This is a little bit creepy, but my early morning train is almost completely empty. Has there been some kind of nuclear holocaust I'm missing out on? Hopefully when I arrive in Amsterdam, there'll be many more kind folks milling about and bumping into me.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Almost a perfect round</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/almost-a-perfect-round.html" />
    <id>tag:www.kiffingish.com,2010://1.1855</id>

    <published>2010-07-18T19:58:47Z</published>
    <updated>2010-07-18T21:13:26Z</updated>

    <summary> So there I am ready to tee off on the par four sixteenth hole, trying not to think too hard that I&apos;m playing even par for the day. Since I started playing golf again three years ago, I&apos;ve never...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Golf" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="golf" label="golf" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
So there I am ready to tee off on the par four sixteenth hole, trying not to think too hard that I'm playing even par for the day. Since I started playing golf again three years ago, I've never made it this far playing all even for the day.
</p>

<p>
It's been quite a round until now, and I want so badly to keep up the momentum. Not by forcing it, but by simply letting it just happen. Do my best by concentrating just hard enough without messing things up by doing something stupid. Follow the groove, young man.
</p>

<p>
I punch a low three iron into the wind down the right side of the fairway, and the ball goes a bit farther right than I would have liked. It's still safe, but the approach shot has to be kept low to avoid the overhanging branches. I choose to execute the classic chip and run. The ball is heading straight for the pin, but it takes a bad bounce to the left, ending up in the bunker. With a nice clean sweep of my trusty sand wedge, the ball skits out of the trap nicely, rolls just past the hole, leaving me a four footer. The balls lips out on the right giving me a bogey five. Darn it, I go one up for the day.
</p>

<p>
<a href="http://www.kiffingish.com/assets_c/2010/07/Hole-17-193.html" onclick="window.open('http://www.kiffingish.com/assets_c/2010/07/Hole-17-193.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.kiffingish.com/assets_c/2010/07/Hole-17-thumb-350x262-193.jpg" width="350" height="262" alt="Hole-17.jpg" class="mt-image-none" style="" /></a><br />Hole 17, where it all happened.
</p>

<p>
Alright, just shake it off young man. Two easy holes to go. I've had more than my share of amazing putts and saved pars, the laws of probability are speaking, so just let this bogie go by. Still, I want to play it safe on the seventeenth and pull out my three iron again. It's a short par four, and even if I miss the three iron, I'll still have at least an eight iron to the green.
</p>

<p>
Then I make a crucial mistake, a bad judgment call, why I do not know, but it here goes ...
</p>

<p>
I turn to my playing partner and tell him, "You know, I'm not out here to play some mickey mouse game of golf. I'm here to play like a man, be a true hero on these last two holes." He looks impressed, and I do not want to disappoint my biggest fan of the day.
</p>

<p>
I pull out my driver and I'm feeling strong. I crush the ball, but pull it badly to the left. The ball takes one bounce before disappearing into the high grass. My provisional does the same, maybe ten yards further and bounces twice as far into the high grass. The second provisional flies down the middle of the fairway, way down there. Gasp.
</p>

<p>
Thank the fairway gods that I'm somehow able to find my first ball. However, it's buried under a thick bush, meaning I must take an unplayable and take a drop. From that position, I can do no more than hit an easy wedge to the right side of the fairway, leaving what I hope will be an easy chip and run to the hole. I duff the ball badly and it barely rolls to the front of the green. I'm left with a very, very long putt to the hole which is way back, uphill and breaks significantly to the right. I smack the ball and it looks right, has enough speed, but rolls too far past the hole. I miss and it's a three putt giving me a triple bogie seven.
</p>

<p>
Am I falling apart or what? Why does this always happen to me? Thank God that this nightmare hole is over with, let me get on with my life. Miraculously, I pick up my ball out of the hole and feel like I've been recharged, a needed catharsis from pent up energy has made me stronger somehow. 
</p>

<p>
The eighteenth hole is waiting for me. I pull out the three iron again and blast the ball just right of the fairway trap on the left. I'm thinking that if I now put it close to the hole, I can make up for the disastrous previous hole by sinking a birdie. The wedge goes high and bounces just left of the flag, leaving me a five footer for a birdie. The ball fails to break an iota and lips out, meaning that I have to be happy with an honorable par.
</p>

<p>
The day ends. I can now turn in my scorecard: 37+38=75. Not bad for an almost perfect round. Isn't golf an amazing sport?
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Meaningful quotations</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/meaningful-quotations.html" />
    <id>tag:www.kiffingish.com,2010://1.1854</id>

    <published>2010-07-18T15:57:58Z</published>
    <updated>2010-07-18T16:08:00Z</updated>

    <summary> One often wonders how people can be so overly eager to attach much value and meaning to quotations that seem like fairly insignificant collections of random words. On my way home driving on the highway from Rotterdam this afternoon,...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Meaning of life" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="mankind" label="mankind" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
One often wonders how people can be so overly eager to attach much value and meaning to quotations that seem like fairly insignificant collections of random words.
</p>

<p>
On my way home driving on the highway from Rotterdam this afternoon, I passed this large white van with all kinds of bible quotations plastered across the sides and back of the vehicle.
</p>

<p>
Perhaps for some this is a strategic manner of preaching worthwhile thoughts to non-believers, but it looked more to me like a waste of effort and paint.
</p>

<p>
"... and preach unto it the preaching that I bid thee."
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Brandnetels everywhere</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/brandnetels-everywhere.html" />
    <id>tag:www.kiffingish.com,2010://1.1853</id>

    <published>2010-07-17T18:01:00Z</published>
    <updated>2010-07-17T20:03:44Z</updated>

    <summary> Over here they call them brandnetels and this ornery plant is all over the place, mostly along the edges of the fairway where you do not want to be. You can&apos;t help but touching them. If you need to...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Golf" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="golf" label="golf" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
Over here they call them <em>brandnetels</em> and this ornery plant is all over the place, mostly along the edges of the fairway where you do not want to be.
</p>

<p>
You can't help but touching them. If you need to bend down and identify your ball, when taking your practice swing, simply addressing the ball in the midst of the high grass. If you happen to be wearing shorts and inadvertently allow your baby-skinned legs to rub the leaves of this evil green contraption of nature, you'll be sorry.
</p>

<p>
The stinging sensation is subtle at first and then by the time you reach the green it's burning your skin beyond repair. If you happen to be sweating as well then you might as well forget trying to concentrate for the important putt to save par.
</p>

<p>
Sitting home enjoying a healthy dinner and reminiscing about a round of golf well done feels good, except for that extreme itchiness and burning sensation on your legs, hands and arms.
</p>

<p>
<img src="http://www.kiffingish.com/images/brandnetels.jpg"/><br />
Urtica dioica (Latin for I'm burning)
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Keep going</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/07/keep-going.html" />
    <id>tag:www.kiffingish.com,2010://1.1852</id>

    <published>2010-07-04T20:25:09Z</published>
    <updated>2010-07-04T20:28:27Z</updated>

    <summary> There are enough world tragedies out in the real world which are thousands of times worse than that which overcomes us. All those other poor souls are more often than not resilient enough to survive such unimaginable tragedies, to...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="World affairs" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="world" label="world" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
There are enough world tragedies out in the real world which are thousands of times worse than that which overcomes us.
</p>

<p>
All those other poor souls are more often than not resilient enough to survive such unimaginable tragedies, to stand up again and lead more successful lives than us.
</p>

<p>
So what gives? Who's right?
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Messed up script</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/06/messed-up-script.html" />
    <id>tag:www.kiffingish.com,2010://1.1850</id>

    <published>2010-06-26T20:25:35Z</published>
    <updated>2010-06-26T20:30:29Z</updated>

    <summary> Wasted nearly two hours trying to figure out why some simple bash script of mine wasn&apos;t working. #!/bin/sh HOSTNAME=$(hostname) echo HOSTNAME=$HOSTNAME if [ &quot;$HOSTNAME&quot; == &quot;kiffins-laptop&quot; ]; then echo &quot;This is Kiffin&apos;s laptop&quot; elif [ &quot;$HOSTNAME&quot; == &quot;georges-laptop&quot; ];...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Computers and stuff" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="computers" label="computers" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
Wasted nearly two hours trying to figure out why some simple bash script of mine wasn't working.
</p>

<pre><code>#!/bin/sh

HOSTNAME=$(hostname)
echo HOSTNAME=$HOSTNAME

if [ "$HOSTNAME" == "kiffins-laptop" ]; then echo "This is Kiffin's laptop"
elif [ "$HOSTNAME" == "georges-laptop" ]; then echo "This is George's laptop"
else
    echo 'Unknown hostname (exit)'
    exit 1
fi
echo "Success"
exit 0</code></pre>

<p>
Looks perfectly valid to me, so how come when I run the damned script I get the following error messages?
</p>

<pre><code>HOSTNAME=laptop
[: 11: laptop: unexpected operator
[: 11: laptop: unexpected operator
Unknown hostname (exit)</code></pre>

<p>
Need a hint?
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Don&apos;t run this command</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/06/dont-run-this-command.html" />
    <id>tag:www.kiffingish.com,2010://1.1849</id>

    <published>2010-06-26T20:05:00Z</published>
    <updated>2010-06-26T20:31:31Z</updated>

    <summary> Here&apos;s a quick recipe for disaster. Say that you want to blow-up your Linux system, along with all those important documents, emails, etc. You&apos;re kind of in a self-destructive mood, or just not thinking, kind of like I was...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Ubuntu" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="ubuntu" label="ubuntu" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
Here's a quick recipe for disaster. Say that you want to blow-up your Linux system, along with all those important documents, emails, etc. You're kind of in a self-destructive mood, or just not thinking, kind of like I was yesterday afternoon right when it was time to go home.
</p>

<p>
Warning: do <strong>not</strong> really run the following command (but this is what I ran nonetheless):
</p>

<pre><code>$ sudo apt-get -y remove perl</code></pre>

<p>
I realized my mistake right away, but it was too late. Unfortunately, most of the important stuff depends on Perl so by removing it I crippled my system and made it completely useless. Oops.
</p>

<p>
So why would someone be so stupid and do this in the first place? I mean really. Well, I had inadvertently messed up my Perl development settings and accidentally deleted an important Perl library sub-directory.
</p>

<p>
Wrong, should have used <code>--reinstall</code> instead, you dummy. Using the <code>-y</code> was pretty stupid also.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Secret location</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/06/secret-location.html" />
    <id>tag:www.kiffingish.com,2010://1.1848</id>

    <published>2010-06-15T16:42:18Z</published>
    <updated>2010-06-15T16:46:55Z</updated>

    <summary> Evening panoramic view from our hotel room balcony during our fun and romantic 25th wedding anniversary celebration at a secret location. Where could this special place be?...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Life in Holland" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="life" label="life" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
<a href="http://www.kiffingish.com/assets_c/2010/06/view-hotel-balcony-187.html" onclick="window.open('http://www.kiffingish.com/assets_c/2010/06/view-hotel-balcony-187.html','popup','width=800,height=600,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.kiffingish.com/assets_c/2010/06/view-hotel-balcony-thumb-350x262-187.jpg" width="400" height="300" alt="view-hotel-balcony.jpg" class="mt-image-none" style="" /></a></p>

<p>Evening panoramic view from our hotel room balcony during our fun and romantic 25th wedding anniversary celebration at a secret location. Where could this special place be?</p>]]>
        
    </content>
</entry>

<entry>
    <title>Stellar round of golf</title>
    <link rel="alternate" type="text/html" href="http://www.kiffingish.com/2010/06/stellar-round-of-golf.html" />
    <id>tag:www.kiffingish.com,2010://1.1847</id>

    <published>2010-06-15T09:24:57Z</published>
    <updated>2010-06-13T09:28:17Z</updated>

    <summary> How is it possible that one day you are in the zone playing a stellar round of golf, and then the very next day you are hacking around losing golf balls and end up with a score twelve strokes...</summary>
    <author>
        <name>Kiffin</name>
        <uri>http://www.kiffingish.com</uri>
    </author>
    
        <category term="Golf" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="golf" label="golf" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.kiffingish.com/">
        <![CDATA[<p>
How is it possible that one day you are in the zone playing a stellar round of golf, and then the very next day you are hacking around losing golf balls and end up with a score twelve strokes worse?
</p>

<p>
Well it doesn't make much sense, but I guess that's why I like to play golf so much. Could this be some form of an acute addiction or an inner need for self abuse?
</p>]]>
        
    </content>
</entry>

</feed>
