From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: Gathering data on user preferences Date: Wed, 08 Sep 2021 02:53:22 +1000 Message-ID: <87v93cjoyy.fsf@gmail.com> References: <87h7exkphw.fsf@gmail.com> <20210907064208.GB4097@tuxteam.de> <87czpklsng.fsf@gmail.com> <20210907081143.GD4097@tuxteam.de> <878s08lpem.fsf@gmail.com> <874kawlchc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7792"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.0; emacs 27.2.50 Cc: tomas@tuxteam.de, emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 07 19:06:46 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNeYY-0001nZ-KK for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Sep 2021 19:06:46 +0200 Original-Received: from localhost ([::1]:39074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNeYX-0007xz-FA for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Sep 2021 13:06:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNeXO-0006QW-NZ for emacs-devel@gnu.org; Tue, 07 Sep 2021 13:05:34 -0400 Original-Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:33738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNeXM-0002O6-Fb for emacs-devel@gnu.org; Tue, 07 Sep 2021 13:05:34 -0400 Original-Received: by mail-pl1-x633.google.com with SMTP id k17so6245904pls.0 for ; Tue, 07 Sep 2021 10:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=jLgE68VNjPdpOJryIFKVJmMfy9zIRcXB5NAaBW3FrCc=; b=NFatiK16M8ncOD+KqTEjmIHg4rpJnLEzZvK7ARe8R8cM83RwYJlslZbvM5TuVZvc47 tJrfrP4ES8UZ6HptjGeWeSz80KtixKFU7oSpEINNTIeG2uyEjBHuenLc5HG2LIHyZuFU Cofnl2DNtsS3riS3t7+dNQBO6eb3yW5kx+qjXZf9qEBjhXU4v6wzPlSocWek2m3Wh7y2 5NDV4nlmTZmmd0wOBklkc1fW3XvZHTv71Ogc8hllup/SHXS9WXu5BkqL/FRCZ2qFaqaS oShDNVeXiCHuj5AKktKq1lUUEAqsKEHJSZ5sCz2j/ElgyUpE1xjYGflyFE70d4pY7YVP r0sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=jLgE68VNjPdpOJryIFKVJmMfy9zIRcXB5NAaBW3FrCc=; b=TKChNvo9j2iVNDgIPySCHnWq6NHtgBlil5HsofuCtiQxPbJiqew/NG3pnVIHk+T7Bb b4n2Iu9xd8CligNYn7eAVyyVAGsUh6bcrX4yN9vXBueraWXsOTmMTIdOkB5DbalmyGTh IluOScHCMo/Lg/MCyMzYRmcakpgf5tn+81TRZEKFnZQ1PijOaom2PZnZyBb2LWVBqrz2 td/aOk7cUQsZNGRkRO+snd7qyQiBW6nFJ31GKElJAXYqzGJoZNUPDCe03oiLDm255euM MUyjBuRPtSzyQgNmksOUZs/ABaNymXsRvL1PCKI5TppsEjpr1WW78OY2fQZz7wKB4o/v sdGQ== X-Gm-Message-State: AOAM5339bKd3qI5zBlTNuH0xRSWr+O7bMNHusMXunHnEtQ+d5QjVC8Ci mwYm/8NDVOJPuKAfuZpMI2WzbdoAaQA= X-Google-Smtp-Source: ABdhPJy6s6mtkywwg+35dulx4I0kujizlXtNiNgKRvxVvcCL+lVX6sGnijKDJ8KCX0giIBSAb6cAdw== X-Received: by 2002:a17:90a:b785:: with SMTP id m5mr5646489pjr.213.1631034330131; Tue, 07 Sep 2021 10:05:30 -0700 (PDT) Original-Received: from tim-desktop (106-69-96-223.dyn.iinet.net.au. [106.69.96.223]) by smtp.gmail.com with ESMTPSA id t15sm14293708pgi.80.2021.09.07.10.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Sep 2021 10:05:29 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x633.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: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274269 Archived-At: Arthur Miller writes: > Tim Cross writes: > >> Arthur Miller writes: >> >>> Tim Cross writes: >>> >>>> tomas@tuxteam.de writes: >>>> >>>>> As a small nit: why JSON and not S-expressions? We're lispies, after >>>>> all ;-) >>>>> >>>> >>>> Only because from a web perspective, middleware to process body contents >>>> consisting of JSON are plentiful, while libraries for s-expressions are >>>> not. >>> >>> But you would be processing them in Emacs which is very good at processing both >>> text and s-expressions? :) >> >> Why would you be processing them in Emacs? If you had a web service, the >> last thing you would have is Emacs sitting behind the web server. You >> would use something better suited which would process the data from the >> POST request which then stores the data in some format. You might have >> Emacs be able to query that data to get reports. > > Just save a byte stream, and then process in Emacs? But why? There are loads of libraries which can do all the necessary processing and storage of results that would be almost trivial to assemble and the data would be processed as soon as it arrives - all done without need for human intervention. Putting emacs into the mix would only complicate the processes and make it a more manual process. A boring task best left to machines I think. All we are really interested in is the aggregate data, not each submission.