Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Perl Monks Discussion

( [id://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
Basic syntax displayed up front
2 direct replies — Read more / Contribute
by Danny
on Feb 20, 2024 at 05:37
    I think it would be really good for new users to have a prominent link to basic syntax for posting. It could be like a mini-faq that has the most common things people might want to use. It would be very helpful. This site can be challenging when new.
New feature: copy/pastable self referential backlink [id://...] for every node
2 direct replies — Read more / Contribute
by LanX
on Feb 05, 2024 at 10:40
We have gotten onto the scammers' radar
No replies — Read more | Post response
by erzuuli
on Feb 05, 2024 at 08:18
    Look at this ridiculous BS email I just got — the first such, and hopefully the last:
    To: vroom@********
    Bcc: johndporter@********
    Fri, Feb 2 at 3:18 PM
    Qeitiqwe Sykes here from Next Publisher. We've been monitoring and see great potential for a partnership.
    We connect esteemed sites like yours with advertisers seeking quality placements. Could you share your advertising rates and any special packages for bulk deals?
    Your insight will enable us to tailor our services to meet your needs and preferences.
    Thank you for your attention to this proposal.
    Kind regards,
    Qeitiqwe Sykes
    Next Publisher
    I tried g**gling the various names and found nothing.
Priorities perhaps?
3 direct replies — Read more / Contribute
by Bod
on Feb 01, 2024 at 16:58

    Looking back over the patches for the last few years, it strikes me that despite lots of patches, mostly from jdporter, there has been lots of good fiddling around the edges. The biggest flaws in The Monastery remain. I believe these are turning people away from The Monastery.

    I would like to propose what I think are three priorities that would be a step change for The Monastery without removing any of it's existing strengths:

    1. WISIWIG editor for posting along the lines suggested by cavac in WYSIWYG editor
    2. A revamp of the main menu navigation bar
    3. Address the issue of unencoded passwords

    I am not suggesting someone else does the work to make these happen. They are all things that I have implemented on other sites multiple times. However, I don't have the knowledge of PM's codebase or sufficient access for some of these. So I would need help to make them happen.

    We only have to look across to Everything2 to see how relatively small changes can have a big impact on user experience


    I'm going to preempt an objection...that 1 and 2 would require Javascript and not everyone has it enabled.

    A few years I ran a test on one of my sites to see how many people have JS switched off. After over 700k visits, less than 0.2% has JS off. But, I accept that PM is mostly frequented by older developers (me included) who are more likely to switch off JS.

    But whilst JS is needed to make WYSIWYG functionality, we can have a user setting to switch back to the existing raw-HTML editor and also do that switchback automagically if JS is not enabled on the user's browser.

    None of this is new...but is there any mileage or appetite for addressing it now?

Docs for enhanced linking style with '<' for '|' ?
3 direct replies — Read more / Contribute
by LanX
on Jan 25, 2024 at 08:57
Why is the site response time so incredibly slow?
3 direct replies — Read more / Contribute
by Danny
on Jan 23, 2024 at 20:36
    The response time for requests on this site is super slow. At times it takes 30 seconds for a page to load. Why is that? Down
6 direct replies — Read more / Contribute
by choroba
on Jan 23, 2024 at 14:06 is timing out for me. seems to be down. pings and runs without problems, as does

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Total writeups sometimes incorrect
1 direct reply — Read more / Contribute
by hippo
on Jan 11, 2024 at 06:37
RFC: "Today I Learned" page
9 direct replies — Read more / Contribute
by jdporter
on Jan 10, 2024 at 23:40

    Some time in the last year or two I suddenly realized that I should be keeping a log of the interesting things I learn from day to day. A couple months ago I was talking with my brilliant young nephew about how I didn't have a really satisfactory solution, and he suggested Notion. He set up a Notion workspace where we can both enter our #TILs. It works really well. Notion is amazing. But I can see how it might not scale too well with a large number of contributors.

    Long story short — I have created Today I Learned, a page where anyone (meeting certain minimum elibility requirements) can share interesting factoids. Please check it out. What do you think? Is it worthwhile? If not, could it be made better? If so, how? If snot, blow?

    I also want to note that the extant page, Today I Learned, is based on a generic mechanism which can be easily leveraged for other similar tasks. The main configurable parameters are: who can view the page, who can add entries, and who can delete entries. (readers/writers/deleters, in short.) These can be based on a user group (such as janitors or breathers of fire), or on monastic level (such as Level 10: Hermit). Can you think of a use for such a feature?

    I thank you, and Paco thanks you.

    * On the Today I Learned page, entries can be deleted by the Janitors, and the Editors Nodelet contains a link to that page labled 'TIL'. When there is a new entry on that page, a little flag (*) is appended to the 'TIL' link.

    Today's latest and greatest software contains tomorrow's zero day exploits.
Hacker News titles using U+2013 EN DASH
3 direct replies — Read more / Contribute
by kcott
on Jan 09, 2024 at 02:29

    Many Hacker News titles use U+2013 EN DASH. When listed in the "HackerNews nodelet" these are rendering as "" instead of "". Would it be possible to convert these?

    I know nothing of the code behind the scenes. Here's a couple of potential options:

    $ perl -Mutf8 -C -E '
        my $HN_title = "Show HN: Auto Wiki – Turn your codebase into a Wiki";
        say $HN_title;
        say $HN_title =~ s/–/\N{EN DASH}/gr;
        say $HN_title =~ s/–/&ndash;/gr;
    Show HN: Auto Wiki – Turn your codebase into a Wiki
    Show HN: Auto Wiki  Turn your codebase into a Wiki
    Show HN: Auto Wiki &ndash; Turn your codebase into a Wiki

    Using &ndash; is possibly the better option; but I'm just guessing.

    — Ken

Question about search results.
3 direct replies — Read more / Contribute
by swampyankee
on Jan 04, 2024 at 14:10

    I'm a trifle confused about my search results

    Found 0 nodes roughly between 2024-01-04 and 0 (searched 561.01% of D +B). where title contains "sudoku" Date: Author/owner: Title: Node type: Press to continue searching remaining 303.53% of DB. Please be patient after submitting your search. Link to preload this search: [href://?node_id=3989;HIT=sudoku]

    I'm rather surprised that the percentages are greater than 100%; this is not someone usually sees. Is this a bug in the search function or is it something intentional?

    Information about American English usage here.

    Floating point issues? Please read this before posting. — emc

Confusing Category
2 direct replies — Read more / Contribute
by choroba
on Dec 18, 2023 at 08:23
    This is probably a consequence of the transition from Categorized Q&As to Illuminations:

    How do I find what directory the perl script is running from? is blessed and tagged as "gui programming", but I'm not sure that's the correct tag for the question.

    I don't contest the blessing, just the tag.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Are blessings a new thing?
4 direct replies — Read more / Contribute
by talexb
on Dec 16, 2023 at 20:28
      (Dec 14, 2023 at 16:38 EST) erzuuli has blessed XS Modules - why and when? by Bod!

    I may have missed this, but I saw three posts that were 'blessed' by people in the Notices section of the side panel. Is this new? What does it mean?

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

PerlMonks working OK?
3 direct replies — Read more / Contribute
by Anonymous Monk
on Dec 14, 2023 at 12:04

    Is the site working ok? been mighty quiet the last few hours...

RFC: Add profile field "emergency contact" or such like as
4 direct replies — Read more / Contribute
by jdporter
on Nov 28, 2023 at 16:15

    It has happened from time to time that some monks have expressed concern over the unexpected and prolonged absense of another monk. In at least one case, a monk contacted the gods to see if a reachout could be done. Unfortunately, we had to say no, because the contact information stored in the user profile consists only of an email address, and our policies explicitly state this this email address "is used only to send you your password". I believe that this creates — correctly — a strong expectation of privacy around this personal information.

    Therefore, I would like to propose the addition of an "emergency contact" field, which would probably normally be an email address, but with a different expectation as to its potential usage. The use of this field would be strictly optional. That is, as a user, you wouldn't have to put anything in it unless you want to.

    Alternatively, we could add a checkbox which, when checked, indicates that you are OK with site administrators using the existing email for "emergency contact" purposes, in addition to its current purposes (i.e. password recovery).

    Any thoughts?

    "such like as" is my homage to blazar.

    Today's latest and greatest software contains tomorrow's zero day exploits.

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

  • 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 How to display code and escape characters are good places to start.