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


Groups > linux.debian.user > #237218

Re: Offensive variable names [was: Cool down ...]

From "Andrew M.A. Cater" <amacater@einval.com>
Newsgroups linux.debian.user
Subject Re: Offensive variable names [was: Cool down ...]
Date 2021-07-11 22:20 +0200
Message-ID <CzO5H-2Ac-9@gated-at.bofh.it> (permalink)
References <CzMGC-1BL-5@gated-at.bofh.it> <CzNW2-2x5-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Jul 11, 2021 at 10:05:39PM +0200, Thomas Schmitt wrote:
> Hi,
> 
> Brian wrote:
> > Variable change? A link from either of you, please.
> 
> After googling "offensive variable name" i got to:
> 
>   "Fix use of offensive word in kafka receiver factory_test"
>   https://github.com/open-telemetry/opentelemetry-collector/issues/2286
> 
> which led to
> 
>   "changed variable name in kafka receiver"
>   https://github.com/open-telemetry/opentelemetry-collector/pull/2288/files/c16ff3d61ac966534590585477934eddaeb6b129
> 
> 
> Above Github issue indicates that there are blacklists maintained:
> 
>   "Automated security scanners flag the use of this variable name as
>    a potentially offensive word"
> 
> But of course the use of a blacklist is a problem too:
> 
>   https://en.wikipedia.org/wiki/Blacklist_%28computing%29#Controversy_over_use_of_the_term
>   https://www.theregister.com/2019/09/03/chromium_microsoft_offensive/
> 

I've found deny_list and allow_list or similar to be quite useful.
Everything can go too far but actually sometimes things do end
up being more clear.

> 
> Whatever, the use of controversial words in publicly visible code is not
> an indication of a professional attitude. Overdoing juvenile enthusiasm
> for provocation might lead to a result like with the "weboob" package which
> got removed from Debian
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907199
> 
> 
> Have a nice day :)
> 

You too

