ProgrammerHumor

fakeNewsInMyCodebase

fakeNewsInMyCodebase

I have this method that populates a list with dummy tile data (it's a texture packing tool I'm working on, so there needs to be a list of possible tile locations based on the tile sheet and tile sizes) so that the user can iterate over the possible positions and then set up each position with data, but when I was adding comments, I got this lol

https://i.redd.it/cwp0ktaq7bef1.png
Reddit

Discussion

Praetor64

cancel culture coming for comments

1 day ago
ExtraTNT
:js:

Shit, my comments are fucked up…

1 day ago
Hola-World
:j:

Half of my comments were inside thoughts that leaked through my fingertips.

1 day ago
ComprehensiveWord201

... But.... All of your thoughts are inside thoughts...

21 hours ago
MyUsrNameWasTaken

They already came for our branch names

1 day ago
mincinashu

Don't forget black/white lists. They're now allow/ban lists.

1 day ago
drivingagermanwhip

Suspiciously soon after there were all those protests about Github's ICE contract.

I use master as my master branch cause it was transparent as fuck.

1 day ago
brucecaboose

Master isn’t transparent at all lol I remember like 2 decades ago when I was going through my CS degree and even at the time professors were like “yeah it’s always been called master but it doesn’t make much sense.” I had a professor that always used “trunk” as whatever the “base” branch was, because you’d “branch off from the trunk”. Also had some that thought “main” or “primary” or even “stable” was better. “Master” only stuck around because it was the norm, not because it’s transparent or made sense.

18 hours ago
drivingagermanwhip

I was saying it was extremely transparent they were only making a deal of it because they'd only been in the news for working with ICE and wanted to look like good guys

18 hours ago
gem_hoarder

The dude that wrote git is Swedish, not really known for their slavery practices. “Master” is used quite often in the context of a “master copy”, which is still used in the music industry).

“Trunk” is not a bad name either, and neither is “main” (a change I was behind), but your teacher’s lack of knowledge doesn’t mean anything here.

1 hour ago
grumpy_autist

// all child processes are over 18 yo and legally allowed to work in the availability region

1 day ago
turtle_mekb
:js::bash::c::cs:

child processes grow into adult processes

4 hours ago
Ok-Scheme-913

insert Australian page with n-word image names

1 day ago
AngusAlThor

Me: "There's no problematic language in programming, this is stupid."

Also me: "Ok, so for efficiency I'll slave all the workers to a master and get the master to kill them if they get disabled, then it can make a new child worker to replace them."

1 day ago
The_Angry_Clown

Also remember you can kill the disabled child worker's parents if they're on the blacklist.

1 day ago
AngusAlThor

Oh, we just got a request from someone who isn't white. Don't worry, I'll throttle them.

1 day ago
Quoth_The_Revan

Typically you just ignore requests from anyone who isn't white(listed)

23 hours ago
eztab

Yea, that's much better for security. Use whitelists over blacklists wherever possible.

6 hours ago
lego_not_legos

All children have been aborted.

1 day ago
KingSacBangBang

But then the orphan will become a zombie when it dies

1 day ago
eztab

Of course, you don't want any hanging relationships. Death must cascade through the family tree.

6 hours ago
lounik84

I once had a similar conversation on the bus with a colleague of mine. I remember there was a lady next to us that at some point stood up, gave us a weird look and went sitting at the far opposite side of the bus

1 day ago
Dealiner
:cs:

I mean, there's nothing problematic in this in context.

1 day ago
NimrodvanHall

Reminds me of GitHubs copilot crashing when you asked it how to kill a user on a Linux system.

1 day ago
femptocrisis

last time i tried to post something like this (but half as bad lol) it got taken down by the auto mod. it was this same subreddit smh.

7 hours ago
Amazing_Mycologist75

imagine being tone policed by your ide

1 day ago
MayoJam
:cp:

Master branch? Believe it or not, straight to jail.

1 day ago
PsychicDave
:p::cp::j:

I guess people can no longer go beyond a bachelor's degree anymore. Or lead a dojo. Or create media to be distributed.

I get it when the context is master/slave, switch to primary/secondary. But the word "master" can also be used without any slaves attached, like mastering a skill, or a master from which all copies are made (hence remastering when you make an improved master). So yeah, for redundant services or IDE drives, not good, but for the master branch, it's ridiculous.

23 hours ago
Proper-Ape

You do you but I like keeping my slave branches around for doing the real work. The master only gets the results of the work.

16 hours ago
powerhcm8

I can't even say that I am dummy thicc anymore smh.

1 day ago
nobody0163
:c::cp::cs::py::ts::asm:

