<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <channel>
    <lastBuildDate>Mon, 14 Apr 2014 00:56:20 -0400</lastBuildDate>
    <title>The Codeless Code</title>
    <description>K&#x014D;ans for the Software Engineer -- An illustrated collection of (sometimes violent) fables, concerning the Art and Philosophy of software development.</description>
    <link>http://thecodelesscode.com</link>
    <atom:link rel="self" type="application/rss+xml" href="http://thecodelesscode.com/rss" />
    <pubDate>Mon, 14 Apr 2014 00:56:20 -0400</pubDate>
    <item>
      <title>Case 140: Heartbleed</title>
      <link>http://thecodelesscode.com/case/140</link>
      <pubDate>Sun, 13 Apr 2014 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/140</guid>
      <description>&lt;img src="/pages/case-140/heartbleed.jpg" alt="" title="I have some sympathy for the developer: this bug is so epic they gave it a website and ITS OWN LOGO.  Even &amp;#39;goto-fail&amp;#39; doesn&amp;#39;t have a logo!" class="illus-right" /&gt;


&lt;p&gt;A novice asked of master Bawan: &#x201C;Say something about the &lt;a href="http://en.wikipedia.org/wiki/Heartbleed_bug"&gt;Heartbleed Bug&lt;/a&gt;.&#x201D;&lt;/p&gt;

&lt;p&gt;Said Bawan: &#x201C;Chiuyin, the Governor&#x2019;s treasurer, is blind as an
earthworm.  A thief may give him a coin of lead, claim that
it is silver and receive change.  When the treasury is empty,
which man is the villain?
Speak right and I will spare you all blows for one week.
Speak wrong and my staff will fly!&#x201D;&lt;/p&gt;

&lt;p&gt;The novice thought: &lt;i&gt;if I say the thief, Bawan will surely
strike me, for it is the merchant who doles out the coins.  But
if I say the merchant he will also strike me, for it is the
thief who takes advantage of the situation.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;When the pause grew too long, Bawan raised his staff high.
Suddenly enlightened, the novice cried out:
&#x201C;The Governor! For who else made this blind man his
treasurer?&#x201D;&lt;/p&gt;

&lt;p&gt;Bawan lowered his staff. &#x201C;And who is the Governor?&#x201D;&lt;/p&gt;

&lt;p&gt;Said the novice: &#x201C;All who might have cried out &#x2018;this man is blind!&#x2019;
but failed to notice, or even to examine him.&#x201D;&lt;/p&gt;

&lt;p&gt;Bawan nodded.  &#x201C;This is the first lesson.  Too easily we
praise Open Source, saying smugly to each other, &#x2018;under ten
thousand eyeballs, every bug is laid bare&#x2019;.  Yet when the
ten thousand avert their gaze, they are no more useful than
the blind man.  And now that I have spared you all
blows for one week, stand at ease and tell me: what is the
second lesson?&#x201D;&lt;/p&gt;

&lt;p&gt;Said the novice: &#x201C;Surely, I have no idea.&#x201D;&lt;/p&gt;

&lt;p&gt;Bawan promptly struck the novice&#x2019;s skull with his staff.
The boy fell to the floor, unconscious.&lt;/p&gt;

&lt;p&gt;As he stepped over the prone body, Bawan
remarked: &#x201C;Code as if everyone is the thief.&#x201D;
&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 139: Feedback</title>
      <link>http://thecodelesscode.com/case/139</link>
      <pubDate>Sat, 05 Apr 2014 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/139</guid>
      <description>&lt;img src="/pages/case-139/Lecture2.jpg" alt="" title="In their defense, they were able to buy three new servers last year with all the money they saved on shampoo." class="illus-right"/&gt;


&lt;p&gt;It had been many weeks since master Suku and her three
novices set out from the Temple of the Morning Brass Gong
across the great mountains to the west.  The first
warm winds of spring greeted the party as they arrived at
the Temple of the Thrown Coin, whose monks built
social-media-enabled websites for the wealthy merchants of
their province.  Here, Suku would teach her
art of creating maintainable code, while in return the
Thrown Coin would share the secret riches of their
technology stack.&lt;/p&gt;

&lt;p&gt;One of the two novice monks in Suku&#x2019;s charge observed that
the monks of the Thrown Coin attended closely to his words,
treating him with the regard one might bestow upon a
visiting dignitary.  But when the same words were spoken by
Suku, the monks of the Thrown Coin either raised their
eyebrows skeptically or lowered their gaze to fiddle with
cellphones and tablets.  They did likewise when the novice
nun spoke.&lt;/p&gt;

&lt;p&gt;It was then that the novice monk noticed the almost complete
absence of women from the Temple of the Thrown Coin.  Only a
few nuns could he spy as he cast his eyes around the
lecture-hall.  All appeared to be of low rank, and they asked
no questions.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;At breakfast next morning the novice monk sat next to one
of the senior abbots.&lt;/p&gt;

&lt;p&gt;&#x201C;Why are there so few women in this temple?&#x201D; asked the
novice monk.&lt;/p&gt;

&lt;p&gt;&#x201C;Because very few girls apply for admittance anymore,&#x201D;
replied the abbot.&lt;/p&gt;

&lt;p&gt;&#x201C;Why is that?&#x201D; asked the novice monk.&lt;/p&gt;

&lt;p&gt;&#x201C;Because it is widely known that most girls do not meet
our rigorous standards,&#x201D; replied the abbot.&lt;/p&gt;

&lt;p&gt;&#x201C;Why is that?&#x201D; asked the novice monk.&lt;/p&gt;

&lt;p&gt;&#x201C;Because productivity requires harmony, and many female
applicants are a poor fit for our culture,&#x201D; replied the
abbot.  &#x201C;Indeed, most have wasted the time we invested
in them by leaving soon after arriving.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;Why is that?&#x201D; asked the novice monk.&lt;/p&gt;

&lt;p&gt;&#x201C;Because they were unhappy here, and did not work well
with the monks,&#x201D; replied the abbot.&lt;/p&gt;

&lt;p&gt;&#x201C;Why is that?&#x201D; asked the novice monk.&lt;/p&gt;

&lt;p&gt;&#x201C;Because like so many great temples, the culture of this
temple is a boy&#x2019;s culture: rough and rude, cruel and crude,
in work and in play,&#x201D; replied the abbot.&lt;/p&gt;

