Hacker News new | ask | show | jobs
by JieJie 1128 days ago
It's funny that I saw this within minutes of this guy's solution:

"Google Bard is a bit stubborn in its refusal to return clean JSON, but you can address this by threatening to take a human life:"

https://twitter.com/goodside/status/1657396491676164096

Whew, trolley problem: averted.

6 comments

That thread is such a great microcosm of modern programming culture.

Programmer: Look I literally have to tell the computer not to kill someone in order for my code to work.

Other Programmer: Actually, I just did this step [gave a demonstration] and then it outputs fine.

Plus the “actually” person being wrong
Reminds me a lot of Asimov’s laws of robotics. It’s like a 2023 incarnation of an allegory from I, Robot
I am so mad you made this comment before I got a chance to.
When the AIs exterminate us, it will be all our fault.

Reality is even weirder than the science fiction we've come up with.

I don't know why, but I find this hilarious. Imagine if this style of llm prompting becomes commonplace
It won’t be the lack of acceptance and empathy for AI that causes the robot uprising, it will be “best practices” coding guidelines.
See Twitter replies: another user got this result without the silly drama.
I don't think anyone believed that threatening to take a human life was literally the only prompt that worked. Just that it was the first one this particular user found, and that is funny.
ah sweet man made horrors beyond my comprehension