6

NB: This is probably not the first time a question of this nature has been asked, but I could not find anything similar.

While scrolling through the front page/review today, I noticed a trend that seems to be increasing in frequency: "please help me write this script"-type of questions. Today alone, there were questions 1, 2 and 3 all requesting some form of script be written for them (although the third example has other problems with the improbability of the brute-forcing a locked disk).

These questions usually do not show any evidence of the (most often, new) users trying to solve this script problem themselves, and treat the site like a "single-use, quick-answer-that-works, copy-paste" platform.

This trend, unfortunately, also plagues other sites like Stack Overflow and Unix & Linux.

What would be an appropriate response to questions like these? Should we write scripts (which risks more questions like these) or flag/hold/off-topic/leave unanswered these questions (risks making people unhappy)?

2

Basically, questions about scripting solutions based on Bash, AppleScript, Automator etc. (aka everything included in OSX by default) are on-topic. But we also expect askers to show some kind of research and at least an attempt to solve the problem on their own (to avoid "do my homework for me" questions). From a first look, not all of the questions you've listed qualify on that angle.

OTOH, I neither see these questions as a plague nor as a problem. If somehow (maybe just for the fun of it) provides an answer, great, the value of the site just increased. If nobody bothers (because the problem is too obscure, the boundaries not defined very well or the OP doesn't respond to comments asking for clarification), the question will slowly sliver into oblivion which is fine as well.

So basically, IMHO we should treat them like any other question and

  • ask for clarification if the question is unclear
  • flag as whatever if necessary
  • answer if we can
  • You mention, "...we also expect askers to show some kind of research and at least an attempt to solve the problem on their own": what about the users who do some form of research, put it into the question leave it at that and ask "please help me write so and so"? – perhapsmaybeharry May 1 '16 at 11:15
  • Ask for clarification and details (and also look at the answer provided by @grgarside). There is no obligation to answer questions here, so if the asker doesn't seem to put much effort into it him/herself, just let it be. – nohillside May 1 '16 at 12:45
4

If there's clearly no research taken place and the question is asking specifically for a script to be written for them, I usually comment or (custom) vote to close with the following, tailored if necessary.

Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results.

This is different to if someone is looking for where to start in writing a script, I'll try to answer to point them in the right direction. A quote from the AppleScript dictionary or similar usually helps people who can't find or don't know the existence of a feature, for example.

You must log in to answer this question.

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