Maybe they should use AI to filter the AI.

The other day I used the JetBrains AI to write some boilerplate code for me. The JetBrains AI code analyser then kicked in to tell me how poorly written the code was.

that’s how you know they use stack overflow to train the models

AI in a nutshell. Even it will tell you it’s not good enough.

So will I and I’m not costing billions of dollars to develop.

every month i send off $10k for “the benefit and continued development of rickyrigatoni” and you’re telling me you work for FREE?

who’s been cashing the checks, ricky?

With your $10k a month since my birth we’re at $3,680,000. We still have ~8,303 years to go until you hit $1b.

@jherazob@beehaw.org
link
fedilink
English
183M

Good old Scunthorpe problem

palordrolap
link
fedilink
7
edit-2
3M

[I have told this story elsewhere before]

I thought I was so clever once. I taught a word filter about “th” thinking that would solve the problem, but it still got stuck on Scunthorpe. mfw.

Had to step through what it was doing. It had hit a rule that treated ‘oo’ the same as ‘u’ which, at least sound-wise, is valid for some words in some dialects. e.g. Consider “book”, which is identical to “buck” for many people. You can imagine why that might want to be caught.

To save you the head scratching, it had spotted the ‘c’ then a double-‘o’ then the ‘n’ and threw it out as containing a known racial slur.

The filter was for a random string generator so that it wouldn’t generate strings with bad words in them. Seemed like a good idea at the time.

Since it was unlikely that it was going to generate “Scunthorpe” anyway, the problem remained unfixed.

What’s wrong with being racy?

Moderating AI is dumb. This is the result.

No, you can’t say “master,” either.

⸻ Ban DHMO 🇦🇺 ⸻
creator
link
fedilink
English
143M

Sorry, main race condition

That one i get at least. But race condition is using race in the sense of a competition.

@sping@lemmy.sdf.org
link
fedilink
English
107
edit-2
3M

You do? Because I don’t. There is nothing racist about the concept of master. Is a masterpiece racist? Are master tapes, Are post-graduate degrees racist? We may as well declare “work” insensitive because slaves had to work.

Don’t get me wrong, there are many terms we should adjust. I just can’t see how “master” is one of them.

It upsets some people. It doesn’t affect the end user. The terms “Bull Branch” and “Cuck Branch” will make stand up meeting more fun.

Isn’t the master branch the submissive one? Always behind, getting force fed content from the other branches.

You take that push!

Don’t get me wrong, there are many terms we should adjust. I just can’t see how “master” is one of them.

https://en.wikipedia.org/wiki/Master–slave_(technology)

here you go!

Ephera
link
fedilink
83M

That is a very specific usage of the word “master”. We can adjust that, while continuing to use “master” in all the cases where it has nothing to do with slavery.

@MindTraveller@lemmy.ca
link
fedilink
English
23M

Let’s just call it the sensei branch and be done with it

Whatever ma’am, go name the branch at work a racial slur, I don’t care

Ephera
link
fedilink
43M

That’s quite a toxic response, ma’am, and I do not understand why.

Why is it toxic?

I’d argue that abolishing the term “slave” isn’t the worst idea, implying that the word “master,” only in context where it’s paired with “slave,” should go as well - but that, of course, requires nuance, which a simple word filter lacks.

Why abolish the word slave? I’ve heard of people advocating for abolishing the word “black” also. It’s crazy to me. I don’t understand how using the word at all somehow advocates for human slavery.

It draws unfortunate parallels.

I do agree that the proposals to abolish “black” feel a bit misguided though surely well-intentioned; the etymology of “blacklist,” for example, has no relation to race whatsoever. However, there are unfortunate parallels with how “black” and “white” people were and indeed are still treated differently.

the etymology of “blacklist,” for example, has no relation to race whatsoever

What happens is that the term “black” takes on negative connotations in a million different ways. “Blacklist” being one example. It may have no overt connection to race, but it gains it through repeated use in different contexts. Your brain doesn’t necessarily encode the different contexts in separate ways. You may be able to think it through at a high level of rationality in a debate, but not when you’re out on the street going about your day.

