Re: ihave and server upgrades
Arnt Gulbrandsen <arnt@gulbrandsen.priv.no> Thu, 22 January 2009 14:48 UTC
Return-Path: <owner-ietf-mta-filters@mail.imc.org>
X-Original-To: ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com
Delivered-To: ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0A96D3A684B for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Thu, 22 Jan 2009 06:48:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.517
X-Spam-Level:
X-Spam-Status: No, score=-2.517 tagged_above=-999 required=5 tests=[AWL=0.081, BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H+lfzKVuybKq for <ietfarch-sieve-archive-Aet6aiqu@core3.amsl.com>; Thu, 22 Jan 2009 06:48:30 -0800 (PST)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id D35733A67E5 for <sieve-archive-Aet6aiqu@ietf.org>; Thu, 22 Jan 2009 06:48:29 -0800 (PST)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n0MEZPNL070916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Jan 2009 07:35:25 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n0MEZPfg070915; Thu, 22 Jan 2009 07:35:25 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n0MEZCl4070902 for <ietf-mta-filters@imc.org>; Thu, 22 Jan 2009 07:35:23 -0700 (MST) (envelope-from arnt@gulbrandsen.priv.no)
Received: from kalyani.oryx.com (localhost.oryx.com [127.0.0.1]) by kalyani.oryx.com (Postfix) with ESMTP id CC89D4AC44; Thu, 22 Jan 2009 15:35:11 +0100 (CET)
Received: from arnt@oryx.com (HELO lochnagar.oryx.com) by kalyani.oryx.com (Archiveopteryx 3.1.0) with esmtp id 1232634911-9030-1/6/10 for ietf-mta-filters@imc.org; Thu, 22 Jan 2009 15:35:11 +0100
Message-Id: <4fmKg5w/V+h9VUUApWGx8w.md5@lochnagar.oryx.com>
Date: Thu, 22 Jan 2009 15:35:38 +0100
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-mta-filters@imc.org
Subject: Re: ihave and server upgrades
References: <3epm48fYykYMumGCDySmVQ.md5@lochnagar.oryx.com> <01N4JUHG5P4Y00007A@mauve.mrochek.com>
In-Reply-To: <01N4JUHG5P4Y00007A@mauve.mrochek.com>
Content-Type: text/plain; format="flowed"
Mime-Version: 1.0
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe> Ned Freed writes:
>> I don't suppose there's anything to do about it, but it still riles me.
>
> Me too. In fact I had to deal with exactly this case recently because
> I just improved checking of tagged arguments in our implementation.
> And I have to agree there's nothing to be done about it.
Heh. Improve it to handle this.
Consider the extensions random, which provides a test which returns true
or false randomly, and well, which provides a tag for fileinto.
require [ "random", "ihave" ];
if anyof( random, not ihave "well" ) {
fileinto :well "a";
} elsif random {
fileinto :well "b";
} else {
fileinto :well "c";
}
Two of those three blocks are bad. Which ones? I have NOT improved my
code to the point of handling this.
> A similar case I've seen come up many times over the years is that of
> scripting languages that allow abbreviations. So you write something
> like this in a script:
>
> $ rec foo
(REXX?)
> I suppose another way to think of it is as an untested code path
> which, when finally activated, is found to contain a bug. But thqt
> doesn't provide much solace either.
No... I hate it when person x changing something here breaks something
for person y over there. Too great potential for sending either/both of
them chasing wild geese.
Arnt
- ihave and server upgrades Arnt Gulbrandsen
- Re: ihave and server upgrades Kjetil Torgrim Homme
- Re: ihave and server upgrades Cyrus Daboo
- Re: ihave and server upgrades Arnt Gulbrandsen
- Re: ihave and server upgrades Aaron Stone
- Re: ihave and server upgrades Cyrus Daboo
- Re: ihave and server upgrades Jeffrey Hutzelman
- Re: ihave and server upgrades Ned Freed
- Re: ihave and server upgrades Aaron Stone
- Re: ihave and server upgrades Paul Russell
- Re: ihave and server upgrades Arnt Gulbrandsen