From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: TEC Newsgroups: gmane.emacs.devel Subject: Re: "modern" colors Re: Changes for emacs 28 Date: Sun, 13 Sep 2020 02:27:19 +0800 Message-ID: <87lfhej1fc.fsf@gmail.com> References: <20200909165723.kdnwicwvplmezusr@Ergus> <20200910102000.2t6tsju745xutg7u@Ergus> <20200910110832.ko66gqnqo4l664d6@Ergus> <20200911134225.zhnlq7cdhmu2iraj@Ergus> <20200911221435.go7b5kz2zcvxp2ft@Ergus> <20200912153723.ymnq3i5pugqf7lsy@Ergus> <87r1r6j488.fsf@gmail.com> <87o8maj1kh.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="21144"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: ghe@sdf.org, Ergus , casouri@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 12 20:28:57 2020 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 1kHAGe-0005Of-Uy for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Sep 2020 20:28:56 +0200 Original-Received: from localhost ([::1]:38414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHAGd-0004Hi-RO for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Sep 2020 14:28:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHAFD-0003mx-Uu for emacs-devel@gnu.org; Sat, 12 Sep 2020 14:27:27 -0400 Original-Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:38011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHAFB-0006AI-Ui; Sat, 12 Sep 2020 14:27:27 -0400 Original-Received: by mail-pf1-x42d.google.com with SMTP id l126so9484003pfd.5; Sat, 12 Sep 2020 11:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=pS4BkeG7Ac80MRGfF6cUBSBblep2JwK4jby1kGKv6+Y=; b=nGpZSb2zDR9k0Z10qKnOoER7YBbEFw6BBX27X5xQsJCT9BiiTB9JuL48Tf839jGAT+ ZHWGUqGPsyYp8Qp+drcnCa/BeyKxeeR1uEloh1wdR99qf6oh7aPpiFKiC5JBOtcD7e1G i1UuegmX/IKoQWb0fzabKz0IPMSdY/1gZPmezxvc/WjdRb3Gf7kxD5XqIjCHTA5YH383 zSysKMP3P1rjK5dkSyPSY5s8W8WdL9sypjYbTsdTyDwN5CJIMXjO2GHiVNpyz0bNYsHx cr3OyM/kABWHsJuxF7XaP1pBuBcKg2FW6Md3NJKfLuOXryeZsbciyQHwPVAmCC8pAFl+ MWMA== 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 :in-reply-to:message-id:date:mime-version; bh=pS4BkeG7Ac80MRGfF6cUBSBblep2JwK4jby1kGKv6+Y=; b=bqtf2yJxVmERP/ap+KZL79X98d4nCrHilAMnv7asVMwpz9ztZrYApp4fBUopEFK7S4 Hl0BowDVT5e7Zr0H/Qg0qSdUqukzU3TghqM2gU2NjP0bShH7eWa2VMdY0JBjQWnA+bTP d/FnJi+fQXHyto+lAfjj+lYk6kxOdNr09XKicSY/QumVmL1+reMNlIub9rUfgngIih3p XswXzndw0DpkziK03yLH9hFEtVJSMpmTd4nLnw9UOgV04pO8jwCAxk7dWSK/DZ3KyX0O nfqpFyrRtqmpXfxNHyHoefY+uBRGuyCESiaGdJ7PGFmpfj8N1oXJ+zHY0howt1Qt+gAU UaGg== X-Gm-Message-State: AOAM530itsDEwrReqevtHChqmAO+tOOuAabE+Oje7HBEx3w6imNzJC8I Rl/gOOoOotDo+w+RpN9eaVWnpoUbxb/kMg== X-Google-Smtp-Source: ABdhPJziuWFskwS5yIqWWqAvl3rJPzUQFA22MvLXKMcil9Cx1X6H0japN8ItM6a51iNpU7TJj2aFKw== X-Received: by 2002:a63:2d86:: with SMTP id t128mr5564414pgt.231.1599935243094; Sat, 12 Sep 2020 11:27:23 -0700 (PDT) Original-Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id c1sm5706577pfi.136.2020.09.12.11.27.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Sep 2020 11:27:22 -0700 (PDT) In-reply-to: <87o8maj1kh.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=tecosaur@gmail.com; helo=mail-pf1-x42d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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:255397 Archived-At: Forgot to mention: "Popularity" comes from the 2019 stack overflow survey. TEC writes: > Hopefully this is in line with what you're looking for: > > > I did some basic analysis with R (the language is a pain, but it's well > suited for quick stuff like this). > > * Basic editor theme comparison > > #+NAME: editor-themes > | Editor | Popularity | Year | DarkDefault | Bluey | Line Numbers | StatusBarMatchBackground | > |----------+------------+------+-------------+-------+--------------+--------------------------| > | vscode | 0.51 | 2015 | 1 | 1 | 1 | 0 | > | vs | 0.32 | 1997 | 1 | 1 | 1 | 0 | > | npp | 0.24 | 2003 | 0 | 0 | 1 | 1 | > | intellij | 0.24 | 2001 | 1 | 0 | 1 | 1 | > | vim | 0.24 | 1991 | 1 | 0 | 0 | 1 | > | sublime | 0.23 | 2008 | 1 | 1 | 1 | 1 | > | eclipse | 0.14 | 2001 | 0 | 1 | 1 | 1 | > | pycharm | 0.13 | 2014 | 1 | 1 | 1 | 1 | > | atom | 0.13 | 2015 | 1 | 1 | 1 | 1 | > | brackets | 0 | 2014 | 0 | 1 | 1 | 1 | > > #+BEGIN_SRC R :var editors=editor-themes > library(orgutils) > editors$Popularity <- editors$Popularity / sum(editors$Popularity) > editors$Age <- (editors$Year - min(editors$Year)) / diff(range(editors$Year)) > editors$Age <- editors$Age / sum(editors$Age) > dim(editors) > #+END_SRC > > #+RESULTS: > | 10 | > | 8 | > > #+BEGIN_SRC R :results output raw > means <- colMeans(editors[,4:7]) > popularityWeighted <- as.data.frame(round(colSums(editors[,4:7] * editors$Popularity), 2)) > ageWeighted <- as.data.frame(round(colSums(editors[,4:7] * editors$Age), 2)) > weightedValues <- cbind(means, popularityWeighted, ageWeighted) > colnames(weightedValues) <- c("mean", "popularity weighted", "age weighted") > toOrg(weightedValues) > #+END_SRC > > #+RESULTS: > | row.names | mean | popularity weighted | age weighted | > |--------------------------+------+---------------------+--------------| > | DarkDefault | 0.7 | 0.83 | 0.7 | > | Bluey | 0.7 | 0.67 | 0.85 | > | Line.Numbers | 0.9 | 0.89 | 1 | > | StatusBarMatchBackground | 0.8 | 0.62 | 0.8 | > > Hopefully this is of some interest :) > > Timothy