Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #111252

Re: Quick poll: gmean or geometric_mean

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Random832 <random832@fastmail.com>
Newsgroups comp.lang.python
Subject Re: Quick poll: gmean or geometric_mean
Date Sun, 10 Jul 2016 12:08:17 -0400
Lines 9
Message-ID <mailman.169.1468166906.2295.python-list@python.org> (permalink)
References <57808af6$0$1602$c3e8da3$5496439d@news.astraweb.com> <bc4c3c65-97ba-4c73-86d8-a013ff76f030@googlegroups.com> <57820c7a$0$1617$c3e8da3$5496439d@news.astraweb.com> <CAGgTfkM_ts1ghL=JtmV5Pa85T_8MTveL1vm5d2jg9Kv+SiYE+g@mail.gmail.com> <mailman.163.1468142670.2295.python-list@python.org> <57821eaa$0$1584$c3e8da3$5496439d@news.astraweb.com> <1014e463-20b0-446f-96f6-c142587f4b82@googlegroups.com> <CALwzidkzMuvsK+CQQ98xgwPYSAotRwcyL3CM_ckqWoWaGwwKpQ@mail.gmail.com> <1468166897.4099652.662046337.7898C4E9@webmail.messagingengine.com>
Mime-Version 1.0
Content-Type text/plain
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de I/OBaQiIOJFThswMsbr9zA3A+PBKzQNB9oEMH7HXsv5A==
Return-Path <random832@fastmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.036
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'received:internal': 0.09; '"g"': 0.16; 'contexts,': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; "shouldn't": 0.18; 'defined': 0.23; 'bit': 0.23; 'header:In-Reply-To:1': 0.24; 'fine': 0.28; "i'm": 0.30; 'code': 0.30; 'clear': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'associated': 0.38; 'received:66': 0.38; 'to:addr:python.org': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'physics': 0.66; 'strategy': 0.69; 'jul': 0.72; 'presumably': 0.84; 'subject:Quick': 0.84; 'subject:skip:g 10': 0.91
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=TGzwmdE9MjagEmYMp1weqwAfK2w=; b=JJJREP QPoPw9T8unSywyE6xsVQoKjGbWr61y60wDB5/vWAPhB29YYPxkc4mrNIWPCk+G9I 8ooehDUiSXbMbAQHL8BNspBFBVT3ca9Qf1qzo3jKpOQKhsklsHxhWD+enJ7NDcWL HvGefEDEKIenqKBW03diONQJgF3pIJfBYXLtg=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=TGzwmdE9MjagEmY Mp1weqwAfK2w=; b=qxVg3gLcsynYJzGsMrpaQkr3BY92TwBScLvhJunyKWFtzQt hqT4tRU1jHtdszxZvKmraute4o+3gMXVPLXvRQcqt9VM98BANQe8raywSaWydnMT P3x0XpaAva87118oe8vAW09geRm3kuQVICcXn3bWJwJcpojU8jWS48IUmuuA=
X-Sasl-Enc GqOaO3z1UzvIdGQJU4e9g/hObkooX7JaOU3totpuEGZh 1468166897
X-Mailer MessagingEngine.com Webmail Interface - ajax-22cd3445
In-Reply-To <CALwzidkzMuvsK+CQQ98xgwPYSAotRwcyL3CM_ckqWoWaGwwKpQ@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <1468166897.4099652.662046337.7898C4E9@webmail.messagingengine.com>
X-Mailman-Original-References <57808af6$0$1602$c3e8da3$5496439d@news.astraweb.com> <bc4c3c65-97ba-4c73-86d8-a013ff76f030@googlegroups.com> <57820c7a$0$1617$c3e8da3$5496439d@news.astraweb.com> <CAGgTfkM_ts1ghL=JtmV5Pa85T_8MTveL1vm5d2jg9Kv+SiYE+g@mail.gmail.com> <mailman.163.1468142670.2295.python-list@python.org> <57821eaa$0$1584$c3e8da3$5496439d@news.astraweb.com> <1014e463-20b0-446f-96f6-c142587f4b82@googlegroups.com> <CALwzidkzMuvsK+CQQ98xgwPYSAotRwcyL3CM_ckqWoWaGwwKpQ@mail.gmail.com>
Xref csiph.com comp.lang.python:111252

Show key headers only | View raw


On Sun, Jul 10, 2016, at 10:55, Ian Kelly wrote:
> force_N = -G * mass1_kg * mass2_kg / distance_m ** 2
> 
> I'm fine with "G" as is because it's the standard name for the value
> in physics contexts, and it's presumably defined in the code as a
> constant. It's every bit as clear as "pi".

