From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2Iy3KXDaPGdeFAEAe85BDQ:P1 (envelope-from ) for ; Tue, 19 Nov 2024 18:35:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2Iy3KXDaPGdeFAEAe85BDQ (envelope-from ) for ; Tue, 19 Nov 2024 19:35:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=1732041328; a=rsa-sha256; cv=none; b=IarOx757AsDkXRBKQ6QT7HoBCszosxM0bOUL89szkBg3Rhw7p4C2GzeAqnTJ/rUQ0v+LxK 9f+l7+fdDWEYldwpQbyCkKxrY/K6rXmqDT2bMfYTHk0p1FonF0hMiDxt30g+2AOiM2d9XT kEpU0YfggiR7gJvzvTSEMFk4a4x/kI+dxxH4mC8cEiDejgqdxJbnvCYwad9M5PNvhgjuyA rWblEwILL62bN6QXrCTHv5KlRHNy4FbpmoGa34XBUJsxXAxqBs6WFZD+2RFWC7+Y2LiMCE JgRo8wigQ37Nq5B2CzjQtSjeJoUNSqxEaFT/G0J+S5E3Lq+hpaBDd+sK61hvxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=1732041328; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=UwnbF4g8IVdj6LVuhhbNCOH1m0Sq3THJc1KpdNf1fq8=; b=ArAhsTzfT+I5+YDlawtvUuxBMJ7MSmdG7x1JbFLFexxettIC4t2mvtx0HpyxElcLYWeJM4 iVfX9kHH/X66wZBeQJK+AIsn3hrt+W/AhYwzCaotqornvDViwA+yKJAxqMHoY3qQhumvvy 1UJTp+rdvmuKKgutKYC/j+s14eU6kP9EODx3foNHU++kAAY3kxWuKhfH5YR5oomsjnIv4c DmJG6mXjpN3R7aAgIXhUqO8ppmMBM+AEzLflsuzpXHKhNqRWaa9bTeZ1vX6Sy63benON+3 cWW2HiCR9YfKukvYU13lIbT/ncEcz9newoRTbMIVy6HTVKyvUoT9MQEhbKwTQw== 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 7900E81F04 for ; Tue, 19 Nov 2024 19:35:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDRqy-0008SS-AM; Tue, 19 Nov 2024 12:17:28 -0500 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 ) id 1tDRqv-0008S6-PM for guix-devel@gnu.org; Tue, 19 Nov 2024 12:17:25 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDRqt-0002B2-9p for guix-devel@gnu.org; Tue, 19 Nov 2024 12:17:25 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1tDRql-0001zF-Bh for guix-devel@gnu.org; Tue, 19 Nov 2024 18:17:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guix-devel@gnu.org Subject: Re: Announcing shepherd-run Date: Wed, 20 Nov 2024 01:17:02 +0800 Message-ID: <87v7wj5ek1.fsf@whispers-vpn.org> References: <20241103165709.59c00ecf@primary_laptop> <87ed3q39x1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:EN2wqkpeiFCcTjRbsSoimgCrCmw= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gcggd-guix-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Runciter From: Runciter via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.04 X-Spam-Score: -3.04 X-Migadu-Queue-Id: 7900E81F04 X-Migadu-Scanner: mx10.migadu.com X-TUID: RHS0G1iLJ10y Ludovic Courtès writes: Hello Ludo, > herd schedule timer at 07:00 -- mpg123 alarm.mp3 Sorry for hijacking the thread a little, and I haven't tried the Shepherd release candidate yet. Not that this is any of shepherd or herd's problem, but if you have included or plan to include this example in documentation, you might want to reconsider and include another simple meaningful example instead. I possibly noticed this only because I use a minimal WM: mpg123 won't start pulseaudio if pulseaudio is not already running. If there is a workaround other than starting pulseaudio prior, I don't know it. In case it doesn't ring, the evidence that herd did something at all will be buried in the logs. I actually think this is cool though, and the rest is mostly random thoughts now that I think about this problem: a herd-based minimalist alarm clock for production needs 2 features and must not include a third feature: * Repeat, but this is trivial to do with a script. * A heuristic to output sound at all costs, while trying hard to output through speakers and not headphones. This is harder, maybe not absolutely required; I suppose phones get it right but I'm not even sure. * A keystroke to stop the alarm from the X lock screen; surely the significant other will close their mind to the truth that this feature increases the attack surface and must not be included.