Please tell me this is fake and Jetbrains IDEs don't do this.

1 day ago
TrashBoatSenior OP

Unfortunately it's real. I use Rider

1 day ago
transcendtient

WTF are you supposed to use? How is dummy ableist?

1 day ago
Twistytexan
:cs::ts::dart:

The suggestion is to replace it with “fake”. You can actually disable the suggestion. But it’s a little xtra to have it on by default

1 day ago
BananaHead853147

But if we use fake then how will that make phony people feel??

1 day ago
TrashBoatSenior OP

Great point

1 day ago
Mtsukino
:cs:

I'm sure politicians won't be reading OP's code.

1 day ago
transcendtient

Yes but why are we creating this environment of defensive naming conventions for (in this case) things nobody is offended by?

1 day ago
nevergirls

I’m offended (I’m a huge dummy)

1 day ago
gem_hoarder

Consider replacing the word “huge”?

1 hour ago
MayoJam
:cp:

I see a word thread and i am offended (i lack the ability to sew my clothes).

1 day ago
allaroundfun

Aren't dummy variables common usage in Boolean conditions in statistics and econometrics?

1 day ago
BenniJesus

absolutely, this linter rule was written by someone who doesn't know programming very well I think

1 day ago
DerKurbistaner

There's also a big list of categories that it will spell check. Somewhere in there you can turn off the checks for words that might be considered offensive or stuff like that.

1 day ago
Dependent_Lead5731

Excuse me. Please use "differently-able the suggestion" instead of d*sable.

1 day ago
deanrihpee
:cp::cs::gd::rust::ts::unity:

why tf is it on by default...?

1 day ago
patoezequiel

You can name your mocks with things like "retarData" to show the IDE who's in charge

1 day ago
TrashBoatSenior OP

New naming convention unlocked

1 day ago
Unupgradable
:cs::ts:

sCuntThorpe problem

1 day ago
lego_not_legos

Dummy is related to the word dumb, in the literal sense of unable to talk. It's still used as an insult, so is associated with ridicule of disabilities.

Dummy meaning fake probably originated from dummies being mannequins, i.e. fake people that can't talk. I doubt it was ever to insult mute people.

1 day ago
lounik84

Yeah, the problem is that there are so many words with the word "dumb" in it that has nothing to do with people... what about dumb-bells? Or, heavens forbid, dumbwaiters? Can you imagine meeting your friend in a public place and claim loudly that you have a dumbwaiter in your house? What kind of monster are you???

1 day ago
lego_not_legos

Aye. This tool is overzealous.

1 day ago
Nick0Taylor0
:j::cs::ts::re::bash:

Dummy used to be an insult for people who could not speak. But hey it's only been used in the sense to mean "fake" since the mid 19TH CENTURY, 175(ish) years is clearly not enough time for the meaning of a word to change.

16 hours ago
danted002

Don’t worry, you can disable it. The problem is that you need to ask chatGPT because it’s nested under so many menus and submenus in Settings that you need an archeologist to find it.

1 day ago
nobody0163
:c::cp::cs::py::ts::asm:

I use some Jetbrains IDEs, I just have never seen this. Makes sense considering they do other weird things like spellchecking your code by default.

1 day ago
fuj1n
:cs:

Eh, I like the spellchecking it does

1 day ago
Puzzleheaded-Weird66

WHAT, that seems so dumb...

1 day ago
SagansCandle
:cs::c::cp::js::asm::j:

Consider replacing the possibly ableist word "dumb"

1 day ago
JuiceKilledJFK

Is there any way to turn this retarded shit off in Rider?

1 day ago
Strowy

I use Rider as well and don't have any of this or settings related to it. Is it a new feature or something?

1 day ago
destinynftbro

Change your language to English but some other locality? Might be a specific regional heuristic? I have a hard time believing that they include the same messages in Polish or Japanese.

1 day ago
derpium1

time to move to neovim

10 hours ago
powerhcm8

This comes from the plugin Grazie, which comes bundled with any Jetbrains IDE, but Grazie itself use LanguageTool which is a 3rd party tool. Grazie is probably only doing integration and controlling which contexts proofreading should be applied.

1 day ago
anonymity_is_bliss

I get similar warnings in nvim through a linter which refers to the RedHat Supplementary Style Guide. It's probably coming from there

1 day ago
Beli_Mawrr

Can you find a way to get VS Code to have this? I need this rule in my eslint. For reasons.

1 day ago
Unupgradable
:cs::ts:

First they came for master, and I did not speak out, because I was not a master.

Then they came for blacklists, and I did not speak out, because I was not a blacklist.

Then they came for dummy, and there was no one left to speak for me

