From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YJBiB+xjsWW/CAAAe85BDQ:P1 (envelope-from ) for ; Wed, 24 Jan 2024 20:24:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YJBiB+xjsWW/CAAAe85BDQ (envelope-from ) for ; Wed, 24 Jan 2024 20:24:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=N23BFAZC; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706124268; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1fLucTbK7ag3d603JgrP/C8pV9gPKMOLUG6VV4maNCs=; b=LH4eJ3G6Nf7LW2t2L05qOZHpjCe4m69Sf0pzm1jRH6+XaZbIrki40VHDfboq5r1J1rhGOV mxlTIJtZtdS2SwYoOLbZxTA8o8v4+qdUzjvU0ZFNoH8wayoRfyUJW5RYPNshr8s/TC1HNF 8/gEhTIthZHQRq5wVtPvU+sDWwuRJ0xrdXX1xzl3LO6C4CBICtvzlnD1qmmZCdVOFc3AQA gX72cHf9UMarmHlmNLfSqdHmvDrcYtA5fEqXvrrnX7Tyv5mc3ovOypDnFQ1fERagpgUv85 Lv+jOoVAPbxGX2CbLgLrecBq0IcI+nukDwX9+9JC3I/MB2PvkWJoD6fS4cnbMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=N23BFAZC; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706124268; a=rsa-sha256; cv=none; b=FFEhigtWRSQwxNYn5w1e3duOld+8A5q/Sr3ewXpnuX4EdwQCmpSAxOaZRHeojajuU1VSVc OjqamO37tAjykK4k0SD99yPuTaDl5cGnNrhaF+0hQHsy2xHoZAZrR3VDnk1X53orxnpdJD yBdg+wUxJEh1cJLKMwb1vv6TKh5LkUwrBGHn2u8hXPTOrzVSu4OhwS/PrDmwYRCrAnbpg2 hpvqSlv2Go5oxN7TI7dUXQ+8AHG83ud8F8yjVtb/73MO4CKMGBByoKipz+5Zlekz62PUV5 w+BBUmt5XpqCvgUYTONeC2Q/QxnormtiDLJCH4yvWo6OWYYIyiBhm1zd21jSiA== 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 035AE43B7E for ; Wed, 24 Jan 2024 20:24:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSir2-0000qv-GG; Wed, 24 Jan 2024 14:24:08 -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 1rSiqk-0000oq-7l for guix-devel@gnu.org; Wed, 24 Jan 2024 14:23:51 -0500 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSiqi-0005gr-JV; Wed, 24 Jan 2024 14:23:50 -0500 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-7831aacdaffso511993585a.3; Wed, 24 Jan 2024 11:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706124226; x=1706729026; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=1fLucTbK7ag3d603JgrP/C8pV9gPKMOLUG6VV4maNCs=; b=N23BFAZC2afTPz2lu/0Cf7qwfx6eodn+d0Jw+BYDbMbMQV/PmAzjv7W8FL+egU+ARW zrhBNvhPeuQOOBybr1yWka6cNj0vfugtLBQhJGlMOR0NsRKygXVpujzgG1YV7kRokVAQ v5tq3AKUdMzUuD+ZmYwXKsl/BQ360XIYHxLwbh45cwi34lbOAuYSjdNagTQKMEnKxeHW v5z+9EpVmLjBfPb90lFtylpaw2apk91HLpmcQ+ybmKeLzhrFhmYD/GnIkzbmzvVO6zKg VFrgUWMuR/b6gMMhSDVW6W9ug+2GJ8baNiUI7O6QS53y+6DnuAdS+Z8ICvJLX0gyXvlu qZ/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706124226; x=1706729026; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1fLucTbK7ag3d603JgrP/C8pV9gPKMOLUG6VV4maNCs=; b=bT3SKy9KON9zMZ2RzAN9rVaBAgdG1Xq/RWDgnxErhcfYFDss/cLx+Hx888uHx5ork1 kgQQ12+1LPP4Om2eCixYQ8y6J68Mw6d/SpjuCnQGfXqKX+t4VyPfeyd6i88H7Uzt3xdV DQY6BUhJNu/caxr+q7ThDJLejdLRK4elMZTg+scVSwwt5Ntze3Kqb/lRmtKY6zLqCaw/ Yec+RfSbG/czpAbeHyJUFL1+RwTc1M4PMJx6LyXB0HxHLBWKPs56o0leo36nc1OyS5pn TNcxfWIcFpzQtbslgME5DY8bDyKQTFLR3tyNahx7Bap64KRzRen1r5Nv7yqJOqaro+7G eBJQ== X-Gm-Message-State: AOJu0YxNsUozYuKkn4VuK7/dRhk/csc2bZCHX+P3ZjlEK+nK/Ldffgxb VF9FsgqNbbjIzas93yD5HNIFUBGF333LC2a6+wlZXcn0lNYG85OvWXCeXImgd/E= X-Google-Smtp-Source: AGHT+IHS53zIRD6RCtRtWVhFOMgZ+ycfKKHMgHp2ZJELU7RlbAEEYzkkKd0RmgaC+nUSmsyUqaCxbw== X-Received: by 2002:a05:620a:d47:b0:783:92fe:d22b with SMTP id o7-20020a05620a0d4700b0078392fed22bmr8159924qkl.153.1706124226376; Wed, 24 Jan 2024 11:23:46 -0800 (PST) Received: from hurd (dsl-155-16.b2b2c.ca. [66.158.155.16]) by smtp.gmail.com with ESMTPSA id vq1-20020a05620a558100b00783a19667d7sm2699180qkn.14.2024.01.24.11.23.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 11:23:45 -0800 (PST) From: Maxim Cournoyer To: Zheng Junjie Cc: Attila Lendvai , Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-devel@gnu.org Subject: Re: [shepherd] several patches that i deem ready In-Reply-To: <87cytqwuhe.fsf@iscas.ac.cn> (Zheng Junjie's message of "Thu, 25 Jan 2024 00:41:39 +0800") References: <878r4ia86d.fsf@gmail.com> <87a5ow2nje.fsf@gmail.com> <87cytqzvfd.fsf@gmail.com> <87cytqwuhe.fsf@iscas.ac.cn> Date: Wed, 24 Jan 2024 14:23:44 -0500 Message-ID: <87a5ouwn5r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x72e.google.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, FREEMAIL_FROM=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.05 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -7.05 X-Migadu-Queue-Id: 035AE43B7E X-TUID: ZzB68lOijBjW Hi, Zheng Junjie writes: > Maxim Cournoyer writes: > >> Hi Attila, >> >> Attila Lendvai writes: >> >>>> About "cheaper code path when a log level is disabled at runtime", >>>> perhaps it can be improved in guile-lib, but otherwise that's a nice >>>> list. I just wish we had a good logging library in Guile and could stop >>>> reinventing the wheel left and right. >>> >>> >>> i've made my judgement that the logger in guile-lib was never applied >>> seriously when i relized that it stores the enabled state in a >>> hashtable (which must be looked up for every log statement). >>> >>> i made sure the log statements have a unique syntax, so the underlying >>> machinery can be replaced easily later, and then i moved on. >> >> I guess if we were serious at giving Scheme/Guile a great logging >> library we would try to design it with the help of everyone as a SRFI; >> it could then be integrated to Guile and any other Scheme, benefiting >> the ecosystem at large. Is this something you could be interested in >> trying? I've found the Scheme community around SRFIs very knowledgeable >> and helpful. >> > > maybe can see srfi-215 Central Log Exchange > [https://srfi.schemers.org/srfi-215/srfi-215.html]? That's somewhat related, but is not an actually usable logging library, just some standard means to dispatch them to various sinks, if I recall my read of it. -- Thanks, Maxim