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

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
Add "is this username available" instructions to "Choosing a username" page in PM FAQ
3 direct replies — Read more / Contribute
by GotToBTru
on Oct 13, 2015 at 14:28

    I suggest adding instructions in using SuperSearch to determine if a username is available to Choosing a username

    Is my username available?

    Here is how to determine if someone already has that name. This will not determine if a username is allowed; make sure you read the "Restrictions" section of this page to determine that.

  • Go to Perl Monks User Search.
  • Fill in your desired username in the "Author" box.
  • Click on the Search button. Wait patiently.
  • If the results are

    It seems that "desired username" does not exist. How very, very strange...

    congratulations! That name is available.

    Updated: shorter version using specific search page

    Dum Spiro Spero
Cached(?) pages when not-logged-in sometimes appear to be very seriously out-of-date
2 direct replies — Read more / Contribute
by sundialsvc4
on Oct 12, 2015 at 17:13

    FYI ... when I stumble-upon certain mainline sections, such as Meditations or Perl Monks Discussion, ... and for some (but not all?) threads listed on those pages ... I lately observe that the content is often many days(!) out-of-date ... until I log in.

    I think that this problem varies from one major-topic to another ... e.g. Seekers vs. Meditations vs. PMD.)   Specifically, I think that I am seeing “cache artifacts” that seem to vary(!) between “headline” pages and “particular threads” within a topic ... but, not necessarily consistently.   Sometimes I think that I am seeing a “fresh” page, while sometimes I think that a “neighboring” page is, in fact, “very stale.”   (I generally suspect that “the headline page” is the one, of the two, that is “very stale.”)   Given that I dump my local browser cache many times a day, I do not believe that local-caching is the root cause of this problem.

How can one find his previous preview page (uncreated)?
3 direct replies — Read more / Contribute
by u65
on Oct 03, 2015 at 11:48

    Is there a procedure for finding an uncreated preview node?

    A couple of times now I've started a post but got interrupted before I pushed "create" and so far have found no reliable way to easily find what I started. If I don't go too far astray, I can keep pushing the back arrow in my browser and find it, but if I log off or otherwise close the page I can't always find it again. I have not been able to find much searching about preview here except the threads on wanting a preview capability for updates.

    Note that when working on longer posts I've kept text in an offline file to edit and copy from, but that seems to be a pain for relatively small posts, but I guess I could make that a habit.


here frequency ?
2 direct replies — Read more / Contribute
by LanX
on Sep 26, 2015 at 10:03

    Just an idea...

    Would it make sense to add a "here frequency" to the user profiles?

    I just spotted a good brother who wasn't here for a long time but he disappeared before my /msg could reach him.

    Strangely I can't tell if he's passing now more frequently b/c last here is only telling me what I already know.

    More a meditation...

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

Bug in RAT node display?
1 direct reply — Read more / Contribute
by Athanasius
on Aug 30, 2015 at 09:00

    I just considered Digest::MD5 addfile() w/ tied filehandle to fix a spelling mistake in the name of the module under discussion. The node was already approved and front-paged. Following the consideration, the node is marked (CA) in Recently Active Threads (Full Thread view). Before consideration, it was marked (FA). So, the F (for Front Page) has now dropped out, although the node is still on the Front Page.

    Nothing earth-shaking here, I know, but — is this the expected behaviour, or is it a bug? I expected the node to be displayed with (CFA) following the consideration.


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

