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
Site outage
4 direct replies — Read more / Contribute
by Co-Rion
on Dec 08, 2021 at 16:35

    We had an intermittent outage, but now the site is back up.

    The outage was caused by an upgrade to the MySQL client libraries, which made them not want to talk to the server anymore. The error code was ERROR 2027 (HY000): Malformed packet. The solution is described on StackOverflow.

    The resolution was to upgrade the DB password on the server to a new algorithm, which was a fix done in three minutes.

    The hard parts were getting home, looking through all the logs, and finding the error :)

Invalid ID in reply notification
1 direct reply — Read more / Contribute
by kcott
on Dec 05, 2021 at 23:31
Zombified user account on Selected Best Nodes
4 direct replies — Read more / Contribute
by Athanasius
on Dec 01, 2021 at 02:12

    Just noticed, Selected Best Nodes currently has dem bones in 12th place with a Rep of 137. This caught my eye because zombified accounts are supposed to have no write-ups. And no, this one doesn’t have any write-ups — the high-ranking node is the user page itself! I’m thinking something may be amiss here... ??

    Thanks for looking,

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

Searching the monastery with duckduckgo leads to ugly results
4 direct replies — Read more / Contribute
by LanX
on Oct 31, 2021 at 17:37
Truncation of individual "Nodes to Consider"
3 direct replies — Read more / Contribute
by kcott
on Oct 29, 2021 at 02:03

    G'day All,

    Would it be possible to truncate individual "Nodes To Consider" items that exceed a certain size.

    This request was prompted by the fact that, for about the last day or two, the first three entries take up about 20 screenfuls (on my 27'' monitor with my browser extended to its full height). I have encountered single items like this in the past, but never this many: it makes navigation very difficult.

    I'm not fussed about what actual size is chosen, perhaps 2,000 characters. I wouldn't want the number of lines to be the criterion: the second item, at the moment, contains a single line with 4,263 characters.

    I'd envisage some simple line, following the truncation, which says something like: "Truncated at 2,000 characters, follow the link above to see the full post.".

    Normal posts which exceed a maximum number of characters — I'm not sure of the limit; 64K? — have something similar. Perhaps the code used for that could be reused for this.

    — Ken

Controversial!! - Get rid of the -- vote option.
12 direct replies — Read more / Contribute
by cnd
on Oct 24, 2021 at 07:23
    Quora/Stackoverflow/etc have all been destroyed by opinionated idiots abusing the downvote system.

    I notice that the monks appear to have succumbed to the popularity gods and implemented a similar system.

    In all seriousness: there are only 2 kinds of readers:

    1. . Folk who know their stuff, understand the situation, and properly cast a ++ vote.
    2. . Ev everyone else - especially including trolls, angry fools, idiots who don't-know-shit, folk who do not like the subject itself or happen to have a different opinion to it, haters who dislike the poster or their alias, and so forth.
    The *problem* is that the group of #2 outweigh the group of #1 by at least 100:1 - which means that the entire usefulness of the voting system is destroyed: the actual voices of wisdom are downed out entirely by the idiots.

    I propose to delete the -- option entirely.

    Think really carefully about this:
    a) what kind of person do you need to be in order to be qualified to cast a "++" vote?
    b) what kind of person do you need to be in order that your casting of a "--" vote is on-topic and useful to the conversation and deserving to decrement the vote of person (a) ?

    See my point? There's no possible way to ensure that only skilled down-voters are counted, so not counting any downvotes at all actually sovles the problem. Garbage still ends up with "zero" reputation as it properly deserves, and all the gems are all but guaranteed to float to the top - without risk of being scuttled by fools.

How do you track nodes/replies of interest?
6 direct replies — Read more / Contribute
by perlfan
on Oct 12, 2021 at 20:45
    Please point me to such a feature if I am totally missing it. But I've often wondered the best way to bookmark or somehow aggregate interesting nodes, answers, etc - I mean other than manually tracking node IDs in scratchpad or in browser bookmarks..what methods do y'all use? Is there a "bookmark" or "save" node feature here that I have somehow missed all these eons?
