Re: comparators and "error"
Dave Cridland <dave@cridland.net> Wed, 10 May 2006 17:30 UTC
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k4AHUWTU070964; Wed, 10 May 2006 10:30:32 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id k4AHUWju070963; Wed, 10 May 2006 10:30:32 -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 heisenberg.zen.co.uk (heisenberg.zen.co.uk [212.23.3.141]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k4AHUUTb070957 for <ietf-mta-filters@imc.org>; Wed, 10 May 2006 10:30:30 -0700 (MST) (envelope-from dave@cridland.net)
Received: from [217.155.137.60] (helo=turner.dave.cridland.net) by heisenberg.zen.co.uk with esmtp (Exim 4.30) id 1FdsW5-0002Js-6l; Wed, 10 May 2006 17:30:29 +0000
Received: from localhost (localhost.localdomain [127.0.0.1]) by turner.dave.cridland.net (Postfix) with ESMTP id BC123498002; Wed, 10 May 2006 18:42:14 +0100 (BST)
Received: from turner.dave.cridland.net ([127.0.0.1]) by localhost (turner.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28778-03; Wed, 10 May 2006 18:42:06 +0100 (BST)
Received: from peirce.dave.cridland.net (unknown [IPv6:2001:4bd0:2029:0:2e0:81ff:fe29:d16a]) by turner.dave.cridland.net (Postfix) with ESMTP id D88AD498003; Wed, 10 May 2006 18:42:05 +0100 (BST)
Date: Wed, 10 May 2006 18:30:19 +0100
Subject: Re: comparators and "error"
References: <buylDuhckrLTBjUJ7Xr9Kg.md5@libertango.oryx.com> <4461F280.3050900@isode.com>
In-Reply-To: <4461F280.3050900@isode.com>
MIME-Version: 1.0
Message-Id: <24437.1147282219.539822@peirce.dave.cridland.net>
From: Dave Cridland <dave@cridland.net>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: ietf-mta-filters@imc.org, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at dave.cridland.net
X-Originating-Heisenberg-IP: [217.155.137.60]
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>
On Wed May 10 15:02:40 2006, Alexey Melnikov wrote: > > Arnt Gulbrandsen wrote: > >> I've been doing some editing on the draft, trying out how some >> things suggested look in prose. >> >> 1. It seems useful to me that e.g. ascii-numeric can distinguish >> between comparing nonequal numbers and comparing out-of-scope >> input. >> >> Take the equality operation as an example: >> >> "Match" means that the collation knows how to work on the input, >> and the two inputs are equal as defined by the collation. >> "No-match" means that the collation knows how, and the two are >> unequal. >> "Error" means that it doesn't know how to. >> >> Conflating the two latter cases smells of bad design to me, even >> though the difference may not be useful in every case. > > I agree. > > I'm really not so sure. On the face of it, it sounds like bad design, but I think there's at least two cases here - an attempt to compare "fish" and "bicycle", and an attempt to compare "fish" and "2". I have a feeling this is an important distinction. Arguably, "fish" is equal in numeric value to "bicycle" - they both have no numeric value, so it's the same as comparing NIL and NIL with "i;octet". Equally, "2" has a numeric value of 2, whereas "fish" does not, so they are unequal - like comparing NIL and an existing string with "i;octet". Dave. -- You see things; and you say "Why?" But I dream things that never were; and I say "Why not?" - George Bernard Shaw
- comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland
- Re: comparators and "error" Alexey Melnikov
- Re: comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland
- Re: comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland