Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Following the amusing exchanges recently between The Seeker Of Regex Wisdom and various monks (particularily jeffa and dragonchild, it stuck me that here was a classic case of where the context of the questions were more important than the individual questions themselves.

A single question of "What regex do I use to strip <x> out of $my_html" is going to receive all the usual answers, and spark the usual arguments of HTML::CoolSplitter vs s/<x>//g;...regex when you know exactly what's in the markup, module if not etc. By the time somebody's asked a variant of the same question 3 times though, and code has been posted that obviously comes from the same project, one is able to state with greater certainty "in this case you should be using X".

In this particular case, it was rather obvious (due to the frequency of posts and CB discussion etc.) that there was a link between the questions, allowing alert monks to realise that posts about general strategy were more applicable than specific answers. My suspicion though is that there are often cases where that is missed.

We've all seen SOPW where we suspect that the root of the problem lies elsewhere - not in the question that is asked, but maybe in the understanding of the general principle, or in another unposted piece of code. And indeed, when we can be bothered to do the research (click on user, read their homenode, click on 'Writeups', search for questions, read a few, read the given answers...), we often find that this is the case...the same person asked a similar question 3 months ago and has been 'cargo-culting' the best of the answers for all this time, without understanding *why*.

What would be useful is some way of automating that research. I hesitate to offer specific suggestions for all the usual reasons ("The DB'll cannae take it Cap'n - she's gonna bloowww!.."), but it seems that possibilities range from an (optional?) single 'see user writeups' link next to all "posted by" links, through to some kind of fully-fledged-topic-tracking-thread-linking-project-indication mechanism. But knowing nothing about The Engine, I'm keeping my mouth shut. :)

Just a thought.

Ben.


In reply to Context Indication by benn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-29 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found