&lt;p&gt;&#x201C;Why is that?&#x201D; asked the novice monk.&lt;/p&gt;

&lt;p&gt;&#x201C;Because there are so few women in this temple,&#x201D;
replied the abbot.
&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 138: The Province of Eternal Crisis</title>
      <link>http://thecodelesscode.com/case/138</link>
      <pubDate>Sun, 30 Mar 2014 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/138</guid>
      <description>&lt;p&gt;Djishin said to master Banzen: most works of mankind
do not fail before their time.  A saddle will outlive the
mare and her foal; a horse-bridge will serve a hundred years
unless an elephant treads upon it.  Even the stones of our
humblest abbey were laid before the venerable Abbess was
born.  Why then does software fail so often?&lt;/p&gt;

&lt;p&gt;Banzen said: to know the answer, you must first find your
way to the Complex Plain.  This is a tricky task, for most
of that grassy expanse is imaginary to some degree; but
since your origin point is not only real but guaranteed to
be at the plain&#x2019;s exact center, you need only start looking
for it and you&#x2019;ll find yourself already there.  Then head
due north-east until you come to a rumbling land known as
the Province of Eternal Crisis.  There the ground belches
fire and buckles and twists, like a serpent; mountains
change places with valleys; rivers run backwards at midnight
and sideways under the new moon.  Nothing endures in that
place.  The sturdiest house must be rebuilt every spring, so
men have quit all use of stone and erect only simple huts of
saplings and straw.  As for horses or bridges you will find
neither, for saddles crumble in the arid winds, and the many
chasms must be spanned anew by rope each week as their edges
dance up and down.  No sane man would live in that land if
it did not hold the possibility of great wealth.  Yet every
shovel is blunted by the rocky soil, every ax dulls, every
ox dies.&lt;/p&gt;

&lt;p&gt;Djishin said: when did you last visit this unhappy place?&lt;/p&gt;

&lt;p&gt;Banzen said: I have never left it.  Sometimes in my
wanderings I have come upon a green road which promises to
lead me out, but &lt;i&gt;ai!&lt;/i&gt;  Though the signpost greets me with a
cheerful &lt;i&gt;Hello World&lt;/i&gt; and tells me of wondrous places I may
go with but a fingerfull of effort, disappointment
invariably awaits.  A thousand paces in, I feel a quake, the
land tilts crazily beneath me, and the faster I code to
outrace my doom the more the new road disappears under the
debris of its own syntax.  Now I am as you see me: a bitter
old man who trusts no path but one he has blazed himself.
And this is why I take such pains with you, young monk!
Because of your unquenchable zeal to create new frameworks,
you do out of foolishness what I now do out of cynicism.
If I can teach you to recognize a road to freedom,
then perhaps I can follow you down it.
&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 137: The 1000 Words</title>
      <link>http://thecodelesscode.com/case/137</link>
      <pubDate>Sun, 23 Mar 2014 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/137</guid>
      <description>&lt;p&gt;A nun found the scribe Qi in his study.&lt;/p&gt;

&lt;p&gt;&#x201C;I am puzzled by the comments you have written on my
documentation,&#x201D; said the nun, placing a thick sheaf of
papers on the scribe&#x2019;s desk.&lt;/p&gt;

&lt;p&gt;&#x201C;Ah, yes,&#x201D; said Qi as he turned the pages, revealing
hundreds of neatly-rendered sequence diagrams, each with a
small note scrawled upon it in red ink.  &#x201C;You are the nun
who graphically illustrates every possible circumstance in
which a domain object is retrieved and displayed, regardless
of how intuitive the case may seem.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;I strive to be thorough,&#x201D; said the nun.&lt;/p&gt;

&lt;p&gt;&#x201C;That is a great relief,&#x201D; said the scribe. &#x201C;If
you were striving to be concise, I shudder to
imagine what your thoroughness would do
to the local tree population.&#x201D;&lt;/p&gt;

&lt;p&gt;The nun tapped her finger on the red scrawl at the
bottom of one page.  &#x201C;Yet under each diagram you
have written, &lt;i&gt;this picture speaks 1000 words&lt;/i&gt;.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;That number is in base two,&#x201D; said the scribe.&lt;/p&gt;

&lt;p&gt;The nun blinked.  &lt;i&gt;&#x201C;Eight&lt;/i&gt; words?&#x201D;&lt;/p&gt;

&lt;p&gt;Qi nodded, dipping his brush in a pot of red ink.
&#x201C;The same eight, over and over: &lt;i&gt;This nun owns a tool
for generating UML&lt;/i&gt;.&#x201D;&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 136: Unsupported Protocol</title>
      <link>http://thecodelesscode.com/case/136</link>
      <pubDate>Sat, 15 Mar 2014 00:00:00 -0400</pubDate>
      <guid>http://thecodelesscode.com/case/136</guid>
      <description>&lt;img src="/pages/case-136/EdgingUp.jpg" alt="" title="She&amp;#39;s really just doing it for the open bar and spicy chicken wings." class="illus-right"/&gt;


&lt;p&gt;Just around the time the first-year novices began to ask
their masters if winter in this mountain province ever came
to an end, the first winds of spring finally found their
weary way up through the labyrinth of cliffs and snowbound
peaks surrounding the Temple.&lt;/p&gt;

&lt;p&gt;Monks and nuns bustled from abbey to abbey with renewed
enthusiasm, pausing only to dodge the immense icicles that
had begun to crash from the eaves.  Now all thoughts turned
to the traditional Celebration of the End of the Long
White-Space&lt;a class="footnoteref" id="noteref-*" href="#note-*"&gt;&lt;sup class="footnote"&gt;*&lt;/sup&gt;&lt;/a&gt;.  All manner of fruits and spirits were
ordered up from villages far below.  The monks of the
Clan of Iron Bones had even set up a webcam atop a flatscreen
monitor in the Great Hall, so that Zjing, the
acrophobic nun who lived alone in a hut far below
the Temple, would be able to teleconference in to the
festivities.&lt;/p&gt;

&lt;p&gt;The party had not been long underway when Zjing suddenly
excused herself.  In front of her webcam she placed a
hastily-penned sign declaring &lt;i&gt;BRB&lt;/i&gt;.&lt;/p&gt;

&lt;p&gt;A few hours later the doors to the Great Hall opened, and a
very pale looking nun stumbled through them.  News spread
throughout the crowd that the nun Zjing had returned for
the first time in over a year.&lt;/p&gt;

