From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8BHZOBrTqmKO1QAAbAwnHQ (envelope-from ) for ; Thu, 16 Jun 2022 08:52:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yO/DOBrTqmJlVgEA9RJhRA (envelope-from ) for ; Thu, 16 Jun 2022 08:52:10 +0200 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 9FB71181B2 for ; Thu, 16 Jun 2022 08:52:10 +0200 (CEST) Received: from localhost ([::1]:58224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1jMO-0004nh-Vu for larch@yhetil.org; Thu, 16 Jun 2022 02:52:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1jLT-0004mh-OD for guix-devel@gnu.org; Thu, 16 Jun 2022 02:51:13 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1jLR-0000sh-3A; Thu, 16 Jun 2022 02:51:11 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1655362265; cv=none; d=zohomail.com; s=zohoarc; b=fx68/usjq46ZgymZ6HL2RkraIWGT9/zyirHKLqM7pm5/R79083L01F9YyDuQwLf/y3U8CYuLyyb/qmSlUTT8ka2wShGu8NNeAaQ+3f6mv19/JaK8vcBI6ZNSOSd1WKcg2KgZJFvvZ+yhmxUCIuhXoEFrVokF/IwuetgH0cREnyI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1655362265; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3aN5LHnw5ZZNnhvu7vqb5TYeL8GfiHFsjve5JyMh3uM=; b=ObRzwzwkxxoQ/dmKGGgNCC6GeOB0H6KXPnjuw85oT8U23OfknIKCGPQwOi09T0rRFZz/1EAoRG/b7jjl3Gk5Dxpe7xalQTELFawfzgwen1iBDkVLwiwdvbL6HRslyc/ggjDM2KGUqZYfOeQnA4p+B9Qhqs3tx5E/oRZfc8yEAsA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1655362265; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=3aN5LHnw5ZZNnhvu7vqb5TYeL8GfiHFsjve5JyMh3uM=; b=U7ZWfvdVfhXZMsOxKsyJxZ6T4YD3bJjwzY+7GkDAU992tHgX7MisRG8pdLdF+4yy 5Tz3W3tYBjBLHuT2dAKPaRsYxy7Ljsjg3T99MIu0SWhcw9IHg/BKa6msNpluFWKjLds e6DJ3pU3Y6gnBtmtENvQuwXj3xQDt6d+UR48MTNQ= Received: from localhost (120-110-142-46.pool.kielnet.net [46.142.110.120]) by mx.zohomail.com with SMTPS id 1655362260562340.2202947234988; Wed, 15 Jun 2022 23:51:00 -0700 (PDT) References: <87a6as62r2.fsf@elephly.net> <87ilpfwmi0.fsf@jpoiret.xyz> <877d5j5vng.fsf@trop.in> <87a666663179c883aaa1797b62c3bcb0084d3ebb.camel@gmail.com> <87bkuuyqf9.fsf@elephly.net> User-agent: mu4e 1.6.10; emacs 28.1 From: Ricardo Wurmus To: catonano@gmail.com Cc: Blake Shaw , Andrew Tropin , Josselin Poiret , Guix Devel , GNU Guix maintainers Subject: Re: how to write services (was: Re: Teams) Date: Thu, 16 Jun 2022 08:46:11 +0200 In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87letxxfsf.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655362330; h=from:from:sender:sender: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=3aN5LHnw5ZZNnhvu7vqb5TYeL8GfiHFsjve5JyMh3uM=; b=S8FLNCVflBtYMhv54a8jh2vVluxl8yeCHATBqpYad0Wpp1ySqtsjTiqVlmfPdkZ2y1sBBB vnOdhT6XDThR8Ku+K5U7tr/EBQsVM47IhfRIqICI56a6hCeWs6fuRUs0PVBlqO2ATcfjHv LVgnklYYpyDk1Ty6wzDCwiVVBCRc1xMTcFx+/5SIesXaL8lvBr08qMRMZuaYS2E+OKqQOm TJklNxLOwsyeSfXZzovOMAkGcX1IWLhNj6hSu5Rms1wT7SpBD5rOP8906cOU3bYI7wIEp5 +IlS9Z2mUcozkfURpsw+J1ukfHSlKtgrLL/G1jmPuvnfIavmUOa7WiNKH0K18A== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1655362330; a=rsa-sha256; cv=pass; b=YRNWfk+gRlNwWBUU0MmtgdOcoGqTnovZ6CWUuoKBuV617ufyA+bo/02USQhwrVw+ZkcEwH +PIq9chYxK5yxSB4UwJx6TiacIxCq1qcNnuTf75QQ371WRkW7cakmoiiBGwZKTIg0BqKxV kH8/bwzIX16oL+OK6S+9QzYTzNp5JMOrJV3Y1Pj7lMn23byog7eAEuPJ6PSq1//Hh7+j0u jqXFi8qRUs811k4BycQ+pwmtRzQrKv8VXEgcZ+BHSotgfB+hmqCzQ+q6i2Yr3kDqAY7mtP JC3cobK7QPB5LvpgiPwLLKkeMlpEQ4tHgDenZ2hw0PQRYDZcrn7QjlWuCGIMJA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=U7ZWfvdV; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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" X-Migadu-Spam-Score: -10.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=U7ZWfvdV; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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" X-Migadu-Queue-Id: 9FB71181B2 X-Spam-Score: -10.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: M9qmjv4UU/sf catonano@gmail.com writes: > Ricardo, the general map of the concepts involved in conceiving a > service is useful > > But in my toot I asked for something different > > I asked for indications about the process (what magic to use in the > REPL) There is no REPL magic. I write the service in chunks that I *could* run separately (like the start command). The rest I just write, and then build a system with =E2=80=9Cguix system build=E2=80=9D until it works. Your assumption that there=E2=80=99s some guarded secret knowledge is wrong. > as you can see, they also noticed a difference in the experience > between creating home services and system services > > While you somewhat downplayed that > > Now I want to be clear, here > > In the past I have misunderstood some of your contributions about > macros in Guile (that I had asked about) > > I came to terms with the fact that you're doing your best and in total > good faith, so I hope it's clear that's not what's happening today > > But I also hope you can see why I could get a bit frustrated with your > reply No, I don=E2=80=99t. I answered a vague question with what I hoped would be helpful. My bad. I won=E2=80=99t do it again. This is not the first time that my attempt to answer your question is just met with a barrage of criticism, so I won=E2=80=99t expose myself to t= his situation again. --=20 Ricardo