Module Reviews display error
1 direct reply — Read more / Contribute
by Athanasius
on Oct 06, 2021 at 07:32

    Just stumbled across this today...

    When I click on any of the reviews in the Module Reviews section, I see, not the contents of the review, but metadata for the node. For example, the entry for the review of Acme::Apache::Werewolf by rob_au displays:

    • node_iip: none
    • package: 0
    • type: modulereview
    • core: 0
    • nodeupdated: 2005-08-13 16:55:42
    • reputation: 69
    • locktime: 0000-00-00 00:00:00
    • node_id: 307626
    • author_user: rob_au
    • hits: 2110
    • title: Acme::Apache::Werewolf
    • ucreatetime: 1069065933
    • createtime: 2003-11-17 05:45:33
    • postbonus: 1
    • votescast: 69
    • lockedby_user: none

    The reviews in the Book Reviews section are displaying correctly.

    Cheers,

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

scheme://query no longer works in Search box
2 direct replies — Read more / Contribute
by ikegami
on Sep 08, 2021 at 14:47

    id://11136579, doc://pack and mod://Text::CSV_XS no longer work in the search box. I just get redirected from https://www.perlmonks.org/ to https://perlmonks.org/.

    id://11136579, doc://pack and mod://Text::CSV_XS still work in posts, though.

    Perhaps broken by the Open redirects are disabled change?

My reputation points...?
1 direct reply — Read more / Contribute
by sbrothy
on Sep 04, 2021 at 18:27

    I recently graduated to novice(?) and have been allocated some reputation points to bestow on other people. I read that there would be some +'s and -'s next to the posts in my threads. I've been unable to find them though but whether that's due to my mediocrity or your appallingly wonderful UI I'm not sure. I've tried reading around but either I'm too lazy or the explanations are too opaque.

    Any chance of a link to a dumbed down version?

    Regards, sbrothy.

PerlMonks Shortcuts in Other ChatterBox Clients
2 direct replies — Read more / Contribute
by choroba
on Sep 03, 2021 at 12:46
    I didn't want to implement all the shortcuts PerlMonks provides in What shortcuts can I use for linking to other information? in my ChatterBox client, so I just redirected the links to /?node=.... When you clicked on [imdb://Office Space] in pm-cb-g, it opened https://www.perlmonks.org/?node=imdb://Office+Space—but after the change from April 16 ("Open redirects are disabled"), this stopped working!

    Is there a way how to get the target link from a shortcut? I.e. I don't want to redirect to it, I just want to get the link back so I can open it myself.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Mysterious unreap
1 direct reply — Read more / Contribute
by LanX
on Sep 02, 2021 at 02:23
Best client for Perl Monks messages and chatterbox
2 direct replies — Read more / Contribute
by perlygapes
on Jul 21, 2021 at 05:07
    Can I bend someone's ear for a moment:

    Is there a really good client that makes interacting with the Perly Gates message forum and chatter box really easy?
    Or do people just use the HTML page and have to type all the Markdown code manually?

    Prost, as they say in Germania :)
Voting inside longer subthreads with jump marks
3 direct replies — Read more / Contribute
by LanX
on Jul 18, 2021 at 17:57
    For discussion (and as reminder to myself)

    Voting inside longer sub-threads with many posts is easy, you select ++ or -- and hit return.

    But the request will return at the very beginning of the page and you need to scroll again to were you started.

    actually there are anchors allowing to return from where you voted, like

    ?node_id=11135115#11135141

    one only needs to isolate the ID from the radio's name <input type="radio" name="vote__11135141" value="-1">

    Minor complication is that one can vote on multiple nodes at the same time, identifying the one where the request was triggered might require some JS trickery.

    update

    In hindsight, implementing to vote with an AJAX request might be the better approach tho. It wouldn't require to reload the whole page and fiddling with the current vote mechanism.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

No Votes Available to Me for the Last Two Days
1 direct reply — Read more / Contribute
by roho
on Jun 26, 2021 at 00:38
    For the past 2 days I have had no votes available to me. I normally have 40 votes each day. This is the first time in 19 years this has happened to me. Have I somehow turned off the voting app? If so, how do I turn it back on? Has anyone else experienced this?

    Can someone with the proper access and authority please look into this? Thank you.

    "It's not how hard you work, it's how much you get done."


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, details, 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, summary, 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.