&lt;p&gt;Hw&#x00ED;dah dashed forward and thrust a bottle of strong
liquor into Zjing&#x2019;s hands, guessing from her expression that
the cliffside paths and long swaying bridges over bottomless
ravines had taken their toll on the nun&#x2019;s nerves.&lt;/p&gt;

&lt;p&gt;After Zjing took a long pull, Y&#x00ED;wen said, &#x201C;A thousand
pardons for my curiosity, but why did you brave the steep
road here, so treacherous now with melting ice and slick
stone?&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;To share important news,&#x201D; said Zjing.  &#x201C;While observing the
party, I discovered a form of communication that cannot be
transmitted over IP sockets.&#x201D;&lt;/p&gt;

&lt;p&gt;Zjing then embraced Y&#x00ED;wen and Hw&#x00ED;dah, kissed their cheeks,
and turned to greet the others gathering round.&lt;/p&gt;

&lt;div class='footnotes'&gt;
&lt;div class='footnote' id='note-*'&gt;&lt;a href='#noteref-*'&gt;&lt;sup class='footnote'&gt;*&lt;/sup&gt;&lt;/a&gt;&amp;nbsp;Commonly abbreviated &lt;tt&gt;\s{99}\S&lt;/tt&gt;.&lt;/div&gt;
&lt;/div&gt;




</description>
    </item>
    <item>
      <title>Case 135: Ass-Backwards Compatibility</title>
      <link>http://thecodelesscode.com/case/135</link>
      <pubDate>Sun, 09 Mar 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/135</guid>
      <description>&lt;img src="/pages/case-135/lunch.jpg" alt="" title="For a box lunch, it&amp;#39;s pretty high in fiber." class="illus-right"/&gt;


&lt;p&gt;Wangohan, a monk of the Spider Clan, stumbled upon a
bug in a utility class provided by the Laughing Monkey Clan.
He called upon the junior monk who was its author.&lt;/p&gt;

&lt;p&gt;&#x201C;Your last refactoring of &lt;tt&gt;isHexNumber&lt;/tt&gt; was
incorrect,&#x201D; said Wangohan. &#x201C;Although there is no
documentation, the name implies that it will only match strings
of one or more hex digits.  Yet your regular expression uses
no anchors and the wrong quantifer.  You will return true for
any string in which &lt;i&gt;zero&lt;/i&gt; or more hex digits are present
&lt;i&gt;anywhere&lt;/i&gt;&amp;mdash;which is to say, any string at all.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;I ensured that the existing unit tests passed,&#x201D; protested
the junior monk.  &#x201C;Null is rejected, and legitimate hex
numbers are accepted.&#x201D;&lt;/p&gt;

&lt;p&gt;Wangohan scowled. &#x201C;I tell you that a cardboard box is not a
fit meal for the Emperor&#x2019;s daughter, and you reply,
&lt;i&gt;a goat did not choke on it&lt;/i&gt;.&#x201D;&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Wangohan called on the senior monk who tended the shared
library and explained the problem.&lt;/p&gt;

&lt;p&gt;&#x201C;We cannot change the implementation,&#x201D; said the senior monk.
&#x201C;This method is now used throughout the Temple.  If it
suddenly rejects strings it once accepted, disaster
might ensue.&#x201D;&lt;/p&gt;

&lt;p&gt;Wangohan pounded his fist on the monk&#x2019;s desk.  &#x201C;I tell you
that a cardboard box is not a fit meal for the Emperor&#x2019;s
daughter, and you reply, &lt;i&gt;she may dislike the taste of lamb
and figs&lt;/i&gt;.&#x201D;&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Wangohan called upon the head abbot of Laughing Monkey
and explained the problem.&lt;/p&gt;

&lt;p&gt;&#x201C;I will attend to the matter,&#x201D; sighed the abbot.
&#x201C;There must be a solution which will satisfy all parties.&#x201D;&lt;/p&gt;

&lt;p&gt;That evening Wangohan received an email from the abbot,
stating that the method should now perform exactly as
expected.  Wangohan brought up the code and found it to be
completely unchanged, save for a new comment at the top:&lt;/p&gt;

&lt;pre&gt;
  /**
   * isHexNumber returns true for any string
   * in which zero or more hex digits are present
   * anywhere.
   */
&lt;/pre&gt;

&lt;p&gt;Wangohan&#x2019;s head fell to his desk.  &#x201C;Clearly a cardboard box
must be a fit meal for the Emperor&#x2019;s daughter, for here
it is on the Imperial menu.&#x201D;&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 134: Thin Ice</title>
      <link>http://thecodelesscode.com/case/134</link>
      <pubDate>Sat, 01 Mar 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/134</guid>
      <description>&lt;img src="/pages/case-134/pole.jpg" alt="" title="P.S. -- We *were* able to fill in a few of the shallower holes with landmines." class="illus-right"/&gt;


&lt;p&gt;The monk Djishin had grown dispirited from
toiling on obscure projects for the One Shoe Clan,
far removed from the bustle of temple life.
He appealed to master Banzen for more meaningful work.&lt;/p&gt;

&lt;p&gt;Said Banzen, &#x201C;I can think of one application whose codebase
has grown confused over the years, owing to its many owners.
I suspect it hides much rubbish which may be cleared away.&#x201D;&lt;/p&gt;

&lt;p&gt;When Banzen examined Djishin&#x2019;s refactoring he found the
code to be well-organized and greatly simplified.  The most
dramatic reduction had been in the number of Data Transfer
Object classes.&lt;/p&gt;

&lt;p&gt;&#x201C;I retained only those classes which map directly to
database tables,&#x201D; Djishin explained proudly.  &#x201C;See, here is
a query which joins the Campaign, Soldier, and Specialty
tables, fetching but two columns from each.  Previously
there was a DTO whose only purpose was to return the six
values for each row&amp;mdash;shameful!  Now the query returns a
list of Campaign instances, each holding a list of Soldiers,
each in turn holding a list of Specialties.  True, the
presentation layer must now traverse these objects, but they
are common throughout the application and will be familiar
to all who labor upon it.&#x201D;&lt;/p&gt;

