Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Perl Monks Discussion

( #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
Selected Best Nodes: 2011-2015
4 direct replies — Read more / Contribute
by eyepopslikeamosquito
on Nov 11, 2016 at 05:52
PM currently very slow, caused empty post? (updated)
2 direct replies — Read more / Contribute
by haukex
on Nov 05, 2016 at 11:58

    Hi all,

    Accessing PerlMonks has been very slow for me today, and my first attempt at posting a reply to amazon sns subscription resulted in the empty node Reaped: Re: amazon sns subscription, which also didn't end up as a child of that node, but in RAT it shows up in the "Notes" section. Not sure what's going on, but I did notice that yesterday's node Re^4: wide scrollbars also ended up in the "Notes" section.

    Update 2: I'm assuming someone saw my post, since now, a few minutes after posting, the site's speed seems to be picking up a little bit - still not fast, but better. Thanks!

    -- Hauke D

    Update: Clarification: first attempt was unsuccessful, second attempt was successful

Notification of updates to "Tidings"
1 direct reply — Read more / Contribute
by kcott
on Nov 02, 2016 at 15:40

    "Tidings" (aka "What's New at PerlMonks" in the Information Nodelet and "What's New" in the block of links at the top of each page) is updated infrequently: there have been just nine additions in the last two years: 4 in 2016 and 5 in 2015. It is far from obvious when changes occur. I would like to propose that some prominent notification of changes to this node be implemented.

    Here's some suggestions for discussion:

    I have noted that "(*)" appears after "What's New at PerlMonks" in the Information Nodelet. I'm guessing this is intended to indicate a change but it is neither obvious nor prominent.

    — Ken

Problem with number of votes (02/11/2016)
3 direct replies — Read more / Contribute
by marto
on Nov 02, 2016 at 07:07

    It would seem that a rare instance of the vote fairy being late or not having visited has occurred. I seem to recall this happening at least a couple of times in the past, it's a very rare occurrence. The number of votes I have left today is the number I had left over from yesterday. To my knowledge one of these instances was related to a problem with a code change, I don't remember the other root cause. Posting this as it's now been discussed a couple of times in the chatter box. I've also messaged the gods to make them aware of the situation, not that it's a big deal.

Slow day?
3 direct replies — Read more / Contribute
by BrowserUk
on Oct 31, 2016 at 20:22

    Today seems to have been a remarkably slow day.

    On the basis of nothing more than gut feel, it seemed to start out relatively normal for modern times; but then it tailed off to almost total inactivity around lunch GMT.

    Two questions:

    1. Can my gut feel be confirmed by statistics?
    2. Was there any type of connectivity issue preventing people from posting?

    No big deal, I'm just curious as a couple of other sites I visit daily suffered the vagaries of DDoS attacked today.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.
Missing Sidebar in SoPW
2 direct replies — Read more / Contribute
by perldigious
on Oct 18, 2016 at 09:26

    Not sure if this is just me or everyone, but the normal right hand sidebar with all the links (XP Nodelet, Chatterbox, etc.) seems to be missing on the main SoPW page. Just FYI.

    UPDATE: Whoops, I was wrong. Not missing, but just pushed far to the right such that it requires lateral scrolling to even see. Not sure why that problem would only be on the main SoPW page though.

    Firefox Screenshot

    IE Screenshot

    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
node with no Vote button (but still vote radio buttons)
2 direct replies — Read more / Contribute
by RonW
on Oct 11, 2016 at 14:19

    While reading -Mouse, I noticed it had no Vote button even though it had the radio buttons for voting.

    I was able to vote on other nodes, so doesn't appear to be a block against me voting.

    Also, I have voted an "ancient" nodes, before (though not recently).

The gods are everywhere
1 direct reply — Read more / Contribute
by haukex
on Oct 08, 2016 at 11:54

    Hi All,

    As I first wrote in Re^4: Curious: are anon-hashes in random order? in reply to syphilis also noticing it, people have been mistaking the gods as the author of nodes seemingly more often in recent times, since my last post it's happened three more times. The reason is obvious, the top of the Comment on page says "by gods" - if this was changed recently, which I'm not sure of, that would explain why this mistake has happened more often recently. With all respect to the gods and their holy work here, perhaps there is a way to reduce newcomers' confusion by hiding/moving/something the "by gods" on that page?

    -- Hauke D

Data lost from private scratchpad
4 direct replies — Read more / Contribute
by Athanasius
on Oct 07, 2016 at 22:38

    For most of my time at the Monastery (nearly 4½ years now) I’ve been slowly accumulating information in my private scratchpad. Today I discovered that the majority of that data is gone — apparently just truncated below a certain point. I assume that means I’ve exceeded some pre-set limit? If so, I have three further questions:

    1. Is there any way I can recover the data?
    2. Is the limit local to the private scratchpad, or global across my home node, public scratchpad, and messages?
    3. How can I monitor my data usage in the future to prevent this from re-occurring?


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

Getting the node number of a space-filled node ID
2 direct replies — Read more / Contribute
by stevieb
on Oct 02, 2016 at 19:29

    This probably doesn't come as a surprise to many, but I thought I'd throw it out there for those who, like me, haven't realized it before.

    We all know that we can link to a node by using its ID: [id://789891|stevieb's home node], but some node IDs have spaces: ChatterBox FAQ. These ones break horribly when trying to use them in [id://ChatterBox FAQ] context.

    After years and years of being here, I realized that at the top of, the node ID is readily available in the on Nov 07, 2000 at 16:08 EST ( #236794=sitefaqlet: print w/replies, xml ) line, right under the by: $person line. Grab the number to the right of the #, and drop it into the id:// tag: [id://236794], and you're good to go.

    I'll bet there are other ways to glean this information, and why I didn't notice it earlier is beyond me. Either way, I thought I'd throw this out there :)

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 (&#960;) 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.


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.

    Eerily, 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!

    Update: Since 2012, no centurions, but some high rep nodes I know of:

    See Selected Best Nodes: 2011-2015 for more.

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.

Discussion Item
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?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (3)
    As of 2017-03-30 23:41 GMT
    Find Nodes?
      Voting Booth?
      Should Pluto Get Its Planethood Back?

      Results (364 votes). Check out past polls.