<?xml version="1.0"?>

<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
>
  <channel rdf:about="http://menno.b10m.net/blog/blosxom//">
    <title>B10[mg]</title>
    <link>http://menno.b10m.net/blog/blosxom//</link>
    <description>Yet another non-informative, useless blog</description>

    <image rdf:resource="http://farm2.static.flickr.com/1167/buddyicons/86182275@N00.jpg" />

    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://menno.b10m.net/blog/blosxom/personal/vacation-to-jordan.html" />
        <rdf:li rdf:resource="http://menno.b10m.net/blog/blosxom/web/3-annoyances-with-lists.html" />
        <rdf:li rdf:resource="http://menno.b10m.net/blog/blosxom/perl/killing-those-pesky-forked-children.html" />
        <rdf:li rdf:resource="http://menno.b10m.net/blog/blosxom/personal/peruvian-vacation.html" />
        <rdf:li rdf:resource="http://menno.b10m.net/blog/blosxom/web/my-id-is-fail.html" />

      </rdf:Seq>
    </items>

  </channel>

  <image rdf:about="http://farm2.static.flickr.com/1167/buddyicons/86182275@N00.jpg">
    <title>B10[mg]</title>
    <link>http://menno.b10m.net/blog/blosxom/</link>
    <url>http://static.flickr.com/123/buddyicons/86182275@N00.jpg</url>
  </image>

  <item rdf:about="http://menno.b10m.net/blog/blosxom/personal/vacation-to-jordan.html">
    <title>Vacation to Jordan</title>
    <link>http://menno.b10m.net/blog/blosxom/personal/vacation-to-jordan.html</link>
    <description><![CDATA[<p>After seeing the Great Pyramid of Giza and Machu Picchu, it was more
than logical to visit yet another world wonder: <strong>Petra</strong>
(and yes, that&#39;s
in Jordan ;-). With that in mind, and seeing a fairly nice offer for an
8-day trip through Jordan, my wife and I decided to go.</p>

<p>The only downside to this all, was that we had to travel in a group. A
group of random strangers, no, worse! A group of random <em>Dutch</em>
strangers!  29 people who we&#39;d never have chosen to travel with
annoyed us throughout most of the trip by being loud or "Dutch"
(meaning: arrogant, selfish, a total bastard and disrespectful).
But oh well, let&#39;s quickly forget about them.</p>

<h3 style="clear: both;">The trip</h3>
<p>
<div style="text-align: center;">
<img src="http://menno.b10m.net/blog/images/posts/jordan-trip.png" alt="" />
</div>
<br />
In just a few days, we&#39;ve traveled to some interesting spots of the country.
In short: Amman, Jerash, Amman, Mt. Nebo, Madaba, Karak, Petra, Little Petra,
Wadi Rum, Aqaba, Dead Sea, Amman.<br /><br />
</p>

<h3 style="clear: both;">Day 1: Amman</h3>
<p>
This was our first trip to the Middle East and we expected it to be roughly
the same as Egypt (where we&#39;ve been before). That was our first
misconception. At the airport we already noticed that the Jordanian people
are <em>a lot</em> friendlier than their Egyptian neighbors. While driving
through Amman to our hotel, we also found the city to be different than,
e.g. Cairo. It just all looked a little more civilized / advanced compared
to Egypt.</p>

<p>We had a nice dinner in Amman and quickly went to bed, for the next day,
Jerash was planned and we wanted to be well rested.</p>

<h3 style="clear: both;">Day 2: Amman / Jerash</h3>
<p>
The first thing to do was to visit the King Abdullah Mosque in the city,
known for its' blue dome. The women, like in all mosques, had to cover
their heads and everybody had to take off their shoes. Nothing new
so far. Inside the mosque, our tour guide (who was a Jordanian national
who married a Dutch woman and lived in the Netherlands for 7 years)
explained the basic principles of a mosque, a little history etc. etc.</p>

<p>
<img src="http://farm5.static.flickr.com/4069/4332081663_008928af84_m.jpg" alt="" style="float: left; margin-right: 5px; margin-bottom: 5px;" />
While walking around the site, I noticed the mosque was surrounded by
christian churches. According to the guide, there were no problems
at all between Christians and Muslims in Jordan. At least less than
in the Netherlands. Both lived happily next to each other, like it&#39;s
supposed to be. I tried to capture that thought in this image, but
it was cloudy, so lighting wasn&#39;t too good.</p>

<p>After the mosque, the city tour was next. First we went to the
Roman Amphitheater, followed by a trip to the citadel. I&#39;ve read
about the Romans being in Jordan, but had no clue everything was so
well preserved.</p>

<p><img src="http://farm3.static.flickr.com/2720/4332177485_5df64f0373_m.jpg" alt="" style="float: right; margin-left: 5px; margin-bottom: 5px;" />
Jerash was next up. A police agent of the tourist police joined our
bus which seems a standard procedure with large groups of tourists.
Although Jordan is a stable country and very safe, the government
tries hard to make it even safer for tourists, hence they get
personal protection from a guy like this. Jerash was also a Roman
site and also extremely well preserved. The weather wasn&#39;t too warm
but at least it didn&#39;t rain, so we happily shot some pictures before
returning to Amman.</p>

<h3 style="clear: both;">Day 3: Amman, Mt. Nebo, Madaba, Karak, Petra</h3>
<p>
Early in the morning we left Amman to visit Mount Nebo; the mountain
where Moses looked at the promised land. The sun kicked in, but
unfortunately it was hazy, so we couldn&#39;t see what Moses saw.
Nevertheless, the view was spectacular.</p>

<p>After absorbing a few rays of sun, we went to Madaba where a
Byzantine Church still showed us an ancient map in the mosaic
floor. The sun was now shining and after quickly buying some
souvenirs we went on to Karak.</p>

<p><img src="http://farm5.static.flickr.com/4021/4333002322_0b02e90f7e_m.jpg" alt="" style="float: left; margin-right: 5px; margin-bottom: 5px;" />
Karak showed us ruins of a crusader castle where
<a href="http://en.wikipedia.org/wiki/Saladin">Saladin</a>
beat the crusaders. It felt like I was walking in Assassin&#39;s Creed
(part one) while the tour guide explained what went on in the
castle through the years.</p>

<p>After all this beauty, we went to our hotel in Petra.</p>

<h3 style="clear: both;">Day 4: Petra</h3>
<p>
<img src="http://farm3.static.flickr.com/2734/4332329029_a52194ff6b_m.jpg" alt="" style="float: right; margin-left: 5px; margin-bottom: 5px;" />
We woke up early to beat the stream of tourists that usually flood
the site of Petra but on arrival, there were but a handful of
buses. I was happy to find out it was still low season. Would I
be able to take a photo the famous Treasury without tourists?</p>

<p>Before reaching the Treasury, one has to walk through the
siq. After reading on some sites that it was long and boring,
I didn&#39;t expect much, but oh was I wrong. The siq is beautiful.
Wonderful colors greet you everywhere and to be honest, the walk
wasn&#39;t that long.</p>

<p>
After some time, our guide pointed us to some tall rock and
asked us how high we thought it&#39;d be. A rather pointless question,
but it was to distract us from what lay behind the corner:
The Treasury!</p>

<p>Everyone was excited and wanted to run towards it to see the
glorious building. I was happy to find the area not flooded by
tourists, but still, it&#39;d be impossible to shoot a pic without
the bloody tourists!</p>

<p><img src="http://farm3.static.flickr.com/2696/4333079846_5f09ff1c08_m.jpg" alt="" style="float: left; margin-right: 5px; margin-bottom: 5px;" />
The Treasury was more impressive than I imagined it to be. This was
absolutely marvelous. But where was the Monastery? Our guide
explained that we could walk around the area and that it was
a rather large site. The Monastery would be one of the hikes,
but he also recommended the High Place of Sacrifice. Not per se
the Sacrifice altar, but the trip from there, around the mountain.
We decided to walk them both, ending up walking / climbing around
30 km. that day (see the
<a href="http://www.everytrail.com/view_trip.php?trip_id=489450">GPS track</a> )</p>

<p>But before we went climbing, my wife and I decided to check out
the Treasury once more. We already took many pictures and shot
quite some minutes of video, but I truly wanted a picture without
tourists. When we walked back, we found the place almost deserted.
About five stranded strangers were blocking my wanted shot, so
I kindly requested them to move out of the picture. They understood
and quickly moved away from the building, leaving me with this:</p>

<div style="text-align: center;">
<img src="http://farm3.static.flickr.com/2683/4333147540_08b3480ef0.jpg" alt="" />
</div>

<p>Look mom, no tourists! My day was already good.</p>

<p>But this wasn&#39;t all. There were more tracks to walk. The guide
was right. Our first walk (High Place of Sacrifice) was
stunning. The place itself was fairly boring, as explained, but
the view and walk afterwards were beautiful. Many tombs could
be seen and the weather made it even more pleasant to walk.</p>

<p>We walked slowly, taking many pictures and enjoying the absolute
silence, for in the two and a half hours we walked, we&#39;ve only
met two other tourists once and a handful of locals, trying
to sell us either donkey rides or stones / necklaces etc.</p>

<p>We arrived back at the place where we left the group and after
a small lunch, we found out we had but little time to make it
up to the Monastery and back to the bus in time. Different
people gave us different answers to the question how long the
hike up there&#39;d be. From two hours to thirty minutes. We decided
to try it nevertheless. We got the guide&#39;s phone number and
he already told us that anyone who didn&#39;t make it in time could
get a taxi to the hotel.</p>

<p>
<img src="http://farm3.static.flickr.com/2738/4332540675_ac578eea17_m.jpg" alt="" style="float: right; margin-left: 5px; margin-bottom: 5px;" />
On our way up to the Monastery, we met a lot of people of our
group already walking back and informing us we were insane and
would never make it in time. It took us ~ forty minutes to get
up there and about twenty minutes to get down again.</p>

<p>
This track was a lot less interesting for there weren&#39;t any wide
views. After making it up there we found the place to be close
to deserted. The Monastery is a lot bigger than the Treasury,
but less detailed and decorated. Nevertheless, very impressive.</p>

<p>We had little time and had to walk down, back to the Treasury and
through the siq again to make it to the bus. So many people told
us we&#39;d never make it, so we just had to prove them wrong. We
arrived one minute before the bus left, laughing at the group
as we drove back to the hotel, where I smoked a water pipe. Much
deserved after all the walking.</p>

<h3 style="clear: both;">Day 5: Little Petra, Wadi Rum</h3>
<p>
The day started early again as we drove to Little Petra, a small
site with a tiny siq and some interesting tombs, but nothing
compared to the real Petra site. Not much time after, we drove
to Wadi Rum, the desert. (If I recall correctly, "wadi" means
"valley" and Rum is the name of a mountain).</p>

<p>We would spend a night in a tent camp and tour the desert by
Jeeps to make it to a nice place for sunset. The trip was, as
expected, dusty so everyone wore scarves around their faces.
The desert was beautiful. Lots of sand (duh) and rocks with
marvelous views. In the end we looked for some wood (which
we did find) to build a fire and make some tea, while we waited
for the sun to drop behind the mountains.</p>

<p><img src="http://farm5.static.flickr.com/4052/4332650313_44517448d7_m.jpg" alt="" style="float: left; margin-right: 5px; margin-bottom: 5px;" />
The thing I remembered about deserts was that it&#39;s usually quite
warm during the day, while when the sun drops, the temperature
follows, so I brought some warm clothes. I was right to some degree.
It didn&#39;t get freezingly cold, but chilly it was.</p>

<p>While the sun dropped, I finally had a chance to play with my
camera again (I do use the &#39;auto&#39; setting too much ;-)</p>

<p>We returned to the camp for dinner and some entertainment
(two guys playing Arabic music around a fire place), but we
were quite tired, so we went to bed early.</p>

<h3 style="clear: both;">Day 6: Aqaba</h3>
<p>
<img src="http://farm5.static.flickr.com/4052/4332690001_04f22b58cc_m.jpg" alt="" style="float: right; margin-left: 5px; margin-bottom: 5px;" />
From Wadi Rum, we drove to Aqaba, the only port of Jordan and
a tax-free haven. As it turned out, I ran out of cigarettes here,
so I could buy a pack (and a lot more) of Gauloises for but
one Dinar. A Dinar is similar to the Euro, so it was cheap
(considered the package in the Netherlands costs me four and a
half).</p>

<p>
The optional excursion was to cruise the Red Sea on a yacht
with snorkeling and BBQing. The weather was still pleasant,
while the news reached us that Amman was about to suffer snow.
We went snorkeling nevertheless. Fun, but not shockingly
beautiful. Relaxing on the boat was enjoying though (as was
the BBQ at the back of the yacht).</p>

<h3 style="clear: both;">Day 7: Aqaba, Dead Sea</h3>
<p>
<img src="http://farm3.static.flickr.com/2691/4332706859_c3a0623998_m.jpg" alt="" style="float: left; margin-right: 5px; margin-bottom: 5px;" />
After a good night in Aqaba, we drove back north, close to the
Israelian border towards the Dead Sea. I remember my mother talking
about it (from the Israelian side) and imagined the Jordanian
side wouldn&#39;t differ too much. A fun experience to float on the
water at the beach of the beautiful resort.</p>

<p>By now, it was indeed snowing in Amman, yet we still had good,
sunny weather and the idea of a snow covered Amman on our last
day in the country quite excited us. We arrived in Amman in the
evening to find only some snow covered cars, but nothing
much.</p>

<h3 style="clear: both;">Day 8: Back to Amsterdam</h3>
<p>
Wake up call at 04:00am. Yuck. Just enough time to drink some
coffee and have a quick bite before hurrying to the bus. Our
vacation was over.</p>

<p>The flight back was nothing special. I was happy to see a personal
screen in the Royal Jordanian airplane with on demand audio / video
(the Dutch KLM still doesn&#39;t offer this in every plane).</p>

<h3 style="clear: both;">Conclusion</h3>
<p>
Jordan is a beautiful country, plagued by a lack of water, which
gives it the beautiful deserts. The people I met were friendly
and never did I get an feeling of not being safe (unlike Peru).</p>

<p>I can only recommend it to everyone and please do look at the
other things Jordan offers besides the marvelous Petra. It&#39;s well
worth visiting (but preferably not with a group of Dutch people ;-)</p>

<div class="technoratitags">
<img src="/blog/images/technobubble.gif" alt="TT" title="Technorati Tags" />
<a href="http://technorati.com/tag/jordan" rel="tag">jordan</a>,
<a href="http://technorati.com/tag/amman" rel="tag">amman</a>,
<a href="http://technorati.com/tag/jerash" rel="tag">jerash</a>,
<a href="http://technorati.com/tag/mt+nebo" rel="tag">mt nebo</a>,
<a href="http://technorati.com/tag/madaba" rel="tag">madaba</a>,
<a href="http://technorati.com/tag/karak" rel="tag">karak</a>,
<a href="http://technorati.com/tag/petra" rel="tag">petra</a>,
<a href="http://technorati.com/tag/wadi+rum" rel="tag">wadi rum</a>,
<a href="http://technorati.com/tag/aqaba" rel="tag">aqaba</a>,
<a href="http://technorati.com/tag/red+sea" rel="tag">red sea</a>,
<a href="http://technorati.com/tag/dead+sea" rel="tag">dead sea</a>
</div>]]></description>
    <pubDate>Sat, 06 Feb 2010 12:11:00 GMT</pubDate>
  </item>
  <item rdf:about="http://menno.b10m.net/blog/blosxom/web/3-annoyances-with-lists.html">
    <title>3 annoyances with lists</title>
    <link>http://menno.b10m.net/blog/blosxom/web/3-annoyances-with-lists.html</link>
    <description><![CDATA[<p>I hate lists. I really do. Never have I seen a truly funny top ten list on
Letterman (granted, I&#39;ve never seen Letterman funny, so I can&#39;t blame
<em>all</em> on lists) and usually lists of top-whatevers are simply 
pointless.</p>

<h4>1. All you can find</h4>
<p>With some exceptions, most lists you see online, don&#39;t contain the best
3, 5, 10 items out of a whole bunch of options, but rather all the options
the author could find. Examples:</p>

<ul>
<li><a href="http://www.hongkiat.com/blog/clean-simple-minimalist-website-design/">100+ Clean, Simple and Minimalist Website Designs</a></li>
<li><a href="http://www.backtoessentials.com/graphics/120-free-icon-sets-to-enhance-user-interfaces/">120 Free Icon Sets to Enhance User Interfaces</a></li>
<li><a href="http://www.gabrielharper.com/2009/06/76-script-directories-mega-list-for-software-marketing/">76 Script Directories</a></li>
<li><a href="http://www.designer-daily.com/26-awesome-firefox-add-ons-for-web-workers-4734">26 awesome Firefox add-ons for web workers</a></li>
</ul>

<p><strong>Solution:</strong> drop the number.</p>

<h4>2. Limiting yourself by rounding?</h4>
<ul>
<li><a href="http://www.free-resume-tips.com/10tips.html">10 Tips to Bullet Proof Your Resume</a></li>
<li><a href="http://www.seoptimise.com/blog/2009/09/10-tips-to-optimise-your-linkedin-profile.html">10 Tips to Optimise your LinkedIn Profile</a></li>
</ul>

<p>Are there really exactly ten tips? Not nine plus one to round it? Not
thirteen, but let&#39;s skip three?</p>

<p><strong>Solution:</strong> drop the number.</p>

<h4>3. The number adds nothing</h4>

<p>Does it really matter how big the list is you&#39;ve compiled? Should I want to
visit your page when I see you have 26 great ideas for $foo or 75 awesome
$bar resources? No, frankly I don&#39;t care. I rather have you go through
all options and describe why the one you think is best, is best.</p>

<p><strong>Solution:</strong> drop the number.</p>

<div class="technoratitags">
<img src="/blog/images/technobubble.gif" alt="TT" title="Technorati Tags" />
<a href="http://technorati.com/tag/annoyance" rel="tag">annoyance</a>,
<a href="http://technorati.com/tag/rant" rel="tag">rant</a>,
<a href="http://technorati.com/tag/lists" rel="tag">lists</a>
</div>]]></description>
    <pubDate>Fri, 30 Oct 2009 14:05:00 GMT</pubDate>
  </item>
  <item rdf:about="http://menno.b10m.net/blog/blosxom/perl/killing-those-pesky-forked-children.html">
    <title>Kill those pesky forked children!</title>
    <link>http://menno.b10m.net/blog/blosxom/perl/killing-those-pesky-forked-children.html</link>
    <description><![CDATA[<p>During some test writing, I had to spawn a shell command that would run
while <tt>/bin/true</tt> was true. Unfortunately, my test script figured
the run time should be limited, so I had to kill that little brat myself.</p>

<p>Let&#39;s have a look at a simplified setup first:</p>

<pre><code>my $pid = fork();
if($pid == 0) {
    print "I&#39;m the child: $$\n";
    system(&#39;while(/bin/true); do echo "Mwuahaha"; sleep 1; done&#39;);
} else {
    print "I&#39;m the parent: $$\n";
}

sleep 3;
kill 1, $pid;</code></pre>

<p>Although this might look valid perl, the "Mwhuahaha" will continue to fill
up you terminal. The forked system command will <em>not</em> be killed when your
program ends.</p>

<p>There had to be a way to kill the child (grandchild, if you want), and there
is. Using <tt>setpgrp</tt> and <tt>getpgrp</tt> to the rescue!</p>

<p>Let&#39;s have a look at the documentation first (always a good thing):</p>

<pre>   setpgrp PID,PGRP
       Sets the current process group for the specified PID, 0 for the
       current process. Will produce a fatal error if used on a
       machine that doesn&#39;t implement POSIX setpgid(2) or BSD
       setpgrp(2).  If the arguments are omitted, it defaults to
       "0,0".  Note that the BSD 4.2 version of "setpgrp" does not
       accept any arguments, so only "setpgrp(0,0)" is portable.  See
       also "POSIX::setsid()".

   getpgrp PID
       Returns the current process group for the specified PID.  Use a
       PID of 0 to get the current process group for the current
       process.  Will raise an exception if used on a machine that
       doesn&#39; implement getpgrp(2).  If PID is omitted, returns
       process group of current process.  Note that the POSIX version
       of "getpgrp" does not accept a PID argument, so only "PID==0"
       is truly portable.</pre>

<p>Almost there! Let&#39;s see the <tt>kill</tt> documentation as well, 
for it contains a fatal clue:</p>

<pre>       Unlike in the shell, if SIGNAL is negative, it kills process
       groups instead of processes.  (On System V, a negative PROCESS
       number will also kill process groups, but that&#39;s not portable.)
       That means you usually want to use positive not negative
       signals.  You may also use a signal name in quotes.</pre>

<p>Note that we need the negative signal!</p>

<p>So, if we change our test script to this, it&#39;ll all work, and those pesky
(grand)children are killed when we want to:</p>

<pre><code>my $pid = fork();
if($pid == 0) {
    setpgrp;
    print "I&#39;m the child: $$\n";
    system(&#39;while(/bin/true); do echo "Mwuahaha"; sleep 1; done&#39;);
} else {
    print "I&#39;m the parent: $$\n";
}

sleep 3;
kill -1, getpgrp($pid);</code></pre>

<p></p>

<div class="technoratitags">
<img src="/blog/images/technobubble.gif" alt="TT" title="Technorati Tags" />
<a href="http://technorati.com/tag/perl," rel="tag">perl,</a>,
<a href="http://technorati.com/tag/setpgrp," rel="tag">setpgrp,</a>,
<a href="http://technorati.com/tag/getpgrp," rel="tag">getpgrp,</a>,
<a href="http://technorati.com/tag/fork," rel="tag">fork,</a>,
<a href="http://technorati.com/tag/kill," rel="tag">kill,</a>,
<a href="http://technorati.com/tag/children" rel="tag">children</a>
</div></blockquote>]]></description>
    <pubDate>Thu, 06 Aug 2009 16:51:00 GMT</pubDate>
  </item>
  <item rdf:about="http://menno.b10m.net/blog/blosxom/personal/peruvian-vacation.html">
    <title>Peruvian Vacation</title>
    <link>http://menno.b10m.net/blog/blosxom/personal/peruvian-vacation.html</link>
    <description><![CDATA[<p><img src="http://menno.b10m.net/blog/images/posts/peruvian-trip.png" alt="map of our tour" style="float: right;" />
This year, we decided to spend our vacation days (and money) in Peru.
The reason for this is quite easy. We&#39;ve never set foot on the Latin
American continent and Peru offers 
<a href="http://en.wikipedia.org/wiki/Machu_Picchu">Machu Picchu</a>
and the famous 
<a href="http://en.wikipedia.org/wiki/Nazca_lines">Nazca lines</a>
Both were high on my "to visit" list.</p>

<h2 style="clear: both;">Lima</h2>
<p>We arrived in Lima and went straight to 
<a href="http://casa667.blogspot.com/">Casa 667</a>
a lovely small hostel ran by friends of friends of friends of my wife
(and of course the name is cool. 667, the neighbor of the beast).
The place was small, but offered a very friendly environment with a good
location (Miraflores).</p>

<p>Quickly we noticed the similarities between Peru and Indonesia. Both
countries have bad drivers, and houses aren&#39;t always the nicest (although
unlike Peruvians, the Indonesians at least <em>finish</em> their homes). A
big difference though: the weather. It was cold :-(</p>

<p>After spending some time in Lima, it was time for us to start our tour
of ~2700km. First stop: Ica / Huacachina.</p>

<h2 style="clear: both;">Ica / Huacachina</h2>
<p>
<img src="http://farm3.static.flickr.com/2573/3736588192_c7270f76ea_m.jpg"
alt="Huacachina" style="float: left; margin-right: 5px; margin-bottom: 5px;" />
Due to the national strikes starting a day earlier than planned, we were
stuck on the road for several hours, waiting for the police to remove the
roadblocks (burning tires). After many hours, our bus finally arrived in Ica
and we were brought to Huacachina.</p>

<p>Huacachina is an oasis in the middle of sand dunes and from there, many hotels
offer sandboarding tours, in the sand dunes. Since I can&#39;t surf the waves,
nor am very good at snowboarding, I decided to lay flat on the sandboard
and go down the dunes in breathtaking speed. Fun!</p>


<h2 style="clear: both;">Nazca</h2>
<p><img src="http://farm3.static.flickr.com/2483/3736734818_225be9d41e_m.jpg"
style="float: right; margin-left: 5px; margin-bottom: 5px;" />
Because of the above mentioned planned strikes, we changed our itinerary and
left the same evening for Nazca. In Nazca we spend the night and were welcomed
by a small earthquake. I never experienced one before, so was quite amused
by it (again: it was a small earthquake).</p>

<p>The next day, a flight over the famous Nazca lines was planned. After waiting
for too long, our plane finally left the ground. But within 5 minutes, we were
back. Some blinking light caught the pilot&#39;s attention and he decided to call off the flight.</p>

<p>After more hours of waiting, we finally managed to get airborne again and see
the spectacle of the lines, still shocked by the US-citizens in the terminal
claiming (too loud, as usual) that before they arrived in Nazca, they never
even heard of the lines. People like that should not be allowed to see the
beauty of it.</p>

<h2 style="clear: both;">Arequipa</h2>

<p>Without much hassle of strikes, but in a bus with a strong and foul urine stench
we went to Arequipa. A lovely small city and a base for our upcoming excursion,
the condors at the Colca Valley.</p>

<p>Arequipa has some monasteries, some old colonial houses and a lovely town square
but besides that, nothing much happens. Our hotel&#39;s WEP encryption of the WiFi
they offered was easily cracked, saving us some money, but more importantly,
allowing us to use the EeePC in the bedroom, rather than the PC in the dining
room.</p>

<p>After a day or so, we went to Chivay.</p>

<h2 style="clear: both;">Chivay</h2>

<p><img src="http://farm3.static.flickr.com/2650/3736672849_22cd74ecdf_m.jpg"
style="float: left; margin-right: 5px; margin-bottom: 5px;" />

Chivay is cold. During the day (while the sun is visible) it&#39;s ok, but as soon
as it goes away, it&#39;s taking the heat with it, so our little radiator in the
hotel room was a pleasant surprise.</p>

<p>After inspecting the hot springs (also very nice in a cold area), and a good
night&#39;s rest, we went to the Cruz del Condor, where we should be able to see
the huge birds. Initially, the condors seemed to sleep in a little, but after
a while, they finally came and flew over our heads, a mere 2 - 3 meters
above us. Wonderful!</p>

<p>Too bad the altitude got me and made my stomach do crazy things. Fun tip: if
you have to vomit every 15 - 30 minutes, drink different colors of Gatorade.
It makes it a lot more fun. After a while, Coca Cola seemed the best remedy
and so my stomach relaxed a little again.</p>

<p>The environment was still dry and green trees weren&#39;t easily spotted. By
now we longed for trees and I started to feel like an Indonesian who visits
the Netherlands during fall or winter. You do miss the color green!</p>

<p>Anyways, back to Arequipa!</p>

<h2 style="clear: both;">Arequipa / Puno</h2>

<p><img src="http://farm3.static.flickr.com/2427/3737705660_f2682b1fce_m.jpg"
style="float: right; margin-left: 5px; margin-bottom: 5px;" />
We took the bus from Arequipa to Puno, to see the floating Uros islands. But
due to more planned strikes, we had to cut a day off Puno, to make sure we&#39;d
be in Cusco by the time our Inca Trail started.</p>

<p>The floating islands were ok, but I could&#39;ve done without. Puno, again,
was very cold and I can&#39;t really enjoy "locals" showing us how they live /
work etc. in exchange for money. I don&#39;t care about giving them money,
I just don&#39;t care about their style of living that much.</p>

<p>The solar panels did catch my attention though and made me giggle.</p>

<h2 style="clear: both;">Cusco</h2>

<p>The Inka Express bus took us from Puno to Cusco, the old Incan capital.
The small town was way too touristic for my liking and to make matters worse,
the hotel was owned by a Dutchmen (the people I tend to avoid during holidays).</p>

<p>Massages, souvenirs stores and way too many restaurants all try to make a buck
out of the many many tourists that roam the streets. Due to our change in
itinerary, we had an extra day off here, which was good, because we needed to
prepare for the Inca Trail to Machu Picchu (rent sleeping bags, a big backpack,
buy chocolate, insect repellent etc.). After we&#39;ve gotten everything, we
took a good sleep and the last hot shower for some days to come.</p>

<h2 style="clear: both;">Inca Trail - Day 1</h2>

<p><img src="http://farm4.static.flickr.com/3446/3738045811_cdbea64601_m.jpg"
style="float: left; margin-right: 5px; margin-bottom: 5px;" />
The first day was supposed to be the easy day, but in the blazing heat
and with close to no trekking experience, it was already quite tough on
my smoking lungs and muscles. The cheap hamburger the day before decided
to mess up my stomach (once again), making it even worse.</p>

<p>Our group existed of but 6 people (us included) and a guide (and the 6
porters, carrying food, tents and our bag ;-). After 9 kilometers walking,
we made it to the campsite, where a dinner was waiting for us. The tents
were already awaiting us, and soonish I found out I was too tall for them.
So I had to sleep diagonally, in a sleeping bag that was too small as well.</p>

<p>We decided to hit the hay (on mattresses thinner than an average magazine)
early (after dinner), for the second day was going to be tough. But before
that, I looked up to the sky for quite some time in awe. The starry night was
beautiful and I suddenly realized why the Mayans, Egyptians and Incas were
so impressed by it.</p>

<h2 style="clear: both;">Inca Trail - Day 2</h2>
<p><img src="http://farm3.static.flickr.com/2640/3738767826_287db08e64_m.jpg"
style="float: right; margin-left: 5px; margin-bottom: 5px;" />
A "challenge", the brochure called this day. I&#39;d rather call it "pure hell".
Climbing up to 4000+ meters was definitely harder than expected. The last
few meters up were close to impossible (walk 10 meters, sit and rest again)
and I suspect we were the last people who made it up to the Dead Woman&#39;s Pass.</p>

<p>Luckily the road after that was only going down to the second campsite. We
followed our tradition of sleeping before dinner, and straight after. I was
completely beat and during the trek up, I toyed with the thought of returning
and taking the train up to Machu Picchu, like some people seem to do (we
noticed people walking the wrong way, obviously giving up).</p>

<p>After asking the guide a hundred times if this was really the hardest part
of the trip, I ate my dinner and went to sleep.</p>

<h2 style="clear: both;">Inca Trail - Day 3</h2>

<p>The final day and indeed, not as hard as the second day. Still climbing up
to two passes, the trail mostly went down and we made good progress. Both
my wife and I had close to no problems walking down, although the 3000+
steps of the Inca Stairs got quite annoying after about 1500 steps.</p>

<p>In the end, we arrived at the campsite, with the horrible "restaurant" that
offers hot showers (woohoo!) and beer (again woohoo!) although I was too tired
for that, so I went for Coca Cola, still remembering the medicinal features
of it in the Colca Valley.</p>

<p>We had to prepare for the last day, a good hour walk towards Machu Picchu
and did so with a huge meal. After dinner, we payed the porter and tipped them.
I figured 50 soles for both of us was the least we could do (~ &euro;12.50 per
person) for these poor souls literally had to run up and down the trail,
making the tents and cook for us, but the rest of the group decided to pay
even less. We Dutch are stingy? Try the French! Bah, it sickened me.</p>

<h2 style="clear: both;">Inca Trail - Day 4</h2>

<p><img src="http://farm4.static.flickr.com/3443/3738120589_4b10fc8a37_m.jpg"
style="float: left; margin-right: 5px; margin-bottom: 5px;" />
An early breakfast waited for us and as soon as we finished it, the first
drops of rain fell out of the sky. Our flashlight broke down, so we had
to walk in the dark and in the rain. Not fun!</p>

<p>To make matters worse, the rain got stronger, making our rain ponchos close
to useless and due to the fog, we couldn&#39;t see much.</p>

<p>After the hour walk, we arrived at Machu Picchu, soaked, pissed off because we
couldn&#39;t see anything and cold.</p>

<p>So that was it. Three days of terror for a rainy Machu Picchu, covered in fog.
Words can&#39;t describe our disappointment, but because we were there finally,
I wouldn&#39;t leave without at least <em>some</em> pictures, so after the guided tour,
we went to take a few pics quickly, before going to Aqua Calientes.</p>

<p>The fog did give the place a bit of a gloomy atmosphere though, which was
somewhat ok.</p>

<h2 style="clear: both;">Puerto Maldonado</h2>

<p><img src="http://farm4.static.flickr.com/3465/3739241800_8687eb5d47_m.jpg"
style="float: right; margin-left: 5px; margin-bottom: 5px;" />
After arriving back in Cusco, we took the plane to Puerto Maldonado the day
after. The sun greeted us on the airport and my heart was skipping a beat
when finally we saw green trees again. Hot weather + mosquitos + green trees;
this must be the jungle!</p>

<p>A little boat brought us to the jungle lodge after cruising the Madre de Dios
river (which flows into the Amazon, if I recall correctly).</p>

<p>The three days we&#39;ve spend here contained some jungle trails where we saw
a lot of caymans, many birds and monkeys and even an anaconda (luckily
sleeping).</p>

<p>Because we were stuck in the jungle lodge, we had no choice but to eat at
the restaurant, which served the exact same buffet every day for lunch and
dinner. We got quite tired of it, but oh well, at least it wasn&#39;t bad food.</p>

<p>After the Puerto Maldonado, we went back to Lima, where we spent one more
day before returning home. Time flew by and we had a lot of fun, although
I can&#39;t really say the dessert attracted me much. The jungle was a lot better
(I like hot weather). All in all a nice vacation, but I&#39;m dying to visit
Indonesia again, next year!</p>

<div class="technoratitags">
<img src="/blog/images/technobubble.gif" alt="TT" title="Technorati Tags" />
<a href="http://technorati.com/tag/peru" rel="tag">peru</a>,
<a href="http://technorati.com/tag/inca" rel="tag">inca</a>,
<a href="http://technorati.com/tag/inca+trail" rel="tag">inca trail</a>,
<a href="http://technorati.com/tag/lima" rel="tag">lima</a>,
<a href="http://technorati.com/tag/cusco" rel="tag">cusco</a>,
<a href="http://technorati.com/tag/cuzco" rel="tag">cuzco</a>,
<a href="http://technorati.com/tag/machu+picchu" rel="tag">machu picchu</a>,
<a href="http://technorati.com/tag/puno" rel="tag">puno</a>,
<a href="http://technorati.com/tag/arequipa" rel="tag">arequipa</a>,
<a href="http://technorati.com/tag/nazca" rel="tag">nazca</a>,
<a href="http://technorati.com/tag/nasca" rel="tag">nasca</a>,
<a href="http://technorati.com/tag/nazca+lines" rel="tag">nazca lines</a>,
<a href="http://technorati.com/tag/chivay" rel="tag">chivay</a>,
<a href="http://technorati.com/tag/condor" rel="tag">condor</a>,
<a href="http://technorati.com/tag/ica" rel="tag">ica</a>,
<a href="http://technorati.com/tag/huacachina" rel="tag">huacachina</a>,
<a href="http://technorati.com/tag/puerto+maldonado" rel="tag">puerto maldonado</a>
</div>]]></description>
    <pubDate>Tue, 21 Jul 2009 17:44:00 GMT</pubDate>
  </item>
  <item rdf:about="http://menno.b10m.net/blog/blosxom/web/my-id-is-fail.html">
    <title>MyID.is FAIL</title>
    <link>http://menno.b10m.net/blog/blosxom/web/my-id-is-fail.html</link>
    <description><![CDATA[<p>Today I came across <a href="http://myid.is/">MyID.is</a>, a new webservice that
claims to be a <em>Digital Identity Certification Platform</em>.</p>

<p>That sounds fun! Certification I find interesting and a fancy website
using X.509 or something cooler? Wow. But nope. Not that cool and
probably not worth spending time on.</p>

<p>I found it hard to find exactly it was what they offered. I mean, what does
this really tell you?</p>

<blockquote><p>MyID.is is a Digital Identity certification platform. People use MyID.is to certify their digital identity, certify any content that they publish over the Internet, such as blog, website, comments, photos, videos, social network profiles, and in general to manage their digital life. </p></blockquote>

<p>Are we going to put signatures on everything, using a PGP like system?
(By the way, this is all there is in their 
<a href="http://myid.is/static/FAQ.aspx">FAQ</a>)</p>

<p>The <a href="http://blog.myid.is/">blog</a> has a little more information. Basically,
they want to know your full name and credit card number (alarm bells
should go off here) in order for you to post your own "certified badge"
on your website.</p>

<p>Since they trust the HTTP_REFERER header for this, it&#39;s in secure as heck.</p>

<p>Oh well, from now on, I am Charles.Nouyrit, really, look at this badge!</p>

<p><img src="http://menno.b10m.net/cgi-bin/myid.cgi" alt="" /></p>

<p>Sure, it doesn&#39;t link to their website, but it does show the correct 
timestamp and all. With a little trickery/phishing, I&#39;m sure you can even
forge the page it <a href="http://dev.myid.is/Charles.Nouyrit.id">should link
to</a>.</p>

<p>The trick here is to provide your own HTTP_REFERER header, like this perl
script does:</p>

<pre><code>#!/usr/bin/perl

use strict;
use LWP::UserAgent;

my $ua = LWP::UserAgent-&gt;new();
   $ua-&gt;default_header( 'Referer' =&gt; 'http://blog.myid.is/');

my $resp =  $ua-&gt;get('http://devbadge.myid.is/?k=d9b6ddf2-b6be-4cfe'.
    '-a562-aef151f903c8&amp;w=200&amp;c=http://blog.myid.is/');

print &quot;Content-type: image/png\n\n&quot;, $resp-&gt;content;</code></pre>

<p>This system is far from perfect and completely useless, IMHO. Afterall,
you still need to trust MyID.is, something I don't do at this stage.</p>

<div class="technoratitags">
<img src="/blog/images/technobubble.gif" alt="TT" title="Technorati Tags" />
<a href="http://technorati.com/tag/myid.is" rel="tag">myid.is</a>,
<a href="http://technorati.com/tag/security" rel="tag">security</a>,
<a href="http://technorati.com/tag/fail" rel="tag">fail</a>
</div>]]></description>
    <pubDate>Fri, 27 Mar 2009 14:12:00 GMT</pubDate>
  </item>

</rdf:RDF>
