Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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
Is there a place on PM outlining community policy
4 direct replies — Read more / Contribute
by Anonymous Monk
on Mar 22, 2016 at 22:39
Best Nodes with negative reputation
4 direct replies — Read more / Contribute
by Athanasius
on Mar 14, 2016 at 01:36

    As I write this (Monday, 14th March, 2016, at 01:23:32 EDT [15:23 EST — my time]) the last two nodes featured in “Best Nodes of the Day” at Best Nodes are in negative reputation: -1 and -2, the latter for a node which has already been reaped.

    I think this reflects poorly on the Monastery; in any case, it is at odds with the behaviour of Worst Nodes, which never shows nodes whose reputation is zero or positive. (Currently, there are only two nodes showing in “Worst Nodes of the Day.”)

    Although this situation is rare (the nodes in negative reputation disappeared while I was completing this post!), I think it would be worth fixing.

    Update: Removed redundant “2016” from the date.

    Thanks,

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

Style change for "Edit the Node" headline?
3 direct replies — Read more / Contribute
by LanX
on Mar 10, 2016 at 18:40
    Hi, I have the impression the design changed to the worse.

    When I revisit a post of mine I see the the <h3>Edit the node</h3> headline for updating close right after my posting (here the signature) and only after a huge gap the input field for 'Title:'.

    This really confused me to the point that I believed <h3>Edit the node</h3> belongs to the text I posted.

    Was it always like that or did something change?

    Copying the html:

    ..........................End of Post .....................

    Edit the node



    Title:
    [Input Field]

    </p><p></p> <p></p> <p></p><h3>Edit the node</h3><br><br>Title:<br> '[Input Field]'

    probably someone changed the CSS for <p> ? Did we have this headline before?

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

What about Russian Poetry?
3 direct replies — Read more / Contribute
by chacham
on Mar 08, 2016 at 09:35

    Perl Poetry has an interesting entry by dmitri, which includes Russian. Eventually, it was approved by Corion, but only after dmitri considered his own node asking why. The Consideration is currently at "keep: 2 edit: 1 reap: 2", and the reputation at +10/-10. Also, in Perl Poetry, it says there are 3 replies, yet in Nodes to consider i says there are 4. (I only see 3 replies to the actual node.)

    Are foreign languages acceptable on PM? If not, are exceptions made for Perl Poetry, or only when English is the majority, or when it is easily translatable?

voting does update
2 direct replies — Read more / Contribute
by LanX
on Mar 06, 2016 at 06:37
    I was very surprised to notice that using the vote button would also update your own post if it's the root of the sub thread (even if the sub thread has only your post, you'll find a vote button to test it)

    Is this known and is it hard to fix?

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

    update

    Got a message I asking what do you mean by "update your post"??

    Answer: Please visit one of your old posts, change the text and click on [vote] instead of [update]

    You'll notice that the post is updated.

Grabbing a node by name, limit by section
2 direct replies — Read more / Contribute
by Tanktalus
on Mar 01, 2016 at 18:59

    There are some node names that are duplicate, so I'm wondering if I can grab one by name but limited to a particular section. For example, RonW is both a user and a SoPW. For my particular query, I only care about users, so I'm wondering if there is a flag I can pass in to say "give me RonW but limit the search to users" since http://perlmonks.org/node=RonW doesn't quite work.

    Thanks,

On silently moving posts
4 direct replies — Read more / Contribute
by flowdy
on Feb 21, 2016 at 07:21

    Hi!

    I am surprised to find my recent posting (originally in CUfP) approved in Meditations. After another read of the descriptions of both sections, it is okay for me, at least since my contribution does not contain code but is only an announcement. What if I had included short test scripts for a naive approach to the outlined problem and another according one for my elaboration?

    What I have missed, however, was a notification, so I would not have been afraid at first that my posting might be deleted. In my case, the CUfP section description reads like '... or full-blown webapps', so it was not entirely wrong there.

    Would it be too hard for moderators to drop a note to a monk on approving a node in a section different from the monk's choice?

    flowdy ;-)