1 day ago
JSON_Juggler
:cs:

lol. Corporate mandate that all employees must install this extension.

1 day ago
blood_vein

I believe it's base jetbrains IDE

1 day ago
JSON_Juggler
:cs:

Facepalm

1 day ago
blood_vein

It's an option you can disable. There are other examples "master/slave replication", "whitelist", "blacklist" etc

1 day ago
sebjapon

I replaced whitelist with AryanList for extra security. By opposition, the blacklist has become SchindlerList

1 day ago
neromonero

broooooo 💀💀💀

1 day ago
BlazingFire007
:ts::g:

What’s the alternative to whitelist and blacklist?

Allow and deny?

1 day ago
blood_vein

Yes

Allow/block

1 day ago
BlazingFire007
:ts::g:

Blacklist and whitelist don’t have racial origins from my research (google search). But honestly, I get it. It doesn’t sound right at all lol

Allow/block is also just more intuitive I guess, which is also nice

17 hours ago
Sweaty-Willingness27

inclusion/exclusion

Allow/block

admittance/rejection

18 hours ago
quinn50
:c: :cp: :j: :js: :ts: :py:

Allowlist denylist which honestly I prefer over white/blacklist

17 hours ago
gem_hoarder

Seen this argument made for it. It only works until someone adds the check to a pre-commit hook or runs the linter in a CI/CD pipeline.

1 hour ago
TrashBoatSenior OP

Yeah, I had to literally uncheck an "Abelist" box in the spell check opinions

1 day ago
KTVX94

Waiwaiwait, dummy has anything to do with disability? Wha

1 day ago
Uberfuzzy

“Dumb” was an older, not entirely derogatory, term for someone who would now be commonly known as “mute”, unable to speak, or if it’s a secondary effect “non-verbal”

It’s got a weird history if you enjoy reading about the change of words over time.

“That deaf dumb blind kid sure played a mean pinball”

1 day ago
KTVX94

Damn, I feel like some words are so far removed from their original meanings they should just get a pass.

1 day ago
cookaway_

It's hilarious how the Perpetually Offended will take a word at its worst point, "you can't say dumb, it was ableist then" and "you can't read that book that says negro, it's bad now"

21 hours ago
Diagonal-A

this feature is dumb fake

1 day ago
fearthelettuce

Why is every word capitalized?

1 day ago
SagansCandle
:cs::c::cp::js::asm::j:

While this strikes me as over-the-top, if we err, I prefer it this way: overly-compassionate.

I'm glad to see people are trying this hard.

Now remove it from the default settings please :)

1 day ago
burnalicious111

For real, I will take overly concerned but caring over not giving a shit about other people any day

1 day ago
damicapra
:js::py::j:

This is not a two-mode issue though

18 hours ago
InSearchOfTyrael

what does this have to do with compassion? It's just word policing to make busy bodies feel better about being useless.

Same if you called making society less degenerate in the 80s when some Karen decided to complain about seeing a boob in the sky

1 day ago
SagansCandle
:cs::c::cp::js::asm::j:

Some of us are fortunate enough to have lived a privileged life, where we fit in with the majority.

But if you're gay, and everyone around you says, "That's gay" when referring to something bad, it'd be hard to express yourself, to be who you are around them.

It can seem like "word policing" when you've never been the butt of a joke, but it really is important to make space for people to be who they are around you. To be happy.

1 day ago
BitShin

Saying “that’s gay” isn’t offensive because it contains the word gay, it’s offensive because using the word gay as a negative trait implies that you think being gay is negative. It’s not dissimilar to if I started saying “that’s so u/SagansCandle” about things that I don’t like. It’s not the mere fact that I’m using your username in a sentence, it’s the implication that I somehow dislike you so much that your name is synonymous with dislike.

1 day ago
SagansCandle
:cs::c::cp::js::asm::j:

Explained well - I think we're in agreement on this.

1 day ago
InSearchOfTyrael

I'm gay and I use "that's gay" all the time. Just as I use other slurs.

I find it way more offensive when someone tells me I cannot say something because they think it's bad. You don't get to decide what words others shouldn't use. If you don't like it, don't use it.

1 day ago
SagansCandle
:cs::c::cp::js::asm::j:

Just as I use other slurs.

Some people are fine throwing around slurs. You get to decide the person you want to be.

1 day ago
faultydesign

But I thought gay is not a slur.

1 day ago
Sweaty-Willingness27

The word itself is not, but "slur" just means something degrading or disparaging. So it's in how you use it.

18 hours ago
Sweaty-Willingness27

Words have power and meaning. They perpetuate stereotypes and influence others.

