Re: [calsify] JSCalendar duration vs. end time

Дилян Палаузов <dilyan.palauzov@aegee.org> Sat, 09 March 2019 19:52 UTC

Return-Path: <dilyan.palauzov@aegee.org>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C010812865D for <calsify@ietfa.amsl.com>; Sat, 9 Mar 2019 11:52:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (4096-bit key) header.d=aegee.org
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 tn_0IKqOHmmR for <calsify@ietfa.amsl.com>; Sat, 9 Mar 2019 11:52:15 -0800 (PST)
Received: from mail.aegee.org (mail.aegee.org [144.76.142.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE77A1279A9 for <calsify@ietf.org>; Sat, 9 Mar 2019 11:52:14 -0800 (PST)
Authentication-Results: mail.aegee.org/x29JqAwY017379; auth=pass (PLAIN) smtp.auth=didopalauzov
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aegee.org; s=k4096; t=1552161131; i=dkim+MSA-tls@aegee.org; r=y; bh=lZi5A6u0wNeQYPp0irOZAb24ZI65drLC7YXGIQhUmRo=; h=Subject:From:To:Date:In-Reply-To:References; b=b/GBZDz6rgD7NfjJA3bA+hAVMU3e3PumuDFxcbsE/fc2T8eWl8thE83ZNgsw6vCgy 8KrRpU+SYSUNH6TlUTwUbzBj7QdpkpXAKxUg5fvug8ix4gdbPaHy85XIboLXSvS40Z 8eYPj1tzNm0Pp1DXRAbALI4TlkvhJaMb2Q3eEVMx5yfuM+TFOZIcwrBhWYkilL4XHD fWswzyrrhXF2i4ufoyYuy4UoaN+lTH7JvOllqR9ozCEaoQNA8nKh5OPb1/EM3BCo+c i6nd6aPYnHr6ZVGwyBNsQEyFN1057zDvRUwlrHxT9EfEl0/8GvhNFbnQgx7449ODtj VJ43v0FbIpZ8IxCi4fhqL+Qmmp3izFX/5ZY1DnIsuX/5YkhUL4/rpRjUeKTnI2XCVm To8jiitoBdJkHxpNZwYimC6fQv1wrqkZv6hjINyE2jRPfKzF6vT4D5+gWUxvoL7Ay0 T3BoijG3hXgWFiqyInt16nlm9xaX1j7XmdUiweK1Z3v+LhuQwRQiJ6PtuRZ+ZxXsMH T8Qp4qtGga3MVKUznx32MnFzknhtyHtZacen8TP/mB8wp3E2IFz5b5Eo6YlHP49K1P HW2eoAds2O14UkLJm6HxXp2xAiNQAf/9yte0QcB4/qvzvIPq8p1ikc614cana8Lefb bYeLq/8gU7YDVq+9YXf9NNpw=
Authentication-Results: mail.aegee.org/x29JqAwY017379; dkim=none
Received: from Tylan (87-118-146-153.ip.btc-net.bg [87.118.146.153]) (authenticated bits=0) by mail.aegee.org (8.15.2/8.15.2) with ESMTPSA id x29JqAwY017379 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 9 Mar 2019 19:52:11 GMT
Message-ID: <50391a5de6edf4b9caa22c49839d6a11c0f6dde6.camel@aegee.org>
From: Дилян Палаузов <dilyan.palauzov@aegee.org>
To: Doug Royer <douglasroyer@gmail.com>, calsify@ietf.org
Date: Sat, 09 Mar 2019 19:52:10 +0000
In-Reply-To: <e8b254ac-4ff9-f889-5338-fb4fa124eab1@gmail.com>
References: <1550160126.3602072.1658018976.28709BD3@webmail.messagingengine.com> <53c5912a8b973aeb0ab67a0d8b7ed0072c5f23b7.camel@aegee.org> <e8b254ac-4ff9-f889-5338-fb4fa124eab1@gmail.com>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.31.92
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.101.1 at mail.aegee.org
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/BRiL6bkkMdOtSksWO04nKGHF9nk>
Subject: Re: [calsify] JSCalendar duration vs. end time
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 09 Mar 2019 19:52:19 -0000

Hello Doug,

for an event with five slots, each slot containig six parallel meetings, there are 4 breaks and 30 sessions (so 34
events).  If the first slot gets prolonged/shortened, 28 events (4 breaks and 24 sessions) that are in the future, need
to be reissued, unless they have relative times.

If for each of the five slot, one of the events has relative time to the previous break, and the other parallel events
have start/stop/duration as that event, only one event per slot needs adjustment.

The benefit of having relative times (start/end) is to reissue less changes.  In this case it could be reissuing
one..four event(s) versus reissuing 28 events.  The latter option is … error prone.

Regards
  Дилян

On Fri, 2019-03-08 at 19:30 -0700, Doug Royer wrote:
> On 3/8/19 12:37 PM, Дилян 
> Палаузов [Masked] wrote:
> > 
> > Hello,
> > 
> > imagine you book a room for 3:45 hours, and want to have there a session “Topic A” for one hour, a 0:15 hours for
> > coffee-break and then a session “Topic B” for two hours.  You map this in iCalendar/CalDAV as (imprecise syntax):
> > 
> > --
> > DTSTART: 8am
> > DTEND: 9am (or if you prefer DURATION: 1h)
> > SUMMARY: Topic A
> > UID: 1
> > --
> > DTSTART;RELTYPE=FINISHTOSTART;REL-TO=UID:1 (per https://tools.ietf.org/html/draft-ietf-calext-ical-relations - the start
> > is defined as the end of the other event)
> > DURATION: 15minutes
> > SUMMARY: Tee time
> > UID: 2
> > --
> > DTSTART:RELTYPE=FINISHTOSTAR;REL-TO=UID:2
> > DTEND: 11:45am
> > SUMMARY: Topic B
> > UID: 3
> > --
> > 
> > So far so good.
> > 
> > Now, imagine the first session get longer as expected, e.g. 75 minutes.  The last session has to end in 11:45am, because
> > the room is booked only until then.  Under circumstances, the only event that needs to be updated is the first one, and
> > the rest of the agenda will magically align, provided draft-ietf-calext-ical-relations makes progress.
> > 
> > In this case, for UID:2 you have to use DURATION and for UID:3 you have to use DTEND → Both are needed.
> 
> So your choice is to make the calendar not match reality, or reissue 
> some new instances with the corrected values. When you re-issue new 
> instances, simply adjust them to be correct.
> 
> If you do not re-issue instances, the calendar does not match reality 
> anyway - so the point is really not relevant. Your simply picking which 
> properties in which components are incorrect.
> 
> If you reissue, simply set the 1st session end time to an accurate limit 
> (or ignore it is wrong). Set the break time to the correct start time 
> and 15 minute duration (or ignore it is wrong). And set the 2nd session 
> time to the correct values.
> 
> There is no one way to solve these issues. I think that makes it 
> ambiguous and poorly designed. There is no wrong way to get it done. The 
> meetings over times zone changes is a pain when implementations change 
> everything to DTEND, and relative entries are kind of correct in the 
> example you provide - or you have to reissue them anyway to make them 
> correct.
> 
> In both ways of thinking, the changed VEVENT components need to be 
> updated. It is just a matter of one of several ways of getting it done.
> Which is why I say it is ambiguous. There should be one way to get it 
> done recognized by all implementations.
> 
> I assert that all VEVENTs have some kind of duration, even when zero, 
> and can never be negative. However DTEND when not in UTC, is not always 
> obvious and a real pain over time zone changes.
> 
> I have found that developers will push for the method that makes any 
> changes to their current implementation easier. And sometimes, that 
> makes for ambiguous or difficult to understand specifications.
> 
> _______________________________________________
> calsify mailing list
> calsify@ietf.org
> https://www.ietf.org/mailman/listinfo/calsify