19

The tag seems to be used in a few different ways. This list is in approximate order of occurrence, however none of them is obviously dominant over the others.

  1. Shell scripting / Bash related. "trap" is a keyword in Bash. Example: cp: command not found
  2. SNMP traps. Generally questions about SNMP communications, where a trap is a kind of notification message. Example: snmp trap specific trap code
  3. Systems programming in C or ASM, "trap frames" for exception handling: Motorola 68K TRAP instruction as a bridge to OS
  4. Various other languages where "trap" is a keyword (Powershell etc)
  5. Seemingly at random, like How to trap negative integer inputs in C++ program? or Trapping mouse on one monitor

It could be argued that these disparate uses, taken together, indicate that the tag has "no clearly defined meaning" in accordance with the rules from the FAQ How do tag removal (burnination) requests work?

There are currently 250 questions tagged . They all seem to also be tagged with some more useful tag, like or .

So, perhaps ought to be burninated? It seems to only cause confusion since it can't reliably be used to search for questions on a particular topic. On the other hand, in the first four uses listed at least, the "trap" term used in a valid way in the question, and I can see how it made sense to the poster to add the tag in the first place.

If I start re-tagging, should I re-tag the SNMP questions as ? It's a common enough term that it might warrant its own tag, but the tag doesn't exist at the moment.

12
  • 4
    Why, when the problem is that a tag has at least 4 different legitimate meanings, is your first thought to burninate it? Although perhaps retagging some of those questions might be in order… Aug 21, 2014 at 13:37
  • 11
    Someone somewhere is now hearing Admiral Ackbar saying "It's a trap!" in their heads. That person is probably you now. You're welcome. (Some of these probably need to be retagged, then see what's left before deciding if we should burninate it completely)
    – JonK
    Aug 21, 2014 at 13:38
  • 3
    It's probably better to disambiguate the first four uses of the tag by adding more specific tag, then burn the rest. Aug 21, 2014 at 14:43
  • 1
    1 and 4 are the same use. Case 5 can just be untagged. Aug 22, 2014 at 4:23
  • To clarify, this is not a burninate request, but a discussion post. I should never have used the word...
    – Jolta
    Aug 22, 2014 at 11:57
  • 1
    Another meaning: trap representation, mainly relevant to C and C++, meaning that a variable has a value that cannot be represented for that type. And as for trap in Motorola 68k, the same nomenclature lives on in other Freescale/Motorola parts, where a "trap procedure" simply means an interrupt service routine.
    – Lundin
    Sep 16, 2014 at 11:34
  • 2
    Yes, it should be removed. Suppose you are an expert in "trap" (gold badge), what does it tell others ? Nothing. Just another useless piece of information about you. Nov 5, 2016 at 18:59
  • 2
    Title suggestion: Should we [trap] this tag? Nov 7, 2016 at 14:46
  • 2
    I'd suggest that yes, an [snmp-trap] tag would be appropriate (but with a hyphen to match [bash-trap]). Also, since shell traps are not (AFAIK!) shell-specific, perhaps [bash-trap] should be replaced with [sh-trap]? Feb 8, 2017 at 18:39
  • 1
    ...or possibly [posix-trap], since POSIX specifies how trap works? Feb 8, 2017 at 18:41
  • 1
    Also, re: [snmp-trap], there seem to be lots of questions for which such a tag may be appropriate but which are not already tagged [trap]. Feb 8, 2017 at 18:42
  • I am amused, this entire topic has become a trap itself. Burninate:yes has been downvoted. Burninate:no has been downvoted. Dear god, meta has gone meta. Apr 18, 2017 at 17:39

2 Answers 2

-4

Yes, let's burninate it.

Removed the tag from all questions.

  • Bash keyword questions re-tagged with (and when applicable)
  • Other unix Shell questions using trap keyword re-tagged with (and when applicable)
  • Ruby trap keyword questions re-tagged with .
  • Powershell trap keyword questions re-tagged with .
  • Questions related to "trap abort" errors in C/C++ programming were mostly related to off-by-one errors or other errors in memory management. Re-tagged them as or as applicable.
  • A few completely irrelevant usages were simply removed.
