From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GLyWNYl/i2X6MAAAkFu2QA (envelope-from ) for ; Wed, 27 Dec 2023 02:36:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QGoMMIl/i2WyTwEA62LTzQ (envelope-from ) for ; Wed, 27 Dec 2023 02:36:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=loang.net header.s=default header.b=n0OXLFN6; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703640969; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DuY0jxS/y99kfeyoymo4xAQ98VQAmQ7N1msCM70/BiA=; b=o3PJgW6qjZcdmW55HskWAVhEjmL/VfXxhXCHWLDST5eSwcaJ7Nh4hMh1hq5xpSPfQgYtp4 J6payokPbjpCr+w85AOZNMXjEZJEMVTeKt8WC/8uLkP8SAO6znxsQFaLyT24bqnOD+b/9l wy0ujhyovGZwsn0fRSEBBSHTg4nLdBR9w399mAHvauXyZxI2+KMYXgo49geMPsz8JklYT+ IxTzSH1HKe13/JziCJl0Wg4wMVmk+qVBp34S7F4nBkKC1xM+GjIZ5NnbVl2I8yekaVC+tn 3/FSQuJVFNkwKP4O/00j+D1LcSjXR2HX9+2MtvGMo90Rq+bMvSrPwp3RkTln2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=loang.net header.s=default header.b=n0OXLFN6; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703640969; a=rsa-sha256; cv=none; b=cA+EwDgoyFIulnphCXoHz5rKCqPjrCSV4B8HI089zi5ukfLA6zU+AOH7xrfn8/NE2sVVpR Hb+Ybeqv1rnCMbRtAQinmB44YrKEClxEhRYZHQ1a3xHCvXbyW4KqMM9Xfg0m3YrM+WrDwW rChM4fUFBoHZK2UlZlnmz3zL1GaXz7xUZ5eBs1a1w9B6JgDyvxyscUCUQJTyWeMM6sr9qF TmoAUxOSWHr2qITi9roOrNqSABhEKD8V9WbMPCH+CgvAbfhR+hEMdhsBnXBv4LP/W7yVqU aX7G6jOZPaCLuthQ+IqTNu4QEllwPOO+h77zoLvz2qIYsHtslATXBHU1e7s5kw== 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 7FBF558676 for ; Wed, 27 Dec 2023 02:36:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIIpV-0005ZN-Vg; Tue, 26 Dec 2023 20:35:30 -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 1rIIpU-0005ZF-MB for guix-devel@gnu.org; Tue, 26 Dec 2023 20:35:28 -0500 Received: from tem.loang.net ([2a03:3b40:100::1:2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIIpH-0004fd-QF for guix-devel@gnu.org; Tue, 26 Dec 2023 20:35:28 -0500 DKIM-Signature: a=rsa-sha256; bh=DuY0jxS/y99kfeyoymo4xAQ98VQAmQ7N1msCM70/BiA=; c=relaxed/relaxed; d=loang.net; h=Subject:Subject:Sender:To:To:Cc:Cc:From:From:Date:Date:MIME-Version:Content-Type:Content-Type:Content-Transfer-Encoding:Reply-To:In-Reply-To:In-Reply-To:Message-Id:Message-Id:References:References:Autocrypt:Openpgp; i=@loang.net; s=default; t=1703640907; v=1; x=1704072907; b=n0OXLFN6SMpE5sRJvp3GAJMMGNYVJeJWoz9XQqvrTJ22H+JXtaWI7UFYmwAcCWPMXYi0Y/Tk r1GtKi/qoUckxM/Q4bN1MtK1SOW32+98+C9PxYQoP0Rpp9Lat5Mr4t0E1xdWype4XYpKTcxeJb3 eQ8v1dsxTDFu6cx31KJsq6pbUrobj5E3WyqMftJf2Nlj/Ox1Rhf85PBMGehrKmAkN1hj9Ry6ZHc y/PzmP1v52/ZXQ21OJ/8ugF2DzWeZRp1f4QYlD5q9uS+OP0xp/HaUIqvi0omJg9P8SoyJcXif+z bzEAB8JJp34Qm+5OPFAw0tQwG+IU5VJEBBOui21IhEm+A== Received: by tem.loang.net (envelope-sender ) with ESMTPS id a457135f; Wed, 27 Dec 2023 01:35:07 +0000 Content-Type: multipart/signed; boundary=c35c5f556e560bd2c035011fe52ee0cff2b3cdce155d12756a5b2c08b71a; micalg=pgp-sha512; protocol="application/pgp-signature" Date: Wed, 27 Dec 2023 10:34:57 +0900 Message-Id: Cc: "Sergey Trofimov" , Subject: Re: Are declarative app configs worth it? To: "Ricardo Wurmus" References: <874jg5hvz7.fsf@sarg.org.ru> <87h6k5ko0g.fsf@elephly.net> <878r5glxdv.fsf@elephly.net> In-Reply-To: <878r5glxdv.fsf@elephly.net> Received-SPF: pass client-ip=2a03:3b40:100::1:2; envelope-from=cnx@loang.net; helo=tem.loang.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, MIME_HEADER_CTYPE_ONLY=0.1, SPF_HELO_SOFTFAIL=0.732, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= From: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= 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: -5.85 X-Spam-Score: -5.85 X-Migadu-Queue-Id: 7FBF558676 X-Migadu-Scanner: mx10.migadu.com X-TUID: VDx8zWSA8ti3 --c35c5f556e560bd2c035011fe52ee0cff2b3cdce155d12756a5b2c08b71a Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On 2023-12-26 at 17:50+01:00, Ricardo Wurmus wrote: > Nguy=E1=BB=85n Gia Phong writes: > > On 2023-12-26 at 15:56+01:00, Ricardo Wurmus wrote: > >> On 2023-12-26 at 14:53+01:00, Sergey Trofimov wrote: > >> > - adding it to guix increases maintenance burden: new versions > >> > could add or remove config options > >> > >> This is why there should be automated tests. > >> There are too few of them. > > > > This is easier said than done. A program could [=E2=80=A6] > > Yes, it=E2=80=99s easy to say a lot of things. This is not an argument a= gainst > providing tests *where feasible*. I'm not against tests, but pointing out that relying on automated tests to detect breakage is an unrealisitic expectation for most programs. On 2023-12-26 at 17:50+01:00, Ricardo Wurmus wrote: > > I would also want to share my experience as a user, that having > > to run guix home reconfigure iteratively is not exactly pleasant > > due to the high delay. > > What=E2=80=99s a high delay? Is a one second reconfiguration too long fo= r what > it does? I don=E2=80=99t think so. Any reconfig that isn't cached takes over 5s on my fairly modern amd64 laptop, which is considerable for the repetitive edit-config-then-test flow. Even a cached home takes a whole 2s. Reconfiguration just rebuild each config file in guix store regardless if it's changed, so running it is a wasite of time and resources. --c35c5f556e560bd2c035011fe52ee0cff2b3cdce155d12756a5b2c08b71a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIQEABYKACwWIQSDiv4NVdwHTjYPlDqEtpzm8/a3ZwUCZYt/Qw4cY254QGxvYW5n Lm5ldAAKCRCEtpzm8/a3Z6+wAP40gwWcV2HFhvAYZ9VRqJjIsBCvwPsZE3JznrYA B/a9KgD+JhfyCAf/NU8kF8CuJIV9rrlcy2YFqo/MS7gnKJvZzQg= =po47 -----END PGP SIGNATURE----- --c35c5f556e560bd2c035011fe52ee0cff2b3cdce155d12756a5b2c08b71a--