Quick Login   
 
Register AdminFusion Tutorials Post Fusion Forum Matrix
 
Go Back AdminFusion » Traffic and Revenue » PostFusion » PostFusion Announcements » Oh bugger me... why yes we shall be bug free... (PF Notes/Updates)
Reply
 
LinkBack
Old 05-22-2007, 04:42 AM   #1
AF Lead Developer
 
LarryB's Avatar
 
Join Date: Sep 2005
Location: OHIO, US
Posts: 1,186
LarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud of
Send a message via MSN to LarryB
Oh bugger me... why yes we shall be bug free... (PF Notes/Updates)

As some of you may have noticed, there have been some issues with the rating system and some unexplained movements. I have been tracking this and I am 99% sure I know what the problem is and where it comes from.

The problem that I have been having is with handling different time zones. You see the current collection system collects one days worth of posts at a time. Another words it will collect from 00:00:00 - 23:59:59 for the current day. Total them and then send them back to us. We do a calculation to determine how many posts have been made since the last update to properly assign post points. The problem that was occurring is that day change was happening at different points. So the script that we use to calculate was calculating incorrect. Initially it was giving fairly significant negative values, which I would spot and hand fix.

Well in came bright idea number one. Use the returned unix timestamp from the remote site to determine day change. Well unfortunately for me I neglected to think about the unix timestamp and what it really did. Which is calculate the number of seconds from a certain point in time. The problem is that when you do that calculation any where but the actual system it came from the timestamp becomes unreliable. Thus we ended up with a compounded issue. Now we were giving very high positive numbers at day change and occasionally they would be level set by the appropriate negative number. Unfortunately this was not happening as often or as predictable so that we could just let it correct its self.

I was hoping can you tell?

So now I am using a straight mysql timestamp that will give me the textual date/time indication for the site. Now I should be able to accurately determine day change and it should be handled correctly. Problem with this is that it will take every person that has joined a forum to make a post in that forum before this fix will kick in and really start working. Once that one post has been made and recorded the system will have a reference point to work from and should do all calculations correctly. We have made the choice to leave the bugged posts in the system. They will simply fade out over the next 30 days. The reason this decision was made has to do with the extreme difficulty in attempting to locate and remove these anomalies. I apologize about the issues. This just never came up in testing. It sux and I hate bugs more than anyone else. Over the next 24 hours the rating system should start shaking it's self out and I will need to see day changes to be certain it worked.

LarryB
__________________
Do not post your PF private key in public.

Did I help you with this post? If so, pls click the rep button or send money.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
LarryB is offline   Reply With Quote
Old 05-22-2007, 12:58 PM   #2
Member
 
Glen's Avatar
 
Join Date: May 2007
Posts: 71
Glen has a spectacular aura aboutGlen has a spectacular aura about
good stuff, will get posting again then
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
~
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Glen is offline   Reply With Quote
Old 05-24-2007, 12:51 AM   #3
AF Lead Developer
 
LarryB's Avatar
 
Join Date: Sep 2005
Location: OHIO, US
Posts: 1,186
LarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud ofLarryB has much to be proud of
Send a message via MSN to LarryB
I'm happy to report that of the subscribed members that have posted since the last fix went in, all of them have worked as expected and are having no issues with posts not updating correct up to this point.
__________________
Do not post your PF private key in public.

Did I help you with this post? If so, pls click the rep button or send money.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
LarryB is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Links to Royalty free images miner Graphics and Design 11 10-23-2005 08:02 PM

AdminFusion

All times are GMT +1. The time now is 05:00 AM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

© 2009 AdminFusion | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community
 
From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77