Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

    [id://11155739]++

    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
6 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.

Visited links in nodelets are rendered invisible
1 direct reply — Read more / Contribute
by Anonymous Monk
on Mar 09, 2024 at 04:02

    For a few weeks and for AM only (I guess), links in "boxes" on the right (nodelets they are called?) that have been already visited are now rendered as invisible text. I'm not too good with HTML/CSS to know why. Seen in different browsers/OSes/platforms. Maybe not very important and affects despicable AMs only, but still kind of broken window perspective.

    Also, I have put "boxes" into quotes above, they used to be nice clean boxes with strict lines to serve as borders, now without these lines it's amorphous pile with huge gaps of invisible text, but I understand that march of modernity/design is unstoppable, this latter complaint is just imho.

Recent threads - Show toggle on the left: indentation
2 direct replies — Read more / Contribute
by Danny
on Mar 07, 2024 at 12:01
    Having the +/- on the left side seems like the natural place for showing/hiding a sub-tree. However, when you do this, the + is left aligned with sub-trees at the same depth. This is fine if all sub-trees have descendents, and thus a +/-. But, if a sub-tree without descendents is above a sub-tree with descendents at the same level it appears as though the lower sub-tree is a descendent of the upper instead of a sister. For example, if the following are at the same level it looks like this:
    Re: Great subject[^19] 24 hours ago [him] +/-Re: Great subject(1) 11 hours ago [her]
    But it would be more natural if the subjects at the same depth were aligned like this:
    Re: Great subject[^19] 24 hours ago [him] +/-Re: Great subject(1) 11 hours ago [her]
Ability to mark specific "newest nodes" nodes as read
3 direct replies — Read more / Contribute
by Danny
on Mar 01, 2024 at 14:22
    Currently you can clear your "newest nodes" list up to the current time. However, it might be useful if you could remove specific nodes that you no longer want to show up. The "Newest Nodes" node is where I usually go so it would be nice for it to be more configurable.
New Feature: Thread Watcher
5 direct replies — Read more / Contribute
by jdporter
on Feb 29, 2024 at 14:54

    I am pleased to announce a new feature: thread watching. This lets you receive notification whenever someone posts a comment in a thread of interest.

    More specifically, you can get notified when someone replies directly to a specific node of interest, or when someone replies anywhere under a node of interest, no matter how many reply levels below the node. These two modes are called 'direct' and 'any'. The node of interest doesn't have to be a root node in one of the sections; it could be any reply as well, in case you're only interested in a subthread under some post.

    To register for notifications, click one of the new links you'll find by each node, near the "Comment on" link. For a node you're viewing directly (that is, the 'root' of a (sub)thread you're viewing), the new text looks like:
    Watch for: Direct replies / Any replies
    For all other nodes in a (sub)thread you're viewing, the new text looks like:
    Watch: Dir/Any

    If you have already registered interest in a node in this way, you will instead see a link like:
    Unwatch

    To see a list of all the nodes you are currently watching, go to My Watched Nodes. Next to each watch listed, you'll see a "button" (like [X]) which you can click to delete that watch.

    In addition... You can watch a user, i.e. receive notification whenever a specific user posts. To set up this kind of watch, go to the user's homenode, where you will see a link like Watch for posts by this user. When you are stalking a user in this way, you will also get notifications of whenever they submit root posts in any of the main sections of the site.

    If a post happens to hit multiple criteria you have set up — for example, you're watching for posts in a certain thread and by a certain user, and that user posts in that thread — you will get just a single notification message.

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

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 How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-25 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found