From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms1.migadu.com with LMTPS
	id GFi1Aj6sDGYZAAAA62LTzQ:P1
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 03 Apr 2024 03:09:18 +0200
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id GFi1Aj6sDGYZAAAA62LTzQ
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 03 Apr 2024 03:09:18 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=EoqklAgA;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1712106558;
	h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=AXHuzlkUjN+3PY43CerNjq+hS8JvyTQnw5d8/umM994=;
	b=I30rMqt4hHUySH6+mdhvDfkETSbnpNOqxVSz7LxzZGgaFbwGq+3cCABxLKJYkWZqXvZYWr
	pWCiVWzTZOKTZTilsScTKFlzWOmQLbcKZ3GcLa+yPIAZZOJIttjREcXp9uYZdxGEzRWF/D
	uxctcR9zp13knPQ+ca4Fk7zVvSU3ry9uJeYfB7HaGZQzVb4CjmReNaIDhaoPtQsRE83kZD
	w7LaF+9iBd1Cso/h2ZP+Pxq7GzFy1sgqNy/RSHy4aR6wacDec6tKfPhW//GjLZT1smJ7jl
	NTYFUSyjFcNYUeJjU72kk1pV6+dVY5cV8CZqIaqp5US7E2NVauyw1KsjlUJrVA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=EoqklAgA;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712106558; a=rsa-sha256; cv=none;
	b=eL8zl5U0rwZ94hxuL6oMA4Mdl4nBG28k1U+bfm1lyrlwD+Ak/h8WrxgXAowb/TYOIQ8DRV
	b/0zXxoRXN7JH4C/DfCwzRkFQS/riWN42pcSIvNTO1yBOKrZNBFjaDq/VAV5yrcuprCqr5
	NKcqo4s0Pv907eAxv5s59TKp2iRpumZejmMUbPYiP/8Fac5bFHqAASrWaUBEGDy7VSL8J+
	+hTt78U8XhXgHQQ/Rp4IQU869oapOyx/Txq5NLUMwqWd6JU/J0dTumkXC2hjydNqPDhNK9
	lBT7fHzIMu6zbaKeZDtnsE8/J7r/L9NQJ4NovN5eyD9pxsvvK4IxL0WU7XG8cQ==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 854C542F6
	for <larch@yhetil.org>; Wed, 03 Apr 2024 03:09:17 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-devel-bounces@gnu.org>)
	id 1rrp7T-00055r-1X; Tue, 02 Apr 2024 21:08:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <felix.lechner@lease-up.com>)
 id 1rrp7Q-000559-9g
 for guix-devel@gnu.org; Tue, 02 Apr 2024 21:08:48 -0400
Received: from sail-ipv4.us-core.com ([208.82.101.137])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <felix.lechner@lease-up.com>)
 id 1rrp7O-0008R6-3F; Tue, 02 Apr 2024 21:08:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=OzvlKwmzkE6VlaK
 Utan8qki2WEDjk6og6z+TMSEjOtc=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=lease-up.com; b=EoqklAgAziJ/LJzO//Ssn92q49+4zuuSQUtwlrM4
 tqNMSB9zPPlC6YGrlBX45mATJhPLZuX0EMlLxkE5t4OaadPUTEEbQPasIyyr6Z34ELq+fD
 lPKWSft6/7cuCsi6Mmh9ezrxifcERH4FHq8NW0NCxUU7+YGL076vOgeX9aRjU=
Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 79ad71b8
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Wed, 3 Apr 2024 01:08:41 +0000 (UTC)
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@gnu.org>, Guix Devel
 <guix-devel@gnu.org>
Cc: 
Subject: Re: Shepherd timers
In-Reply-To: <87jzlrpbsr.fsf@gnu.org>
References: <87jzlrpbsr.fsf@gnu.org>
Date: Tue, 02 Apr 2024 18:08:40 -0700
Message-ID: <87cyr78d7r.fsf@lease-up.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=208.82.101.137;
 envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: guix-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Development of GNU Guix and the GNU System distribution."
 <guix-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-devel>
List-Post: <mailto:guix-devel@gnu.org>
List-Help: <mailto:guix-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=subscribe>
Reply-to:  Felix Lechner <felix.lechner@lease-up.com>
From:  Felix Lechner via "Development of GNU Guix and the GNU System distribution."
 <guix-devel@gnu.org>
Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org
Sender: guix-devel-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -3.85
X-Migadu-Scanner: mx11.migadu.com
X-Spam-Score: -3.85
X-Migadu-Queue-Id: 854C542F6
X-TUID: VV/WcfqdbKQ2

Hi Ludo'

On Sun, Mar 24 2024, Ludovic Court=C3=A8s wrote:

> you can do anything you can do with a service: stop it, unload it,
> load a replacement, and so on.

Wow, do I love those timers!  I just converted my system Mcron jobs to
Shepherd timers.  The user jobs are next.  What a great new feature!

One small suggestion:

Could calendar-event please offer a symbolic interface for days-of-week?
I'm thinking of 'monday, 'tuesday, and so on instead of numbers.

In Europe, the week starts on Mondays.  In the US, it starts on Sundays.
Cron and its descendants made an error in settling on a particular
numbering.  We can fix it now.

With my tongue in cheek, at least one disputed but very old tradition we
received recorded that the world was completed on a Friday, at some time
before sunset.  I could therefore see starting the count on Saturday or,
if anyone would like to have a day of rest, on Sunday, but there is
scant precedent for a start on Monday.  That choice goes back less than
a hundred years.  It was only made official for some parts of the world
in 1988.  That was less than forty years ago. [1][2]

A symbolic interface for the days of the week would, on the other hand,
be more intuitive and equitable towards competiting traditions.

Symbols would also avoid the ordering that elevates one of the weekdays
into the first position and above its peers.

I'd be happy to suggest a patch, if needed. Thanks for this great work!

Kind regards
Felix

[1] https://www.timeanddate.com/calendar/days/first-day-of-the-week.html
[2] https://www.calendarr.com/united-states/first-day-of-the-week/