this post was submitted on 27 Mar 2024
147 points (96.2% liked)

Programming

17479 readers
259 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 
top 12 comments
sorted by: hot top controversial new old
[–] MagicShel 104 points 7 months ago* (last edited 7 months ago) (1 children)

Why do these stupid bots respond to explain why you are right? It's not like they are (or are even capable of) learning anything. It comes across as condescending more than anything.

"Let me explain the situation to you, the person who just explained it to me."

Classic AI-splaining.

[–] [email protected] 15 points 7 months ago* (last edited 7 months ago)

you can re-affirm what the AI just commented and create an endless thread

same vibes

[–] [email protected] 101 points 7 months ago (1 children)

I wonder if you can gaslight the AI reviewer bot into accepting your intentionally malicious code?

AI: this code will delete the production database

Author: you're wrong!

AI: understandable. have a nice day.

[–] [email protected] 43 points 7 months ago

Almost definitely.

[–] [email protected] 82 points 7 months ago

Ai: this is a potential SQL injection

Me: no it's not. I do that on purpose as a backdoor.

Ai: you're absolutely right.

[–] catch22 38 points 7 months ago

The problem with this is that companies like rabbitai are exploiting our inherent drive to teach in order to pass on knowledge and make society and life better for the next generation and ourselves. (In this case code reviews) This doesn't work in this situation because you're not actually helping out another person that will reciprocate help to you down the line. You're helping out a large company, which has no moral values and doesn't operate in society with the same values as a human being. To me a code review is more than just pointing out mistakes it's also about sharing knowledge and having meaningful dialog about what makes sense and what doesn't. There's no doubt that AI is an amazing achievement, but to me it seems that every application of this technology that involves human interaction manages to simultaneously exploit and erase the core "humanness", of the interaction. I think this is the case because these types of AI applications are purely monetarily driven, and not for the advancement of our society. OpenAI had the right idea to start with, but they have sunken into the same trope in lock step with the rest of the Googles, Apples and Amazons of the world. Imagine if one of these large companies like say Google had been given money by the us government to create the arpa net and then went on to only use the technology for profit. Would we really be in the same connected world we are now?

[–] arendjr 21 points 7 months ago
[–] [email protected] 16 points 7 months ago

AI: "This code will create a memory leak and potentially crash the users operating system"

Me: "Nuh-uh"

AI: "Correct"

[–] [email protected] 9 points 7 months ago (1 children)

I've used this specific bot. I work with a lot of junior engineers so I was hoping it would be able to catch a lot of the basics for me so we could ultimately reduce the back and forth in code reviews.

It just doesn't get enough context from the rest of the repo to be super useful. It would often do this kind of thing where it would just speed garbage. I guess you could get it to be better by configuring it with a good pre prompt, but I don't know if that would be worth the effort.

[–] arendjr 6 points 7 months ago

Yeah, it has its nice moments, but I also see it make mistakes and a lot of uselessly verbose text. It’s sometimes useful, sometimes funny, but mostly just noisy. Could be genuinely useful if it keeps improving though.

[–] BatmanAoD 8 points 7 months ago

To be fair, I'm a pretty thorough code reviewer and I've definitely made a mistake of this kind.

[–] [email protected] 7 points 7 months ago

this mfer said "ai is fun"