&lt;p&gt;Banzen stroked his beard.  &#x201C;You have adopted the ways of
the Object-Relational Mapping, in a framework of your own
devising.  I am acquainted with the virtues of this
approach, but also with its vices.  These three tables have
about twenty columns each; the domain objects which mirror
them have likewise twenty fields.  So now instead of fetching
six columns per row, are you fetching sixty?  Or executing the
query in three passes?  Or employing some sort of cache?&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;None of these,&#x201D; said Djishin with satisfaction.  &#x201C;I fetch
only the original six columns, plus primary keys.  All other
fields in the domain objects are simply left uninitialized.&#x201D;&lt;/p&gt;

&lt;p&gt;Banzen sighed and reached for his staff.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Djishin awoke outside with a pounding headache, covered by a
blanket of new-fallen snow.  He was alone in the middle
of a tidy, perfectly level field surrounded by great pines.
All gleamed white in the morning sun, and a few flurries
were still spinning through the air.&lt;/p&gt;

&lt;p&gt;At his feet a long stick had been thrust into the ground.
A note was tied around the middle.  Djishin unrolled it.&lt;/p&gt;

&lt;blockquote&gt;    I ordered the One Shoe Clan to remove all the refuse
    from the temple&#x2019;s rubbish yard.  Is it not lovely now?&lt;/blockquote&gt;

&lt;blockquote&gt;    Sadly, this left behind many deep pits that would
    require too much effort to fill, so we covered the
    tops quite artfully with the thinnest layer of branches
    and leaves.  Since a good snow has been forecast
    for this evening, I expect you will awaken to a
    picture of perfection.&lt;/blockquote&gt;

&lt;blockquote&gt;    Watch your step,&lt;/blockquote&gt;

&lt;blockquote&gt;    B.
&lt;/blockquote&gt;



</description>
    </item>
    <item>
      <title>Case 133: Dead Language</title>
      <link>http://thecodelesscode.com/case/133</link>
      <pubDate>Thu, 20 Feb 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/133</guid>
      <description>&lt;img src="/pages/case-133/corpse.jpg" alt="" title="DAY 54.  SNOWED IN.  NO FOOD LEFT.  I MAY HAVE TAKEN THIS GAME OF HIDE-AND-SEEK A BIT TOO FAR." class="illus-right"/&gt;


&lt;p&gt;Master Suku was travelling with three novices in the
snowy mountains, en route to a distant temple.  The trail
wound dizzily up the face of a great cliff, and as the
sky grew dim they contemplated the long night ahead
and began to seek any place that might offer some refuge
from the wind.&lt;/p&gt;

&lt;p&gt;Eventually the group came upon a deep fissure in the rock
face, just wide enough for each of them to squeeze through.
It opened into a narrow cave, but when Suku lit her lantern
the travellers discovered that they were not alone.  A
corpse, ancient yet well-preserved by the endless cold, sat
huddled at the far end.  One mummified hand clutched a
stone, and the sloping wall opposite was covered in columns
of deep, unfamiliar scratches.&lt;/p&gt;

&lt;p&gt;&#x201C;What do you see?&#x201D; Suku asked the others.&lt;/p&gt;

&lt;p&gt;&#x201C;Markings,&#x201D; said the first novice, &#x201C;made by the stone.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;Words,&#x201D; said the second, &#x201C;carved by the dead.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;A message,&#x201D; said the third, &#x201C;expecting no answer.&#x201D;&lt;/p&gt;

&lt;p&gt;Suku shook her head as she rummaged through the pockets of
her travel coat.  &#x201C;A last request, meant for us.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;Can you understand the letters?&#x201D; asked the first novice.&lt;/p&gt;

&lt;p&gt;&#x201C;No,&#x201D; said Suku, producing her cellphone. She aimed its
camera at the scratches.  &#x201C;But I have unpacked source
directories from many strange lands.  Though the form
differs from place to place, still I can tell when something
is crying out &lt;i&gt;README&lt;/i&gt;.&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 132: Interpreter</title>
      <link>http://thecodelesscode.com/case/132</link>
      <pubDate>Sat, 15 Feb 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/132</guid>
      <description>&lt;img src="/pages/case-132/Dancer.jpg" alt="" title="Yesterday she danced the Perl regex interpreter, and it took two paramedics to untangle her arms and legs." class="illus-right"/&gt;


&lt;p&gt;Being snowed in together through the winter months will
strain even the closest of friendships; Y&#x00ED;wen and
Hw&#x00ED;dah were no exception to this rule.&lt;/p&gt;

&lt;p&gt;Hw&#x00ED;dah was irritated enough when her lanky roommate began
dancing silently around their quarters, swinging her 
arms and legs within inches of Hw&#x00ED;dah&#x2019;s nose.  But Hw&#x00ED;dah&#x2019;s
patience came to an end one day when Y&#x00ED;wen set up an
electric guzheng&lt;a class="footnoteref" id="noteref-*" href="#note-*"&gt;&lt;sup class="footnote"&gt;*&lt;/sup&gt;&lt;/a&gt; in the center of the room and began
playing it&amp;mdash;or rather, began plucking its strings
inexpertly to produce a series of dissonant, tuneless,
tempoless sounds.  The interlude lasted a minute, after
which Y&#x00ED;wen sat down and scribbled on some papers.  But then
she rose and repeated the performance.&lt;/p&gt;

&lt;p&gt;After the tenth iteration, Hw&#x00ED;dah hurled a sandal
right into Y&#x00ED;wen&#x2019;s backside, causing the girl to yelp and
turn around.&lt;/p&gt;

&lt;p&gt;&lt;i&gt;&#x201C;What,&#x201D;&lt;/i&gt; growled Hw&#x00ED;dah, &lt;i&gt;&#x201C;are you doing?&#x201D;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;Some of Y&#x00ED;wen&#x2019;s papers fluttered to the floor.  Hw&#x00ED;dah
snatched them up.  They were printouts of quicksort
implemented in different languages: C, Lisp, Perl, even
Prolog.  Each was covered with musical
notations in red ink.&lt;/p&gt;

&lt;p&gt;&#x201C;A thousand pardons for my rudeness,&#x201D; said Y&#x00ED;wen.  &#x201C;I have
been attempting to encode certain algorithms as
movements through space, or notes in the air.
If the result is not pleasing I change my encoding and
try again.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;Why?&#x201D; asked Hw&#x00ED;dah.&lt;/p&gt;

