Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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
Unable to uvpote 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.

    Obsolete

    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:

    https://github.com/perlorg/www.pm.org/wiki/The-Meetings-Page

    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]
Unanswered Perl questions on Stack Overflow
3 direct replies — Read more / Contribute
by davies
on Jul 25, 2020 at 06:35

    Davorg has posted a piece on LinkedIn (sorry, don't know how to link to it!) saying "Almost 7,800 unanswered 'perl' questions on StackOverflow. Can you help to answer some of them?" and giving the link https://stackoverflow.com/questions/tagged/perl?tab=Unanswered. I am not surprised, as I have never found SO to be a helpful community. If we wish to drive Perl traffic to this site - I assume we do - might it be worth posting answers here & putting a link to the relevant node on SO?

    Regards,

    John Davies

Unparent tangents?
4 direct replies — Read more / Contribute
by Lady_Aleena
on Jul 15, 2020 at 11:02

    Hello everyone. Is it possible to unparent tangents in threads? In the conversation of Expression form of map or grep, I answered a question as to why I cared about the number of lines. I replied here, and that created a tangent. Is it possible to unparent my reply and its replies into a new thread, maybe titled "I do not like scrolling" or something? It would be to keep the focus on the map/grep topic and let the new topic be its own thread.

    In my mind, tangents could confuse some newer users.

    I know this may be a bad thought or too much of a bother, but I would like to know. Please?

    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
Offering Plate needs some brasso
2 direct replies — Read more / Contribute
by perlfan
on Jul 12, 2020 at 10:17
    It mentions that TPF "... carries the legal responsibility for Perl 5 and Perl 6..", which is clearly out of date. Also the links are non-SSL. Not exactly something you want to note when going to donate, e.g. - it does redirect to https://donate.perlfoundation.org/, but not before you've already made a request to http.

    My last note is a thought, would it be to remove the unnecessary clicks in our "Donate" link above, and just link from here to https://donate.perlfoundation.org/donate.html. Idk if Dan is on here, but that page should probably get a face lift so that it has some of the info that's on https://donate.perlfoundation.org and may be more suitable for direct linking.

    minor update, s/what's/the info that's/.

Hex codes in links
1 direct reply — Read more / Contribute
by jo37
on Jun 21, 2020 at 10:02

    The node 11118252 has a "special" link that contains a vertical bar (encoded as %7C). This link has been constructed by specifying the full href, as choroba told me in a private message. As the vertical bar cannot be used directly in a link at the monastery as it separates the location from the displayed text, it must be encoded in some way. Trying to use the path IO::Uncompress::Gunzip#Transparent-=>-0%7C1 with some shortcut schemas gives interesting results:

    [metamod://IO::Uncompress::Gunzip#Transparent-=>-0%7C1] -> https://metacpan.org/pod/IO%3A%3AUncompress%3A%3AGunzip%23Transparent-%3D%3E-0%257C1
    points to nowhere (404)

    [doc://IO::Uncompress::Gunzip#Transparent-=>-0%7C1] -> http://perldoc.perl.org/IO/Uncompress/Gunzip.html#Transparent-%3D%3E-0%257C1
    links to the page, but not to the specified section

    [mod://IO::Uncompress::Gunzip#Transparent-=>-0%7C1] -> http://search.cpan.org/perldoc?IO%3A%3AUncompress%3A%3AGunzip%23Transparent-%3D%3E-0%257C1
    links to the specified section

    <EDIT> metacpan.org and search.cpan.org work just fine, when accessed with the original path component "as is". The perdoc.perl.org example is misleading, as there are no anchors within the page. </EDIT>

    All the generated links (except the full href) have one thing in common: The percent sign becomes encoded as %25. It depends on the target side if this will be interpreted in a useful way. I didn't find any documentation on how to include a hex encoded value in a link. Obviously it is handled different in a full href. Is this a bug or is it a feature? If it's a feature, then another feature might be missing: including hex codes in a path.

    Greetings,
    -jo

    $gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$
[Solved] Node renders differently when logged in vs. logged out
2 direct replies — Read more / Contribute
by haukex
on Jun 20, 2020 at 12:57

    Update: This paragraph is a test to see if I can reproduce it. italic ... Yep, confirmed.

    Solution: "Enforce proper nesting of HTML" in Display Settings. D'oh!

    The node 11115734 contains an unclosed <i> in the "EDIT" at the top. However, the HTML for this node differs depending on whether I am logged in vs. logged out. When logged in, it's

    <p> <b>EDIT:</b> <br /> I <strike>use</strike> <i>used</i> bareword filehandles. <i>In the course of this discussion I was convinced not to do so.<i> </i></i></p>

    But when logged out, it's

    <p> <b>EDIT:</b> <br /> I <strike>use</strike> <i>used</i> bareword filehandles. <i>In the course of this discussion I was convinced not to do so.<i> </p>

    What's going on? Of course the "fix" is to correct the unclosed <i>, but I'm surprised at the rendering difference.


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: (3)
    As of 2020-09-30 03:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      If at first I donít succeed, I Ö










      Results (157 votes). Check out past polls.

      Notices?