Page 1 of 1 [ 5 posts ] 

ShadesOfMe
Veteran
Veteran

User avatar

Joined: 30 Jun 2004
Age: 33
Gender: Female
Posts: 16,983
Location: California

08 Mar 2008, 9:17 pm

when ever I post a thread, it immediately says that there have been 6 or 9 views, when there hasn't been time for anyone to view it.

whats with this?

Edit: oddly, this one didn't do it. :/



iamnotaparakeet
Veteran
Veteran

User avatar

Joined: 31 Jul 2007
Age: 39
Gender: Male
Posts: 25,091
Location: 0.5 Galactic radius

09 Mar 2008, 3:45 am

Aside from the OP viewing, each actual view counts as three "views".



Sedaka
Veteran
Veteran

User avatar

Joined: 16 Jul 2006
Age: 43
Gender: Female
Posts: 4,597
Location: In the recesses of my mind

09 Mar 2008, 9:15 am

just means ppl are reading it and not responding


_________________
Neuroscience PhD student

got free science papers?

www.pubmed.gov
www.sciencedirect.com
http://highwire.stanford.edu/lists/freeart.dtl


alex
Developer
Developer

User avatar

Joined: 13 Jun 2004
Age: 38
Gender: Male
Posts: 10,216
Location: Beverly Hills, CA

09 Mar 2008, 9:23 am

iamnotaparakeet wrote:
Aside from the OP viewing, each actual view counts as three "views".


actually, to reduce load on the database server, 1 out of 3 peoples' views are actually counted as 3 views. 2 out of 3 peoples' views are not counted at all. While this may be inaccurate early on (either overestimated or underestimated), after a while, it becomes more accurate as time goes by.


_________________
I'm Alex Plank, the founder of Wrong Planet. Follow me (Alex Plank) on Blue Sky: https://bsky.app/profile/alexplank.bsky.social


lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 76
Gender: Male
Posts: 9,795
Location: Somerset UK

09 Mar 2008, 10:47 am

Nice trick Alex!

And... to fool people more deviously, so they are very unlikely to figure out what's going on, a random choice would work a treat too.

I.e. for each view, you ignore it at random, with just a 1/10th chance of doing anything with it. On that one out of ten occasion, you randomly select a number from one to nineteen to add to the database count.

Even better would be if you have the current view count handy. You could always add one per view to start with, and progressively ramp up the rate of ignores as the view count became larger. This would be ideal, as the stored count would always be expected to be within quite a narrow percentage of the true count, plus the popular threads would pretty much stop pestering the database at all.


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer