Re: [Extra] SNIPPET (now PREVIEW) draft update

"Bron Gondwana" <brong@fastmailteam.com> Sat, 10 November 2018 05:15 UTC

Return-Path: <brong@fastmailteam.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 62835131122 for <extra@ietfa.amsl.com>; Fri, 9 Nov 2018 21:15:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.982
X-Spam-Level:
X-Spam-Status: No, score=-1.982 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_HEADER_CTYPE_ONLY=0.717, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=iPSUcyGF; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=oOhWzrl0
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 VUGWRNf8HLCO for <extra@ietfa.amsl.com>; Fri, 9 Nov 2018 21:15:17 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90AAE1310D8 for <extra@ietf.org>; Fri, 9 Nov 2018 21:15:17 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id DA2EE21FDA for <extra@ietf.org>; Sat, 10 Nov 2018 00:15:16 -0500 (EST)
Received: from imap7 ([10.202.2.57]) by compute6.internal (MEProxy); Sat, 10 Nov 2018 00:15:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=message-id:in-reply-to:references:date:from :to:subject:content-type; s=fm1; bh=dG3QvJsFkd2xmy+K/o0IZNLRJIKy GX4b2ZhUq8zC+CM=; b=iPSUcyGF1TlVV+GvWVPK58DsnsLWkw1Kksa1SB9yHU1L UbkomMM9unIlnztxhe+1ka/jbvfjZkWziXvzDQwF8isY4rDT3fji5CfEeQxIMNrs p0LMix7YKMETiGmEtBiaYpse7O0MwjD2TH7IKmqUSMjty+w+fKNIeUaIm1SEgEWK 9kL1OBLNKlRylxfWp53amsG0ERzrcPzAYBG9ZttPcD0XiU2nyeKo1+RtiLM9JykH a8HVFzLRDGOZZOAMcTL3Zg1BZxjWAqbtp7NYBLrcL/64A32Dy4FiDq19Zb2Jx0m5 XR6Uma7lBsKoF5F6d4QRWvHMwpmq1dPWAeG4OqjAJw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:references:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=dG3QvJsFkd2xmy+K/ o0IZNLRJIKyGX4b2ZhUq8zC+CM=; b=oOhWzrl0hqt3ppPLJUdHX0S29S2W4dMlK e+3ICpezFQ9avP80QDmW/DwiKjm9uY+4v9c0bcF/g83bE94oCEu2tY1XHi8rh0VW 8YcUxUV8Lgl+DD86thuYQOPSAa0xY4gbub5rfPN7xqvjkVxgJqSGrsrnh1bkY+Qz jb3hqSU8LzKMTYlU9YLWcM5JW6kMVD9A1enY6Q6qLThiL49OrcdVd4aDi6pwhP7a CGEejmhI/3muXJAIg02ORhFkuJTz6jdJlG45UeGRLnxDYkqm6dFj9Vuos0Ebqofr 0fTXDAV89MHLtrIRRfE9Ye+RnfB7aPn614m0jzZztUh5J6NDr6cOg==
X-ME-Sender: <xms:ZGnmW8wx6nwBJWJ7H19Bg2luBzIa-8IGYp_6pPn_0bDgi8iouRgpKQ>
X-ME-Proxy: <xmx:ZGnmW7mU014xRm0i_R_UCdd62oqeukmJoSQnFkT_8BuoXyczx20laQ> <xmx:ZGnmW2SAErLjB2rmB63DiCSyht2lgg7zHdDtnp4yHnWsN-uuN3yYYQ> <xmx:ZGnmW_CK6Ln7MfDiZCIP2Gj8YKf0PQclWb6C0Z_kRc5belYgMEQGAA> <xmx:ZGnmW9RL4TKYJ887ADSUZ7x5odLvXCMJPAVrzTBKN_QfGwRtEdvm2Q> <xmx:ZGnmW9o83z1UIVcIwn6rK2cb_u-bTn3HKqd_duwPt8csUmUa2V2VCQ> <xmx:ZGnmW3tudCRY5H_TEmdY9huMMizz7ItCYs3xpYtFkFAgnf3yer07fQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7B6B62030B; Sat, 10 Nov 2018 00:15:16 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
Message-Id: <c1e4fae9-7b3a-4945-a176-bf6c481e27ae@sloti7d1t02>
User-Agent: Cyrus-JMAP/3.1.5-610-gd7ceb27-fmstable-20181026v1
X-Me-Personality: 56629417
In-Reply-To: <9CA9D1B7-CB4B-4D8B-8A53-B92E815F690F@iki.fi>
References: <222011778.12006.1541435419815@appsuite.open-xchange.com> <c877cb70-125a-4494-8d42-56c91b6e0bc0@sloti7d1t02> <5BE4D9CA.2040809@aol.com> <CABa8R6uNy9vtnvkozaFk0emvNw6CWLWT4gp+RpLUE7fsuKDVjw@mail.gmail.com> <9CA9D1B7-CB4B-4D8B-8A53-B92E815F690F@iki.fi>
Date: Sat, 10 Nov 2018 00:15:15 -0500
From: Bron Gondwana <brong@fastmailteam.com>
To: extra@ietf.org
Content-Type: multipart/alternative; boundary="776fe583cb174dd48be10bddc5a776c8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/i6k9oPpccjOw4Wj9-hw5F78Yt4Q>
Subject: Re: [Extra] SNIPPET (now PREVIEW) draft update
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: Sat, 10 Nov 2018 05:15:23 -0000

