Thread Tools
Old March 21, 2004, 06:34   #151
Asher
Apolytoners Hall of Fame
President of the OT
 
Asher's Avatar
 
Local Time: 13:27
Local Date: November 2, 2010
Join Date: Nov 1999
Location: Calgary, Alberta
Posts: 40,843
And people wonder why Poly gets so slow under load, it's Markos' screwing around with stuff he shouldn't.

How much more server load does generating and placing these ads add?

Is this why you broke Search/My Threads and still haven't fixed them?
__________________
"I'll never doubt you again when it comes to hockey, [Prince] Asher." - Guynemer
Asher is offline  
Old March 21, 2004, 06:34   #152
Bugs ****ing Bunny
Emperor
 
Bugs ****ing Bunny's Avatar
 
Local Time: 20:27
Local Date: November 2, 2010
Join Date: Aug 2000
Location: Howling at the moon
Posts: 4,421
Just out of interest, how many other personal little vendettas are planned through ad coding?
__________________
The genesis of the "evil Finn" concept- Evil, evil Finland
Bugs ****ing Bunny is offline  
Old March 21, 2004, 06:35   #153
Asher
Apolytoners Hall of Fame
President of the OT
 
Asher's Avatar
 
Local Time: 13:27
Local Date: November 2, 2010
Join Date: Nov 1999
Location: Calgary, Alberta
Posts: 40,843
If DanQ had a sense of humour, he'd add a Nair ad to MarkG's just for a sense of balance to The Force.
__________________
"I'll never doubt you again when it comes to hockey, [Prince] Asher." - Guynemer
Asher is offline  
Old March 21, 2004, 06:38   #154
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
Quote:
Originally posted by Asher
And people wonder why Poly gets so slow under load, it's Markos' screwing around with stuff he shouldn't.
lol

Quote:
How much more server load does generating and placing these ads add?
what server load does an if require?
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 06:39   #155
alva
Civilization III PBEMPtWDG2 Cake or Death?PtWDG Gathering StormInterSite Democracy Game: Apolyton TeamC3C IDG: Apolyton TeamC4DG Gathering Storm
Deity
 
alva's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Republic of Flanders
Posts: 10,747
Quote:
Originally posted by Agathon
Markos, can you please make it so that every one of Asher's posts carries an ad for Apple's ipod?


EDIT: maybe I should have read the whole thread before attaching this pic.
Attached Thumbnails:
Click image for larger version

Name:	asher1.jpg
Views:	119
Size:	38.4 KB
ID:	67715  
__________________
#There’s a city in my mind
Come along and take that ride
And it’s all right, baby, it’s all right #

Last edited by alva; March 21, 2004 at 06:47.
alva is offline  
Old March 21, 2004, 06:39   #156
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
Quote:
Originally posted by Lazarus and the Gimp
Just out of interest, how many other personal little vendettas are planned through ad coding?
i'm open to offers
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 06:40   #157
Asher
Apolytoners Hall of Fame
President of the OT
 
Asher's Avatar
 
Local Time: 13:27
Local Date: November 2, 2010
Join Date: Nov 1999
Location: Calgary, Alberta
Posts: 40,843
Quote:
Originally posted by MarkG
what server load does an if require?
It depends, it can make a huge difference on the massive-pipelined P4 you chose to host the site on.

If it mis-predicts the result of that if, 20 cycles are wasted each time.

Children should not play with toys they do not understand.

Plus I gather there's much more than an if -- do you think random numbers are generated free-of-cost on a computer?
__________________
"I'll never doubt you again when it comes to hockey, [Prince] Asher." - Guynemer
Asher is offline  
Old March 21, 2004, 06:45   #158
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
if you noticed, the ads dont show up randomly any more
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 06:46   #159
Asher
Apolytoners Hall of Fame
President of the OT
 
Asher's Avatar
 
Local Time: 13:27
Local Date: November 2, 2010
Join Date: Nov 1999
Location: Calgary, Alberta
Posts: 40,843
So how is the length of the post calculated for the condition in the if?
__________________
"I'll never doubt you again when it comes to hockey, [Prince] Asher." - Guynemer
Asher is offline  
Old March 21, 2004, 06:46   #160
Bugs ****ing Bunny
Emperor
 
Bugs ****ing Bunny's Avatar
 
Local Time: 20:27
Local Date: November 2, 2010
Join Date: Aug 2000
Location: Howling at the moon
Posts: 4,421
**** it. Forget it.

It's been an interesting experience, posting for five years on a forum where the owner's attitude to the majority of his regulars could be best summed up by the words "borderline contempt". If the presence of the OT is such a chore, just shut it down.

I think I'll be voting with my feet anyway.
__________________
The genesis of the "evil Finn" concept- Evil, evil Finland
Bugs ****ing Bunny is offline  
Old March 21, 2004, 06:49   #161
Asher
Apolytoners Hall of Fame
President of the OT
 
Asher's Avatar
 
