two posts in one day || i am peter lefleur

22 July 2005

i am a nerd two thousand five

those of you who knew me back around the turn of the millenium might remember that i am something of a nerd. i’ve been doing this web stuff for a while, but i started most seriously when working for a little company called autoadvisor. it was the dot com boom, and suddenly we were aware of the fact that the internet had potential and we could contribute to it in some way.

the way my friend evilmike decided to contribute to it was by creating a web community for his brilliant friends to write on, the ministry of peace. the ministry eventually evolved to include a house in realspace and finally was officially put to rest last year. but the four years it was around, sporadic posts and updates continued. sadly, the domain has been bought out and we’ll never quite have anything like that again, despite our best efforts

let’s have a look back into the past however..

[ i am a nerd ] – minister lantius in digital, 14 May 2001

#!/usr/bin/perl
$m = 1;
for($d = 1; $d < = 3; $d++)  {
  for($i = $m; $i < = $d*5; $i++)  {
    $c = $i * $d * 50;
    $h = $i + $d*4.5;
    $v = $h*$h / $c;
    print $d;
    print "d8 + $i: $h*$h / $c = $v\n";
  }
  $m += 2;
}

that should settle any debate.

the fact that i immediately ran this script as soon as i found it again four years later and then went to check the math should prove my nerdery for real. (for for those of you who aren’t savvy to the dungeons & dragons, it’s a quick calculation of the healing-to-cost ratio of various levels of cure potions.)