Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good name for the opposite of the "canary" metaphor [closed]

The "canary" is a common metaphor (for example in buffer overflow checks) for detecting mis-behaving operations by setting a flag before and verifying that it is still set after.

Is there a common term for the opposite, when the operation should kill the "canary"?

like image 306
Anders Lindahl Avatar asked Nov 28 '22 04:11

Anders Lindahl


2 Answers

I actually don't like the canary term, because it causes silly conversations like "did you check the canary? Yeah, it's still alive" and you need the coal mine connotation to understand it. I prefer "buffer guard or guard pattern" so the inverse would be "goal pattern", because that is the data that should have been changed by your test.

Edit: of course, if you like the animal metaphor, you could use "fly" as in "did you manage to swat the fly?"

like image 152
stefaanv Avatar answered Nov 30 '22 22:11

stefaanv


Gotta be Sylvester!

"I tawt I taw a puddy tat"

alt text http://upload.wikimedia.org/wikipedia/en/a/a3/Sylvester_J_Pussycat.png

like image 40
Matt Avatar answered Nov 30 '22 23:11

Matt