Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Random Nodes are prohibited

by Bod (Parson)
on Jan 02, 2021 at 20:03 UTC ( [id://11126160]=monkdiscuss: print w/replies, xml ) Need Help??

When I use the Random Node feature, more often than not I arrive at a node which I don't have privileges to view. Whilst this is not a big issue, I suspect it comes from people in pmdev having access to all these prohibited nodes and not seeing the issue.

Either I'm rather unlucky with the random nodes I get served or there are a lot of prohibited nodes in the Monastery.

Replies are listed 'Best First'.
Re: Random Nodes are prohibited
by jdporter (Paladin) on Jan 02, 2021 at 21:38 UTC

    Thanks for the report. I have patched it so that it only selects publicly viewable nodes. I also found (and fixed) a bug where it was preferentially selecting either very ancient or very recent nodes. Cheers!

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

      ++ Thanks for the exceptionally quick response and fix to the problem.

      I don't believe I've ever used Random Node before now; however, I just followed that link and refreshed a dozen times or more: nothing of any particular interest but no denied access either.

      — Ken

        Just used this feature for the first time and (I'm not making this up) hit Re: Detecting last line and blank line by sundialsvc4 ... in which it was suggested that SunnyD's post was made by an "artificial intelligence troll bot" ... which LanX insightfully noted was no longer a fantasy ... and further speculated that "probably someone is training a neural network with our conversations".

      Great work, promptly fixed. Thanks as always for your work here. Would it be worth while to consider this idea of making nodes hidden due to 'quality' reasons unavailable when selecting a random node?

        Thanks. Good idea. I have patched it again so that it won't select nodes with rep less than -3.

        I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
      I have patched it...

      Thank you for the really quick response.
      That is a vast improvement - before I was getting nodes that I couldn't see or nodes that I had already seen because they were very, very recent. Now I am getting nodes that might be of interest :)

Re: Random Nodes are prohibited
by choroba (Cardinal) on Jan 02, 2021 at 20:31 UTC
    What feature are you talking about?

    BTW, pmdev is just one of the (cabal) groups here. As its member, I still can't access all the nodes in PerlMonks. Only the gods can.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      What feature are you talking about?

      In the 'leftovers' Nodelet there is a link called 'Random Node'. It does what it says on the tin and goes to a random node - mostly one where permission is denied.

        Ah, OK, [href://?op=randomnode]?op=randomnode.

        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        The codebase of the whole monastery is - with the exception of some basic modules - just a collection of nodes. Even their revision system is based on nodes.

        So it's not surprising if they are sometimes prohibited.

        Random Node doesn't seem to care if you are entitled to see those nodes, even as a pmdev I'm not allowed to access all nodes - at least officially.

        I haven't activated the Leftovers Nodelet anyway, I wouldn't care much about that feature.

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

Re: Random Nodes are prohibited
by jo37 (Deacon) on Jan 02, 2021 at 20:40 UTC

    Didn't know this feature until now. I experience the same issues.

    Greetings,
    -jo

    $gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

      I've seen it before but ignored it. Then yesterday I reached Friar and got access to the Approval Nodelet and thought it might be a good idea to put my Nodelets in a sensible order and find out what interesting things they do...

        Congrats on becoming a Friar! I vaguely remember that period for me. I even wrote a node about it way back when.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://11126160]
Approved by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (None)
    As of 2024-04-25 03:56 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found