Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
A few weeks ago in the CB, someone made a comment about their height in the listing of Other Users in the chatterbox. It gave me the idea of keeping statistics on such things. My original goal was simply to have a mechanism to keep track of my relative height in Other Users. But since I had to fetch and store all that Other Users information, I realized I could keep track of a few other things as well. Most notably, how much time everyone has spent logged into PM over the last week. Scary, I know!

So without further ado, I present Perlmonks addicts statistics. I hope it's a nice complement to mojotoad's CB stats. It will eventually keep track of a 7-day window of data, but the buffer currently has only ~2 days in it. If there is great interest, I could post the code, but it's something quick-n-dirty I just threw together this weekend -- I'd have to clean it up first.

Some technical notes: The scraper fetches the Other Users XML ticker every 3 minutes (to my knowledge, this is the window of time for which you will appear in Other Users), and if you are seen at that time, you are credited with 3 minutes of time on Perlmonks. Obviously it doesn't see cloaked users or compensate for those of you who never turn off your chatterbox client. And right now, it processes the entire dataset for each page request. So if the site gets hammered, I'll have to institute some sort of caching (like the CB stats).

Please send me a message if you'd like to be excluded from these stats (alternatively, cloak yourself).

blokhead


In reply to Announcing "Other Users" stats (Are you addicted to PM?) by blokhead

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (11)
    As of 2014-10-20 22:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      For retirement, I am banking on:










      Results (92 votes), past polls