Bert's Useless tools section

Haha.. and you thought you wasted your time on useless scripts, programs and project...

Please contact Bert's secretariat at the secret-wg office. (Bert at secret-wg dot org) if you have tools that are completely useless and just need to be published.

Tool 1

The floating "Read by Bert button."

Ever wanted a Bert that just won't go away? This tool puts a Bert on the left side of your web page that scrolls along with the page.

The quick hack:

<body>
<SCRIPT language=JavaScript 
src="http://bert.secret-wg.org/tools/menus.js"type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript 
src="http://bert.secret-wg.org/tools/function.js"
type=text/javascript></SCRIPT>

Of course its a whole lot faster if you put the scripts on your own pages. You'll need to download a copy of:

Don't forget to edit menus.js to change the image URL for ReadBy-small.jpg to a local URL.

Tool 2

MP3 indexing script

Tired of maintaining all the links to your mp3 files... Just run this little script.

You should of course respect the DMR folk$ and not make your mp3 files available to those who have not got a copy off the music on original media.

The script is written in PERL and relies on MP3::Info

Tool 3

Bert's Secure Reverse Polish DNS Calculator (BSRPDNSC)

Ever needed to calculate something and the damned computer did not have "dc" installed... Well now you can use BSRPDNSC. Cast your operation into a simple query, dig and see the result. True lunacy is that the answer is DNSSEC signed (if requested for).

What a reverse polish calculator is, is described on the net, you just google. Essentially you push arguments and operators on a stack, the operators take the number of arguments they need from the stack operate and put the result back on the stack. With BSRPDNSC you use DNS labels in your query to put the operands and arguments in. The most significant label being the bottom of the stack. The queries go to the "rp.secret-wg.org" domain with QTYPE=TXT.

So to calculate 2*3+2 you "dig 2.3.*.2.+.rp.secret-wg.org TXT"

Some notes

  • The decimal point is somewhat of a problem. Escaping the point using "\." does not work satisfactory due to library problems. Replace the decimal point by a "," and you'll be fine. 1.2 + 2.3 is to be entered as 1,2.2,3.+.rp.secret-wg.org TXT.
  • Stack underflows result in SERVFAIL, stack overflows result in only the last element on the stack to be returned.
  • Operators include SIN, RAND, ++, IF,MOD,IF,DUP,LT so you can do some programming (Cool ain't it.. using a nameserver as CPU)

Let us know if you spot problems.





Acknowlegements

Tool 1 was contributed by Geoff Huston, (function.js was written by Andy Woolley).

Tool 2 & 3 come from the secret-wg.org Secretary. Ruben van Staveren came with the idea of a DNS based calculator (Based on the idea of a web based calculator by Geoff Huston i.e. wildcard in the DNS and CGI magic to parse the results).

Useless tools are alpha code. No WARRANTIES, No LIABILITY accepted, all other disclaimers in place.