Can a computer chip help you lose weight?

Device would be implanted into person's arm