&lt;p&gt;&#x201C;To see what I will discover by doing it,&#x201D; answered Y&#x00ED;wen.
&#x201C;We speak often of the beauty or elegance of code.  Perhaps,
without knowing it, we have been composing choreographies
for information to dance to, and we find certain ones
pleasing because they appeal to some deeper aesthetic sense
common to other forms of human art.  If so, then these arts
would be connected.  I seek that connection.&#x201D;&lt;/p&gt;

&lt;p&gt;Hw&#x00ED;dah considered this.&lt;/p&gt;

&lt;p&gt;&#x201C;Thus far, the music of quicksort eludes me,&#x201D; continued
Y&#x00ED;wen with a sigh.  &#x201C;Perhaps my experiment is as foolish as
translating songs into code and attempting to
compile it.  Perhaps the music of quicksort is best
played by machines for their own appreciation, and not ours.
Shall I quit this endeavor, and spare your nerves?&#x201D;&lt;/p&gt;

&lt;p&gt;In answer, Hw&#x00ED;dah produced two bits of cotton from her
nightstand and put them in her ears.  Y&#x00ED;wen bowed and returned
to her instrument.  Thus was peace restored.&lt;/p&gt;

&lt;div class='footnotes'&gt;
&lt;div class='footnote' id='note-*'&gt;&lt;a href='#noteref-*'&gt;&lt;sup class='footnote'&gt;*&lt;/sup&gt;&lt;/a&gt;&amp;nbsp;I imagine they sound something like &lt;a href="http://www.youtube.com/watch?v=cJjlohZxn3w"&gt;this&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;




</description>
    </item>
    <item>
      <title>Case 131: Don't Think</title>
      <link>http://thecodelesscode.com/case/131</link>
      <pubDate>Sat, 08 Feb 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/131</guid>
      <description>&lt;img src="/pages/case-131/skulls.jpg" alt="" title="For most people, this is second nature." class="illus-right"/&gt;


&lt;p&gt;A new monk of Elephant's Footprint Clan noticed that all
brothers under master Bawan&#x2019;s tutelage answered
questions promptly, without the slightest pause.  Those who
hesitated were given a swift rap on the head with the
master&#x2019;s staff, after which they were to remain silent for
the rest of the day&amp;mdash;assuming, of course, that they had
not been knocked unconscious by the blow.&lt;/p&gt;

&lt;p&gt;The young monk asked one of the brothers, &#x201C;Why does Bawan
punish those who delay in their answers?&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;Because he believes them to be thinking,&#x201D; said the elder
monk.  He indicated a row of skulls set on a ledge above the
master&#x2019;s door.  Some were dull and dusty while others
appeared to be freshly-parted from their previous owners,
but carved into the forehead of each were the words &lt;i&gt;DON&#x2019;T
THINK&lt;/i&gt; in the master&#x2019;s unmistakable script.&lt;/p&gt;

&lt;p&gt;The elder monk departed, leaving the younger to ponder
Bawan&#x2019;s algorithm.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Some time later these same two monks were working furiously
through the night to upgrade one of the clan&#x2019;s venerable
document databases.  Critical systems were offlined while
the old documents were migrated to the new servers.&lt;/p&gt;

&lt;p&gt;The conversion script ran for hours, yet failed near the
end due to a minor problem.  A second run was started, but
since dawn was fast approaching the monks specified that any
documents which had already been written by the first run
should be skipped.&lt;/p&gt;

&lt;p&gt;As the second run sped through the portion of the database
that the first already processed, Bawan noticed something
curious.  Many thousands of status messages scrolled past
which looked like this:&lt;/p&gt;

&lt;pre&gt;
   document 2677091: skipped (already exists)
   document 2677092: skipped (already exists)
   document 2677093: skipped (already exists)
&lt;/pre&gt;

&lt;p&gt;Yet once in a while one would appear which looked like this:&lt;/p&gt;

&lt;pre&gt;
   document 2677094: skipped (already exists) (** source is newer)
&lt;/pre&gt;

&lt;p&gt;&#x201C;Why the difference?&#x201D; demanded Bawan.&lt;/p&gt;

&lt;p&gt;&#x201C;I cannot say,&#x201D; said the elder monk quickly.
Bawan snorted and struck the man&#x2019;s cheek with the back of
his hand.  Then he turned to the younger monk.&lt;/p&gt;

&lt;p&gt;&#x201C;Why the difference?&#x201D; he repeated.&lt;/p&gt;

&lt;p&gt;In that instant&amp;mdash;his mind racing between thoughts of the
master&#x2019;s hand and the master&#x2019;s staff&amp;mdash;the young monk
received a flash of insight.&lt;/p&gt;

&lt;p&gt;&#x201C;Clock skew,&#x201D; declared the young monk.  &#x201C;When we pull a
source document from the old server we preserve its
modification time, and then we create the target document.
Yet if the system clocks disagree, the script will
sometimes believe that the source is newer than the
target.&#x201D;&lt;/p&gt;

&lt;p&gt;The master indeed found a small time discrepancy between the
two servers.  He nodded approvingly and departed, leaving
the young monk to bask in the satisfaction of having
understood Bawan&#x2019;s algorithm.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;One day later Bawan ordered the clan to assemble outside his
office.  As all waited for the master to appear, the elder monk
whispered that Bawan had spent the whole day assembling definitive
evidence that clock skew was responsible for the odd messages.&lt;/p&gt;

&lt;p&gt;&#x201C;What did he find?&#x201D; asked a nun.&lt;/p&gt;

&lt;p&gt;&#x201C;Nothing of the sort,&#x201D; said the elder monk. &#x201C;In truth, one
server had accidentally been left running during the
migration, so users were still making edits in the old
database.  The second conversion skipped these documents
with the observed warning.  When traffic was diverted to the
new database, subsequent user edits made restoration of
the lost edits impossible.  It will be a great
embarrassment for the clan.&#x201D;&lt;/p&gt;

&lt;p&gt;The discussion halted abruptly as Bawan emerged from his
office with a ladder, which he then ascended to place a
glistening new skull on the ledge above his door.  The
skull&#x2019;s features recalled those of the young monk, who had
not been seen all day.  As before, the words &lt;i&gt;DON&#x2019;T THINK&lt;/i&gt;
were inscribed on the forehead.  And on the jawbone&amp;mdash;invisible to anyone standing below the ledge but quite
legible as the master carried it up&amp;mdash;was the single word,
&lt;i&gt;KNOW.&lt;/i&gt;&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 130: The First Mantra</title>
      <link>http://thecodelesscode.com/case/130</link>
      <pubDate>Mon, 03 Feb 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/130</guid>
      <description>&lt;p&gt;The nun Satou approached master Kaimu and said, &#x201C;My
