Re: [calsify] SKIP was Re: AD review of draft-ietf-calext-rscale-03

Gregory Yakushev <yakushev@google.com> Thu, 05 February 2015 10:47 UTC

Return-Path: <yakushev@google.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC6C11A010F for <calsify@ietfa.amsl.com>; Thu, 5 Feb 2015 02:47:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.112
X-Spam-Level: ***
X-Spam-Status: No, score=3.112 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_44=0.6, J_CHICKENPOX_47=0.6, J_CHICKENPOX_48=0.6, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=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 WTorIvJbSazd for <calsify@ietfa.amsl.com>; Thu, 5 Feb 2015 02:47:40 -0800 (PST)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 C4CFB1A1AD3 for <calsify@ietf.org>; Thu, 5 Feb 2015 02:47:39 -0800 (PST)
Received: by mail-oi0-f47.google.com with SMTP id a141so5867274oig.6 for <calsify@ietf.org>; Thu, 05 Feb 2015 02:47:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=IGqfb8q+wn2R02vkprzS1TCwqNoOWPV6k2K3wywKRxQ=; b=DvfCkpQkC/fTENjoJU3NAxTZEKvwwWzwDNY0bWRNAKVCjUrwsjrIur924gSPKc1GmU 6yjG2IgF3QWploUTyGDPg/L4HhnTrQ/wf4O4QPnLL4+mJ4Fm8hSRWAO6bs56km0/ba4f 50YEr1i+/PExiywrf5EXVzHOZZizKM4e+6N5Y8kHaXTQWjLBEVQn0Ky88H5AzwnMJ6Lf F0+zu95fEwB5y8BrNtYSprn9edVva206CD8pL+QlhwX/3nlzN9OLQUxGYhrcZUm97UC9 ztBRMTVyYMhBY3/fIwxWTOI8/886Zh0Eugve26QvWzFdMcupe+v8JHdavzh8SnIThRRo ZTAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:from:date:message-id :subject:to:content-type; bh=IGqfb8q+wn2R02vkprzS1TCwqNoOWPV6k2K3wywKRxQ=; b=FvV3S/f1Ru5dGuJcvrlDuFXeJaRVAmcy+4sf/Luaw+ylmmLwZeTRAXY5iIFEtelhZx tjsRrXo/WvndsKySJWcYfFNnKyNjyDPd3cKQqTNi1G8UQ16oV4KM/cfKP7+8Wh1AfoWf 7FN2AzRV4L6A32RIasR/TZxiMKOFSPMvcKL+oIUaXdh2O+efcO67+DjcBvAj1H4MTSKJ TufYpdqWhiNfjzLTirgUsTV6d55WUcudG61Y2DOt9lM1Rvt8K/EA+OFA3wVMSaFkjC2z ZXgqHvzmupaV2CDeVQELLbzSFh9PyLvcm5sX5jZz3LpohVQQUs9Xexy2hsUNZSSDiOcr ktuQ==
X-Gm-Message-State: ALoCoQmwbfZF8t/gN5WPirVYTEQ886pucJDnprEsysb0/wfrxO8ecWfc52PaVxNpzEwLNlATvaE6
X-Received: by 10.60.40.7 with SMTP id t7mr1987567oek.2.1423133258982; Thu, 05 Feb 2015 02:47:38 -0800 (PST)
MIME-Version: 1.0
References: <68FCD7D11F934509267D5915@cyrus.local> <CALaySJKQP9WjRQV2qrgfLiGwj-SQAUCF6RVcQuRrUYNpfqp17A@mail.gmail.com> <7FF77F2FE3390FFD1149E953@cyrus.local> <CALaySJK3RiXXHTq9MC4nwA4c_gZzEVDoWa96MDc7Ue4yDRgbWA@mail.gmail.com> <C80A141CD062EFF630B6D2BB@caldav.corp.apple.com> <54D0E2E9.2030505@andrew.cmu.edu> <99B9DDB4AEFC12755724C5DD@caldav.corp.apple.com> <54D107AC.3050706@andrew.cmu.edu> <2D953326EFEE238B1CCF867E@caldav.corp.apple.com> <54D10C50.20909@andrew.cmu.edu> <54D10FDB.6070001@andrew.cmu.edu> <54D12AAC.7000202@dmfs.org> <54D12E31.4020506@andrew.cmu.edu> <55A07C99191DC58DAAA160D5@caldav.corp.apple.com> <54D1368F.2000501@dmfs.org> <6BD446FBAB897BCD227A82F1@caldav.corp.apple.com> <54D14289.90201@dmfs.org> <54D21CA2.5020807@andrew.cmu.edu> <54D224D0.1050309@dmfs.org> <54D22DEB.7020501@andrew.cmu.edu> <ABACEFE79E9862C8D9F72A4D@caldav.corp.apple.com> <33B390A4-BF1A-4C51-B29F-6F41CB22EC56@dmfs.org>
From: Gregory Yakushev <yakushev@google.com>
Date: Thu, 05 Feb 2015 10:47:37 +0000
Message-ID: <CAJxDCqXb1XUKDDQiWdH-OKRVXuRO-owUZa-MO2rrG6W4mrv1+A@mail.gmail.com>
To: Marten Gajda <marten@dmfs.org>, Cyrus Daboo <cyrus@daboo.name>, Ken Murchison <murch@andrew.cmu.edu>, calsify@ietf.org
Content-Type: multipart/mixed; boundary="089e013cbea45ee766050e55084b"
Archived-At: <http://mailarchive.ietf.org/arch/msg/calsify/qFXUaQo8Le72CesD0pAfZaOzKzo>
Subject: Re: [calsify] SKIP was Re: AD review of draft-ietf-calext-rscale-03
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Feb 2015 10:47:41 -0000

