My post count STOP!!

Originally posted by linuxgeek (edited)
I was thinking and by now, everyone probably knows how dangerous that is. I wonder if it is a database limitation or if it is a limitation of the PHP code. The more I think about it, I suspect the database entries probably are counting higher than 65535 but the PHP variable being used is only getting the 65535 part.
Is it possible that her untallied posts are adding up on someone else's account?
 
phrodeau said:
Is it possible that her untallied posts are adding up on someone else's account?

I don't expect so. I suspect the post count is gathered by querying the MySQL database for how many posts have her as a user. I figure that number is coming back as larger than what the PHP variable being used can handle, so it shows the largest number it can. The posts per day number is probably calculated with the PHP variable so, P/D keeps decreasing.
 
BlueSugar said:
she should just be allowed to have it say "a zillion!" or something like that bc I'm sure it'll take the rest of us one hell of a long time to reach Gusty's count.
Or like the McDonald's sign--at one time, they actually had a number of millions of burgers sold. 18. 19. The poor schmucks were changing the sign every couple of months. Now they just say "billions and billions"--that would work for Gusty.
 
kotori said:
Or like the McDonald's sign--at one time, they actually had a number of millions of burgers sold. 18. 19. The poor schmucks were changing the sign every couple of months. Now they just say "billions and billions"--that would work for Gusty.
*laughing hard* ..... poor Gusty .

As soon as I read her first post in the thread I couldn't stop laughing . :D


Do post counts really matter that much to people? lol
 
kotori said:
Or like the McDonald's sign--at one time, they actually had a number of millions of burgers sold. 18. 19. The poor schmucks were changing the sign every couple of months. Now they just say "billions and billions"--that would work for Gusty.

hehe,
1. thats a good idea
2. sadly, it made me want mc donalds (bc i haven't had it in months)
3. ... uh, lists look better with #3s.

She also could just keep count herself. after each post write the number out adding one more as she goes until a PM is sent to Laurel/Manu about it...
 
Ah, yes...

databases can handle no more than 64K (that 65536, or 10000000000000000 for you binary folk) of info in any one cell. Her cell has exceeded the limit, so her count stopped. It's either stop the count at 65535 or show her posts as something like:

16737*e^-76














OK, I don't know, but it sounded convincing, didn't it?
 
APhil said:
Ah, yes...

databases can handle no more than 64K (that 65536, or 10000000000000000 for you binary folk) of info in any one cell. Her cell has exceeded the limit, so her count stopped. It's either stop the count at 65535 or show her posts as something like:

16737*e^-76














OK, I don't know, but it sounded convincing, didn't it?


It's because the variable to represent post count is an integer. Integers range from -65535 to 65535, or if you make it unsigned it goes from 0 to 2^16.

It's a simple fix... but unfortunately, it requires recoding... probably in several places. Just have to change the integer to a double integer.
 
P. B. Walker said:
It's because the variable to represent post count is an integer. Integers range from -65535 to 65535, or if you make it unsigned it goes from 0 to 2^16.

It's a simple fix... but unfortunately, it requires recoding... probably in several places. Just have to change the integer to a double integer.

And I see humor is wasted on those who think too much.
 
*aaaaaaah* ok.. after seeing it in 2 or 3 different threads, it finally got to my anal C programmer self.

Maximum values for standard Intel based systems for unsigned numbers:

byte = 2^8 = 256

integer/word = 2^16 = 65,536

long integer/word = 2^32 = 4,294,967,296
 
linuxgeek said:
*aaaaaaah* ok.. after seeing it in 2 or 3 different threads, it finally got to my anal C programmer self.

Maximum values for standard Intel based systems for unsigned numbers:

byte = 2^8 = 256

integer/word = 2^16 = 65,536

long integer/word = 2^32 = 4,294,967,296


For the record, I would like to state...


Geeks are HAWT!
 
linuxgeek said:
*aaaaaaah* ok.. after seeing it in 2 or 3 different threads, it finally got to my anal C programmer self.

Maximum values for standard Intel based systems for unsigned numbers:

byte = 2^8 = 256

integer/word = 2^16 = 65,536

long integer/word/Gusty Wind = 2^32 = 4,294,967,296
 
SanDguy_22 said:
Well the longer the period of time is that you have that set amount of posts the lower your average number of posts per day will be.

you just made me realize that there is one more reason i like you... For you to able to post that many messages per day...
you have to be either rich or retired...
either way.. completely free for me to ravage all day long.

She's a bot...

ppman
 
Gusty Wind said:
Its was 65535 last week, now is still 65535.

And Started to go backward.:eek: :confused:

Any one know what's going on? :eek:

Within the month, you'll be a "virgin" again! :D
 
Back
Top