Replicating views?

Brad Knowles brad.knowles at
Wed Mar 14 08:48:59 UTC 2001

At 11:54 AM +1100 3/14/01, Tristan Ball wrote:

>  Replicating either view is easy enough, but how do I replicate *both* to
>  the same server? Particularly without getting too complicated!

	Use different IP addresses for those views *from* different IP 
addresses (so that the server can distinguish between them).

	IMO, it makes life a lot simpler to just have the two jobs 
performed by two separate machines with totally separate functions. 
That way you never have any questions about the way a question should 
be answered, regardless of what the query IP address may be.

Brad Knowles, <brad.knowles at>

#!/usr/bin/perl -w
# 531-byte qrpff-fast, Keith Winstein and Marc Horowitz <sipb-iap-dvd at>
# MPEG 2 PS VOB file on stdin -> descrambled output on stdout
# arguments: title key bytes in least to most-significant order
# Usage:
# qrpff 153 2 8 105 225 /mnt/dvd/VOB_FILE_NAME | extract_mpeg2 | mpeg2_dec -
$m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72, at z=(64,72,$a^=12*($_%16
-2?0:$m&17)),$b^=$_%64?12:0, at z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
=5;$_=unxb24,join"", at b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
(($h>>=8)+=$f+(~$g&$t))for at a[128..$#a]}print+x"C*", at a}';s/x/pack+/g;eval

More information about the bind-users mailing list