Andy Cater
> Thomas
> 

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Buster no release file kris <kris@dreamwaresystems.com> - 2021-07-11 00:30 +0200
  Re: Buster no release file Greg Wooledge <greg@wooledge.org> - 2021-07-11 00:50 +0200
    Re: Buster no release file Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-07-11 02:20 +0200
    Re: Buster no release file rhkramer@gmail.com - 2021-07-11 03:30 +0200
      Re: Buster no release file Greg Wooledge <greg@wooledge.org> - 2021-07-11 03:50 +0200
        Re: Buster no release file Tixy <tixy@yxit.co.uk> - 2021-07-11 09:40 +0200
    Re: Buster no release file mick crane <mick.crane@gmail.com> - 2021-07-11 11:20 +0200
      Cool down... [was: Buster no release file] <tomas@tuxteam.de> - 2021-07-11 13:10 +0200
        Re: Cool down... [was: Buster no release file] <tomas@tuxteam.de> - 2021-07-11 14:40 +0200
          Re: Cool down... [was: Buster no release file] Gene Heskett <gheskett@shentel.net> - 2021-07-11 18:40 +0200
            Re: Cool down... [was: Buster no release file] <tomas@tuxteam.de> - 2021-07-11 20:30 +0200
              Re: Cool down... [was: Buster no release file] Brian <ad44@cityscape.co.uk> - 2021-07-11 20:50 +0200
                Re: Cool down... [was: Buster no release file] <tomas@tuxteam.de> - 2021-07-11 21:20 +0200
                Re: Offensive variable names [was: Cool down ...] "Thomas Schmitt" <scdbackup@gmx.net> - 2021-07-11 22:10 +0200
                Re: Offensive variable names [was: Cool down ...] "Andrew M.A. Cater" <amacater@einval.com> - 2021-07-11 22:20 +0200
                Re: Offensive variable names [was: Cool down ...] ghe2001 <ghe2001@protonmail.com> - 2021-07-11 22:30 +0200
                Re: Offensive variable names [was: Cool down ...] <tomas@tuxteam.de> - 2021-07-11 22:40 +0200
                Re: Offensive variable names [was: Cool down ...] jeremy ardley <jeremy@ardley.org> - 2021-07-11 23:10 +0200
                Re: Offensive variable names [was: Cool down ...] <tomas@tuxteam.de> - 2021-07-12 09:50 +0200
                Re: Offensive variable names [was: Cool down ...] Brian Thompson <brian@hashvault.io> - 2021-07-13 05:20 +0200
                Re: Offensive variable names [was: Cool down ...] Steve McIntyre <steve@einval.com> - 2021-07-14 00:50 +0200
                Re: Offensive variable names [was: Cool down ...] <tomas@tuxteam.de> - 2021-07-14 09:00 +0200
                Re: Offensive variable names [was: Cool down ...] Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-07-11 23:00 +0200
                Re: Offensive variable names [was: Cool down ...] <tomas@tuxteam.de> - 2021-07-12 09:50 +0200
                Re: Useless [Offensive variable names [was: Cool down ...]] Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-07-12 10:20 +0200
                Re: Useless [Offensive variable names [was: Cool down ...]] tomas@tuxteam.de - 2021-07-12 10:30 +0200
                Re: Useless [Offensive variable names [was: Cool down ...]] rhkramer@gmail.com - 2021-07-12 13:00 +0200
                Re: Useless [Offensive variable names [was: Cool down ...]] Reco <recoverym4n@enotuniq.net> - 2021-07-12 13:00 +0200
                Writing angry comments inside code and forgetting that opensource  means world will read you [ was : Offensive variable names [was: Cool down  ...]] Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2021-07-12 10:20 +0200
                Re: Writing angry comments inside code and forgetting that opensource means world will read you "Thomas Schmitt" <scdbackup@gmx.net> - 2021-07-12 11:40 +0200
                Re: Writing angry comments inside code and forgetting that  opensource means world will read you Nicolas George <george@nsup.org> - 2021-07-12 12:00 +0200
                Re: Writing angry comments inside code and forgetting that  opensource means world will read you Joe <joe@jretrading.com> - 2021-07-12 13:20 +0200
                Re: Offensive variable names [was: Cool down ...] Alexandre Garreau <galex-713@galex-713.eu> - 2021-07-12 17:20 +0200
                Re: Offensive variable names [was: Cool down ...] Brian Thompson <brian@hashvault.io> - 2021-07-13 05:30 +0200
                Re: Offensive variable names [was: Cool down ...] Curt <curty@free.fr> - 2021-07-12 15:40 +0200
                Re: Offensive variable names [was: Cool down ...] "Kevin N." <kevin@notscheduled.eu> - 2021-07-12 16:50 +0200
                Re: Offensive variable names [was: Cool down ...] Peter Ehlert <peter@sdi-baja.com> - 2021-07-12 17:50 +0200
                Re: Offensive variable names "Thomas Schmitt" <scdbackup@gmx.net> - 2021-07-12 19:30 +0200
                Re: Offensive variable names [was: Cool down ...] Curt <curty@free.fr> - 2021-07-12 18:50 +0200
                Re: Offensive variable names [was: Cool down ...] "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2021-07-12 19:00 +0200
                Re: Offensive variable names [was: Cool down ...] Gene Heskett <gheskett@shentel.net> - 2021-07-12 23:30 +0200
                Re: Offensive variable names [was: Cool down ...] "Kevin N." <kevin@notscheduled.eu> - 2021-07-12 19:10 +0200
                Re: Offensive variable names [was: Cool down ...] Brian Thompson <brian@hashvault.io> - 2021-07-12 19:30 +0200
                Re: Offensive variable names [was: Cool down ...] Stefan Monnier <monnier@iro.umontreal.ca> - 2021-07-12 20:10 +0200
      Re: Buster no release file "Andrew M.A. Cater" <amacater@einval.com> - 2021-07-11 13:40 +0200
    Re: Buster no release file Greg Wooledge <greg@wooledge.org> - 2021-07-11 20:10 +0200
      Re: Buster no release file Brian <ad44@cityscape.co.uk> - 2021-07-11 20:20 +0200
        Re: Buster no release file Stefan Monnier <monnier@iro.umontreal.ca> - 2021-07-11 21:00 +0200
          Re: Buster no release file <tomas@tuxteam.de> - 2021-07-11 21:10 +0200
            Re: Buster no release file Brian <ad44@cityscape.co.uk> - 2021-07-12 18:00 +0200
    Re: Buster no release file Brian <ad44@cityscape.co.uk> - 2021-07-11 20:10 +0200
    Re: Buster no release file Andrei POPESCU <andreimpopescu@gmail.com> - 2021-07-12 10:20 +0200
      Re: Buster no release file Curt <curty@free.fr> - 2021-07-12 12:00 +0200
        Re: Buster no release file Brian <ad44@cityscape.co.uk> - 2021-07-12 13:10 +0200
    Wiki Debian "Release page" should have template (Was Re: Buster no  release file) Robbi Nespu <robbinespu@gmail.com> - 2021-07-20 17:40 +0200
      Re: Wiki Debian "Release page" should have template (Was Re: Buster  no release file) Robbi Nespu <robbinespu@gmail.com> - 2021-07-20 18:10 +0200

csiph-web