Reaped nodes no longer visible?
2 direct replies — Read more / Contribute
by Athanasius
on Aug 10, 2015 at 03:33

    Has there been a change to the display of reaped nodes?

    In looking through a thread, I used to see nodes that were marked as “reaped.” The content of these nodes wasn’t visible, but there was a link to see that content if one wanted to. Now, threads I know to contain reaped nodes no longer show them at all.

    This used to be configurable via one of the user settings. So my thought was that my setting had somehow been changed from “show reaped nodes” to “don’t show reaped nodes” — but now I can’t even find that setting anywhere.

    So, am I imagining things, or has the site been changed to no longer show reaped nodes? I see they are still accessible via the homepage of he who must not be named, just not in the threads where they were posted.

    Don’t get me wrong, if this change has been made then I’m all for it. I’ve long thought it was counter-intuitive to mark a node as “reaped” and yet still make it (relatively) easy to see what it said. I’m just surprised that no announcement has been made in Tidings (and a Super Search on “reaped nodes” shed no light on the issue).


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

"Your Blog Stream" in "User Settings" is "Show blog on homenode:" but its not a blog
1 direct reply — Read more / Contribute
by beech
on Jul 30, 2015 at 16:50

    If I go to User Settings the node User Posts is linked as "Your Blog Stream" and later there is a checkbox "Show blog on homenode:" but my writeups aren't a blog

    in other forum software, the "blog" section is not just another name for all the users writeups, its a separate section

    now given there is some choice of sections ... if its just root nodes I post that might make sense,

    but there is no docs on this,

    So I'm trying it out

Adding googleon/googleoff to portions of the right sidebar?
3 direct replies — Read more / Contribute
by perlancar
on Jul 30, 2015 at 09:31

    A couple of times when I'm searching for some perlmonks users in Google (for example, say I want to know the threads in which "perlancar" posts something or is mentioned), what come up instead are pages where the username is found in the "Other Users" section in the right sidebar.

    Google (and probably other search engines too) allow us to put hints to parts of a page which should not be indexed. In Google case, we can use the googleon/googleoff comments. The details are here: Excluding Unwanted Text from the Index p

Querying Saints in our Book
2 direct replies — Read more / Contribute
by chacham
on Jul 29, 2015 at 13:12
Checking Saint in our Book for ties
1 direct reply — Read more / Contribute
by chacham
on Jul 20, 2015 at 12:08

    eyepopslikeamosquito's planetscape and me: 1282 nodes apiece can be queried, or turned into a Greasemonkey script to run each time Saints in our Book loads:

    // ==UserScript== // @name PerlMonks Saints in our Book Ties // @namespace // @description Find ties in Saints in our Book, based on Writeups and + Experience // @include // @grant none // ==/UserScript== var table = document.getElementsByTagName('table')[4]; for (var i = 1; i < table.rows.length; i++) if ( (table.rows[i].cells[2].textContent == table.rows[i + 1].cells +[2].textContent) && (table.rows[i].cells[4].textContent == table.rows[i + 1].ce +lls[4].textContent) ) alert(table.rows[i].cells[0].textContent + ' ' + table.rows[i].cells[ +1].textContent + '\r\n' + table.rows[i + 1].cells[0].textContent + ' ' + table.rows[i ++ 1].cells[1].textContent);

    Alternatively, it can be turned into a bookmarklet by enclosing it in javascript:(function(){})();, to execute on demand. That is, copy and paste the following as a new bookmark:

    javascript:(function(){var table = document.getElementsByTagName('tabl +e')[4]; for (var i = 1; i < table.rows.length; i++) if ( (table.rows[i].cells[2].textContent == table.rows[i + 1].cells +[2].textContent) && (table.rows[i].cells[4].textContent == table.rows[i + 1].ce +lls[4].textContent) ) alert(table.rows[i].cells[0].textContent + ' ' + table.rows[i].cells[ +1].textContent + '\r\n' + table.rows[i + 1].cells[0].textContent + ' ' + table.rows[i ++ 1].cells[1].textContent);})();

    To test it, as it stands at the time this is being posted, it should alert you to one set of duplicates.

    Added on OpenUsersJS at PerlMonks Saints in our Book Ties

Consideration history? (No further action required.)
1 direct reply — Read more / Contribute
by BrowserUk
on Jul 15, 2015 at 12:37

    Update: Sorry people. See Re^2: Consideration history?)

    It is possible to view whether a node has been considered and subsequently un-considered (de-considered?)?

