Live data from Hacker News

Part of my code makes Copilot crash

github.com

371–380 of 411 posts

Re: Part of my code makes Copilot crash

#371

Earlier quoted context omitted.

The models output isnt racist. Racism has intent, the algo doesn't. It can be wrong or right but it is not making a judgment based on anything outside of math. You are correct to say the training wasn't complete but that doesn't mean anyone did anything wrong, racist, or hateful... 99% of the time it's simply a mistake. When you label things like that as racist instead of simply mistakes you water that word down to t…

> Racism has intent This is a failure to understand centuries of history. It’s an understandable one, it’s one I used to relate more to and I probably still relate to it far more than I should. The notion of racism requiring malice is so far from reality that similar defenses were dismissed almost a century ago in international tribunals which still shape the world. It takes no malice to participate in racism. It onl…

I didn't say racism requires malice - I said it required intent, most of the time that intent is malice but not always. The current pop culture version of racism isn't often racism, it's prejudice or stereotyping or most often simply ignorance.

Two people can make the exact same remark and one can be racist and one can be based on innocent ignorance/curiosity. A young white child is spending time with a black person for the first time and says "your hair is weird", is a vastly then if that same person said it while in high school and was bullying the black kid in class. The former isn't racist and the latter is.

I don't rail against social justice, progress is good and I think everyone of every creed / sexuality / gender / etc should be free to express themselves and live their best lives without being judged for who they were born or identify as.

What I do rail against though is the use of manipulating language to bully and harass people because a social credit / status / clout of trying to always be finding demons to expose is the norm. I personally believe that people who do this (often the "social justice warriors" so to speak) are root for most of the radicalization of BOTH sides of the political spectrum in the western world right now.

Re: Part of my code makes Copilot crash

#372
post #120
post #16

> Copilot crash because the word “gender” A metaphor for our times.

I worked on a video game in the late 2000s, and one of the bits of code I did was the code for filling the seats in the stadium with people. One of the artists cobbled together like 5 low poly man models and 5 low poly woman models, and you could just about tell the difference, and I put some code in there to ensure the genders were evenly distributed. (The 2 genders, I mean. Man, and woman.) Looking back, I don't ev…

Somehow I’m reminded of the Fallout 3 NPC walking underground wearing a train-shaped hat.

Re: Part of my code makes Copilot crash

#373

Earlier quoted context omitted.

That seems a pretty simple one to manage—a disclaimer stating "Copilot will not generate code referencing certain topics" seems both sufficient and uncontroversial.

like thus line from the FAQ? >GitHub Copilot includes filters to block offensive language in the prompts and to avoid synthesizing suggestions in sensitive contexts. I think calling gender a sensitive context is not unreasonable.

Yep, that’s perfect.

Re: Part of my code makes Copilot crash

#374

Earlier quoted context omitted.

That seems a pretty simple one to manage—a disclaimer stating "Copilot will not generate code referencing certain topics" seems both sufficient and uncontroversial.

like thus line from the FAQ? >GitHub Copilot includes filters to block offensive language in the prompts and to avoid synthesizing suggestions in sensitive contexts. I think calling gender a sensitive context is not unreasonable.

>I think calling gender a sensitive context is not unreasonable.

It is very unreasonable, but it's also the truth. sigh

Re: Part of my code makes Copilot crash

#375

Earlier quoted context omitted.

You can take them at the onset of puberty, at which point you are an adolescent by definition, which is that the GP said.

I'm not saying what you can do or not, I just see evidence (a quick google away) that people are given meds to delay puberty, meaning before its start (= onset), meaning they are not yet adolescents by definition. Edit to everyone pointing out a technicality: yes, puberty blockers != hormone replacement therapy. However, puberty blockers ⊆ hormone replacement therapy.

> Edit to everyone pointing out a technicality: yes, puberty blockers != hormone replacement therapy. However, puberty blockers ⊆ hormone replacement therapy.

Not commonly. And the difference between delaying puberty and inducing puberty is more than a technicality.

Re: Part of my code makes Copilot crash

#376
post #315

Earlier quoted context omitted.

Quoted post unavailable.

It’s not censorship; it isn’t muzzling you. Microsoft is choosing not to emit speech on this topic. It is a deliberate and voluntary omission, not censorship.

Microsoft is censoring itself. Which they are allowed to do.

I am censoring myself, too.

Re: Part of my code makes Copilot crash

#377
post #338

Earlier quoted context omitted.

> Whatever Copilot says, is said by Microsoft too, by extension. Whatever text I write in Word, is written by Microsoft too, by extension? *not*

Of course not. But if Word would underline a word of your and offer an offensive correction, that'd be similar.

What if you misspelled an offensive word?

Maybe clippy could popup and say "it looks like you are writing hate speech" and offer some suggestions.

Re: Part of my code makes Copilot crash

#378
post #208

Earlier quoted context omitted.

Those aren’t the only options. You can just let it suggest what it is going to suggest. Copilot is a product for adults who should be able to comprehend what machine learning is. Anybody who throws a fit about it will only be exposing themselves as a fool.

I might even share your idea about adults _should_ behave. But that doesn't invalidate fny's musings based on how _adults_ do behave.

I would love to see a origin/latin etc breakdown of the word behave. One of my least favorite words (authority issues much? Yes).

Re: Part of my code makes Copilot crash

#379
post #122

So I've just tested it, and I can confirm, yes, copilot refuses to give suggestions related to gender. Now I know a lot of people are calling this absurd, but looking more closely, there are two PR nightmare scenarios. 1. Copilot makes a suggestion that implies gender is binary, a certain community explodes with anger and an entire news hype cycle starts about how Microsoft is enforcing views on gender with code. 2.…

> Copilot makes a suggestion that implies gender is binary

How would that work though? What can Copilot suggest that can imply that?

  If gender is true 
     Do something…
  Else if gender is not true
     Do something else
  Else
      Do nothing

Re: Part of my code makes Copilot crash

#380

Earlier quoted context omitted.

Of course not. But if Word would underline a word of your and offer an offensive correction, that'd be similar.

What if you misspelled an offensive word? Maybe clippy could popup and say "it looks like you are writing hate speech" and offer some suggestions.

It could, but Word didn't want you to write offensively for quite some time now. I remember being a teenager and just poking at the Word 97, and it was promptly telling me that "you shouldn't write like that" or something similar.
Post reply on HN