Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2024-04-18 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found