Threaded Monks Yodeling Modeling
5 direct replies — Read more / Contribute
by oiskuu
on Jul 08, 2015 at 17:54

    Consider one emergent discussion as a collective knitting job. Each monk can view it, appraise it, expand it. Or consider it a symphony of voices (Tolkien style?) In any case, some locus or front is implicit, with the work inexorably progressing along the time dimension, toward resolution. A piece that keeps morphing while you look at it, is probably not the easiest to work on. I see the new default order, and I'm not liking it.

[Solved]: Thoughts on a section for popular one liners
3 direct replies — Read more / Contribute
by Perl300
on Jul 07, 2015 at 10:47
    Hello monks,

    I have not been a very active user until recently when I started working on perl. So please forgive me if I am not suggesting something useful or just repeating a topic that was discussed earlier as well.

    As a learner, I am fascinated with one liners in perl that could do something very useful in just one line. So this came to my mind. Would it be a good idea to have a link on perlmonks where we can have users post some interesting/useful one liners? Going further (may be) selected ones are displayed on the website.

    Just a thought that I wanted to post so new learners like me would be tempted more into perl and sooner or later start writing their own one liners :-)

    I did a quick search on net and found that there is one book as well on perl one liners by o'rielly media.

    Thanks in advance!
Attribute Removed When Post is Listed in a PerlMonks Section
1 direct reply — Read more / Contribute
by kcott
on Jul 05, 2015 at 08:50


    Last week I wrote Syntax-highlight Non-Perl Code for HTML which I posted in Cool Uses for Perl.

    The first line contained the abbreviation CRPG. I provided a tooltip for this using the title attribute, like so:

    <span title="Computer Role Playing Game">CRPG</span>

    The tooltip showed up in both the [preview] and [create] renderings. Everything looked fine and I thought no more about it.

    That post was front-paged and I've just noticed that the version in The Monastery Gates listing (under New Cool Uses for Perl) had no tooltip for CRPG.

    I checked the source HTML in Syntax-highlight Non-Perl Code for HTML which had, as expected:

    <span title="Computer Role Playing Game">CRPG</span>

    I then checked the source HTML in The Monastery Gates which had, not as expected:


    And now, while previewing this post, I also notice that the listing in Cool Uses for Perl has no tooltip either (source HTML: <span>CRPG</span>).

    That's now potentially becoming somewhat confusing. To summarize (and clarify):

    Node ID Node Name Tooltip Source HTML
    1132421 Syntax-highlight Non-Perl Code for HTML Yes <span title="Computer Role Playing Game">CRPG</span>
    131 The Monastery Gates No <span>CRPG</span>
    1044 Cool Uses for Perl No <span>CRPG</span>

    So, while that's two PerlMonks Sections that I was able to check, this could also be happening in other sections.


    Is the title attribute (and value) intentionally removed from the listings in PerlMonks Sections? If so, what is the rationale behind this? Are attributes other than title affected? Are elements other than span affected?

    If this attribute was not intentionally removed then, presumably, that indicates a problem somewhere in the process of listing a post in various PerlMonks Sections. If this is the case, can it be fixed?

    -- Ken

Has Perlmonks become intolerant of opinion?
6 direct replies — Read more / Contribute
by Anonymous Monk
on Jun 30, 2015 at 16:21
    [oiskuu]: jeffa, aren't you too young to have worked for nixon adminis +tration? hmm [jeffa]: as if Obama's doesn't lie [jeffa]: oh "This" President is different ... he doesn't lie ... NodeReaper has swallowed jeffa, mmmmm...
    Since when it is a crime to criticize the President?

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!
  • 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 pondering the Monastery: (11)
    As of 2015-10-13 23:00 GMT
    Find Nodes?
      Voting Booth?

      Does Humor Belong in Programming?

      Results (316 votes), past polls