It's called empathy but [insert Joker meme here]

18 hours ago
Breadinator

All double-plus good, eh?

23 hours ago
fuj1n
:cs:

It is fine in the defaults, the problem with non-default settings is that people who would use them won't know they exist. It is very easy to turn off if you don't need it.

1 day ago
Jugales

Uh oh, I hope you don’t have a branch named master

1 day ago
Excellent_Tie_5604

Damn, it feels go to know that VS code doesn't do that shit .... yet 👀

(Yes I do java in vs code)

1 day ago
fuj1n
:cs:
  1. Eww, Java in VSC sounds like a nightmare
  2. You can disable the ableist check
1 day ago
deanrihpee
:cp::cs::gd::rust::ts::unity:

the fact that you say "you can" mean it's on by default, which kinda weird, why not opt in?

1 day ago
Reashu

Most features should be on by default so that users discover them. 

1 day ago
Devatator_
:cs:

Only the good ones tho

21 hours ago
gem_hoarder

Please no. I’m really not keen on having telemetry and god knows what privacy breaking “features” turned on by default, and I’m not keen on starting work on a Monday morning and fighting for 4 hours with all of the new features everyone added instead of getting to work.

There are better ways

1 hour ago
Reashu

Serious question: What better ways?

No one reads documentation, newsletters, blogs, or tips-of-the-day (or anything), and no one goes through settings unless something (like the appearance of a feature they dislike) prompts them to. 

45 minutes ago
gem_hoarder

Because all of them are surfaced at a time when the user is busy doing something else entirely.

CLI tools tend to manage this pretty well - show a one liner message about new updates, and a URL. The tool can be used as is for the foreseeable future, but you decide when to upgrade and if you want to read the updates it brings. Tools like CDK will also let you acknowledge breaking changes before moving on, or upcoming breaking changes, letting you adjust to them on your own time.

The principle of least surprise should still apply, as a base minimum.

31 minutes ago
ImmortanJoeMama

Well on by default means it's probably the most effective because of the nature of this issue... if it's opt-in, then only people who are already self-aware of problematic naming conventions would see it. So, not as effective and widespread as highlighting those conventions in the people who aren't even aware to begin with.

1 day ago
nobody0163
:c::cp::cs::py::ts::asm:

Naming conventions in code are not affecting the world.

1 day ago
ImmortanJoeMama

You're thinking about it backwards if that's the takeaway. It's not the the name conventions are affecting it so much as what they highlight as normative of greater things that do affect the world, and how steps can be taken to reflect on that.

But here's the cool thing... if they aren't affecting the world, then it wouldn't hurt to change them to more inclusive words anyway? Worst case, nothing is lost at all (if they aren't affecting anything as you say). Best case, the world becomes a better place. There's no downside, and it also gets people to reflect on themselves.

15 hours ago
Excellent_Tie_5604

Nah I don't give a rat ass to it, just doing it because it's in my course. As soon as I'm passed I won't be going back to it.

1 day ago
WilkerS1
:gs::cs::rust::rust::rust::rust::rust::rust::rust::rust::rust:

is this ragebait?

1 day ago
nickwcy

If “dummy” is ableist, can I still have my buttons “disabled”?

20 hours ago
gem_hoarder

Of course! That change is queued up for the HTML6 standard

1 hour ago
Double_Bowl_8340

Consider minding your own fucking business.

1 day ago
orbtl

Inb4 you can't use 'fake' either because that's truthist

1 day ago
TSCCYT2

is that a thing?

1 day ago
NimrodvanHall

Am I allowed to say that ableist is a horrible needlessly difficult intellectually elitist word?

1 day ago
Spill_the_Tea

the word you are looking for is `mock`

1 day ago
PsychicDave
:p::cp::j:

But mocking someone is also mean behaviour. Maybe placeholder? Stand-in? Mannequin?

23 hours ago
JackNotOLantern

Let's use a modern language

Data capDataFr

1 day ago
blu3bird

Is 'Mock' an ableist word?

1 day ago
patoezequiel

Please post the name of the IDE/plugin so we don't install it lol

1 day ago
fuj1n
:cs:

All Jetbrains IDEs have this enabled by default, you can of course turn it off.

1 day ago
Papierkorb2292
:kt::cs::j:

I have the newest IntelliJ version and it doesn't do this. I've searched for "offensive" in the spellcheck rules and the only appearance is the word "toilet", which it wants replaced with "restroom" or so.
It also tells you that this check isn't provided by Jetbrains, it comes from https://languagetool.org/, but I haven't been able to replicate the "dummy" thing on their site either.

1 day ago
gem_hoarder