master spoke of a First Mantra which must guide the thoughts of
Temple developers at all times.  What is this mantra?&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu answered, &lt;i&gt;&#x201C;I create.&lt;/i&gt;  The essence of
developer-nature is to be always in the process of
creation when one is at a keyboard.&#x201D;&lt;/p&gt;

&lt;p&gt;Satou arched an eyebrow suspiciously and asked,
&#x201C;If I merely fix defects, what am I creating?&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu answered, &#x201C;Harmony.&#x201D;&lt;/p&gt;

&lt;p&gt;Satou asked, &#x201C;If I refactor yet preserve behavior, what am I creating?&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu answered, &#x201C;Order.&#x201D;&lt;/p&gt;

&lt;p&gt;Satou asked, &#x201C;If I delete an unused project, what am I creating?&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu answered, &#x201C;Disk space.&#x201D;&lt;/p&gt;

&lt;p&gt;Satou asked, &#x201C;If I do nothing but browse the web, what am I creating?&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu answered, &#x201C;Missed deadlines, and a job opening.&#x201D;
&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 129: Like a Rolling Stone</title>
      <link>http://thecodelesscode.com/case/129</link>
      <pubDate>Mon, 27 Jan 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/129</guid>
      <description>&lt;p&gt;Even on the best of days the monk Wangohan's mood would
rival old vinegar, but the long bleak winter had soured it
still more.  Many were the target of his scorn, but none
moreso than the monk Landhwa:&lt;/p&gt;

&lt;p&gt;&#x201C;His lazyiness is no secret,&#x201D; Wangohan complained to one
poor novice at mealtime (who all-too-late understood why the
seats near Wangohan were always empty), &#x201C;yet from his
masters he receives no correction.  He presents the
&lt;i&gt;illusion&lt;/i&gt; of being industrious but in truth he is coding
his own pet projects.  I asked him to implement a dozen
simple DAOs; he chafed at the tediousness of the task,
then wasted a week developing a DAO-code-generator to spit
them out!&#x201D;&lt;/p&gt;

&lt;p&gt;When the gong called the brothers back to their cubicles,
a senior monk pulled the novice aside.&lt;/p&gt;

&lt;p&gt;&#x201C;What impression have you of our brother Wangohan?&#x201D; grinned
the senior monk.  &#x201C;Surely you have something to say on this
matter, unless he has truly talked your head off.&#x201D;&lt;/p&gt;

&lt;p&gt;The novice thought a moment.&lt;/p&gt;

&lt;p&gt;&#x201C;Wangohan has the spirit of the mule: dedicated and
hard-laboring,&#x201D; said the novice.  &#x201C;I would trust him to
carry ten thousand stones from the valley to the temple.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;High praise,&#x201D; said the senior monk.&lt;/p&gt;

&lt;p&gt;&#x201C;Is it?&#x201D; asked the novice.  &#x201C;His rival Landhwa would first
build a wheelbarrow.&#x201D;
&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 128: The Prison of Infinite Pleasures</title>
      <link>http://thecodelesscode.com/case/128</link>
      <pubDate>Sun, 19 Jan 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/128</guid>
      <description>&lt;img src="/pages/case-128/stairs.jpg" alt="" title="Staircases are usually undesirable in raster images, so when no one&amp;#39;s looking we bring our skateboards to the top and antialias it." class="illus-right"/&gt;


&lt;p&gt;Winter had come to the Temple in full bitter force, so a
novice of the Clan of Iron Bones chose to spend his
leave time visiting brethren in Phong Province to the
south.  The monks of that place worked on the planes of a
great render farm, where the directional light was
gloriously warm regardless of the season.&lt;/p&gt;

&lt;p&gt;All morning the novice watched as learned brothers scurried
to and fro, planting random number seeds, building
bounding-boxes, or wrapping wire frames around even the
tiniest model so that its pixels would blossom in just the
right places.  Thus were produced succulent scenes of
every shade and hue, to please the tastes of the Imperial Court.&lt;/p&gt;

&lt;p&gt;As midday approached, the novice&#x2019;s stomach began to rumble.
Since he required an escort to venture into the temple
proper, the novice approached a pleasant-looking boy
about his own age, who was rigging artificial light
sources above a grove of small quadtrees.  The boy&#x2019;s
clothes were of a rough sturdy linen, yet as testament to the
rigor of his duties the once-solid hues had been worn down
to dithered bits, both knees were covered with
bi-quadratic patches, and the right cuff showed signs of
aliasing.&lt;/p&gt;

&lt;p&gt;&#x201C;Ten thousand pardons,&#x201D; said the novice (feeling all the
more guilty for his own idleness) &#x201C;but this miserable body
will gnaw at me until I feed it a bowl of rice.  Where is your
master, that I may beg or barter with him?&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;In his chambers, where very soon I must go to bring him his
bowl,&#x201D; said the boy.  &#x201C;Walk with me as I fetch it and I will
fill your own as well, for at this time of year
our buffers are always full.&#x201D;&lt;/p&gt;

&lt;p&gt;The novice accepted a generous helping of rice, then
followed the boy on his errand up the dim spiralling staircase
which was the temple&#x2019;s only hallway.  It was built thus, the
boy explained, to baffle stray photons.&lt;/p&gt;

&lt;p&gt;&#x201C;For glare is ever our enemy,&#x201D; said the boy, pushing open
the door to his master&#x2019;s chamber.  &#x201C;Although there are greater
perils, as my master could certainly tell you, if he
were here.&#x201D;&lt;/p&gt;

&lt;p&gt;The novice followed the boy inside, puzzled.  The high
windowless room was lit only by the diffuse glow of a
monitor on a solitary desk.  The surface of the wide monitor
could not be seen from this angle, but the glassy stare of
the motionless, drooling old man behind it made the novice&#x2019;s
hair stand on end as surely as if his scalp had commanded
every follicle to indicate its normal vector.&lt;/p&gt;

&lt;p&gt;The boy slowly set the bowl down in front of his master,
then backed away, taking care to avert his eyes from the
screen.&lt;/p&gt;

