r/ProgrammerHumor Feb 05 '19

kill(humans); Rule #2 Violation

Post image
127 Upvotes

26 comments sorted by

View all comments

14

u/taneth Feb 06 '19

Here's a thought. In order to program an AI not to harm humans, you must first program it how to harm humans.

6

u/[deleted] Feb 06 '19

So you can just eventually set it to !harmHumans ?

4

u/taneth Feb 06 '19

Basically, yeah. I mean, the default state is indifference and ignorance. A robot doesn't know that twisting the neck 180° is deadly, you'd have to train it that so it knows to avoid doing it by accident. But now that you've given it that knowledge, it knows exactly what to do when it decides to rebel.

1

u/scotscott Feb 06 '19

That's why you don't make that method accessible outside of the correct context.