Re: [Extra] Barry Leiba's Discuss on draft-ietf-extra-imap-fetch-preview-03: (with DISCUSS and COMMENT)
Barry Leiba <barryleiba@computer.org> Wed, 26 June 2019 14:50 UTC
Return-Path: <barryleiba@gmail.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77B8712010D; Wed, 26 Jun 2019 07:50:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level:
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fl5eHbQufFjX; Wed, 26 Jun 2019 07:50:25 -0700 (PDT)
Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7FC6412004D; Wed, 26 Jun 2019 07:50:25 -0700 (PDT)
Received: by mail-io1-f49.google.com with SMTP id k20so5596822ios.10; Wed, 26 Jun 2019 07:50:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1cRxfUHgC9Ni66CqZw4sawqJTC1UaRKoSaBehxGvdeE=; b=QFV+W/GtDtrsMP68aepepl+22yaMQsHaVhGSjXIkq7TVaHEHkqX9l1l3VczrDiSxjn TKJGug+j6XQgKoOtb9S7Mi84i6iSK8YwdM32wobmwZCATC+egsDGYsdu3gYjy4fnvZxz mIaShdOk92PqiRK5FwAlE0RgFoYgt8gk1pFjnKALjN6nkkTdwIFNXTR6cQ1TolcTJvom HHkuvxL7PQuLXPGuhekLyPw0tDGapP0z6Si2+IVOhL4MpHyFzZiKulu+DwdHtp7MJEa3 QLZfNM3GX/QsP08xxYIDlRkqTv39G1xieOZQpTFA/2wZ2/H7pYiPsFBmyJPWBFpaAlZj sgEw==
X-Gm-Message-State: APjAAAUbEgZrcnXl/zcE96eVdcCNuGF2eiQJeYpj2bYCVBHqT7lBkeci V9382O4rhcdjnt+bp3OJFBudkcAQoA/0RXzzWWA/3WS8
X-Google-Smtp-Source: APXvYqwYhJMtqKkZ1O4GyfbS8d/q56U/EnFWTnsqcVU7M6OGOi8OgivF9Cd7FhSkk2CkPdQ+YSZNxL2n8ceQMD3VQ9I=
X-Received: by 2002:a6b:fb0f:: with SMTP id h15mr5639834iog.266.1561560624509; Wed, 26 Jun 2019 07:50:24 -0700 (PDT)
MIME-Version: 1.0
References: <155469393077.18315.15660535375707491655.idtracker@ietfa.amsl.com> <1478535427.18024.1554953503900@appsuite.open-xchange.com> <CALaySJKJxBTw6ptgDNvDjaXKDA4_ZFrb5b2gcUbSqsv1zwZSJw@mail.gmail.com> <1755746109.39421.1559403977713@appsuite-gw1.open-xchange.com> <CALaySJK+vvD-piU53RDRhrzG6Ei0+nZnm6b_=KpqK=DBOA59YA@mail.gmail.com>
In-Reply-To: <CALaySJK+vvD-piU53RDRhrzG6Ei0+nZnm6b_=KpqK=DBOA59YA@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Wed, 26 Jun 2019 15:50:13 +0100
Message-ID: <CALaySJKOsni=hFTDWAcmaMDYnZgZHnOYEC3Nx1p1a1Wevt66CQ@mail.gmail.com>
To: Michael Slusarz <michael.slusarz@open-xchange.com>
Cc: The IESG <iesg@ietf.org>, extra@ietf.org, Bron Gondwana <brong@fastmailteam.com>, draft-ietf-extra-imap-fetch-preview@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/diaHPCsew8XxnceYqcZHAd1mITY>
Subject: Re: [Extra] Barry Leiba's Discuss on draft-ietf-extra-imap-fetch-preview-03: (with DISCUSS and COMMENT)
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Jun 2019 14:50:27 -0000
Ping... to both Michael and the EXTRA working group as a whole: Can we keep this discussion moving and get this document resolved, please? Thanks, Barry On Sun, Jun 2, 2019 at 5:33 PM Barry Leiba <barryleiba@computer.org> wrote: > > I think we're still in significant disagreement here; I'd like others > from the working group to comment, and see if that can move us in one > direction or the other. > > > > > I'll start with providing a (future) real-world example, and why this > > > > behavior exists in its present form. Given a hypothetical future > > > > algorithm "IMAGE" (generate image/jpeg preview if image data exists in > > > > message), I issue this preview command: > > > > > > > > a FETCH 1 (PREVIEW (LAZY=IMAGE FUZZY)) > > > > > > > > This is asking the server: provide me an image preview of the message, > > > > but ONLY if 1) the message actually contains image information and 2) > > > > that image information is already generated or can be generated very > > > > quickly. Otherwise, fall back to FUZZY generation. > > > > > > Hm. That really seems like a contrived example. How would the client > > > software possibly know whether there's useful information in the > > > image, or whether the information in the accompanying text is more or > > > less important? Suppose I have two messages: > > > > > > 1. text/plain that basically says nothing; image/jpeg that has a > > > diagram that explains everything > > > > > > 2. text/plain that has the entire real content of the message; > > > image/jpeg of the senders company logo > > > > > > It's pretty clear from that explanation that for message 1 I want some > > > sort of description of the image and for message 2 I want a preview of > > > the text. But how would the client software know that, and, > > > therefore, know what to ask for? > > > > Is that what a typical received message looks like? To me, that looks like the edge case. > > It's not the "typical" message, but I don't think it's an edge case > either. I do often get messages where the only significant content is > in an image. (I've tried to dissuade those responsible from sending > things that way, but they persist.) So, no, I wouldn't call it an > "edge case" either. And even if it were, that's not really the point; > see below. > > > Seems that a server could figure out (through experience) when image > > preview data should be calculated or ignored. Image size, MIME > > structure information, MIME order, etc. could all be used to reach some > > sort of 95% accuracy threshold. Maybe that doesn't happen day 1 of > > implementation, but a competitive, reactive server implementation will > > work on this. > > > > The same issue exists for text previews, FWIW. What about a text/plain > > + text/html alternative message, where text/plain is "Please click on > > this URL to view the text part", and the text/html part is empty text > > (it's a single image link). A server can be programmed to be smart > > enough to ignore that part re: preview. > > > > As written, we allow a server to be given the latitude to figure these > > kind of issues out. Closing down that opportunity because it might be > > a difficult logical problem isn't the right approach from my view. > > I note that in your response you say "server" four times, at least > once per paragraph, and "client" never. But my point (see above) was, > "But how would the client software know that, and, therefore, know > what to ask for?" These are things a *client* is requesting; how does > the client know whether to request that the preview be preferentially > done on the image or on the text? I contend that it doesn't, and > can't, and that, therefore, it's strange to expect it to ask, and > strange to say that the server has to take the client's "priority > decision" into account. > > I'm still looking for a real use case where the *client* is the entity > that's better suited to asking for any specific action with respect to > a message preview. > > > > Apart from that, if we're going to do any sort of text-based preview > > > of an image, I would think we'd just say that when FUZZY is applied to > > > an image, that's what it does. > > > > FUZZY is explicitly defined as text only output though, since that's generally mapping > > what clients already do. > > Well, but saying, "That's the way it works now," isn't really the > point. We need to be looking at how we *want* this to work going > forward, and I think that having the *server* decide what the best way > is to give a preview of a message is the right answer. And if that > means that the server decides to make a preview from the text/plain > part, the text/html part, the application/pdf part, or the image/jpeg > part (perhaps using OCR on the image), then I think that's fine. > FUZZY is explicitly defined as text only, only because that's how > we've defined it so far. > > > > > I find that use-case plausible, albeit not something useful given the > > > > current landscape of a single algorithm. The alternative would be to > > > > have to send PREVIEW algorithms one at a time, non-pipelined, which is > > > > precisely the kind of inefficient client/server interaction this > > > > extension is trying to minimize. > > > > > > We disagree on the plausibility. Realistically, I can't think of > > > *any* other plausible preview algorithms that a *client* might ask for > > > without user interaction. The most I can see is something about how > > > to apply FUZZY to non-text media types. > > > > Our UI client does "virtual attachment view", that shows graphical representations of all > > attachment data within messages within a mailbox, so PREVIEW is perfectly suited for > > that task. (We currently have to do the preview conversion via a proprietary plugin.) > > I don't understand this: this extension gives one preview for the > message, not separate previews for different message parts. It looks > like you're talking about showing a graphic representation of the > message structure with each part having a preview. Can you post a > screen capture of what you're talking about, showing how PREVIEW > helps? > > > > But I'd still like to see someone give a good argument for a case > > > where having a client ask for multiple algorithms to be applied could > > > really be useful and practical. > > This comment of mine still stands. Please, EXTRA working group, join > the discussion. > > Barry
- [Extra] Barry Leiba's Discuss on draft-ietf-extra… Barry Leiba via Datatracker
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Chris Newman
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Chris Newman
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Barry Leiba
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Alexey Melnikov
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Michael Slusarz
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Barry Leiba
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Michael Slusarz
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Barry Leiba
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Arnt Gulbrandsen
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Neil Jenkins
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Barry Leiba
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Michael Slusarz
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Michael Slusarz
- Re: [Extra] Barry Leiba's Discuss on draft-ietf-e… Neil Jenkins