Lies, damn lies and statistics

I’ve been hacking again. You may recall that the old site had page hit counts on the side-bar. Ive added something similar here.
The main reason for this is that, when I check these pages, I get to see if there have been any signs of life since last time. Since one of the main functions of this web site is to support me in my placement, its always nice to see the hit counter creeping up….

… even though it doesn’t mean anything. Ok well it means something but not what it seems to be saying. According to the statistics plugin that I set up here the other day, most of my visitors since last week were search engine robots. But they keep me company :7

I used another plugin to get these statistics but, having downloaded it and installed on my home computer, I discovered that it gave statistics for the whole site whereas I wanted to see who’d been visiting each page. I hacked the code. PHP is so much nicer than Perl for hacking, for some reason; both are ugly.

So there, if you expand the thingummy, are the statistics about how many people (and robots) have visited the page in total, in the last 24 hours and in the last 7 days. If anyone is curious to know how many visits the whole blog has had, I can add that, leave me a comment.

5 Comments

  1. The Enigneer Says:

    I want to add that the difference between ‘hits’ and ‘visitors’ is also a lie.

    ‘Hits’ Counts the number of times the page has been served by the server, i.e. the number of times someone has loaded, or reloaded, the page. So you should be able to nudge up the the hit counter by just pressing refresh in your browser.

    ‘Visitors’ Counts the number of computers with different (unique) Internet addresses have requested the page. If you just press reload this shouldn’t change, you’ll have to go and look at the page from a different computer. But it’s not always enough to sit at a different machine at work, in the cyber cafe or at school since most institutions share one Internet address for all their outgoing requests; so if you do that you’ll seem to my blog to be using the same computer.

  2. Chris Says:

    Suggestion for dealing with the lack of truthfulness…

    add “-ish” on the end of all the figures (this was added to POSIX-compliant sprintf family in 1997)

    throw a dice. if n 4, halve them.

  3. Tyg Says:

    Hello …

    Can we also have a “most recent entry” page? I can’t always tell whether you’ve updated the site without actually going through each entry from your “this is the new bitterjug website”, or without looking in the archive for the month.

    please make your website tygger-friendly, pleaase? pretty please???

    😮

  4. Mark Says:

    Tyg, honey, the most recent blog entry, together with the three most recent comments, are always on my “home page”. Currently this is
    http://ogham.dragonsblood.net/~bitterjug

    which is where you shoudl get redirected to if you go to
    http://bitterjug.com/

    In any case, all entries are listed in reverse chronological order (ie most recent at the top) on the page you get to by clicking on the little man himself. This is the blog master page.

  5. Mark Says:

    Tyg, Honey

    The latest entry and the latest three comments are always available on my ‘home page’ at bitterjug.com (Rather than bitterjug.com/blog). (Hit the ‘blog’ link in the top paragraph and it expands immediately) (Currently this should redirect you to http://ogham.dragonsblood.net/~bitterjug)

    The main blog page http://ogham.dragonsblood.net/~bitterjug/blog has all the entries in reverse chronological order (newest at the top). You can get there by clicking on the little ‘web assistant’ man at the top of this page.

    I’m sorry for the confusion.