Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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
Chatterbot update
1 direct reply — Read more / Contribute
by cavac
on Jun 19, 2024 at 05:16

    Just some quick notes:

    I have updated chatterbot to disable self-referencing Karma (chatterbot will quip that he dropped your vote into the recycling bin or something similar). It's not 100% foolproof, but it's better than before.

    I have also fixed a timezone bug in the CBStats "special nodes" section that watches for Paco to return. This might or might not break when switching between daylight savings and standard time.

    If you have noticed any other bugs, just send me a private message.

weird certificate behaviour browsing with chrome
3 direct replies — Read more / Contribute
by Discipulus
on May 30, 2024 at 08:21
    Hello folks (from Firefox)!

    Since some days and only using Chrome (version 125.0.6422.113 (Official Build 64 bit) I cannot browse anymore (nor www. .com .net etc.) because of the following weird error: NET::ERR_CERT_INVALID and inspecting the certificate I see the certificate presented is: Common Name: <empty> issued by: Common Name: GTB Technologies, Inc (46115)

    If I inspect it with openssl.exe (I'm on windows but I dont lean out of it.. :) and grep I see valid certs only:

    openssl s_client -showcerts -servername -connect css.perl 2>/nul | grep CN i:/C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectig +o RSA Domain Validation Secure Server CA 1 s:/C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sectig +o RSA Domain Validation Secure Server CA i:/C=US/ST=New Jersey/L=Jersey City/O=The USERTRUST Network/CN=USER +Trust RSA Certification Authority issuer=/C=GB/ST=Greater Manchester/L=Salford/O=Sectigo Limited/CN=Sect +igo RSA Domain Validation Secure Server CA ^C^C

    without grepping the output I notice: Verify return code: 20 (unable to get local issuer certificate) but that shoud not be an issue.

    The same happens with openssl   .... -servername ... (the other IP).

    I cleaned the site's data and all data from all website stored in Chrome (not cleared cookies tho) and reboot happened in the meanwhile.

    If I export the certificates I can also see right SAN (Subject Alternative Names):

    ...but with this strange issuer: Issuer: C = US, CN = "GTB Technologies, Inc (46115)" it does it means I'm under a transparent device masking my request? If so why not with Firefox? Just for your info and in the hope these are useful informations.


    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.
You said "foo" to bar ... gone!
2 direct replies — Read more / Contribute
by 1nickt
on May 24, 2024 at 06:34

    Hi, until recently when you posted a private message to a user you saw below the chatterbox something like "You said "foo" to bar". This was a useful confirmation that the private message was sent correctly. It's no longer appearing. Can we have it back?


    The way forward always starts with a minimal test.
Regression: Deactivated quips show in CB, even in alarm colors
3 direct replies — Read more / Contribute
by LanX
on May 01, 2024 at 08:55
Why was my account deleted?
3 direct replies — Read more / Contribute
by Anonymous Monk
on Apr 27, 2024 at 00:29
    Hello, I'm Ruby,

    I created this account Nov 3, 2005 and have logged in multiple times since.

    Seems the account has been deleted. Any idea why?

    I went so far as to recreate the account just now, to see if I could re-claim it. The UI allowed the submission, and told me that an email would be sent shortly (to the original email associated with the account). I received no email.

    Either there's a decent delay between account creation and the sending of a temp password, or there's some bug that allows people to re-sign up for a deleted account...

    Did I break some code of conduct? Did I break some terms of service?

    Guess I won't get that 20 year PM anniversary after all.


Is there a simple way to archive/download all of PerlMonks?
7 direct replies — Read more / Contribute
by Anonymous Monk
on Apr 26, 2024 at 21:43
    Is there a way to get my own copy of Perl Monks for offline enjoyment and data hoarding?

    I know I can mirror or recursively fetch with wget or curl, but I'd like to do this in a less impactful and most efficient way if at all possible.

    Also, if there's a way to (r)sync said export periodically that'd be extra snazzy.

    Scope: let's just say any page/asset that's viewable to me, anon.

    Format: Prefer HTML I suppose, of top-level nodes. but I'd be happy to get my hands on whatever's available.

Chatterbox KARMA support
2 direct replies — Read more / Contribute
by cavac
on Apr 20, 2024 at 17:57

    I spent the day rummaging around in chatterbots brain. It now understands Karma and displays it in cb stats.

    You can just do:

    [LanX]++ [NodeReaper]-- I disagree! [NodeReaper]-- shouldn't have reaped my post!

    Yes, negative Karma also works. The feature is quite flexible, pretty much anything in square brackets that the Monastery can turn into links can be given Karma. So if you like, for example, CB Stats, you can do:


    Karma-Parsing is rather simple minded:

    ... my $vote = 0; if($decoded =~ /\[([^\]]+?)\]([+-]{2})/) { ($id, $type) = ($1, $2); if($type eq '++') { $vote++; } elsif($type eq '--') { $vote--; } } ...

    Karma points are tracked for 7 days. Well, technically, they remain in my database forever. But to match the other CB Stats, i only look at the last 7 days.

    I also track WHO is handing out the points and show the 5 most active Karma givers in the stats as well.

    Another special feature is that chatterbot can watch homenodes and "last seen" time and show last online time of a user. This may have serious timezone bugs!. I'm not sure if this feature is of any use, other than novelty. I configured some random users at the moment to test the stability of my homenode parser.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Negative vote count
2 direct replies — Read more / Contribute
by Athanasius
on Apr 18, 2024 at 12:40
Outage on Monday
7 direct replies — Read more / Contribute
by choroba
on Apr 15, 2024 at 09:15
    PerlMonks was timing out for me from about 8:30 UTC to 13:15 UTC. On the weekend, I noticed a similar behaviour, but the period was much shorter. Does anyone have an explanation?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
chatterbot has no XML version
2 direct replies — Read more / Contribute
by choroba
on Apr 12, 2024 at 06:28
    PerlMonks pages can be retrieved in XML with just appending displaytype=xml to the URL query. It works even for users, e.g. me in XML.

    For our beloved brother chatterbot, though, this isn't the case. The XML version returns nothing, which breaks the XML parser in pc-cb-g. Why is that?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
New Feature: Notifications Nodelet
3 direct replies — Read more / Contribute
by jdporter
on Apr 09, 2024 at 14:47

    There is a new nodelet, Notifications.

    What this essentially does is split out the system-generated notification messages into a separate nodelet from the Chatterbox nodelet. So if you enable this nodelet, then all of the messages which come to you from the system (i.e. from root or NodeReaper) are shown in this nodelet and not in the Chatterbox nodelet.

    This is structured very similarly to the Chatterbox nodelet, but with a few simplifications:

    • It only shows a maximum of 16 notifications; it ignores your "Max to display in Chatterbox" setting.
    • It shows a maximum of 16 entries, unless you have "Max to display in Chatterbox" set. (When viewing Notifications directly, the default max is 128.)
    • It doesn't show the sender of each message. (It will only ever be root or NodeReaper anyway.) In the place of that, it shows a bullet.
    • Since the sender isn't shown, to see the send time you can hover over the message preface.
    • There is no 'talk box' in this nodelet. Instead, there is a 'delete' button you can press to delete any checkbox-selected messages.
    • The preface from NodeReaper — "I've reaped a node you considered" — is changed to "A node you considered has been reaped".

    As with all nodelets*, this one can be viewed "standalone" on its own page, simply by going to the node of the same title: Notifications.

    * With just a couple exceptions.

Private messages stopped showing feedback on success
3 direct replies — Read more / Contribute
by LanX
on Apr 07, 2024 at 08:58
Cannot Create New Perl Monks Account
3 direct replies — Read more / Contribute
by Anonymous Monk
on Mar 29, 2024 at 07:17

    I've been trying to create a perl monks account:

    • Selected a username and email.
    • Clicked submit.
    • Saw the screen saying it was created and I should get an email.
    • But I've received so far still no email (including in spam and trash).
    • Tried several times.

    Any ideas?

New Feature: Private Groups of One
1 direct reply — Read more / Contribute
by jdporter
on Mar 28, 2024 at 15:44

    OK, folks, I've got yet another steaming-fresh feature for you: Private groups of one. Each monk can have a private group of which they are the only member. In this group, you have access to the feature which supports threaded discussions on groups. Here's the trick which makes this feature useful (in my hubrile opinion): the Gods also have access to your private group of one! This enables to have private threaded discussions with the gods. I made this because I feel that our inbox-based message system and wikis are rather inadequate for extended discussions.

    To access your private group of one, go to your home node. You should see a row labeled "Private Group:" at the bottom of the table next to your picture. If the private group doesn't exist yet, there will be a link to Create it. Otherwise, the link will say Visit.

New Feature: What Links Here
1 direct reply — Read more / Contribute
by jdporter
on Mar 18, 2024 at 14:15

    Alrighty, folks! I've got another steaming-fresh feature for you: What Links Here

    There is a new nodelet you can enable, if you are interested in this feature. Go to your Nodelet Settings and find "What Links Here" somewhere near the top of the list.
    Then, whatever node you're on, this nodelet will show what other nodes link to the current node.

    The list is capped at 20. For nodes which are the target of many links, such as the PerlMonks FAQ, the nodelet will list 20 nodes, followed by a link to What Links Here where you can see the full list.

    The database table behind this feature is not automatically maintained (yet), so I'll need some volunteers from pmdev to occasionally visit Update Userspace Links. Doing so will cause a delta update to the table.

    I was inspired by this old quote from Rob Malda:

    The thing that I always thought was the most interesting in Xanadu is the idea that links are bi-directional. And the Everything Engine was designed around that.

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.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-06-22 18:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.