You’ll want to search for “Ableist” in settings, the mod tested in the C# sub and it’s apparently part of one of the pre-bundled plugins

1 hour ago
Papierkorb2292
:kt::cs::j:

That doesn't show anything for me, I guess not all of their IDEs have this yet

1 hour ago
gem_hoarder

No idea, I don’t use them, just saw it on the C# sub. I think they mentioned Grazie Pro as the source

1 hour ago
Papierkorb2292
:kt::cs::j:

Ah, interesting, I only have Grazie Lite bundled

50 minutes ago
Ephemeral_Null

That warning is a dummy 

1 day ago
lilyeatssoup

but dummy data and fake data have like totally different connotations

1 day ago
LordAmir5
:c::cp::j:

The only dummy that'll read my code is me.

1 day ago
PsychicDave
:p::cp::j:

So car manufacturers can't use crash test dummies? Should they be called crash test mannequins?

23 hours ago
edave64
:js::ts::cs:

As a dummy, I am outraged!

21 hours ago
bllueace

Please tell me this is fake?

19 hours ago
Sweaty-Willingness27

Whole lotta pearl clutching in this thread.

18 hours ago
pixel_sharmana

I want to know what does this so I can maximize racism, sexism and ableism in my code.

14 hours ago
Gofastrun

Has anyone asked the mute community if they are offended by this usage?

8 hours ago
gem_hoarder

Nobody is protesting zoom though

1 hour ago
SmackDownFacility

Luckily I don’t install linters

3 hours ago
gem_hoarder

You may not. The project you work on might use them in a CI/CD pipeline though.

1 hour ago
SmackDownFacility

Yeah, only when it’s out of my hands.

The majority of the time I own the ecosystem and I choose to not install linters

1 hour ago
gem_hoarder

So we agree

1 hour ago
Vogete
:g::py::js::bash:

If I used your editor, it would call the police on me.

1 day ago
TSCCYT2

?

1 day ago
Tarc_Axiiom

Yo DO NOT show the sjw's my fucking comments.

They'll crucify me for crimes I didn't commit.

Which I guess is the way it goes, right?

1 day ago
Exact_Recording4039

“Sjw”? Did you by any chance just wake up from a 13 year long coma?

1 day ago
Tarc_Axiiom

Oh?

We not allowed to say that anymore?

Ironic?

1 day ago
Exact_Recording4039

I don’t know if you’re being sarcastic but that’s not what I meant, i meant it’s an old ass term from like 2013 lol

It’s not that you’re not allowed to use it it’s just weird like saying ROFL or fopdoodle

1 day ago
anotheridiot-
:g::c::py::bash::js:

It's just a hipster bigot, he wants you to know he hates being a nice person before it was cool.

1 day ago
Tarc_Axiiom

I understood that but it's no less relevant.

1 day ago
Fohqul
:ts::js::py::lua:

No, the point is exactly that it's irrelevant because it's straight from 2015. If you wanna spew conservative bullshit then say woke instead, more up to date (not that the insecurity vulnerabilities have been patched in that one either)

1 day ago
Tarc_Axiiom

Who said conservative? Tf?

Woke is a completely different thing.

1 day ago
fiftyfourseventeen

SJW, now that's a word that takes me back lol. 13 year old me was watching "SJW epic own compilation #143"

1 day ago
Goatfryed

while this seems over the top, here is a list of more professional phrases

  • mock data
  • fixtures
  • examples
  • placeholder content

Since your comment implies that the data can be modified for these, I'd go with mock data.

1 day ago
gem_hoarder

Mocks are not dummies though, they include functionality, it’s a concept baked into every testing library and tool out there. Similarly, a fixture is not a dummy, it’s data actually used for testing in a test env, ensuring consistency, and examples are things you put in documentation and can be changed freely.

Placeholder can be a good term, albeit a weaker replacement. Dummy data is just there to get compilers to shut up about interfaces, but has no bearing on the test whatsoever.

All good suggesting replacements, “main” was a good alternative to “master”, as is “allowlist” for “whitelist”, but professional also means it needs to adhere to the profession

1 hour ago
anotheridiot-
:g::c::py::bash::js:

Consider fake.

1 day ago
BananaHead853147

But think about how that will make phoney people feel?

1 day ago
anotheridiot-
:g::c::py::bash::js:

I think ableists can go fuck themselves.

1 day ago
Mars_Bear2552
:cp:

dummy is NOT ableist.

1 day ago
Unlikely-Bed-1133
:cp::py::j:
  1. "Placeholder"
  2. How *dare* someone try to help other people and in the process inconvenience you ... with an underline. /s
1 day ago