Funny enough, my understanding of RRULE parsing was incorrect and I made
some mistakes with my implementation, because it already follows what Ken
suggested. I added all four of the rules from his e-mail (and their
expansions) to my rscale_golden.txt (attached) and it passes without any
changes. I have no objections to clarifying text about the order of SKIP
processing.

As mentioned in another thread, I'd prefer to have SKIP=BACKWARD as default
to reduce the total amount of text in RRULEs (that is, sum of all RRULEs
stored in the world). Length of RRULEs matter from both performance and
readability point of view. But SKIP=OMIT is an acceptable compromise if
consensus points in this direction.

Grisha

On Wed Feb 04 2015 at 4:13:01 PM Marten Gajda <marten@dmfs.org> wrote:

> Oh, interesting. One more reason to make SKIP=OMIT the default, IMHO.
>
>
> Am 4. Februar 2015 15:49:07 MEZ, schrieb Cyrus Daboo <cyrus@daboo.name>:
>
>> Hi Ken,
>>
>> --On February 4, 2015 at 9:34:19 AM -0500 Ken Murchison
>> <murch@andrew.cmu.edu> wrote:
>>
>>  +1 for Ken's proposal.
>>>>
>>>>  I couldn't find it in the latest draft (maybe I just didn't look close
>>>>  enough), but I think it should be pointed out that in this context
>>>>  "invalid day" refers to leap days only. I.e. SKIP=FORWARD doesn't
>>>>  apply to Feb 30 or similar dates.
>>>>
>>>
>>>  Actually, for Feb 30, SKIP=FORWARD should yield Mar 1, which is why the
>>>  draft say "invalid day".
>>>
>>>  Same for April 31.
>>>
>>
>> Yes, I think an "invalid" day means either a leap day or a day-of-month
>> value that exceeds the number of days in the current
>> month.
>>
>>
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
> gesendet.
> _______________________________________________
> calsify mailing list
> calsify@ietf.org
> https://www.ietf.org/mailman/listinfo/calsify
>