Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Name not displayed in Last hour of CB

by choroba (Cardinal)
on Sep 30, 2012 at 19:59 UTC ( [id://996532]=monkdiscuss: print w/replies, xml ) Need Help??

In last hour of cb, I am now seeing Polyglot's name displayed as [[id://-1]]. In the CB, though, I see his name displayed correctly. A bug?
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re: Name not displayed in Last hour of CB
by kcott (Archbishop) on Sep 30, 2012 at 21:30 UTC

    Linking directly to Polyglot (i.e. [Polyglot]) shows Duplicates Found. That's probably the problem: no idea how to fix and no authority to do so if I did.

    -- Ken

Re: Name not displayed in Last hour of CB
by Tanktalus (Canon) on Oct 04, 2012 at 14:16 UTC

    I think kcott is entirely correct. I'm going to have to check this a bit closer for other cases of such duplicates. There may be another way of doing this that I missed. Thanks. For now, my db is updated and it shouldn't mess up Polyglot again.

    By the way, more effective way to get me is through a /msg - I'm obviously not paying real close attention to the list of nodes these days :-S, and when I do actually bring up the site in my browser, we know I'll see the message. Even more immediate, though slightly less effective, is just to mention it in the CB - I will probably get a message from my IRC client that someone mentioned my name. On the off chance that I miss that, though, I miss it forever :-) Some people try mentioning my nick in the CB, and, if that doesn't elicit a response within usually 10 minutes, send the private message.

    Update: I think I got this fixed now. When I get a message from PM, the user ID comes along. I was ignoring it. Now I'll use it to immediately check if I have it in my local cache, and, if not, it'll get inserted immediately. Up to now, I've been relying on looking up the user later, which then means doing what kcott implied: looking for node=$user, and failing if I get back the disambiguation page. Now I'll have the number immediately, look it up by node_id instead, and it should work every time. Again, thanks for the report.

      You should always, always, always being using node IDs in preference to node titles.

        Oh, absolutely. Just remember that this organically-grown code base started off doing just the CB stats from an Xchat plugin, so the only info I had were nicks, not IDs. Only later did it morph to periodically retrieving from the PM server directly, after first having morphed into a standalone IRC client. So it's actually relatively recently that I even had access to the node IDs, but since everything seemed to work, I didn't really notice that there was this minor flaw :-)

        Re-writing from scratch might be an option one day. But not likely too soon. :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found