Shouldn't it be G_N_m2_per_kg2, given your strategy for identifying the
units associated with the other variables?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Quick poll: gmean or geometric_mean Steven D'Aprano <steve@pearwood.info> - 2016-07-09 15:26 +1000
  Re: Quick poll: gmean or geometric_mean Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-09 08:43 +0300
  Re: Quick poll: gmean or geometric_mean Random832 <random832@fastmail.com> - 2016-07-09 01:49 -0400
  Re: Quick poll: gmean or geometric_mean Ethan Furman <ethan@stoneleaf.us> - 2016-07-08 23:27 -0700
  Re: Quick poll: gmean or geometric_mean Peter Otten <__peter__@web.de> - 2016-07-09 11:04 +0200
    Re: Quick poll: gmean or geometric_mean Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 15:13 -0700
      Re: Quick poll: gmean or geometric_mean Chris Angelico <rosuav@gmail.com> - 2016-07-13 08:17 +1000
  Re: Quick poll: gmean or geometric_mean Stefan Behnel <stefan_ml@behnel.de> - 2016-07-09 12:23 +0200
  Re: Quick poll: gmean or geometric_mean Ethan Furman <ethan@stoneleaf.us> - 2016-07-09 06:51 -0700
  Re: Quick poll: gmean or geometric_mean Jason Friedman <jsf80238@gmail.com> - 2016-07-09 08:16 -0600
  Re: Quick poll: gmean or geometric_mean Michael Selik <michael.selik@gmail.com> - 2016-07-09 16:13 +0000
  Re: Quick poll: gmean or geometric_mean Robert Kern <robert.kern@gmail.com> - 2016-07-09 17:53 +0100
  Re: Quick poll: gmean or geometric_mean Michael Selik <michael.selik@gmail.com> - 2016-07-09 18:31 +0000
  Re: Quick poll: gmean or geometric_mean Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-09 17:39 -0400
  Re: Quick poll: gmean or geometric_mean Chris Angelico <rosuav@gmail.com> - 2016-07-10 07:45 +1000
  Re: Quick poll: gmean or geometric_mean Rustom Mody <rustompmody@gmail.com> - 2016-07-10 00:28 -0700
    Re: Quick poll: gmean or geometric_mean Steven D'Aprano <steve@pearwood.info> - 2016-07-10 18:51 +1000
      Re: Quick poll: gmean or geometric_mean Michael Selik <michael.selik@gmail.com> - 2016-07-10 09:24 +0000
        Re: Quick poll: gmean or geometric_mean Steven D'Aprano <steve@pearwood.info> - 2016-07-10 20:08 +1000
          Re: Quick poll: gmean or geometric_mean Chris Angelico <rosuav@gmail.com> - 2016-07-10 21:07 +1000
          Re: Quick poll: gmean or geometric_mean Rustom Mody <rustompmody@gmail.com> - 2016-07-10 07:29 -0700
            Re: Quick poll: gmean or geometric_mean Rustom Mody <rustompmody@gmail.com> - 2016-07-10 07:44 -0700
            Re: Quick poll: gmean or geometric_mean Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 08:55 -0600
              Re: Quick poll: gmean or geometric_mean Marko Rauhamaa <marko@pacujo.net> - 2016-07-10 18:03 +0300
                Re: Quick poll: gmean or geometric_mean Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 11:15 -0600
                Re: Quick poll: gmean or geometric_mean Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 15:17 -0700
                Re: Quick poll: gmean or geometric_mean alister <alister.ware@ntlworld.com> - 2016-07-12 22:57 +0000
                Re: Quick poll: gmean or geometric_mean Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 18:42 -0700
                Re: Quick poll: gmean or geometric_mean Gene Heskett <gheskett@shentel.net> - 2016-07-12 21:58 -0400
                Re: Quick poll: gmean or geometric_mean alister <alister.ware@ntlworld.com> - 2016-07-13 13:03 +0000
                Re: Quick poll: gmean or geometric_mean Steven D'Aprano <steve@pearwood.info> - 2016-07-13 12:25 +1000
                Re: Quick poll: gmean or geometric_mean Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-10 19:21 -0400
            Re: Quick poll: gmean or geometric_mean Random832 <random832@fastmail.com> - 2016-07-10 12:08 -0400
            Re: Quick poll: gmean or geometric_mean Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 15:19 -0700
          Re: Quick poll: gmean or geometric_mean Michael Selik <michael.selik@gmail.com> - 2016-07-10 15:43 +0000
  Re: Quick poll: gmean or geometric_mean Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 01:28 -0600
    Re: Quick poll: gmean or geometric_mean Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-10 11:01 +0300
      Re: Quick poll: gmean or geometric_mean Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 09:04 -0600

csiph-web