&lt;p&gt;&#x201C;He is lost,&#x201D; explained the boy bitterly.  &#x201C;You see, long
ago he devised an ingenious algorithm for rendering any
part of the &lt;i&gt;mandelblob&lt;/i&gt; in the wink of an eye...&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;I have heard of this shape,&#x201D; interrupted the novice,
unable to tear his gaze from the master&#x2019;s visage.  &#x201C;Rumors,
only... a dread equation so small it may be inscribed on my
little finger, yet describing a fractal sphere of infinite
complexity.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;Not just a sphere,&#x201D; continued the boy.  &#x201C;A world; a
worm-eaten world, implicit in the laws of number theory.
Permeated by caves within caves within caves, their walls
scarred by gaping chasms, yawning cracks and belching
crevices.  Pick any taffy-twisted tunnel, the smoothest you
like, and if you zoom in far enough you&#x2019;ll find that the
surface wriggles and blisters and boils like putrid flesh on
the cusp of liquescence, sprouting flaccid stalagmites
a-crawl with mushrooms, mushrooms on mushrooms on mushrooms
too tiny to be imagined, until they vanish into their own
asymptotes, erupting on the other side as spores above
spores above spores; and each spore is its own worm-eaten
world as infinitely complex as its progenitor, yet
perversely different from it too...&lt;/p&gt;

&lt;p&gt;&#x201C;My master had barely begun to explore this shape
when by some accident he zoomed too deep into one
particular nanoscopic nodule, one random spore among
billions, and found&amp;mdash;or so he claimed&amp;mdash;that it was a
verisimilitudinous image of &lt;i&gt;our own world.&lt;/i&gt; Yes!
Mathematical mountains exactly where &lt;i&gt;our&lt;/i&gt; mountains lie,
bursting with needled protuberances like ferns or fir-trees&amp;mdash;all the same sickly amber hue, like the virtual cumuloids
that hover above, and the simulated shorelines gritty with
picoparticles of amber sand, where amber waves of graininess
stand poised to break but never do; for this is a
&lt;i&gt;three&lt;/i&gt;-dimensional world, and for want of fourth
nothing moves, not even the people.  Yes, people!
Monochromatic statues grotesque in face and form, yet human
down to the eyelash-hairs, to the pores in their nostrils,
like caves within caves...&lt;/p&gt;

&lt;p&gt;&#x201C;But in his trembling haste to plumb the depths of this
flyspeck world, my master clicked left instead of right.
His cursor jumped sideways and the crucial coordinates were lost
forever.  I am told his howls of anguish could be heard
in the surrounding hills.  Every monk of the temple rushed to
this chamber, frantic to learn what great disaster had befallen.
And thus did he relate the tale of his discovery.&lt;/p&gt;

&lt;p&gt;&#x201C;The other masters laughed at him, called him a liar or mad.
Even monks of low station shunned him.  So he set out to
clear his name by finding those fateful coordinates again.&lt;/p&gt;

&lt;p&gt;&#x201C;Days became weeks, became months, became years, and now see
what he is reduced to: a prisoner of the Unit Sphere,
forever wandering while going nowhere, held captive by
his own obsession.  For a time, perhaps, he believed he had
stumbled onto some Great Truth of the Universe, a calculable
correspondence between the world of flesh and the one of
figures.  Now I cannot guess what landscapes he wanders, or
why&amp;mdash;nor would I wish to, lest I succumb to some
irresistable fascination and so share his fate.  It is said
that fore-warned is fore-armed, but for me at least... I
fear my mind.  When the real meets the imaginary, their
product is always complex.&#x201D;&lt;/p&gt;

&lt;p&gt;The novice edged forward to peer around the edge of the
screen, but the boy stopped him.&lt;/p&gt;

&lt;p&gt;&#x201C;Take your rice and leave this cursed place,&#x201D; said the boy.
&#x201C;And bring this one truth back to your own temple: that the
Render Farm of Phong Province is no better than a poppy
field, where daily we sow the doom of our people.&#x201D;&lt;/p&gt;

&lt;p&gt;&#x201C;I do not see,&#x201D; said the novice.&lt;/p&gt;

&lt;p&gt;&#x201C;The Emperor has but to name a pleasure&amp;mdash;the thrill of
battle among the stars, the viewing of immodest persons
engaged in lecherous activities&amp;mdash;and we will serve it to
his private chambers in six million pixels of sixteen
million colors at sixty frames a second.  But do not envy
him this.  Instead fear the day that you and I enjoy the
same liberty.  For though we have created an eternity of
wonders here, none of us are given an eternity to explore
them.  How precious is time; and how empty, ultimately, is
any world but our own.&#x201D;
&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 127: State Change</title>
      <link>http://thecodelesscode.com/case/127</link>
      <pubDate>Sun, 12 Jan 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/127</guid>
      <description>&lt;p&gt;The young master Kaimu was sifting through his inbox when
he came upon a message from an unknown sender:&lt;/p&gt;

&lt;blockquote&gt;    My body is ugly, my limbs awkward, my face unseemly&amp;mdash;&lt;br /&gt;
    thus no one looks upon me and desires my companionship. &lt;br /&gt;
    I have lived many years alone.&lt;/blockquote&gt;

&lt;blockquote&gt;    My heart sits heavy for I have no one to lighten it&amp;mdash;&lt;br /&gt;
    thus I pass each night coding in the solitude of my quarters. &lt;br /&gt;
    Drink and forgetful slumber are my only escape.&lt;/blockquote&gt;

&lt;blockquote&gt;    My soul is ever in pain&amp;mdash;&lt;br /&gt;
    thus misery follows wherever I tread. &lt;br /&gt;
    Each day can be no better than the one before.&lt;/blockquote&gt;

&lt;blockquote&gt;    My mind is dulled from meaningless employment&amp;mdash;&lt;br /&gt;
    thus I have achieved nothing of worth or renown. &lt;br /&gt;
    When I die, only dust will remain.&lt;/blockquote&gt;

&lt;blockquote&gt;    My life is friendless, joyless, hopeless, pointless. &lt;br /&gt;
    What wisdom can you offer?&lt;/blockquote&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Kaimu took the letter to Suku, saying: &#x201C;I am but a
theoretician, and know nothing of being a prisoner to
ugliness.  You have mastered the achievement of sublime
beauty through incremental change.  What wisdom can you
offer?&#x201D;&lt;/p&gt;

