You are learning that you can have the chips, or not have the chips. Whether it's a bad or good day on the calendar, or it's your TOM, or work was hard, it's your birthday, it's your family reunion, the moon is full, whatever, your body does NOT care. The calories still count, and there are consequences. Your body will do what it does best with excess calories.
Of course, you can fit some chips into your plan from time to time. Key words: SOME, FROM TIME TO TIME.

But just grabbing things off a rack is really just letting the child within run amok, isn't it?

Next time, put the chips back. It's really simple. Or, plan to have them in advance! Both will work.
Hang in there!
Jay