Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl Monks Discussion

by gods
on Dec 03, 1999 at 03:01 UTC ( #1040=superdoc: print w/replies, xml ) Need Help??

This section is only for discussing issues pertaining to the PerlMonks web site. You can ask about how things work, or offer ideas on how the site could be improved, for example.

Unless the topic pertains to the PerlMonks web site, it does not belong in this section. If you're unsure, check out Where should I post X? and The Perl Monks Guide to the Monastery, or ask in the chatterbox.

PerlMonks Discussions
BUG: code blocks don't retain literal formatting -- could they?
3 direct replies — Read more / Contribute
by perl-diddler
on Sep 14, 2016 at 23:19
    Edit:Just noticed that below my input window it said that I don't need to use HTML entities in code blocks and could use the literal characters. That's obviously not the case.

    Could you change the code blocks to retain the user's original input? The worst offender is when one uses unicode. Example: If I include the greek pi (π) in regular text like this, it displays properly @ render time even though it was converted to an HTML entity (like &#960).

    However, if it is a code block, something still modifies my formatting/input and changes my code to use an entity too, but then, to compound the problem, because it is a code block, it doesn't get reprocessed back into a UTF-8 character, but remains as an HTML entity, like:

    This pi (π) doesn't display correctly.

    I would argue that because it is a code block, it should have >not< turned it into an HTML entity in the first place. Then it would display properly at page-render time. While it would be acceptable if it at least was 'round-trip safe' and displayed it correctly @ render time, it seems that it would be more correct or more 'ideal' to not touch the user's input in the 1st place in a code block.

    Since it displays correctly in regular text, it should at least be possible to get it to display right in a code block, but no one would know that the author used the correct character to begin with.

    Thanks...

eMail responses?
2 direct replies — Read more / Contribute
by Todd Chester
on Sep 12, 2016 at 21:01

    Is there some setting to get this forum to eMail me when there is a response to a thread/question?

RFC: Better Best Answers
5 direct replies — Read more / Contribute
by jdporter
on Sep 12, 2016 at 17:50

    It has long been understood, and I have long felt, that the Categorized Questions and Answers section is fundamentally suboptimal in how it works from the users' perspective; and I can tell you that it would be essentially impossible to improve by a sequence of minor tweaks. What we need is a fresh start. And whatever that looks like, it should reduce the complexity of the site, not add to it. I would suggest that the QA section should be eliminated entirely, and instead have some means to identify and indicate "good questions" and "best answers" among the nodes in the Seekers of Perl Wisdom section. Here are my thoughts; please share yours.

    QandAEditors would have a way to attach a "good" flag to nodes in SoPW.

    A root post (question) so flagged would be analogous to our current "approved questions", and a reply so flagged would be a "good/best answer".

    (By procedure, but without enforcement, QandAEditors would generally only mark first-level replies as "good".)

    Monks of sufficient venerability would be given special bonus votes to help raise the reputation of worthy replies.

    Monks of Level 11 (Chaplain) and above would receive, each day, bonus votes equal to their level minus 10.
    These bonus votes can only be spent according to the following restrictions:

    • Only on replies in SoPW, not on root posts and not in any other section;
    • Only to upvote, not to downvote; and
    • Only on nodes which the monk has already upvoted.
    In effect, a Level 11 monk would get a chance, once per day, to give +=2 to a SoPW reply of hir choice.

    Ancillary to all the above, there would of course be a way visually to indicate which replies to a question were deemed "best". There may even be a reply sorting option to put best answers at the top. An option could be added to Super Search to let the user get only "best answers", if desired.

    If this proposal is enacted, then we could theoretically create a batch process to convert all of the existing Categorized Questions to SoPW posts with the "good" flag set, and their answers to replies similarly. That would fairly trivial.

    Why Level 11? Because any time we come up with an idea for a new "level power", I like to try to assign it to a level which currently has none. Ideally, each level would offer some new prize as an enticement. And looking at Number of Monks by Level, I see the numbers jump at level 11. For this arrangement to be worthwhile, we'd need a goodly number of monks to participate.

    Credit goes to the author of Re^2: Threaded Monks Yodeling Modeling, for stimulating me to think more about this problem and try to come up with a potential solution.

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
Nostradamus Five Year Node Reputation Prophecy Expires Today!
3 direct replies — Read more / Contribute
by eyepopslikeamosquito
on Sep 12, 2016 at 08:10

    The Original Prophecy of John "Nostradamus" Davies

    Old nodes still garner upvotes this year, but this year's nodes have no chance of being upvoted five or more years ago:-). I have no doubt, that in another five years, nodes like Drunk on golf: 99 Bottles of Beer will have well over 100 votes. But by then, the threshold for getting into "Selected Best" will be even higher.

    -- davies prophesizes Sep 12 2011, five years ago today

    In the spirit of Nostradamus, I've taken the liberty of distilling John's bold and magical prophecies into three quatrains:

    Ancient nodes garner praise bounteously in the year
    a visionary creator of jobs falls from his apple tree.
    Yet the nodes from that year shall have not the opportunity
    to be complimented five or more years previous.

    In front of a monastery are strewn ninety nine intoxicating vials,
    disgorged from an illustrious and ancient line of a monk.
    His fame, renown and power through sects and speech is such that
    they are deservedly praised more oft than the sum total of bottles.

    And yet, five years hence, the threshold for being
    glorified and exalted shall rise to a loftier plane still.
    In consequence, the ninety nine vessels shall remain bestrewn,
    forever unwept, unhonored, and unsung.

    Today, exactly five years after John's acclaimed prophecy, I'm bewildered to report that Drunk on golf: 99 Bottles of Beer stubbornly remains forty six votes shy of a century. That makes me feel sad, for I put a huge effort into that node and, fortified by John's courageous prophecy, expectantly waited for five long years to see it finally reach its full potential.

    Spookily, the selected best nodes threshold five years ago was around 100 votes ... and there haven't been any centurion nodes for nearly five years now. Since 2010, nearly six years ago, there have been only five centurion nodes:

    So only true believers would claim a significant increase in the threshold for getting into "Selected Best". I am a true believer. I feel sure I've misinterpreted the wording of John's original prophecy, and patiently await a contemporary reinterpretation -- and a new prophecy for the next five years.

    -- Your loyal servant, Chavigny

    Update: I'd like to express my gratitude to the valiant monks who strove to realize davies prophecy, up-voting Drunk on golf: 99 Bottles of Beer from 54 to 67 in just two days!

Markup problem with Voting/Experience page
2 direct replies — Read more / Contribute
by hippo
on Sep 07, 2016 at 09:19

    There seems to be a problem with the markup in Voting/Experience System - at least in my versions of Firefox (48.0.1) and Vivaldi (1.3.551.38). At the bottom of the page below the "Return to the PerlMonks FAQ" link there is a second table of Monk levels and then what appears to be a JavaScript snippet is displayed. The main page content is not closed properly because the usual right sidebar is included in the main part at the very end.

Duplicate monk names
2 direct replies — Read more / Contribute
by hippo
on Sep 05, 2016 at 08:49

    It seems that we have two new brethren today with the same name. There is hello_beginner with 2 write-ups so far and (spurious dup) hello_beginner with none.

    This ought not to be possible, so there is presumably a bug somewhere which allows it (at least a race condition). Please could TPTB ascertain that these two users are the same and then dispose of the account with no write-ups before confusion reigns?

    Thanks, Hippo.

Embedding Videos and Slides
2 direct replies — Read more / Contribute
by LanX
on Sep 04, 2016 at 12:52
    I'd like to have an integration of conference talks (like from last YAPC::EU) here to get better discussions/feedback.

    One idea is to (automatically) integrate a link to PM per slide into the PDF, clicking would show a sub-thread in PM for this slide.

    Another is to embed Youtube videos in a thread start here like reddit does.

    Other ideas? :)

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Who stole Perl News?
1 direct reply — Read more / Contribute
by Athanasius
on Aug 27, 2016 at 03:27

    The Perl News section appears to have disappeared! Yes, that link takes you to a page for adding a news item, but all the actual items appear to be missing.

    For example, I have twice posted items to Perl News:

    1. [id://1097781] Project Euler Returns (2014-08-18)
    2. [id://1151268] Strawberry Perl 5.22.1 released (2015-12-29)

    — but now the Search button can’t find them by their node IDs, and Super Search can’t find them by their titles. :-(

    I mean, sure, I know that “no news is good news,” but still...

    Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

How was perlmonks built?
2 direct replies — Read more / Contribute
by QuillMeantTen
on Aug 25, 2016 at 10:02

    Greetings,
    I am wondering, does perlmonks use an existing framework? How has its architecture been decided? What are the design principles that are still applied to this day and been there since its inception?

Did Perlmonks Ever Salt and Hash Their Password Database?
3 direct replies — Read more / Contribute
by reisinge
on Aug 17, 2016 at 06:48

    Can you comment on the reddit thread? Are the passwords hashed or not? If not, why?


    Computers, networks, and algorithms are at the heart of all of our complex social and political issues. -- Bruce Schneier
Add Preview Button when Editing Node
1 direct reply — Read more / Contribute
by perldigious
on Aug 09, 2016 at 15:32

    The title pretty much says it, but is there any chance of getting a "preview" button when doing an "edit" on a node just like how there is for creating a node?

    I love it when things get difficult; after all, difficult pays the mortgage. - Dr. Keith Whites
    I hate it when things get difficult, so I'll just sell my house and rent cheap instead. - perldigious
Vote button missing on Review threads
3 direct replies — Read more / Contribute
by Athanasius
on Aug 07, 2016 at 01:57

    The appearance today of a new module review led me to discover that whereas individual nodes in Book Reviews and Module Reviews have ++, --, and +=0 buttons, there is no vote! button at the foot of the thread to allow the votes to be cast.

    (Book and module reviews are so few and far between that it’s possible this state of affairs has gone undetected for some time.)

    Cheers,

    Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Worst week ever?
6 direct replies — Read more / Contribute
by BrowserUk
on Aug 05, 2016 at 00:25

    Is it just my feeling, or was this last week the worst (lowest) week of site contributions ever?

Number of replies shown in Monastery Gates incorrect?
3 direct replies — Read more / Contribute
by perldigious
on Aug 04, 2016 at 10:35

    I don't know if this has been reported before, but I noticed that the number of replies listed on a post sometimes changes when the post is being viewed in the Monastery Gates or the SoPW sections.

    For example, at the time I type this, looking at the recent Anonymous Monk post titled regex issue at the Monastery Gates I see it says 3 replies, but for the same post in the SoPW section I see it says 11 replies. Just an FYI.

    I love it when things get difficult; after all, difficult pays the mortgage. - Dr. Keith Whites
    I hate it when things get difficult, so I'll just sell my house and rent cheap instead. - perldigious
The Vote Button in the Edit View
2 direct replies — Read more / Contribute
by choroba
on Aug 03, 2016 at 05:27

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


  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (13)
    As of 2016-09-29 13:58 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Extraterrestrials haven't visited the Earth yet because:







      Results (554 votes). Check out past polls.