From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gCr7MarBU2Ry4AAASxT56A (envelope-from ) for ; Thu, 04 May 2023 16:31:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SEqWMarBU2TnCQEAauVa8A (envelope-from ) for ; Thu, 04 May 2023 16:31:06 +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 82F743E68C for ; Thu, 4 May 2023 16:31:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puZys-0006Qh-ME; Thu, 04 May 2023 10:30:50 -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 ) id 1puZwt-00060l-Kg for guix-devel@gnu.org; Thu, 04 May 2023 10:28:49 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puZwr-0005C8-9g; Thu, 04 May 2023 10:28:46 -0400 Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-3ef27f314b5so1045321cf.1; Thu, 04 May 2023 07:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683210523; x=1685802523; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:from:to:cc:subject:date :message-id:reply-to; bh=MaMI/QQM6VbOOXOxEONYnkayhPtVOfGA8ToW0Z41IXw=; b=kiwfA0dCsHMFkS+j33Orl9ANTLfW9w5MeQfl2RhtgVp8GuU0C0XgW92CRb8TebA09N vuOwOz5n1x8I72BMVejFgVm8PV5BIyi2yN88+ghUhexwdvSwOpNokoC9nKg2dRqP5OPN 3WoXOaWfZeYkJ+R69Z3vF5xhXUC5W0dNy1GxvadlhacQqxFbFG8MkFnb5fq4Zh2cRulY moWbCa7wlLzv4Fyt117xHTbm/9u4YC0KuvDXhNVDS+b6qJ8y4LHwgRZsPFFFzo9HCfMm jooIRnHZIOphlbFct0GukTetMFtyJoAuoabHnQHBTgiAn9mQyPqQr07VuL2OziFxy54I XXwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683210523; x=1685802523; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=MaMI/QQM6VbOOXOxEONYnkayhPtVOfGA8ToW0Z41IXw=; b=lAXAwRRoSuYU/BEcgTC7shsErqdThT5O5UndUYBC8w85TkRUYFexebc4H6eRmv5aKF MCPCirBNbUKDwA3vy8smlXsrsf9LjzYc9+FAVl0RLSGHGB4RiAhjfIeGr3EPsy66mnZX HMvPUAj9KgkN3ayEnx9G7NG8/8qAvdBDuwI1hAOIWQCONOCOKZOFN5FAfF+2Iz2y5Hv+ wxX0ah3EaV1R1E70CL0nH2e9ph/vVH/F8mFL82sriP0egyE87sG3SXDMtEjXimatqPfP F52UQpzxREzGX1iA+fJXwAfjJbmTHqKWvEy57zzwKyQT8nQMtY74TjaKU01y2+b8K0Dp T5iw== X-Gm-Message-State: AC+VfDwsM0RM2MNegdynXMmIBE9n2SZp7rUuWviT4CmOgC/uk+Xz3Omp xX1wL2lSOym/9Yv/6aPV4NSTLR9KZ3I= X-Google-Smtp-Source: ACHHUZ5QCZZ8SeB2XD5KBtxbcsQa0fxWQFM0mPEDfkbMkmgedz4cTdDqaO94R3Ihl0AYPmXtMOJFlQ== X-Received: by 2002:a05:622a:c1:b0:3c0:40c3:b8fd with SMTP id p1-20020a05622a00c100b003c040c3b8fdmr15937585qtw.6.1683210523104; Thu, 04 May 2023 07:28:43 -0700 (PDT) Received: from entropy ([2601:241:8c80:25a0::7bbd]) by smtp.gmail.com with ESMTPSA id c21-20020a05620a269500b0074fbc22f482sm7899035qkp.71.2023.05.04.07.28.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 07:28:42 -0700 (PDT) References: <87ile3hl2m.fsf@gmail.com> <874jotxhec.fsf@gnu.org> User-agent: mu4e 1.8.13; emacs 30.0.50 From: Nathaniel Nicandro To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Subject: Re: Outdated dicod-service example in manual Date: Thu, 04 May 2023 08:30:00 -0500 In-reply-to: <874jotxhec.fsf@gnu.org> Message-ID: <87h6ssgoh2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=nathanielnicandro@gmail.com; helo=mail-qt1-x829.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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683210666; a=rsa-sha256; cv=none; b=Av7dMOZt3yT8cbedfcAoqdCoWWyrXgz3e6iJ9qs2VpfFWU8REbi2Z7kzj2TCP65gZIRQsv l8mKOLyNrKvBaG/japaqRYE7EUXVISztGZRei+GXRa1rnw7tdEhreMtb8+5RBjCgIaVJ9k M88+wCk3KLiaY6/7/h5PTlMiJKD4pEp1crYpQwxFtQqefmDyqHQ5dSx9wQ26BMBwdcRq9W 7EVJMX9MIJkr8xveGRunxNg1Mik7NyCI+Xv9t2P6+OTfJ0Cu9POuU+DXJxCO3DRDl/s8gs AJ7ftYUac6c/UhXo3D+MMmZiQLzdm9jLFu8OE9PnCdIU41RM8o+z7+vJLK9Plg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=kiwfA0dC; dmarc=pass (policy=none) header.from=gmail.com; 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=1683210666; 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=MaMI/QQM6VbOOXOxEONYnkayhPtVOfGA8ToW0Z41IXw=; b=Te3dHI3dhKFKKWyUNdSa1TqlqVkmtKojFP1W8HJ0gLGocVmBNbQxAQWATPkjRO9WhD+chK gj0Af61uQ72HYt6Qr3I2wsNXzP79kFACc7eWvjZnVxIV+cTxbdsM2KWbF9IXoh2KXnDoaR DMyHmpJhG2j5JDFwjPRwmZLUGsiuFzqdFdSrl2Dwz2oFpPFWdRoxgnUx48vWIqkGERIf9S DIxm2aGcafwGkvdohNC3uLVfkAy0x7Mt3X0WG/m0F98Iqu63Swl4ln97HcmS+rIP4gQIKS CaLLQnqabuKtSFIwrU5piSJ+UMSK5fIVBLB5XyvqFK8ApxG5Q/dZMBEHgyzNcQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=kiwfA0dC; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.90 X-Spam-Score: -4.90 X-Migadu-Queue-Id: 82F743E68C X-TUID: xmTUb6uCJvvQ Ludovic Court=C3=A8s writes: > Hi Nathaniel, > > Apologies for the delay! > > Nathaniel Nicandro skribis: > >> First off, I want to say thanks to all the Guix contributors. I've >> really enjoyed my time tinkering with my system! This is my first >> post >> to the mailing list after using Guix as my main operating system for >> the >> past few years. > > Nice, welcome! :-) > >> I've found that when I tried to use the example configuration for >> the >> dicod-service in the manual >> (https://guix.gnu.org/manual/en/html_node/Miscellaneous-Services.html#Di= ctionary-Service) >> I wasn't able to get the wordnet dictionary working at all. > > Oh. (BTW, note that this is the manual for the latest release; when > in > doubt you can also add =E2=80=9C/devel=E2=80=9D to the URL to see the man= ual of the > current development head: > .) > Thanks for the tip. >> I was able to get it working for my use case with the following configur= ation: >> >> (dicod-configuration >> (handlers >> (list (dicod-handler >> (name "wordnet") >> (module "wordnet") >> (options (list #~(string-append "wnhome=3D" #$wordnet))))= )) >> (databases >> (list (dicod-database >> (name "wordnet") >> (handler "wordnet") >> (complex? #t) >> (options (list "merge-defs"))) >> %dicod-database:gcide))) >> >> Should I go ahead and make a documentation change patch or would there >> be another example that would be preferred? > > Fixing the current documentation would be most welcome! And if you > have > other examples in mind, we can add them too. I'll sumbit a patch to fix the example. I'll look out for other examples while I browse the documentation and update my system. All that I've looked at so far has worked out for me, except for this. > > We could also add the =E2=80=98dicod-database=E2=80=99 definition for Wor= dNet right > into > (gnu services dict), so it=E2=80=99s readily usable, like that of GCIDE. Doing this would mean that we also have to do something about the `dicod-handler` definition since the database definition depends on it. Maybe allow a `dicod-handler` in the `handler` field of a `dicod-database` = so that the WordNet database definition can be self-contained without havin= g to provide a handler definition in the `handlers` field of a `dicod-confi= guration`? This way we can do as you say. > > Thanks! > > Ludo=E2=80=99. --=20 Nathaniel