Always some thing interesting at PM!
2 direct replies — Read more / Contribute
by flexvault
on Feb 19, 2016 at 13:02

    After logging into PM this morning, I found what I thought was a new monk called 'FlexAgain'. To my amazement he has been around much longer than I, and is still Level 1.

    FlexAgain:

    User since: Oct 24, 2002 at 11:47 EDT Last here: Feb 19, 2016 at 10:49 EST (2 hours ago) Experience: 18 Level: Initiate (1) Writeups: none

    It this a typo, or has he been AM for years?

    Regards...Ed

    "Well done is better than well said." - Benjamin Franklin

Why the down votes?
1 direct reply — Read more / Contribute
by u65
on Feb 12, 2016 at 08:04

    I would appreciate knowing what I did wrong in node 1154837.

Find your own monastery: "Perl 6" is not Perl, and Perl is not a Dinosaur
15 direct replies — Read more / Contribute
by 1nickt
on Feb 07, 2016 at 00:00

    This is a call to the fans of "Perl 6" to please go start your own monastery, or website, at least, and stop cluttering up these halls with posts about your new pastime.

    Yes, I know I am free to choose whether to read or not to read whatever article I don't like. But it's not about how I, or any established programmer, feels about "Perl 6" (not even about how it is likely to shrink further the limited opportunities to earn a living practicing a craft I've spent half a lifetime improving).

    The problem I have with allowing these "Perl 6" promos here is that it creates confusion for novice programmers who come to the monastery hoping to learn how to program in Perl, and fills their path to knowledge with obstacles, red herrings and irrelevancies.

    The same sad situation can be encountered when you visit http://blogs.perl.org, and apparently even the Perl Foundation spends its money on promoting "Perl 6" at conferences. (Apparently TPF has changed the emblem of the real Perl to a dinosaur; that sure helps!)

    This is, of course, the most unfortunate thing about "Perl 6" the hobby -- that people who don't know better conflate it with Perl, the working and wildly successful programming language. While there's not much we can do about that overall, we can certainly avoid exacerbating the problem by publishing "Perl News" and "Meditations" about Perl's 'mortal enemy,' as DAGolden recently judged it.

    To the "Perl 6" fans I say: stand on your own two feet and quit using the established culture of Perl, and this monastery, to try to popularize your hobby and land-grab your piece of the upcoming "Perl 6" gold rush (*cough*).

    Among the defining characteristics of a successful and long-lasting monastic order -- even a liberal one, even one dedicated to the social good -- are cohesiveness and unity of purpose. A house divided against itself cannot stand, as a wise man once said. It's fine for a small band of dissatisfied brethren to go off and develop a new denomination: knock yourselves out, but please don't forget the first half of that process!

    The way forward always starts with a minimal test.
remove post in perl monks site
2 direct replies — Read more / Contribute
by shan_emails
on Feb 03, 2016 at 10:30
    Hi All,

    Is there any option to remove some of the post in this perl monk site. then what is the procedure for that.

    Thanks in advance
Enhancement request: add <Q> tag to Perl Monks Approved HTML
2 direct replies — Read more / Contribute
by jcb
on Jan 31, 2016 at 22:28

    I recently tried to use <q></q> for an inline quotation and was surprised that PerlMonks does not accept it. I come here to humbly ask that the <q> tag be added to the permitted tags list.

Good Intentions: Wikisyntax for the Monastery
5 direct replies — Read more / Contribute
by LanX
on Jan 27, 2016 at 18:44
    One of my New Year's resolutions is to release more code, even if it doesn't meet my quality expectations yet... ╣

    I'm using this hack for some time now...

    It's a nodelet hack which automatically transforms my wiki-ish syntax into monk-code on submit.

    This is done transparently because after a reload the monk-code in the textarea is translated back to the original wiki syntax.

    Please note that you can still safely use and blend PM-markup as long as you use lowercase characters. The automatically transformed code is always uppercase.

    The biggest benefit is that paragraphs <P> are automatically included between two newlines...

    ...but I added some more goodies over the years. (see examples further down.)

    To activate this for yourself you just need to include the following code into your free nodelet.

    <script src='?abspart=1;displaytype=displaycode;node_id=1153804;part=3'></script>

    I hope the mechanism of the code is obvious enough to be adapted to your needs.

    ---Code---

    ---Demo---

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

    update

    codelink corrected, including another codearea changed the index to 3

    footnotes

    ╣) there is a long To-Do list left, but the idea of open source is to attract collaborators and/or forks ... right? ;-)

    bugfixes

    • surrounded activation of JS events with if(textarea) { ... } to avoid pages without posting forms (like RAT)
