Live data from Hacker News

Part of my code makes Copilot crash

github.com

61–70 of 411 posts

Re: Part of my code makes Copilot crash

#62
post #48

I hope to god that one day we will all see this nonsense for what it is: absurdly hilarious.

It's gonna come soon enough. The backlash is already mounting. I'm just honestly super exhausted by any of the insanity right now, not even only regarding this topic. It's just complete black-and-white thinking these days, no matter about what it is. Extremes only. The stronger your opinion the better, how else would you feel like you exist? Almost no one with a rational, centered overarching perspective. Twenty year…

> The backlash is already mounting.

Is it? To me it feels like it's getting worse and worse, but that might be my bubble.

Re: Part of my code makes Copilot crash

#64
Besides the absurdity of the code crashing because of the word "gender". My problem and curiosity with all of this is...

"What was going on in the head of the person writing the parser?"

I mean, were they thinking that if someone is writing code, let's say, for a gender dropdown and it was only ["male", "female"], it would try to suggest to us to add 26 more genders instead (and worse, suggest a list of genders to add)?

Would the intention be to correct us and popup a message saying "We suggest you add more genders so as not to displease the users of your product"??

What was going on in that person's head who is trying to do all of this? What was their thought process? What were they trying to accomplish around gender?

Was it the programmer, or some product manager that insisted on some kind of "copilot adjustment" for this because of a personal political viewpoint or just for GitHub being more woke?

That's the most troubling aspect to this.

I hope to Jesus Christ it was just a mistake.

Re: Part of my code makes Copilot crash

#65

Can we get a source for that? Because at the moment, it's just a comment made by a person on the internet with nothing backing it up...

I just tried Copilot with VS Code and python for the first time. If I define a function with some parameter name, I get suggestions as I type the body. I change the parameter name to gender, no suggestions. I change one letter in the parameter name (gendes, gander), I get suggestions again. There clearly is some code that gets activated when it sees the word "gender".

Re: Part of my code makes Copilot crash

#66
What is Github worried about? That Copilot might suggest some code that checks for a "gender" variable being only one of two values? Utterly absurd that we've now reached this point. I already had plenty of reasons to boycott Copilot, now I have another one.

Re: Part of my code makes Copilot crash

#67
post #21

Earlier quoted context omitted.

Much more likely: the upvotes are because many people have frustration at this type of thing, and limited places to channel their frustration, so when they see a post like this, they upvote it to express their frustration. Or maybe that’s just me..

Quoted post unavailable.

I see this kind of questioning pop up when someone states that something bothers them and someone else deeply disagrees. Is there a name for this kind of questioning of someones foundational feelings about something, as if to allude in every question that it's purely wrong to feel that way?

Re: Part of my code makes Copilot crash

#68

What was that bot that MSFT stood up on Twitter that trolls and memers fed to turn alt-right? I know they eventually took it down and that it stirred up a lot of controversy. I would not be surprised if someone found some Copilot output stemming from "gender" and reported to MSFT/GitHub for them to simply short circuit or "break" after finding certain keywords.

Tay AI

Re: Part of my code makes Copilot crash

#69

I don’t understand, there’s no news here. It’s a comment from a third party speculating over what causes the crash.

Yeah I call BS. The "word filter" answer was selected as the valid answer by a third party (not OP).That's what the OP replied to another comment : > Heargo 24 days ago > Thanks, I'll try as soon as I get the problem again (somehow it's not bugged anymore...). Looks like it was just a temporary issue with no evidence that's it's due to a word filter.

FYI, there is in fact a bad word filter in GitHub Copilot. When it was first released, the list was stored client-side in obfuscated form and I had a lot of fun decoding it:

https://twitter.com/moyix/status/1433254293352730628

The Register wrote about it too: https://www.theregister.com/2021/09/02/github_copilot_banned...

They have since moved the bad word list server-side to prevent people from figuring out what's on it, but it's still there. This is easy to verify, just ask it to complete something that would include a banned word; my favorite here is "Israel", and it will just sit there and refuse to complete, either via inline suggestions or in the sidebar view that gives you 10 choices:

https://i.imgur.com/O97YwKc.png

This was what I managed to decode of the list (in ROT13 form to prevent accidental offense):

https://moyix.net/~moyix/copilot_slurs_rot13.txt

No doubt they've added and removed some things since then.

Re: Part of my code makes Copilot crash

#70

So large language model are great on but have undesirable result occasionally. Hand coded scripts are added to remove the undesirable outcomes but still produce other problems - crashed but less often. More and more things are going to be filtered through large language model apps and the possibilities for cascading failures will be even more interesting than what exists presently.

The large language models already know too much.

I was able to get GPT-3 to spit out reasonably accurate biographies for a couple of composers I know.

GPT-3 could go even further — one of my composer friends has a reasonably rare first name, and when given the prompt "There once was a man named $first_name", GPT-3 responded with a number of limericks tailored to his particular set of skills.

Post reply on HN