Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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
Problems with Newest Nodes
1 direct reply — Read more / Contribute
by roho
on Jun 14, 2021 at 09:19
    I cleared "last checked time" in "Newest Nodes" and now it only shows questions for the last 24 hours. I went to "Newest Node Settings" to change "last checked time", but found no setting for it.

    How do I get "Newest Nodes" to permanently show more than the last 24 hours of questions again (i.e., get back to the way it was before I cleared "last checked time")?

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

Markdown is now supported for comments, experimentally
3 direct replies — Read more / Contribute
by jdporter
on Jun 09, 2021 at 15:15

    Due to "popular demand", PerlMonks now supports Markdown formatting for writeups. Note: Initially, Markdown is only supported for comments (aka notes). If everyone likes it, we will extend the capability to root-level posts as well (SOPW posts, etc.)

    Some relevant past discussions:

    Sorry it took me a minute to implement this feature. :-D

    To enable the use of Markdown in your comments, go to your User Settings and change the "Format writeups as:" selection from 'conventional' to 'markdown'.

    Be aware that this is a global setting. You can't select the format at the time you submit the writeup.

    When you are looking at a writeup entry box (textarea), you will see a short note immediately above it indicating which markup you can use.

    This change was actually relatively simple to implement, since modules for converting markdown to HTML already existed.
    I would like to know if there is any demand for any other Lightweight markup languages.
    For example, we could add support for Textile or some flavor of wiki text.

    I reckon we are the only monastery ever to have a dungeon staffed with 16,000 zombies.
PerlMonks on the community dashboard?
3 direct replies — Read more / Contribute
by 1nickt
on May 15, 2021 at 10:09

    This is a great idea for a "Grafana-ish" community dashboard collating metrics from various Perl sites and communities. Should PerlMonks offer to participate? (Sadly the author did not mention us in a list of resources he contemplates metering initially.)


    The way forward always starts with a minimal test.
Comment form's help text can avoid supersearch perhaps
3 direct replies — Read more / Contribute
by bliako
on May 12, 2021 at 05:03

    I was looking for how to insert actual < and > on a comment and saw that under the comment box there is this (tags reducted):

    • Snippets of code should be wrapped in ... tags not ... tags. In fact, ... tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (... chars), in order to prevent horizontal scrolling (and possible editor intervention).
    • Want more info? How to link or How to display code and escape characters are good places to start.

    But the links either lead to nowhere (1st one) or lead to super-search with no results. Perhaps it can lead to a static page so as to reduce the burden to the site?

    bw, bliako

Stats for super search look buggy
2 direct replies — Read more / Contribute
by LanX
on May 07, 2021 at 16:43
[Solved] RAT not showing a reply
1 direct reply — Read more / Contribute
by choroba
on Apr 29, 2021 at 17:15
Notifications for replies buggy
2 direct replies — Read more / Contribute
by LanX
on Apr 22, 2021 at 13:31
search box link shortcuts like doc:// redirect to perlmonks.org
1 direct reply — Read more / Contribute
by Anonymous Monk
on Apr 22, 2021 at 03:26
Basic forum use question - show all replies and comments
2 direct replies — Read more / Contribute
by h2
on Apr 18, 2021 at 17:20

    I'm not seeing any switch or option to turn on view all comments/replies in a thread, which is what I want so I can check a thread and see the entire thread, replies, comments, everything, at the same time. Is there such a view option? It's very difficult to actually read all replies and comments when you have to click many of them individually just to read what was hidden.

    Also, I'd like to get rid of the "Replies are listed 'Best First'" sort because that's not the sort I want, I want either straight chronological, or nested chronological. This was particularly noticeable in a recent thread where 'best' had no meaning in the context of the thread, and the actual 'best' answers were actually hidden as comments you had to click to view.