Local Time: 13:27
Local Date: November 2, 2010
Join Date: Nov 1999
Location: Calgary, Alberta
Posts: 40,843
"Borderline contempt" would be generous in some cases, he's downright hostile to me most of the time. Whenever a mod says "take it up with the owners", it's a lost cause since DanQ is MarkG's b*tch and MarkG is a b*tch.
__________________
"I'll never doubt you again when it comes to hockey, [Prince] Asher." - Guynemer
Asher is offline  
Old March 21, 2004, 06:58   #162
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
Quote:
Originally posted by Asher
So how is the length of the post calculated for the condition in the if?
php.net/str_word_count
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 07:01   #163
Asher
Apolytoners Hall of Fame
President of the OT
 
Asher's Avatar
 
Local Time: 13:27
Local Date: November 2, 2010
Join Date: Nov 1999
Location: Calgary, Alberta
Posts: 40,843
Quote:
Originally posted by MarkG
php.net/str_word_count

So you think this is being anywhere close to free, Mark?

You've got a lot to learn about making a scalable site, Mark. You add lots of useless **** as cheap hacks without thinking through the implementation, then things f*ck up (Search/My Threads), generally act weird (UUUUUUUUUUUUUUU), or downright become unresponsive.

Another blatant example: What's with the post stats of A, D, HP, etc? Useless overhead on the server.

the word_count function is implemented something like this:
PHP Code:
<?php
function countwords($text){
       
$ls=0;//was it a whitespace?
       
$cc33=0;//counter
       
for($i=0;$i<strlen($text);$i++){
               
$spstat=false//is it a number or a letter?
               
$ot=ord($text[$i]);
               if( ((
$ot>=48) && ($ot<=57)) ||  (($ot>=97) && ($ot<=122)) || (($ot>=65) && ($ot<=90)) || ($ot==170) ||
               ((
$ot>=192) && ($ot<=214)) || (($ot>=216) && ($ot<=246)) || (($ot>=248) && ($ot<=254))  )$spstat=true;
               if((
$ls==0)&&($spstat)){
                       
$ls=1;
                       
$cc33++;
               }
               if(!
$spstat)$ls=0;
       }
       return 
$cc33;
}

?>
Does that look like "an if" to you?
__________________
"I'll never doubt you again when it comes to hockey, [Prince] Asher." - Guynemer
Asher is offline  
Old March 21, 2004, 07:01   #164
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
Lazarus, you know you cant leave

i mean, how many posts of yours are over 150 words?
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 07:05   #165
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
Quote:
Originally posted by Asher
So you think this is being anywhere close to free, Mark?
i know the load of the server hasnt changed

Quote:
You've got a lot to learn about making a scalable site, Mark.
i know, learning is part of why i continue to do apolyton despite it's financial status

Quote:
Another blatant example: What's with the post stats of A, D, HP, etc? Useless overhead on the server.
the user profile page is hardly an often called page
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 07:07   #166
Asher
Apolytoners Hall of Fame
President of the OT
 
Asher's Avatar
 
Local Time: 13:27
Local Date: November 2, 2010
Join Date: Nov 1999
Location: Calgary, Alberta
Posts: 40,843
Quote:
Originally posted by MarkG
i know the load of the server hasnt changed
Just because the load is low overall right now.

Once the usage gets higher during peak times, all of those for and if loops you indirectly just added right now will be part of the mess that locks up Apolyton during heavy use.
__________________
"I'll never doubt you again when it comes to hockey, [Prince] Asher." - Guynemer
Asher is offline  
Old March 21, 2004, 07:09   #167
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
Quote:
Originally posted by Asher
DanQ is MarkG's b*tch and MarkG is a b*tch.
this one goes for the Apolyton Book of Records....
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 07:16   #168
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
Quote:
Originally posted by Asher
Just because the load is low overall right now.
we've had our usual 350-390 users since the implementation of the google ads(friday) without an issue

high loads were being created by the search engine, something which has been corrected, with the excemption of the known bug
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 07:18   #169
Asher
Apolytoners Hall of Fame
President of the OT
 
Asher's Avatar
 
Local Time: 13:27
Local Date: November 2, 2010
Join Date: Nov 1999
Location: Calgary, Alberta
Posts: 40,843
The "known bug" meaning it doesn't work at all?
__________________
"I'll never doubt you again when it comes to hockey, [Prince] Asher." - Guynemer
Asher is offline  
Old March 21, 2004, 07:54   #170
Qilue
King
 
Qilue's Avatar
 
Local Time: 05:27
Local Date: November 3, 2010
Join Date: Dec 1999
Location: Australia
Posts: 1,433
Quote:
Originally posted by Asher
Another blatant example: What's with the post stats of A, D, HP, etc? Useless overhead on the server.
May 4th.
__________________
There's no game in The Sims. It's not a game. It's like watching a tank of goldfishes and feed them occasionally. - Urban Ranger
Qilue is offline  
Old March 21, 2004, 09:18   #171
Bugs ****ing Bunny
Emperor
 
Bugs ****ing Bunny's Avatar
 
