Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Name not displayed in Last hour of CB

by choroba (Abbot)
on Sep 30, 2012 at 19:59 UTC ( #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?
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Comment on Name not displayed in Last hour of CB
Download Code
Re: Name not displayed in Last hour of CB
by kcott (Abbot) 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
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? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2014-07-30 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (237 votes), past polls