in reply to Optional vote explanation box as an anonymous message sender.

Why not stock responses too? Probably 90% of the downvotes in SoPW could be handled with one of these:

(It's Monday. I'm cranky.)

  • Comment on Re: Optional vote explanation box as an anonymous message sender.

Replies are listed 'Best First'.
Re^2: Optional vote explanation box as an anonymous message sender.
by Tanktalus (Canon) on Aug 14, 2006 at 14:14 UTC
      Heh heh ... I get such a kick out of that list each time I read it :)

      One of my favorites is:

          #11943 Ah yes, and you are the first person to have noticed this bug since 1987. Sure.

      It reminds me of a programmer I worked with in the 1980s, who had just recently converted to C from FORTRAN, and had gotten into the (bad) habit of declaring array dimensions to have one extra value each:

      int max_length[NSHAPES + 1], max_height[NSHAPES + 1]; /* ... */ for (i = 1; i <= NSHAPES; i++) { /* ... */ }

      (Which is a lot like the (equally bad) strategy in Perl of reassigning the variable $[ ...)

      As a result of index renumbering, this programmer would encounter, at least once a week, some hard-to-find bug, and would always ask me "Do you think this might be a compiler bug?"  If only I'd had MJD's list back then! ;)


      s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

      I love those funny quotes. I thought it would be cool to have one of them displayed on every PerlMonks page.

      So I came up with the following Free Nodelet Hack, which displays a string, chosen at random from a list. If you integrate this with your Free Nodelet, then each time a page is loaded one of the fortunes is displayed in the nodelet. (Actually, the <p id="fortune_p"></p> could be anywhere, such as in your Personal Nodelet.)

      <p id="fortune_p"></p> <script type="text/javascript"> <!-- var fortunes = new Array( "Abandon desire", "Abandon normal instruct +ions", "Accept advice" ); // etc. var p = document.getElementById('fortune_p'); var txt = document.createTextNode( fortunes[ Math.floor( Math.rando +m() * fortunes.length ) ] ); p.appendChild(txt); // --> </script>
      We're building the house of the future together.