<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://www.foldr.org/~michaelw/log/theme/style/rss.css" type="text/css"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xml:lang="en">

	<channel>
		<title>Random Bits and Pieces :: rants</title>
		<link>http://www.foldr.org/~michaelw/log</link>
		<description>Michael Weber</description>
		<language>en</language>
		<lastBuildDate>Sun, 14 Jun 2009 17:20:00 GMT</lastBuildDate>
		<generator>blosxom ver.2.0</generator>


		<item>
			<title>Screwed</title>
			<link>http://www.foldr.org/~michaelw/log/rants/screwed</link>
			<guid isPermaLink="true">http://www.foldr.org/~michaelw/log/rants/screwed</guid>
			<category>http://www.foldr.org/~michaelw/log/rants/</category>
			<pubDate>Sun, 14 Jun 2009 17:20:00 GMT</pubDate>
			<content:encoded><![CDATA[
<p>Some assembly required:</p>

<img src="http://www.foldr.org/~michaelw/log/static/rants/DSC_1533.jpg" 
     alt="Bag of screws"
     class="center" />

<p>Evidently, this did not not originate from
  the <a href="http://ikea.com/">IKEA</a> School of
  Furniture Construction&hellip;</p>
]]></content:encoded>
			<comments>http://www.foldr.org/~michaelw/log/rants/screwed#writeback</comments>
		</item>

		<item>
			<title>Two days in Autohell</title>
			<link>http://www.foldr.org/~michaelw/log/rants/autohell</link>
			<guid isPermaLink="true">http://www.foldr.org/~michaelw/log/rants/autohell</guid>
			<category>http://www.foldr.org/~michaelw/log/rants/</category>
			<pubDate>Fri, 07 Nov 2008 15:55:00 GMT</pubDate>
			<content:encoded><![CDATA[
<p>
We recently released a new tool (<a href="http://www.foldr.org/~michaelw/log/science/ltsmin">LTSmin</a>)
which caused me to spend two days
in <a href="http://www.google.com/search?q=autohell">autohell</a>, the
Hell (with capital "H") induced
by <a href="http://sources.redhat.com/autobook/">autotools</a>.
</p>

<p>
  <strong>Raaah!!1&iexcl;!  Why does this <em>still</em> SUCK SO MUCH?</strong>
</p>

<p>If only Unices would have shipped with an interpreter for a
  sensible language instead of shell scripts, then I would not have to
  write macros for basic language constructs (why hasn't anybody
  else?!):</p>

    <pre class="sh">

<span class="comment-delimiter"># </span><span class="comment">SYNOPSIS
</span><span class="comment-delimiter">#</span><span class="comment">
</span><span class="comment-delimiter">#   </span><span class="comment">AX_LET([VAR1],[EXPR1],
</span><span class="comment-delimiter">#          </span><span class="comment">[VAR2],[EXPR2],...
</span><span class="comment-delimiter">#     </span><span class="comment">[...])
</span><span class="comment-delimiter">#</span><span class="comment">
</span><span class="keyword">m4_define</span>([AX_LET_counter_],0)
<span class="keyword">m4_define</span>([AX_LET_AUX], [<span class="comment">dnl</span>
m4_if([$<span class="comment">#], 2, [$1
</span><span class="variable-name">$2</span>], [<span class="comment">dnl</span>
ax_let_<span class="variable-name">$2</span>_[]AX_LET_counter_[]_tmp_=<span class="variable-name">$3</span>
AX_LET_AUX([m4_if([<span class="variable-name">$1</span>],[],[],[<span class="variable-name">$1</span>
])<span class="comment">dnl</span>
ax_let_<span class="variable-name">$2</span>_[]AX_LET_counter_="[$]<span class="variable-name">$2</span>"
<span class="variable-name">$2</span>="[$]ax_let_<span class="variable-name">$2</span>_[]AX_LET_counter_[]_tmp_"], m4_shiftn(3,<span class="variable-name">$@</span>))
<span class="variable-name">$2</span>="[$]ax_let_<span class="variable-name">$2</span>_[]AX_LET_counter_"])])<span class="comment">dnl</span>

AC_DEFUN([AX_LET],
[<span class="keyword">m4_define</span>([AX_LET_counter_], <span class="keyword">m4_incr</span>(AX_LET_counter_))<span class="comment">dnl</span>
<span class="comment-delimiter"># </span><span class="comment">AX_LET
</span>AX_LET_AUX([],<span class="variable-name">$@</span>)])
</pre>

<p>That is all.  Also, another proof that you can write Lisp in any
language.</p>
<h3><a id="autohell-1" class="updatetitle">UPDATE 2008-11-07: Post Scriptum
</a><br /></h3>
<div><p>&hellip;and don't get me started on the umpteen ways to make
  <tt>gcc</tt> compile with pthreads on different platforms, or what
  will happen when you want to combine pthreads with MPI on AIX
  (think <tt>cc_r</tt> vs. <tt>mpicc</tt>).  Thankfully, it is
  unlikely that we have to support AIX anytime soon.
</p>

<p>&hellip;or that developers appear to assume you can mix options and
  file arguments in the <tt>rm</tt> command.  Which
  MacOS&nbsp;X's <tt>rm</tt> does not support.</p>
</div>

]]></content:encoded>
			<comments>http://www.foldr.org/~michaelw/log/rants/autohell#writeback</comments>
		</item>

		<item>
			<title>Your Vote Decides!</title>
			<link>http://www.foldr.org/~michaelw/log/rants/eurovision-politics</link>
			<guid isPermaLink="true">http://www.foldr.org/~michaelw/log/rants/eurovision-politics</guid>
			<category>http://www.foldr.org/~michaelw/log/rants/</category>
			<pubDate>Sun, 13 May 2007 19:51:00 GMT</pubDate>
			<content:encoded><![CDATA[
<img src="http://www.foldr.org/~michaelw/log/static/rants/esc-2007.png" alt="Eurovision Song Contest 2007 (Logo)" />

<p>
Quoting from the
article <q><a
href="http://news.bbc.co.uk/2/hi/europe/6652211.stm">Radical Serbia
speaker steps down</a></q>
(source: <a href="http://news.bbc.co.uk/">The Beeb</a>, emphasis
mine):
</p>

<blockquote>
<p>
  Earlier, opposition MP Nenad Canak said Mr Nikolic's nationalist and
  anti-European stand no longer had a place - especially as Serbia had
  just won
  the <a
  href="http://en.wikipedia.org/wiki/Eurovision_Song_Contest_2007">Eurovision
  Song Contest</a>.
</p>
<p style="font-weight:bold;">
  Mr Canak said Serbia's neighbours had all awarded his country maximum
  points in the contest. But Russia, described by Mr Nikolic as Serbia's
  only friend, had only awarded his country five points.
</p>
</blockquote>

<p>Clearly, five points are not enough to prove friendship, don't you see?</p>
]]></content:encoded>
			<comments>http://www.foldr.org/~michaelw/log/rants/eurovision-politics#writeback</comments>
		</item>

		<item>
			<title>This week's karma forecast:<br /> Cloudy, with heavy winds from the side</title>
			<link>http://www.foldr.org/~michaelw/log/rants/karma-sink</link>
			<guid isPermaLink="true">http://www.foldr.org/~michaelw/log/rants/karma-sink</guid>
			<category>http://www.foldr.org/~michaelw/log/rants/</category>
			<pubDate>Mon, 25 Sep 2006 01:16:00 GMT</pubDate>
			<content:encoded><![CDATA[
<img src="http://www.foldr.org/~michaelw/log/static/rants/karma-rage.png" alt="Karma/Rage Correlation Graph" />

<p>
Dear overly
correct <a href="http://www.politie.nl/Overige/English/">Nederlands
politie</a> officer,
</p>

<p>
thank you for going by the letter and showing no common sense at all.
I am sure you had no better things to do, like, uh, stopping real
crime.
</p>

<p>
Instead, you chose to harass me while I was unpacking heavy boxes and
furniture from my car, and hence had it parked directly in front of the
door of our new home.  Yes, on the sidewalk.  At 23:30 hours, when
there is virtually no other traffic.  Anyway, my car was in no way on
the street, thus not obstructing even potential traffic.  Neither was
it on the bike lane, thus not impeding bikers.  And the sidewalk in
front of our new apartment is wide enough that my (small) car fits
there, plus there is enough space left for, e.g., moms with oversized
twin buggies.  And I was running around there, carrying stuff, so I
could have put the car away, if there would have been urgent need.
</p>

<p>I was really almost finished with unpacking.  Yet you still insisted
  on me leaving <q>RIGHT NOW</q> and my asking for five more minutes to
  unload at least the heaviest boxes (you unload the heavy stuff last
  because it is below everything else, right?) fell on deaf ears.
</p>

<p>It was particularly hilarious that while I was standing there,
  listening to your speech how poor pedestrians (I haven't seen any)
  would not be able to pass due to my car blocking the sidewalk, a biker
  came riding along there, <em>between my car and the wall of the
    house</em>.  On the sidewalk (did I mention the huge bike lane
  which I left completely free?).  With no lights.  Against the
  traffic direction.  Through the too-narrow-for-pedestrians gap,
  huh?  (Yet all this was ignored.)
</p>

<p>So, nevertheless you made me leave and bring the car to a parking
lot.  Which costs outrageous sums per hour even at night, yet recently
the only sane way of paying
(<a href="http://nl.wikipedia.org/wiki/Chipknip">Chipknip</a>
electronic cash terminal) was removed, leaving only coins as payment
method.  Good luck trying to find somebody at this time of day who can
change you a bank note.  (Did I mention that I did not see any
pedestrians?)  And I had just not enough coins so that the next
morning they will probably come and put a clamp on my car, while
  I am waiting for <q>de monteur</q>.  Which we know from experience
  is always dependable and on time...
</p>

<p>But I digress.  Now, for some more fun, my car recently acquired an
odd little quirk: it does not start well the first time after I drove
on the highway...  After the first successful try, everything is well
again.  Anybody wants to guess where I was driving before unloading
the car? Yes, 250 km highway.  So, I tried to start the car and the
first N times it did not work, of course.  I could already see in
their faces how police thought I was doing it on purpose...  Only
instants before they would have left their car (surely to give my car
a push, right?), I managed to start it and drove to the parking lot,
under supervision.
</p>

<h2>Where were you then?</h2>

<p>Dear officer, with your precision, I wished you would have worked
instead at my local municipality, which gave me wrong information and
sent me through half the city for nought; or maybe you could have
helped out at <a href="http://www.ind.nl/EN/">Immigratie- en
Naturalisatiedienst</a> (IND), which were unable to find my computer
record for weeks with lame excuses, and only after I called there a
hojillion times on expensive 0900 numbers with hours in the waiting
loop and tracked myself who could have potentially lost the record,
they suddenly found it between two calls on the same day, which surely
had nothing to do with me homing in on the culprit.
</p>

<p>Or perhaps at <a href="http://www.kpn.com/">KPN</a> who misplaced
my ADSL order, so that my seamless internet connectivity transition
during the move remains a pipe dream, because it takes them 14+ days
to flip some switches?! (Time for that starts running after the second
try of ordering, of course).
</p>

<p>Or, you could have worked at <a href="http://www.ikea.nl/">IKEA
Amsterdam</a>, preventing them from being twerps who were lying to me
about the availability of their furniture.  Only recently they
admitted that it eventually might take five instead of the promised
two weeks until the bed arrives, leaving me sleeping on the floor for
15 days.  THE REASON WHY I ASKED ABOUT AVAILABILITY WAS THAT I WOULD
HAVE ORDERED SOMETHING OR SOMEWHERE ELSE IN THAT CASE!
</p>

<p>Or you could have helped out at <a href="http://www.ltu.com/">LTU
International</a>, who were apparently unable to handle my zipcode for
credit card validation, causing my return flight not to be booked (the
outward flight and another flight was booked fine with exactly the
same data on the same day with <a href="http://www.ltu.de/">LTU
Germany</a>, just as every other flight I ever booked with any other
airline).  And while other airlines call their customers to recheck if
something goes wonky (after all they request phone numbers when
booking), LTU International feels no need for that, and instead relies
on sheer luck that I called there preemptively.  And <em>then</em> I
needed to call another couple of times for a confirmation email
because they first managed to scramble my email address in their
database, and then finally sent an email message looking exactly like
the spam which funnily passed
my <a href="http://spamassassin.apache.org/">spam filter</a> more
often than not during the last couple of days.  This time it did not,
being 0.2 over the threshold.  I was of course suspecting something
like this, so I grepped for "ltu" in the mail server logs, but
helpfully, LTU sends their confirmation emails from pop3.amadeus.net,
as I know now.  Yeah sure, go ahead and tell me it is my fault that I
use a spam filter...
</p>

<p>I guess, my story with the health insurance which lost my
application as well and as compensation taking <em>extra long</em> to
process the reapplication is already too old so I won't ask you there,
but...
</p>

<p>Where were you overly correct nitpickers instead of doing your job
properly during the last <em>three weeks</em> when all the other shit
happened?
</p>

<p>
Well, I did not get a ticket at least, and hey, it could be worse,
I could live in a war zone or something...
</p>
<h3><a id="karma-sink-1" class="updatetitle">UPDATE 2006-09-25: Karma Sequel
</a><br /></h3>
<div><p>
The judges are still out on
whether <a href="http://www.telekom.de/sas/t-com">Telekom</a>
and <a href="http://www.freenet.de/">freenet</a> processed my
cancellations. (It is not looking good for freenet, but I still have
high hopes for Telekom after going there twice.)
</p>
</div>

]]></content:encoded>
			<comments>http://www.foldr.org/~michaelw/log/rants/karma-sink#writeback</comments>
		</item>

		<item>
			<title>Phrases of Important Words</title>
			<link>http://www.foldr.org/~michaelw/log/rants/phrases-of-important-words</link>
			<guid isPermaLink="true">http://www.foldr.org/~michaelw/log/rants/phrases-of-important-words</guid>
			<category>http://www.foldr.org/~michaelw/log/rants/</category>
			<pubDate>Wed, 02 Aug 2006 09:15:00 GMT</pubDate>
			<content:encoded><![CDATA[
<p>
  Tony Blair warned of
  the <q><a
  href="http://news.bbc.co.uk/2/hi/uk_news/politics/5236862.stm">arc
  of extremism</a></q> and called for
  an <q><a
  href="http://news.bbc.co.uk/2/hi/uk_news/politics/5236862.stm">alliance
  of moderation</a></q> instead
  of <q><a
  href="http://news.bbc.co.uk/2/hi/uk_news/politics/5236862.stm">export
  of instability</a></q> (all found in a single article, no less).
</p>
<p>
  Let's see...
   <q><a href="http://www.wikipedia.org/wiki/Axis_of_evil">Axis of
   evil</a></q>... where are
   my <a href="http://www.bullshitbingo.net/cards/">Political Bullshit Bingo</a> cards?!
</p>
]]></content:encoded>
			<comments>http://www.foldr.org/~michaelw/log/rants/phrases-of-important-words#writeback</comments>
		</item>

	</channel>
</rss>