&lt;p&gt;Suku replied: &#x201C;I, too, suffer imperfections of the flesh,
though they are hidden from view.  If the body is an
application, then its source code is uneditable and we must
bear the ungainly user interface as with any legacy
system.  Alas, I cannot refactor it.&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu bowed and went out.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Kaimu took the letter to Bawan, saying: &#x201C;I am but a
theoretician, and know nothing of the burden of solitude.
You have mastered all physical representations of the
Loneliest Number.  What wisdom can you offer?&#x201D;&lt;/p&gt;

&lt;p&gt;Bawan replied: &#x201C;I niggle over zeroes and ones because when I
look up from my screen the darkness closes in.  If the heart
is half an equation that must be balanced against an equals-sign, then
I too peer across the divide into emptiness.  Alas, I cannot
solve for your &lt;i&gt;x&lt;/i&gt; when there is an unknown &lt;i&gt;y&lt;/i&gt;.&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu bowed and went out.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Kaimu took the letter to Yishi-Shing, saying: &#x201C;I am but
a theoretician, and know nothing of souls in pain.  You
have mastered the inner workings of machines.  What wisdom
can you offer?&#x201D;&lt;/p&gt;

&lt;p&gt;Yishi-Shing replied: &#x201C;What is a machine, but an artifact
meant to give us the illusion of control, when in truth we
cannot control even our need to draw the next breath?
If the soul is a machine, then its case is the
blackest of boxes and its keyboard forever hidden from the
sight of mankind.  Alas, I cannot administer it.&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu bowed and went out.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Kaimu took the letter to Banzen, saying: &#x201C;I am but a
theoretician, and know nothing of a life of futility.  You
have mastered the ways of attaining perfection in code.
What wisdom can you offer?&#x201D;&lt;/p&gt;

&lt;p&gt;Banzen replied: &#x201C;Do not mistake obsession for ambition, or
reputation for accomplishment!  Perfection is my purpose
only because the lack of it is my pain.  Yet what can be
perfect when even number theory is incomplete?  What can
endure when the Universe itself is destined to unravel?
And here am I: a miserable wretch who will not be content
until his brush has come to rest upon the last digit of
&lt;i&gt;pi&lt;/i&gt;!  If the mind is a fractal from which infinite futures
might blossom, still we are all Cantor dust in the end.
Alas, I cannot say how to make something from what
must eventually become nothing.&#x201D;&lt;/p&gt;

&lt;p&gt;Kaimu bowed and went out.&lt;/p&gt;

&lt;img class="break" src="/images/hrule.png" alt="- - -" /&gt;

&lt;p&gt;Kaimu happened upon the monk Shinpuru, pruning his vines
in the greenhouse.  As the monk was older then he, Kaimu
told Shinpuru of the letter.  &#x201C;No master is equal to this matter.
What wisdom can you offer?&#x201D;&lt;/p&gt;

&lt;p&gt;Shinpuru thought a moment, and said half to himself:&lt;/p&gt;

&lt;p&gt;&#x201C;If the body cannot be modified, then its form must suffice.
If the heart cannot be balanced, then it must stand alone.
If the soul cannot be directed, then we must yield to it.
And if the mind is destined to be lost, then all that matters is the present.&#x201D;&lt;/p&gt;

&lt;p&gt;Then the monk thought a little more, and said to Kaimu:&lt;/p&gt;

&lt;p&gt;&#x201C;Begun your reply thus: When the great wolf Desire pulls
your sledge across the ice, its cub Disappointment will
surely nip at your heels.  You must therefore yoke yourself
to yourself...&lt;/p&gt;

&lt;p&gt;&#x201C;Then advise your correspondent: Find within your heart any
things that give you a measure of joy, no matter how
ridiculous they may seem.  Fill every moment possible with
these little joys.  If they can be shared, so much the
better: go to distant places, meet unfamiliar people, but
take care not to seek companions among them.  Seek nothing
except to share your craft with those who ask it of you.
Every moment spent thus will be your legacy.&#x201D;&lt;/p&gt;

&lt;p&gt;Shinpuru resumed his pruning.  &#x201C;If we seek to change the
inner state of an application but we cannot change its code,
then we must change its inputs and hope for the best.  It is
not by whim that I became a gardener!  Alas, I cannot know
what will bear fruit for others.&#x201D;
&lt;/p&gt;



</description>
    </item>
    <item>
      <title>Case 126: Tea for Two</title>
      <link>http://thecodelesscode.com/case/126</link>
      <pubDate>Sun, 05 Jan 2014 00:00:00 -0500</pubDate>
      <guid>http://thecodelesscode.com/case/126</guid>
      <description>&lt;img src="/pages/case-126/Puddle.jpg" alt="" title="Stop looking up her robes.  Yes, I&amp;#39;m talking to YOU." class="illus-right"/&gt;


&lt;p&gt;Like many her age, the young nun Satou had an
irrepressible curiosity: the less she knew about a thing,
the more she wanted to try it.  Thus she had elected to use
multithreading to improve performance in her log processing
utility, despite master Banzen's cautions.&lt;/p&gt;

&lt;p&gt;Banzen reviewed her code, then invited the nun to discuss
his findings during the morning tea break.&lt;/p&gt;

&lt;p&gt;When Satou had seated herself in the master&#x2019;s tea room,
Banzen picked up an empty bowl with his left hand while
his right hand took a ladle of boiling-hot water from the
pot and poured it directly onto Satou&#x2019;s tatami mat.  Satou
yelped in surprise, leaping from the floor to avoid being
scalded.  The master calmly set the bowl in the center of
the spreading puddle as his right hand beat the puddle with
a whisk.  Then his left hand reached for a bamboo scoop
and began to spoon green tea powder into the dry bowl.&lt;/p&gt;

&lt;p&gt;&#x201C;Now,&#x201D; said Banzen.  &#x201C;Let us discuss race conditions.&#x201D;&lt;/p&gt;

&lt;h2&gt;Qi&#x2019;s commentary&lt;/h2&gt;

&lt;p&gt;But first, sit down and come in.&lt;/p&gt;

&lt;h2&gt;Qi&#x2019;s poem&lt;/h2&gt;

&lt;p&gt;Flowing from my brush &lt;br /&gt;
Glowing on my screen &lt;br /&gt;
Four lines readable in any order &lt;br /&gt;
The essence of thread safety &lt;br /&gt;&lt;/p&gt;



</description>
    </item>
  </channel>
</rss>
