From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UF0EFxV6R2CNCAAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 13:37:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eK7BEhV6R2A8dQAAbx9fmQ (envelope-from ) for ; Tue, 09 Mar 2021 13:37:25 +0000 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 A622920D61 for ; Tue, 9 Mar 2021 14:37:24 +0100 (CET) Received: from localhost ([::1]:37370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJcY7-0006Zf-Jb for larch@yhetil.org; Tue, 09 Mar 2021 08:37:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJcTZ-0000RQ-Ae for guix-devel@gnu.org; Tue, 09 Mar 2021 08:32:41 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:38471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJcTT-0005YR-L5 for guix-devel@gnu.org; Tue, 09 Mar 2021 08:32:41 -0500 Received: by mail-wr1-x42c.google.com with SMTP id d15so15601986wrv.5 for ; Tue, 09 Mar 2021 05:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xOMIxGgq7LHZ7wlDZ4xSe3WfHNQiUqnKU4MHoVm8Mdg=; b=bazIUoKXcdJ9gi5uSZ468rOnx6E6YpeVmYs+q2/Cx8XRb9tRsvP1XrnZZnj1LbdG2Z 5kpKj14yJamQiqrkaqn6kP/XNVx7G7djbs9I9xA/kq/duNFgoLcIdwEaGID61Hna21Yi ms/LIle4HtyzvYuA3msSYUhk3fxBvuwXCGWL/J/gylfBYNdp7QNnTc7or9KZgdBXixTE nzaawuli5RvoUTjMShK4MXnFfLVFMB085EfyuVT3eQH2N42hbdqw9mcjGamZ5Y/YE+Uf HGkgsfCzfIytVKWRMTgn3nmYb40+aj/1N5aQVOoLB2VXh+FH2cLRqms9ZMB1S4OBBHlv PVLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xOMIxGgq7LHZ7wlDZ4xSe3WfHNQiUqnKU4MHoVm8Mdg=; b=O3FNMlYOv/2K2f8E/Ml8kVTEqMuA6433L20YM8rvZ8r2ipAjscummqV4lpFWP1/1KZ FazDy5+T5tsBBoToXlHgQCsFiX3+nxurLw3hGTb89AusePfWOacTMF+waPlPH8TEAzB4 ADzj5dvF3djpQYVUDpJYkiFu7zVGKjCpJN/kNLSAN1i0jyKE3CJt8WN52IaxJaMwDo9q spY6kfatSalklBnrkfazVb0K1uMzR1O4kLqVmTZjOWe9HAWodl4MSSxx3RQZBuGmTEHE ocbRGZ2EN6LK9q64G1UBkYu/j3tsulF0S8aDAIIVW1VZZsUJCYXaCk98E0FCVAHQciv9 aNDA== X-Gm-Message-State: AOAM530M3GH/K/Ds9aOG7Ha6enygyL0JOKapvH0FD0d9arMXBg7a63LC 18vR0W8vL3qyPOMWw+C/pP86ZYyL+8KTlzpI X-Google-Smtp-Source: ABdhPJw+e6nXElMdkYDZ6Bd5eWI9gpv4+Qg3U/nL8D+1SgmNw2+UaWlv6Z6wrIGOh1u4r3MhFQsilA== X-Received: by 2002:adf:ded1:: with SMTP id i17mr28692251wrn.349.1615296749936; Tue, 09 Mar 2021 05:32:29 -0800 (PST) Received: from [192.168.178.20] ([109.90.125.150]) by smtp.gmail.com with ESMTPSA id 3sm27099733wry.72.2021.03.09.05.32.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Mar 2021 05:32:29 -0800 (PST) Subject: Search improvements (Was: Opposition to new single-letter package name "t") To: Tobias Geerinckx-Rice , Raghav Gururajan References: <7ae1c8ee-30fc-6639-5539-621c65e7fc26@raghavgururajan.name> <87h7lkj3pt.fsf@netris.org> <2d477594f968f088d61e51a177e78bd2@dismail.de> <9f7ad8ce-7275-0e06-1767-eef1fb0f11cb@raghavgururajan.name> <87pn08muar.fsf@nckx> From: Taylan Kammer Message-ID: <446cc95b-9068-e07d-80ee-fbcc887c2c65@gmail.com> Date: Tue, 9 Mar 2021 14:32:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <87pn08muar.fsf@nckx> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=taylan.kammer@gmail.com; helo=mail-wr1-x42c.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, jgart , LibreMiami , Nicolas Goaziou Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615297045; 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=xOMIxGgq7LHZ7wlDZ4xSe3WfHNQiUqnKU4MHoVm8Mdg=; b=FcULtArcS4tDNFReXPIJ3kowMxPflmAWGSk90hEon4pviCWf77jG/di2PobZCgD/l/Y4M1 gmJW59OkxdwNhX0WsQa8sr0hMYfKpRsiO2hm0QKRSNE41jBhuwQkOIeinXt4zn5tdt5fYk Ou5j9Ib7/hcdQpp00q4M0E3y8XUiGSHA22UigKMshouZGn6szW0PJqkJPpWj3MzRmg1KrD CNUSfajo4GbUxljzpjrNV10af9foCp3GxKzwTqjTi9edT45r1WtTVcDW50B3XbwMUYxn5U MVpdEMiW95ltRmWt/+fHhnAsYcX+Aes366HgU0eqrNMTg7JOs3niag6jDVJ5eg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615297045; a=rsa-sha256; cv=none; b=TWdnlDqqSGwlER+0aAnutYORu038KUm8kfBLsgTpHclSZEvQrKPLJIWM1VOGfBToyA45Py OryqjAoSHm3G3vO8OpEArdVmj2pvosWPBBgXf5IwrzV7aDOWT2z4msIxxSsU6zYKk0C1ek cHI6rbqXyJ9ocifvSAE4jS+f9NAQuuVUK6SPdUmFrDdvz8gKRzQVrhdTd3XeaXNntZXeJe 2/pF+fV0VZsObO8oARHA2CO2orSFHN3JUH+7MkMORIckw75SvdF9lI0uD99vBlOpUAebh3 gnsa4mkrnA1gJqV4cMUKYZY3lfogurwLox3ZHeibB4ZLoKk8iNQmZJYDdp3ygg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=bazIUoKX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=bazIUoKX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: A622920D61 X-Spam-Score: -1.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: MV74FIvRpVmh On 09.03.2021 12:38, Tobias Geerinckx-Rice wrote: > Raghav Gururajan 写道: >> Since, we already mention "todo list manager" in description, I think >> "ti-cli" is better. > > It says nothing about the package and does not uniquely identify it: > >  bundlerApp { >    pname = "t"; >    [...] > >    meta = with lib; { >      description = "A command-line power tool for Twitter"; >      homepage    = "http://sferik.github.io/t/"; >      [...] >    }; >  } > > It's “t”!  It's “CLI”!  It's... a totally different package[0]! > > Please: t-todo-manager (t-todo-whatever, I don't care) or > $something_a_mainstream_distro_uses, but not yet another bikeshedded > unique name, fun as they are to do. > > Kind regards, > > T G-R > > [0]: > https://github.com/NixOS/nixpkgs/blob/release-20.09/pkgs/tools/misc/t/default.nix > I agree that t-todo-manager is the superior choice. (With a secondary preference for "t-todo-list-manager".) This discussion made me realize that "guix search" might benefit from the following improvement though: I think the relevance score for a search result should be increased significantly if the searched word is a standalone (not substring) part of a package's name when the name is split into dash-separated words. For instance, the package "emacs-hl-todo" should get a much higher score than "emacs-mastodon" when searching for "todo". Currently the Mastodon one has score 11 and the todo one only 9. The same thing goes for the synopsis and description of the package, but with respectively lower increases to the score. (I.e. name > synopsis > description.) Handling of plurals like "todos" instead of "todo" would also be great but could be left to a later step. Any thoughts about / objections to this idea? To be honest I haven't checked if there's maybe already a bug report about this. - Taylan