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

Barry Leiba <barryleiba@computer.org> Tue, 03 February 2015 15:18 UTC

Return-Path: <barryleiba@gmail.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 62A601A0469 for <calsify@ietfa.amsl.com>; Tue, 3 Feb 2015 07:18:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 yBlgHfylWsAx for <calsify@ietfa.amsl.com>; Tue, 3 Feb 2015 07:18:41 -0800 (PST)
Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F029A1A09CF for <calsify@ietf.org>; Tue, 3 Feb 2015 07:18:28 -0800 (PST)
Received: by mail-la0-f42.google.com with SMTP id ms9so52772932lab.1 for <calsify@ietf.org>; Tue, 03 Feb 2015 07:18:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5d8lcuZ+PiZwtqeJCJoBcNfFCUFdH2Ff4o5/Eb0iKk8=; b=BX5rj/wYqojjlOFjLT6di221nppaEiXytYY/dtmhFismfh9EokaDmMFGiZesPT+fys YVmqNLqeX/lfrZkTFUyFVcJpX6LAQaI9VS7eVgUTLJtSKwKH9Dx3rBKpfRmmnYVVczWx AYrr8B5Zv+2kg/7Ws3AUqiV2WLMKxTWupDB6yAmehNg+Md7Xrnc5aDPmgwFfu4Qh0Sjd 8ESj13XXAHaxzpp4X1cmnhY/Zsf/ckA6Ef/16hytE9UZkyJgDM7Yl+PjKeqCe2vYrxot t5pK5CurauL6zUyvjm5kIMR0MApfM620sTJmMSSoc9je2VkhKuQVASuadHGcntQFXISA 4rew==
MIME-Version: 1.0
X-Received: by 10.152.87.210 with SMTP id ba18mr24914942lab.3.1422976707407; Tue, 03 Feb 2015 07:18:27 -0800 (PST)
Sender: barryleiba@gmail.com
Received: by 10.152.127.168 with HTTP; Tue, 3 Feb 2015 07:18:27 -0800 (PST)
In-Reply-To: <99B9DDB4AEFC12755724C5DD@caldav.corp.apple.com>
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>
Date: Tue, 03 Feb 2015 10:18:27 -0500
X-Google-Sender-Auth: ax0aOJ7XisVp5ri_4QZz4eIrB54
Message-ID: <CALaySJKt3YFvy0CJQU69yi+nxknngnaqCXFwm313AePcaNi-Uw@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Cyrus Daboo <cyrus@daboo.name>
Content-Type: text/plain; charset="ISO-8859-1"
Archived-At: <http://mailarchive.ietf.org/arch/msg/calsify/2jUxA9RP1IM8k_ruEjZjmQGSPGM>
Cc: Calsify <calsify@ietf.org>
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: Tue, 03 Feb 2015 15:18:42 -0000

Yes, so this is starting to show the complexity of trying to have
general rules that one can apply, rather than "just knowing" how each
calendar works -- that is, saying that the behaviour is specific to
each calendar, and you have to know, when you implement a calendar,
how that calendar works.

In fact, you do: you have to know it in order to know how to generate
the correct SKIP entries.  So why don't we just say that you have to
know it on both ends, and in most cases SKIP won't be used (it's only
to make exceptions from the normal case)?

Maybe that means we should have a registry for calendars and their
SKIP behaviour, where we could put in at least the common calendars we
expect to see used -- there can't be that many.  Or... or maybe we
just say that if you're going to support a calendar, you have to do
the research and know how that calendar works in practice.

Does that latter mean that we might get bad implementations that don't
do it right?  Sure.  But with SKIP as we're doing it, we also might
get bad implementation that don't generate the SKIP(s) right.

Barry

On Tue, Feb 3, 2015 at 10:08 AM, Cyrus Daboo <cyrus@daboo.name> wrote:
> Hi Ken,
>
> --On February 3, 2015 at 10:02:01 AM -0500 Ken Murchison
> <murch@andrew.cmu.edu> wrote:
>
>> It appears your previous rules properly handle the 30 Adar I (leap year)
>> case, but the new rules do not.  Can we come up with rules that can model
>> the 3 cases listed above?
>
>
> OK thanks for looking into that. If we want to provide full flexibility to
> control what happens we would need to have two "skip" indicators, one for
> skipping invalid months and one for skipping invalid days (with the month
> one applied first, followed by the day one). So:
>
> RRULE:FREQ=YEARLY;SKIP-MONTH=FORWARD;SKIP-DAY=FORWARD
>
> Would match the Hebrew birthday case you found.
>
> RRULE:FREQ=YEARLY;SKIP-MONTH=FORWARD;SKIP-DAY=BACKWARD
>
> Would match the behavior from my last email. If we find there really is
> never a use case for the above, then we could stick with the single SKIP
> option. But lets see if we can get a confirmation on that.
>
> --
> Cyrus Daboo
>