Local Time: 20:27
Local Date: November 2, 2010
Join Date: Aug 2000
Location: Howling at the moon
Posts: 4,421
Hey! My in-post ad-blocker thread got deleted!

Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
__________________
The genesis of the "evil Finn" concept- Evil, evil Finland
Bugs ****ing Bunny is offline  
Old March 21, 2004, 10:40   #172
Kuciwalker
Deity
 
Kuciwalker's Avatar
 
Local Time: 15:27
Local Date: November 2, 2010
Join Date: Feb 2001
Posts: 21,822
Quote:
Originally posted by MarkG
i'm open to offers
Permanently attach a Nader ad to Fez?
__________________
[Obama] is either a troll or has no ****ing clue how government works - GePap
Later amendments to the Constitution don't supersede earlier amendments - GePap
Kuciwalker is offline  
Old March 21, 2004, 10:49   #173
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 21:27
Local Date: November 2, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
are there any Nader-related products on amazon?
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
Old March 21, 2004, 10:49   #174
Theben
Deity
 
Theben's Avatar
 
Local Time: 15:27
Local Date: November 2, 2010
Join Date: Dec 1969
Location: Dance Dance for the Revolution!
Posts: 15,132
Quote:
Originally posted by Qilue


May 4th.
There's an actual one right now in the A/C to vote on.

April 29th.
__________________
I'm consitently stupid- Japher
I think that opinion in the United States is decidedly different from the rest of the world because we have a free press -- by free, I mean a virgorously presented right wing point of view on the air and available to all.- Ned
Theben is offline  
Old March 21, 2004, 10:50   #175
Kuciwalker
Deity
 
Kuciwalker's Avatar
 
Local Time: 15:27
Local Date: November 2, 2010
Join Date: Feb 2001
Posts: 21,822
Well, there are all of the "support nader" ads floating around...

Another idea: have Agathon wear an ad for Windows!
__________________
[Obama] is either a troll or has no ****ing clue how government works - GePap
Later amendments to the Constitution don't supersede earlier amendments - GePap
Kuciwalker is offline  
Old March 21, 2004, 11:18   #176
Qilue
King
 
Qilue's Avatar
 
Local Time: 05:27
Local Date: November 3, 2010
Join Date: Dec 1999
Location: Australia
Posts: 1,433
Quote:
Originally posted by Theben


There's an actual one right now in the A/C to vote on.

April 29th.
Already did. You're built too low Theben, the fast ones go over your head.
__________________
There's no game in The Sims. It's not a game. It's like watching a tank of goldfishes and feed them occasionally. - Urban Ranger
Qilue is offline  
Old March 21, 2004, 17:38   #177
Theben
Deity
 
Theben's Avatar
 
Local Time: 15:27
Local Date: November 2, 2010
Join Date: Dec 1969
Location: Dance Dance for the Revolution!
Posts: 15,132
And you think I didn't know? It's directed at the OTers here.

You may need a stepladder yerself.
__________________
I'm consitently stupid- Japher
I think that opinion in the United States is decidedly different from the rest of the world because we have a free press -- by free, I mean a virgorously presented right wing point of view on the air and available to all.- Ned
Theben is offline  
Old March 21, 2004, 19:57   #178
Agathon
Mac
Emperor
 
Agathon's Avatar
 
Local Time: 04:27
Local Date: November 3, 2010
Join Date: Dec 2002
Location: Wal supports the CPA
Posts: 3,948
Nice one Markos. You're a great guy.
__________________
Only feebs vote.
Agathon is offline  
Old March 22, 2004, 00:28   #179
DarkCloud
staff
NationStatesAlpha Centauri Democracy GameCivilization II Democracy GameInterSite Democracy Game: Apolyton TeamSpanish CiversCiv4 InterSite DG: Apolyton TeamPolyCast TeamApolyton Storywriters' GuildAge of Nations TeamApolytoners Hall of Fame
 
DarkCloud's Avatar
 
Local Time: 19:27
Local Date: November 2, 2010
Join Date: Jul 2000
Location: Deity of Lists
Posts: 11,873
What's with the gigantic ad in Asher's window on page 4 on 3-20-04?

as for ads in signatures, I think that's a great idea! although the current system seems to work.

Maybe text ads would be a good idea there?
__________________
-->Visit CGN!
-->"Production! More Production! Production creates Wealth! Production creates more Jobs!"-Wendell Willkie -1944
DarkCloud is offline  
Old March 22, 2004, 00:30   #180
DinoDoc
Civilization II Democracy GameApolytoners Hall of Fame
Deity
 
DinoDoc's Avatar
 
Local Time: 14:27
Local Date: November 2, 2010
Join Date: Sep 1999
Location: Underwater no one can hear sharks scream
Posts: 11,096
I move Agathon and Drake get MS ads.
__________________
Rosbifs are destructive scum- Spiffor
I make no bones about my moral support for [terrorist] organizations. - chegitz guevara
If government is big enough to give you everything you want, it is also big enough to take everything you have. - Gerald Ford
Blackwidow24 and FemmeAdonis fan club
DinoDoc is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 15:27.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team