That's my attitude to previews too, they don't "change" but they might not be byte identical if fetched again later due to changing server algorithms. The old value is never "wrong" though, short of buggy servers. 
 
Bron.
 
On Sat, 10 Nov 2018, at 13:14, Timo Sirainen wrote: 
> I think from IMAP protocol purity point of view it would be nice if we didn't have fields that could suddenly change without any indication. But from a practical point of view: Who cares, really? The previews are mainly intended for clients that don't have a local cache. Even if we implemented modseq changes for previews, would any client (that has more than a couple of users) ever really use them? I find it doubtful. More likely these additional requirements would make it more difficult for servers to implement this feature, so the clients wouldn't have it at all. 
>  
>> On 9 Nov 2018, at 21.14, Brandon Long <blong=40google.com@dmarc.ietf.org> wrote: 
>>  
>> Do we think this is likely to be used for full-sync clients? Theoretically, those could just generate their own snippets locally from the rest of the data. 
>>  
>> For online clients, the preview would just be part of what they download to display the message list. 
>>  
>> Without QRESYNC, we still have some ugly polling, though obviously PREVEIWS are larger than UIDs. 
>>  
>> OTOH, I feel we already have part of this type of problem today, where improvements to our parsers or encoding detection might change our response to any 
>> given message based request, but obviously we won't rev the UIDVALIDITY folders on every bi-weekly release when its only ever going to affect a small number of messages. 
>>  
>> Brandon 
>>  
>> On Thu, Nov 8, 2018 at 4:52 PM Stuart Brandt <stujenerin=40aol.com@dmarc.ietf..org <mailto:40aol.com@dmarc.ietf.org>> wrote: 
>>> I know I brought this up years ago, but I'm not sure I ever saw solid  
>>>  resolution. If, as proposed, the Preview is mutable, then are we not  
>>>  addressing how to efficiently identify and sync changes that might have  
>>>  been made to it? If I were a client dev, I'd want to have the most  
>>>  recent Preview for a message because a new version likely means: 
>>>  a) server fixed a defective preview 
>>>  b) server improved preview's value-to-user 
>>>   
>>>  Mutable data without an efficient way to sync leads to ugly polling. 
>>>   
>>>  - Stu 
>>>   
>>>  On 11/8/2018 7:03 AM, Bron Gondwana wrote: 
>>>  > Hi Michael, 
>>>  > 
>>>  > Thanks again for submitting this, and apologies that I haven't done a 
>>>  > thorough review yet - it's on my todo list and I expect to do so soon. 
>>>  > 
>>>  > The ONLY remaining question was length. 200 is good, but JMAP says 255 
>>>  > and consistency will make it better. Unless you have a strong reason to 
>>>  > lock it down to 200, would you consider changing it to "no more than 255 
>>>  > octets" with an understanding that there's no requirement that servers 
>>>  > have to store that much, just that clients must be willing to accept 
>>>  > that much. That will keep everything consistent. 
>>>  > 
>>>  > Other than this, we believe we're ready to take this document to working 
>>>  > group last call, which I intend to do once I've heard back from you - 
>>>  > it's easy to fix this up during last call. 
>>>  > 
>>>  > Thanks for your work and for getting us the update in time for this meeting. 
>>>  > 
>>>  > Cheers, 
>>>  > 
>>>  > Bron. 
>>>  > 
>>>  > On Tue, Nov 6, 2018, at 03:30, Michael Slusarz wrote: 
>>>  >> I've submitted an update to the (formerly snippet, now) preview draft 
>>>  >> incorporating feedback received from this list and other implementers. 
>>>  >> 
>>>  >> Main change is the name - this is now "PREVIEW" instead of "SNIPPET". 
>>>  >> Also, increased recommended preview size to 200 characters 
>>>  >> (previously: 100). 
>>>  >> 
>>>  >> Will not be able to remotely join IETF 103 meeting as I am traveling, 
>>>  >> but wanted to make sure this draft was updated before then. 
>>>  >> 
>>>  >> michael 
>>>  >> 
>>>  >> _______________________________________________ 
>>>  >> Extra mailing list 
>>>  >> Extra@ietf.org 
>>>  >> https://www.ietf.org/mailman/listinfo/extra 
>>>  >> 
>>>  > 
>>>  > -- 
>>>  > Bron Gondwana, CEO, FastMail Pty Ltd 
>>>  > brong@fastmailteam.com 
>>>  > 
>>>  > 
>>>  > 
>>>  > 
>>>  > _______________________________________________ 
>>>  > Extra mailing list 
>>>  > Extra@ietf.org 
>>>  > https://www.ietf.org/mailman/listinfo/extra 
>>>  > 
>>>   
>>>  _______________________________________________ 
>>>  Extra mailing list 
>>>  Extra@ietf.org 
>>>  https://www.ietf.org/mailman/listinfo/extra 
>> _______________________________________________ 
>> Extra mailing list 
>> Extra@ietf.org 
>> https://www.ietf.org/mailman/listinfo/extra 
>  
> _______________________________________________ 
> Extra mailing list 
> Extra@ietf.org 
> https://www.ietf.org/mailman/listinfo/extra 
>  
 
-- 
 Bron Gondwana, CEO, FastMail Pty Ltd 
 brong@fastmailteam.com