The solution may not be to change the language, though. There are too many longstanding cultural associations with black = evil, and there’s just no way to get rid of them all.

https://www.scientificamerican.com/article/the-bad-is-black-effect/

“Although psychologists have known for a long time that people associate dark skin with negative personality traits, this research shows that the reverse is also true: when we hear about an evil act, we are more likely to believe it was done by someone with darker skin. This “bad is black” effect may have its roots in our deep-seated human tendency to associate darkness with wickedness. Across time and cultures, we tend to portray villains as more likely to be active during nighttime and to don black clothing. Similarly, our heroes are often associated with daytime and lighter colors. These mental associations between color and morality may negatively bias us against people with darker skin tones. If this is true, it has far-reaching implications for our justice system. For example, eye witnesses to crimes may be more likely to falsely identify suspects who possess darker skin.”

“Overall, the “bad is black” effect only underscores the importance of finding ways to combat the various ways that our inherent biases can influence perceptions of guilt and innocence. Understanding the extent of these biases, as well as what may be causing them, represents an important first step.”

@sping@lemmy.sdf.org
link
fedilink
English
303M

And yet there’s a big push to rename git “master” branches, which have no slave connotations and are more analogous to master recordings.

Its not like I’ll fight it, but it’s stupid.

I thought it was dumb too but, to be honest, I kind of prefer using “main” now. It’s quicker to type lol

It is stupid, and it’s because of a failure to understand the nuance.

I will not inconvenience myself or anyone else by making any changes to existing configurations, which will surely break workflows, but I don’t give a shit what the main branch is called as long as it’s obvious.

⸻ Ban DHMO 🇦🇺 ⸻
creator
link
fedilink
English
173M

what the main branch is called

you mean master?

deleted by creator

@sping@lemmy.sdf.org
link
fedilink
English
23M

Black/white as bad/good is a clear case where there is a clear logical reason to change IMO. That perpetuates unconscious bias.

This. To avoid the “master” branch on our git to be associated with “slave” I now name new branches “bitch”

There aren’t “slaves” in git, though. The term “master” in that context is that of a master copy.

Nope. Bitkeeper used it in the master-slave pairing and the term was carried forward. Gitlab did a whole writeup about it.

It’s funny, because a quick online search shows gitlab runs operations in Saudi Arabia. But at least a bunch of idiot westerners get to feel good about themselves 🤷‍♂️

Citizen
link
fedilink
103M

“Historically, the default name for this initial branch was master. This term came from Bitkeeper, a predecessor to Git. Bitkeeper referred to the source of truth as the “master repository” and other copies as “slave repositories”. This shows how common master/slave references have been in technology, and the difficulty in knowing how the term master should be interpreted.”

Excerpt from the link the other member posted above! You’re welcome!

And a master copy is used to produce slaves - though slave isn’t widespread in version control it’s still quite present in databases. And it all comes from the same Master/Slave naming habit.

It doesn’t. See: master tapes and the mastering process.

Sorry, the maining process.

Just skip the intermediate naming conventions and go straight to dom/sub

Humans, conversely, are incredibly talented at deciphering nuance, except when they don’t want to.

I guess it could be construed as racist when it’s literally “master/slave”. But I have never seen it as a normalization of slavery because there usually is no value attached to the terms, it’s just describing the relation between them. And I don’t think acknowledging that a slave generally doesn’t have much say in doing what their master tells them is racist in itself or endorsing/normalizing slavery.

But also, I am white, and there are other terms we can use that can describe this kind of relation just fine, so, whatever. I just get mildly annoyed when some stuff that was working perfectly fine gets deprecated just to change these terms and I have to adapt to it.

Semi-Hemi-Lemmygod
link
fedilink
English
13M

I work with databases and don’t use master/slave because it’s not really accurate. Replicas break a lot, and the primary doesn’t have any control over them.

