Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Perl Monks Discussion

( #1040=superdoc: print w/replies, xml ) Need Help??

Do not post your Perl questions here!

This section is only for discussing issues pertaining to the PerlMonks web site itself. For example, asking about how things work, or offering ideas on how the site could be made better.

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

PerlMonks Discussions
Random Nodes are prohibited
3 direct replies — Read more / Contribute
by Bod
on Jan 02, 2021 at 15:03

    When I use the Random Node feature, more often than not I arrive at a node which I don't have privileges to view. Whilst this is not a big issue, I suspect it comes from people in pmdev having access to all these prohibited nodes and not seeing the issue.

    Either I'm rather unlucky with the random nodes I get served or there are a lot of prohibited nodes in the Monastery.

how to delete my account permanently
5 direct replies — Read more / Contribute
by bigup401
on Dec 30, 2020 at 14:02

    how can i delete my account off this site

Dealing with spam users
5 direct replies — Read more / Contribute
by hippo
on Dec 04, 2020 at 10:55

    I've noticed an increasing number of spam users over the past few weeks: new accounts which don't post any nodes but put a link on their home node to their external site for SEO benefit. I wonder if a threshold for this facility should not be put in place such that it is unavailable to initiates? Either disallowing links in the Bio or just disallowing the Bio entirely would work.

    Or maybe the spam links aren't considered that much of an issue, I don't know. Any thoughts?


Quick and dirty mobile fix
5 direct replies — Read more / Contribute
by Bod
on Nov 22, 2020 at 11:51

    In several places I have mentioned my surprise at how archaic this site looks and feels - I know that for those of us who value the content, the connection with other Perl people and the discussion, the look and feel is worth the effort. But what about those outside The Monastery? Perl is considered old-fashioned, irrelevant and redundant to many people...right or wrong that is the way it is. Having one of the primary recourses for the language looking outdated does nothing to promote Perl's rightful place as a meaningful part of today's technology.

    In no way do I mean to question the amazing work that has been done bringing this community into being or the fabulous contributions that continue to be made.

    In another thread marto suggested it was more than trivial to convert the site to being mobile friendly - IMHO, the first stage of converting a legacy website to something more modern. So I thought I'd take a look at what was really needed to make a change...for a bit of fun and to, perhaps, generate some useful discussion.

    I went back a decade to a node, sv_upgrade error that was being discussed in November 2010 for no other reason than 10 years is a nice round number! I copied the HTML source, changed the existing image and script paths from relative to absolute, added a little CSS and a little Javascript and produced a quick and dirty mockup which is pretty much identical on desktop but behaves marginally better on mobile. Note that it's not a truly responsive page as it doesn't properly transition from narrow to wide screen width unless it is reloaded.

    I made the minimum changes I could which involved:

    • Adding a viewport meta tag
    • Converting a couple of deprecated HTML attributes (width mainly) to CSS
    • Adding a block of CSS and a single Javascript function
    • Adding a table cell containing a hamburger menu image to use on mobile
    Less than a couple of hours in total to make what I consider a very slightly better mobile display.

    Clearly this is just a conceptual idea - as The Monastery is built on a framework I have no idea what is involved in changing the source code that framework spits out and it would need much more then just a quick fix. However, from the comments I have seen scattered around, I'm not the only one who feels that this site no longer showcases Perl in the best way and any change in the right direction is probably a good thing.

    If there is a move towards creating a responsive site, I am happy to contribute where I can although I am very much aware that my coding skills are very inferior to many others here. But I am eager to learn and to help.

Transient nodelet problem
1 direct reply — Read more / Contribute
by hippo
on Sep 30, 2020 at 08:37

    I've just encountered an odd problem whereby the nodelets stopped part-way through. Looking at the Nodelets only included the XP nodelet and the first half of the Approval Nodelet - it stopped just after the "moderation history" link. The rest of the nodelets were absent as was the page footer ("PerlMonks lovingly hand-crafted by Tim Vroom.", etc.). I had not been logged out, according to the rest of the page. To see if it was reproducible I opened the same page in a fresh tab and the nodelets all appeared as they usually do and the footer had returned.

    Both requests would have probably been made at 13:27 BST (UTC +1) or so today.

    I've never seen this before but it might, if related, shed more light on the intermittent 500s. HTH, either way.


Unable to upvote answers
1 direct reply — Read more / Contribute
by pritesh_ugrankar
on Sep 26, 2020 at 13:55

    Resepcted Monks,

    Since past few days, I am not able to upvote any answers here at PerlMonks. I was able to upvote up until a few days ago, but it's been about 2 weeks, and I've checked at different times, upvote radio buttons do not show.

    Many of the answers to the questions I asked were absolutely fantastic and the least I can do is upvote them. I've been referring to books and writing code, but the help offered here is far beyond imagination. It has been an eye opener to say the least and then it really feels bad that I cannot upvote. Please help me.

Server Error in NTC
1 direct reply — Read more / Contribute
by hippo
on Sep 16, 2020 at 06:02

    Today I am consistently seeing a Server Error message in Nodes To Consider where the keep/edit/reap/nada radio buttons would ordinarily be. LanX reports seeing the same.

    The error reads like this:

    Server Error (Error ID 4080294c3022)

    An error has occurred. The site administrators have been notified of the problem and will likely soon fix it. We thank you, for you're patients.

    but with the span also having style="color: #cc0000" being applied, so that line of text is in red. It is consistent - it appears to happen every time when visiting that page (although the Error ID changes each time). If I view the node under consideration itself then the radio buttons appear in the Approval Nodelet as usual.


div class reputation nit
2 direct replies — Read more / Contribute
by Lady_Aleena
on Sep 14, 2020 at 13:18

    <center> elements are being used in the divs with the class reputation. <center> has been rendered obsolete, deprecated in HTML 4 and XHTML 1.


    This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

    - <center>: The Centered Text element (obsolete) on MDN web docs

    Please remove the <center> elements in favor of using the CSS property text-align: center?

    Edit: It is easier to restyle text-align: then to style the <center> tag.

    My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena
Title bar and menu face lift?
3 direct replies — Read more / Contribute
by Lady_Aleena
on Sep 08, 2020 at 17:27

    I played around with some new code for the top bar and the menu. I removed the tables and used flex. It isn't perfect, but it might be a slight improvement.

    Note:This, or something close to it, is what I originally posted. The code in the first one is different.

    My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena
Emailing Passwords? In 2020?
6 direct replies — Read more / Contribute
by punklrokk
on Aug 17, 2020 at 20:49
    Hey Monks,
    So, it's been awhile. On a whim I came here and tried to login. I had to reset my password.
    Now, I know this is not really a super secret space and nobody is going to get my credit cards, but can I implore the site admins here to not email me my password via email.
    Hopefully I don't need to get into why, but I'm willing to explain if needed.
    JP (punklrokk)
proposal to update links in the Perl News section
No replies — Read more | Post response
by perlfan
on Aug 17, 2020 at 12:18
    Currently, there is an attempt to note virtual Perl Monger meetings at the following URL:

    I propose that this be added to the links at the top of Perl News for 2 reason:

    1. It's a living resource and a chance for more interaction virtually
    2. To encourage its use so that it better accomplishes the its purpose described in #1

    Further more, making the linked text clearly indicate the benefit of clicking the link (for PM organizers and virtual lurkers alike) would help. I have no suggestion for the wording.

    Thank you.

Error in Best Nodes of the Week
5 direct replies — Read more / Contribute
by Athanasius
on Aug 14, 2020 at 03:09

    I’m looking at the Best Nodes page. Sections for Best Nodes of the Day, Month, and Year have 10, 10, and 20 entries, respectively, as expected. But Best Nodes of the Week shows only 6 entries, numbered 5 to 10. Looks like something has gone wrong somewhere.

    Thanks for looking,

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

Last hour of cb has not updated since Aug 05, 2020.
3 direct replies — Read more / Contribute
by Lady_Aleena
on Aug 11, 2020 at 16:07

    Just thought you would like to know that the last hour of cb has not updated since Aug 05, 2020 at 12:55 EDT.

    My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena
Preview neither truncates nor warns
2 direct replies — Read more / Contribute
by hippo
on Aug 05, 2020 at 04:38

    Reading Re^10: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000) I was encouraged to confirm what rgren925 reported. I constructed a reply with about 120kB in it and used the Preview button to check it. All of it was rendered and there was no warning (that I could see) that it was over the size limit for posting. When it was subsequently submitted it still rendered fine and it was only on a further navigation to the same node that it did truncate to ~64kB as I expected.

    This is not great from a UX perspective. The preview should either warn about the size or truncate it like the final submission would do or (ideally IMHO) both. The full text could still be retained in the textarea for ease of editing.


Lots of 500s
2 direct replies — Read more / Contribute
by choroba
on Jul 30, 2020 at 04:41
    I'm getting lots of 500s when trying to access RAT. Are all the servers OK?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

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 the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (2)
    As of 2021-04-22 02:40 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found