Encoding Issue
2 direct replies — Read more / Contribute
by choroba
on Apr 13, 2021 at 11:23
    I noticed an encoding issue in the post Re^4: Useless use of string in return statement. When I dislpayed it for the first time, it showed a double encoded UTF-8 character:
    It’s one
    

    After I voted for the node, though, the encoding issue was gone:

    Itís one 
    

    I made screenshots of both the versions.

    Update: I'm using Firefox 78.9.0esr on Linux.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Internal problem in Montly/Weekly Best
4 direct replies — Read more / Contribute
by Discipulus
on Apr 12, 2021 at 04:32
    hello pmdevs

    I noticed the following error in nodelets about Montly/Weekly Best, maybe there is some work in progress?

    Monthly Best Internal problem occurred in get_picked_nodes called with 10 bind variables when 9 are needed Weekly Best Internal problem occurred in get_picked_nodes called with 10 bind variables when 9 are needed

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Display create date on Selected Best Nodes
No replies — Read more | Post response
by afoken
on Apr 10, 2021 at 07:15

    Whenever I browse Selected Best Nodes, I notice that I miss the create date that is included in "Super Search" results, "Nodes You Wrote", etc. Given that Selected Best Nodes may return postings that may be two decades old, the create date gives some context for the postings.

    So I propose to add the create date to Selected Best Nodes.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
The Categorized Questions and Answers section has been decommissioned
1 direct reply — Read more / Contribute
by jdporter
on Apr 09, 2021 at 15:47

    Effective today, the section of PerlMonks known as "Categorized Questions and Answers" is no longer in service. The section page is a tombstone. It is no longer possible to post Categorized Questions or Answers. It is also not possible to search such posts via Super Search. It wouldn't be useful anyway, because all of the posts which were Categorized Questions have been converted into SOPW posts. Likewise, all posts which were Categorized Answers have been converted into replies to those SOPW posts. In each case, the name of the CatQA 'section' in which the Question was placed has been added to the SOPW post as a keyword.

    The intent of the CatQA section will, going forward, be fulfilled by a new system, whereby "good" questions (in SOPW) and their "best" answers will be given a special flag, as well as relevant keywords.

    Some documentation and linkage changes remain to be made. If you see any, feel free to sent a msg to SiteDocClan, pmdev, or gods, depending.

    For more information on this change, see prior discussion: RFC: Better Best Answers Gets Real

    I reckon we are the only monastery ever to have a dungeon staffed with 16,000 zombies.
Helper script to format code and output to perlmonks markup
No replies — Read more | Post response
by LanX
on Apr 04, 2021 at 17:03
    Hi

    It's really tedious to need to correct code and example output after spotting a flaw.

    That's why I just hacked PM.pl to automatically wrap code-tags around my combined source-file and output, so I just need one copy and paste.

    Just put it into the same directory like your other scripts.

    Activate it just with do "./PM.pl" inside your source file.

    It requires a __DATA__ at the end of your source code and will warn you otherwise

    NB: The do PM.pl; is omitted as is __DATA__ if it's the last line.

    DEMO:
    This
    use v5.12; use warnings; do './PM.pl'; say for <DATA> __DATA__ 1 2 3

    creates
    <code> use v5.12; use warnings; say for <DATA> __DATA__ 1 2 3 </code> OUTPUT: <blockquote><i><code> 1 2 3 </code></i></blockquote>

    which renders as

    use v5.12; use warnings; say for <DATA> __DATA__ 1 2 3
    OUTPUT:
    1 2 3

    PM.pl

    The code is pretty self explanatory, you can adjust it to your needs

    UPDATE: fixed localization of non-buffering

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

PerlMonks main page: garbled character encoding
1 direct reply — Read more / Contribute
by kikuchiyo
on Mar 22, 2021 at 08:24

    When I load the main page, there is a character encoding issue: Image

    Interestingly, it appears normal when I open the link or when I log in.

    Firefox also displays this warning on the development tools panel: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol."


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":


  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
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 chilling in the Monastery: (5)
As of 2021-06-14 14:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (62 votes). Check out past polls.

    Notices?