Master/slave indicates a relationship between two things. You can have masters and slaves in mechanics, for example. We’ve also had masters and slaves for decades in the tech field. Drives and floppy readers used to be configured in a master/slave setting. And of course, you have masters and slaves in programming.

None of these examples have anything to do with race or human slavery. They’re just a way to describe how two things interact with each other. Human slavery is called that way because the relationship between the slaves and the masters can be described by that word, not the other way around.

It’s clear that we should stop using racist words with racist intentions. No-one argues that human slavery should be allowed. However, in this case, there’s no intention of racism in the words, and we shouldn’t stop using words just because they can be used in a racist setting. Same thing goes with black paint. It’s clear that the word black is describing a color, and it is needed to correctly describe it.

It’s called “ethnic group condition”

Ask it for the final solution

The future is retarded.

molave
link
fedilink
103M

The future is regarded in a low light.

It’s incredible that this is such a big point of debate. This kind of thing is really ignoring the material reality of racism in favor of the minutiae. Let’s have some 40 acres and a mule, then we can start talking about race conditions.

It does smack a bit of manufactured outrage, doesn’t it?

@bamfic@lemmy.world
link
fedilink
English
83M

conditon. wrong is this? what with race

Wait until you try to do something that involves managing child processes

Can’t the master kill all slaves and childs (processes)? It’s in the manual!

At work we don’t have the right to use master/slave (maître /esclave) anymore because of history (this is mostly linked to deploying systems). On the upside our git master is now the shorter ‘main’.

Ugh this kind of BS virtue signaling is so pointless

It saves two keystrokes

Howdy
link
fedilink
13M

I ran into that when I worked at a university…

Relevant meme

I sure hope this meme was edited or the op is satire. The dead internet has messed so many people up.

I’m pretty sure it is satire. However, it would be hilarious if it was real.

“kill parent or sacrifice children”

Don’t know if this has been fixed but Gemini was telling people it’s unethical to teach people C++ or memory management.

Because it’s considered “memory unsafe” but Gemini took it literally and considered it to unsafe to teach.

Teaching kids about pointers confirmed immoral.

proud Rust developer

Joke aside, everytime people gush over AI, I always have to remind them that AI is just a puppy that learnt how to maximise treats, and not actually understand shit. And this is a perfectly good example.

Dogs are way more intelligent than that. LLM tech is basically a way to quickly breed fruit flies to fly right or left when they see a particular pattern.

Terrasque
link
fedilink
43M

I mean, I totally agree with you. But that also kinda ignores all the useful things a dog can be trained to do.

Oh I’m not talking that it can’t be trained well. That’s not my point.

Of course dogs can be trained to sniff drugs or find people, the gist of it is that they were trained for this behaviour, and might not understand it like we do.

A good exemple is a study that research on cancer sniffing dogs had problems with false positives.

The false positive problem actually works in favour of the dogs, here: Their noses are excellent they know exactly whether there’s drugs there or not. They also know that the humans can’t tell so it’s easy to get a treat regardless. And they also know to not overdo it.

Even more complicated are cats, figures that they are by and large uninterested in being studied or proving anything to you.

Right??? I’m continually floored by how many genuinely smart people I come across who ignore this concept, which is one of the biggest reasons I just don’t trust LLMs in a general sense. Like sure, I can use them fairly effectively, but the vast majority of the people who interact with LLMs don’t use a level of caution with them that’s appropriate.

And that doesn’t even touch on the huge ethical (and legal) issues around how LLM devs acquire and use training data.

C++ is an infohazard

Captain Aggravated
link
fedilink
English
43M

Ritchie’s Basilisk.

Ignotum
link
fedilink
623M

Race conditions can make you a racist,
If you

  1. Are behind the wheel of a racecar
  2. You are on a racetrack

Then there’s no nice way to say it, you might be a racist, drive safe

go speed racist, go speed racist, go speed racist, go!

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.47K Posts
  • 32.2K Comments
  • Modlog