2
  • 1
    trap is now a synonym for bash-trap and no one seems to have objected to it yet. No one actually used shell-trap and powershell-trap since 2017 (I edited two questions today that have both powershell and bash-trap, and that's all). I guess snmp-trap is still relevant but I don't think it's unnecessary to have a separate tag for that. What was the point of all this? Aug 9, 2020 at 17:51
  • The point was elaborated in the comments on the Question, above. Personally, I like to be able to find snmp-trap related questions/answers without finding mostly bash questions intermigled. Tags that mean multiple distinct things are useless and need to be disambiguated.
    – Jolta
    Jan 22, 2021 at 11:27
-8

OK, since no-one else is doing it, I'll try to answer this based on my own opinion and that of commenters.

No, let's not burninate the tag. Instead, I'll go through the tagged questions ilke the following:

  • Bash, scripting and SNMP questions get to keep the tag, if it's relevant to the question. Re-tag if there is a more specific relevant tag. Likewise for systems programming questions. This covers cases 1, 2, 3 and 4.
  • Remove the tag in case 5.

Assuming, of course, this answer is voted up.

13
  • 7
    I disagree with keeping this tag. 1, 2, 3 and 4 are all different entities. You can be an expert in one, and be a noob in another. I suggest they should be renamed to "bash-trap", "motorola-trap" etc. Remember, gold badge bearers have a closing super power. Nov 5, 2016 at 18:57
  • 1
    I'm open to such action. I don't know that we can form a consensus of 2 users, but maybe post an alternative Answer here and drum up some votes for it?
    – Jolta
    Nov 7, 2016 at 9:25
  • 2
    I started implementing Neolisk's suggestion, but now I have too many pending edits (after editing 5 questions). If anyone with a gold badge could help, this would go much quicker...
    – Jolta
    Feb 2, 2017 at 15:59
  • 3
    I've come here from the edit review queue. Can I ask that if you are going to re-tag these questions, you also deal with everything else that needs attending to at the same time (spelling, grammar etc.), please.
    – SiHa
    Feb 7, 2017 at 12:54
  • 1
    Not sure that's a fair ask, given the quality of some questions, and the sheer volume... I'll try though!
    – Jolta
    Feb 7, 2017 at 12:58
  • 2
    OK, but someone will have to address the other stuff in the edit review if you don't. You are likely to get your edits rejected if there are many other issues which are not addressed. I just improved one of yours, but I've now run out of edits...
    – SiHa
    Feb 7, 2017 at 13:23
  • @Jolta, please actually read the answer in that question you posted, namely the following text: Additionally, if you have below 2000 reputation, it's especially important to fix all other issues with a post, as there's some work involved in actually getting your edit approved, and it may get rejected if it doesn't fix all issues. Feb 13, 2017 at 17:22
  • Hi @MikeMcCaughan I have indeed been trying to follow that rule in my edits subsequent to the reminder from SiHa above. Let me know if you see me mess up any particular edit.
    – Jolta
    Feb 14, 2017 at 11:52
  • 1
    I rejected stackoverflow.com/review/suggested-edits/15507757 : the tag excerpt is about ASM and the question too. Please successfully edit the excerpt to be Bash/SNMP-related before attempting to retag the ASM questions.
    – Cœur
    Mar 13, 2017 at 13:37
  • @Cœur not sure I understood your comment. The tag exerpt for [trap] mentions specifically the LC-3 assembly language, but the plan is to remove that tag once it's gone from all questions. My edit was to replace [trap] with [assembly-trap]. Should it be a different tag, in your opinion?
    – Jolta
    Mar 14, 2017 at 11:38
  • 1
    change the excerpt to "DO NOT USE" before retagging. And with a balance of +4 votes and -3 votes on your answer, it's not a very popular change you're doing here. And because you have less than 2000 reputation, it's a slow process that makes the usage of the tag inconsistent during the process.
    – Cœur
    Mar 14, 2017 at 13:16
  • I've approved your tag change.
    – Cœur
    Mar 14, 2017 at 15:36
  • Since this answer was unpopular, I posted a new answer with the actions I actually took.
    – Jolta
    Apr 12, 2017 at 11:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .