Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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).


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

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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?

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

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (3)
    As of 2021-04-18 03:18 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found