Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
more useful options
 
PerlMonks  

Re: Name not displayed in Last hour of CB

by Tanktalus (Canon)
on Oct 04, 2012 at 14:16 UTC ( #997239=note: print w/ replies, xml ) Need Help??


in reply to Name not displayed in Last hour of CB

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.


Comment on Re: Name not displayed in Last hour of CB
Re^2: Name not displayed in Last hour of CB
by jdporter (Canon) on Oct 04, 2012 at 17:24 UTC

    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: note [id://997239]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-04-19 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls