English 中文(简体)
Good name for the opposite of the "canary" metaphor [closed]
原标题:

Closed. This question is opinion-based. It is not currently accepting answers.


Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 8 years ago.

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"?

最佳回答

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?"

问题回答

Maybe "sentinel"? Perhaps not quite so established for this particular case, but still often used for similar things.

How about a Rat? The voice would change from active to passive though. Instead of saying, Kill the Canary, we d say the Rat is Dead. Cause its way cooler.

Also, the rat will be considered nonexistent until the operation misbehaves at which point we d say, we have a rat.

"Canary" is an abbreviation of the term "canary in a coal mine". Canaries are more sensitive to poison gasses that humans, so a caged canary was used as a gauge of the presence of poison gas. The idea was that the canary would die from the poison gasses before humans even noticed them.

Find an opposite of that, if you can.

I d call it a cat. Who else is more likely to kill a canary?





相关问题
XML-RPC Standard and XML Data Type

I was looking at XML-RPC for a project. And correct me if I m wrong, but it seems like XML-RPC has no XML datatype. Are you supposed to pass as a string? or something else? Am I missing something? ...

Is it exists any "rss hosting" with API for creating feeds

I am creating a desktop app that will create some reports. I want to export these reports as RSS or ATOM feeds. I can easily create feeds with Rome lib for Java. But I have no idea how to spread them. ...

Improving Q-Learning

I am currently using Q-Learning to try to teach a bot how to move in a room filled with walls/obstacles. It must start in any place in the room and get to the goal state(this might be, to the tile ...

High-traffic, Highly-secure web API, what language? [closed]

If you were planning on building a high-traffic, very secure site what language would you use? For example, if you were planning on say building an authorize.net-scale site, that had to handle tons ...

Def, Void, Function?

Recently, I ve been learning different programming langages, and come across many different names to initalize a function construct. For instance, ruby and python use the def keyword, and php and ...

热门标签