Ranking the Saints by XP Efficiency
4 direct replies — Read more / Contribute
by 1nickt
on Jan 13, 2016 at 23:24

    Hello fellow monks,

    I was curious about my progress in the XP game, and found it hard to visualize so I made this little script to produce a report on "XP Efficiency."

    It attempts to produce a ranking of Saints by comparing XP to either number of posts made, or to how long the Saint has been a Monk.

    I made a couple of efforts at making the data more relevant. For example, I exclude anyone who hasn't been active for a certain time, and anyone who has not made a minimum number of posts. This eliminates the Monks who have accumulated thousands of points but are not here in the community these days, as well as those who do come by regularly but have never posted anything.

    I also try to get at meaningful data by deducting half a point for each day as a Monk, since I'm most interested in XP efficiency based on real contributions to the Monastery, i.e. XP for upvotes and for votes cast, not for votes accumulated through simple longevity. (Of course it is impossible to properly account for all factors, e.g. the fact that there were far fewer Monks in the early days, so posts had fewer potential upvotes they could earn.) Would like to hear any suggestions on how to improve this "normalization" of the data. Mostly though the results appear to be in line with what I would have expected so I don't think it's too far off. Deducting a point per day seems to make a small difference, and only for XP/posts.

    It's just for fun, but it helps motivate me to excel as a teacher and as a student. You can run the script and force it to include you in the rankings even if you don't make the top 20 (or whatever you limit the search to), so you can see your progress at a glance.

    Usage:

    $ perl XP_efficiency.pl Usage: perl XP_efficiency.pl --sort_by (age|posts) Options: --sort_by, -s: Rank monks by XP/posts or by XP/age --limit, -l: Limit results to this many --order, -o: Sort order (asc|desc) --recent, -r: Limit to monks seen in the last n wee +ks --only_include, -i: Skip all monks except this/these one( +s) --force_include, -f: Include this/these monk(s) even if -l + is set --min_posts, -m: Exclude monks with fewer than this ma +ny posts --no_adjust, -n: Don't deduct 0.5 XP for each day of m +onkhood --help, -h: Print this help

    A couple of example reports:

    $ perl XP_efficiency.pl --sort_by age --min_posts 200 --recent 3 --lim +it 10 --order desc +--------------------------------------------------------------------- +-----------------+ | Pos | St. | Monk name | XP | Level | Age | XP/Age | +Posts | XP/Posts | +--------------------------------------------------------------------- +-----------------+ | 1 2 BrowserUk 159,881 Pope (28) 4,971 36.0644 +22,404 6.9144 | | 2 3 ikegami 127,624 Pope (28) 4,173 34.2347 +19,716 6.2615 | | 3 4 Corion 122,789 Pope (28) 5,783 23.4148 + 9,796 11.9443 | | 4 5 GrandFather 72,446 Sage (25) 3,880 20.4526 + 6,562 10.4489 | | 5 55 Athanasius 24,854 Canon (20) 1,352 20.1077 + 1,458 16.1193 | | 6 664 1nickt 3,115 Curate (13) 214 15.6199 + 468 6.1987 | | 7 42 choroba 29,288 Canon (20) 2,112 14.8885 + 3,739 7.2683 | | 8 20 toolic 43,023 Bishop (22) 3,130 14.7489 + 3,597 11.0906 | | 9 7 tye 70,849 Sage (25) 5,661 13.3272 + 7,887 8.2652 | | 10 60 kcott 24,138 Canon (20) 1,939 13.2484 + 2,407 9.2227 | +--------------------------------------------------------------------- +-----------------+
    The next two show the effect of adjusting to discount the daily freebie XP point (not really seen when sorting by XP/age; this is XP/posts):
    $ perl XP_efficiency.pl -s posts -m 200 -l 5 -o desc -n +--------------------------------------------------------------------- +-----------------+ | Pos | St. | Monk name | XP | Level | Age | XP/Age | +Posts | XP/Posts | +--------------------------------------------------------------------- +-----------------+ | 1 82 gryphon 18,249 Abbot (19) 5,643 3.7429 + 218 83.7110 | | 2 17 Old_Gray_Bear 46,694 Bishop (22) 4,507 11.9908 + 598 78.0836 | | 3 72 gmax 20,739 Abbot (19) 5,164 4.6478 + 292 71.0240 | | 4 54 Perlbotics 24,920 Canon (20) 3,056 9.4366 + 384 64.8958 | | 5 34 Gavin 32,148 Chancellor (21) 3,599 10.3364 + 600 53.5800 | +--------------------------------------------------------------------- +-----------------+
    $ perl XP_efficiency.pl -s posts -m 200 -l 5 -o desc +--------------------------------------------------------------------- +-----------------+ | Pos | St. | Monk name | XP | Level | Age | XP/Age | +Posts | XP/Posts | +--------------------------------------------------------------------- +-----------------+ | 1 17 Old_Gray_Bear 46,694 Bishop (22) 4,507 10.8334 + 598 70.5468 | | 2 82 gryphon 18,249 Abbot (19) 5,643 2.5855 + 218 57.8257 | | 3 54 Perlbotics 24,920 Canon (20) 3,056 8.2794 + 384 56.9375 | | 4 72 gmax 20,739 Abbot (19) 5,164 3.4905 + 292 53.3390 | | 5 34 Gavin 32,148 Chancellor (21) 3,599 9.1792 + 600 47.5817 | +--------------------------------------------------------------------- +-----------------+
    Include yourself and someone else and see how you stack up:
    $ perl XP_efficiency.pl -s posts -m 200 -l 10 -o desc -f 1nickt -f mer +lyn +--------------------------------------------------------------------- +-----------------+ | Pos | St. | Monk name | XP | Level | Age | XP/Age | +Posts | XP/Posts | +--------------------------------------------------------------------- +-----------------+ | 1 17 Old_Gray_Bear 46,694 Bishop (22) 4,507 10.8334 + 598 70.5468 | | 2 82 gryphon 18,249 Abbot (19) 5,643 2.5855 + 218 57.8257 | | 3 54 Perlbotics 24,920 Canon (20) 3,056 8.2794 + 384 56.9375 | | 4 72 gmax 20,739 Abbot (19) 5,164 3.4905 + 292 53.3390 | | 5 34 Gavin 32,148 Chancellor (21) 3,599 9.1792 + 600 47.5817 | | 6 100 scorpio17 16,117 Abbot (19) 3,253 4.5761 + 323 39.8266 | | 7 61 hsmyers 23,992 Canon (20) 5,452 3.9352 + 520 35.6538 | | 8 44 borisz 27,915 Canon (20) 4,756 5.6351 + 913 25.3658 | | 9 129 dvergin 12,732 Monsignor (18) 5,825 1.3724 + 311 22.2090 | | 10 58 FunkyMonk 24,201 Canon (20) 3,187 7.6302 + 1,024 20.5215 | | 41 6 merlyn 71,157 Sage (25) 5,741 13.1874 + 6,322 10.3474 | | 82 664 1nickt 3,115 Curate (13) 214 15.6198 + 468 6.1987 | +--------------------------------------------------------------------- +-----------------+

    Code if you would like to play with it:

    edit: reduce XP by only 0.5 per day; switched to Time::Piece as DateTime::Format::Strptime has compile problems on Strawberry Perl; switched to format_number() because round() does not provide trailing zeroes; increase XP/Age by two more orders of magnitude, for scale


    The way forward always starts with a minimal test.
Approval Nodelet "Consider node:" enhancement suggestion
3 direct replies — Read more / Contribute
by kcott
on Jan 05, 2016 at 01:36

    When initially considering a node, the process is: enter consideration text; select checkbox; hit [moderate] button.

    Now the Approval Nodelet displays the consideration text; however, the keep/edit/reap/nada radiobuttons are not shown. In order to see the radiobuttons, a page refresh is required: at which point, both consideration text and radiobuttons are displayed (as you'd normally see when landing on a page that has already been considered).

    So, the enhancement suggestion is for both consideration text and radiobuttons to be displayed after hitting the [moderate] button.

    — Ken


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 meditating upon the Monastery: (7)
    As of 2016-05-01 19:01 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?