Go to Post ADMIT IT! Dave Lavery has better legs than Amanda Morrison! - DCA Fan [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > CD Forum Support
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-04-2003, 17:10
Jeff Waegelin's Avatar
Jeff Waegelin Jeff Waegelin is offline
El Jefe de 148
AKA: Midwest Refugee
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 2001
Location: Greenville, TX
Posts: 3,132
Jeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond reputeJeff Waegelin has a reputation beyond repute
Spotlights seem repetitive

Has anyone else noticed how the same few spotlighted quotes keep showing up? I know a few (like Jack's 71 "walking bot" quote) tend to show up more than others. Is there any reason for this?
__________________
Jeff Waegelin
Mechanical Engineer, Innovation First Labs
Lead Engineer, Team 148 - The Robowranglers
Reply With Quote
  #2   Spotlight this post!  
Unread 29-04-2003, 17:21
D.J. Fluck
 
Posts: n/a
Yeah, I noticed that also... http://www.chiefdelphi.com/forums/spotlightlist.php?s= shows that there are 6 pages of spotlights with 30ish on each page...

On that page are they ordered in any particular way or is it randomized?

(hey my spotlight came up when I was posting this )
Reply With Quote
  #3   Spotlight this post!  
Unread 29-04-2003, 17:33
Amanda Morrison's Avatar Unsung FIRST Hero
Amanda Morrison Amanda Morrison is offline
16 awesome years of FRC!
no team
Team Role: Alumni
 
Join Date: Aug 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 1,861
Amanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond reputeAmanda Morrison has a reputation beyond repute
I don't at all mean to sound conceited when I say this, but I don't like seeing my own name all the time. Have people just stopped spotlighting others? It was a big rage at first when it came out.

Search those posts!
__________________
Director of Operations, VEX Robotics, Inc.
Alumna - Teams 71, 1020, 1720, 148
2002 World Champions (Team 71) | 2008 World Champions (Team 148)
Reply With Quote
  #4   Spotlight this post!  
Unread 29-04-2003, 21:39
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
mysql's random function is horrible... so I use it to grab 5 'random' records, and then use phps random function to grab a random 1 from those 5. Maybe I'll redesign it, and put a counter in so they are showed evenly...
__________________
Brandon Martus
e-mail
Reply With Quote
  #5   Spotlight this post!  
Unread 29-04-2003, 22:42
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,573
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
It's definetly a lot better then when I complained about it last time.

One way that might be easier is to just verify that all 5 spotlights that mysql gives you are different. Since it seems that mysql likes to give the same answer very often, using php's random function to pick from 5 quotes, 3 of which are the same, isn't going to give very good results.
Reply With Quote
  #6   Spotlight this post!  
Unread 29-04-2003, 23:06
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
come on here brandon

ok.. don't really know the setup of the spotlight table.. but I'd guess there's some autoindex. (1-x)

So....

SELECT max(spotlight_id) FROM spotlight_list

vB query...

$pick_this_one = rand(0, $spotlight_id_max);

SELECT * FROM spotlight_list WHERE spotlight_id = $pick_this_one

Yup... there ya go.

or... I guess you could base it on session time or system time. (IE: total_spotlights % some_value)

yeah... i know... i needs 2 queries
OR... assumeing that vB has some "master config" table which takes all the fields/rows and dumps it into an array, you could have a config value max_spotlight. That's like 100 extra bytes and only requires to be run when a post is spotlighted.

Jack

PS: FYI to anyone.. Brandon really doesn't need the big roadmap i gave him .. I just wanted to have some fun

edit: the perfict way to bring down cd. Add a field to the user table which is updated every page refresh to the next spotlight_id - Would never get repeates tho
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**

Last edited by Jack : 29-04-2003 at 23:42.
Reply With Quote
  #7   Spotlight this post!  
Unread 28-05-2003, 15:54
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
I just approved about 20some new spotlights.
I got behind. Just wanted to let those who care know.

Also wondering if the randomization has been any better?
__________________
Brandon Martus
e-mail
Reply With Quote
  #8   Spotlight this post!  
Unread 28-05-2003, 18:13
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,514
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Quote:
Originally posted by Brandon Martus
Also wondering if the randomization has been any better?
Seems like it has been somewhat better.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
Reply With Quote
  #9   Spotlight this post!  
Unread 28-05-2003, 18:43
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
hehe....

I should make a script that calls different pages and logs which spotlight it gets. If it calls a page every 15 seconds, that's four times a minute. If I run it all night long, (say 11:00pm-6:00am) that's 7 hours. 4*60*7 = 1680 spotlights. woo... that sure would tell you if it really is random

Meh.. mabey this weekend
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**
Reply With Quote
  #10   Spotlight this post!  
Unread 28-05-2003, 23:32
evulish's Avatar
evulish evulish is offline
1010100
AKA: Grant Harding
#0084 (WATTNESS (bot: Chuck))
Team Role: Alumni
 
Join Date: Jul 2002
Location: Towanda/Wysox, PA
Posts: 1,434
evulish is just really niceevulish is just really niceevulish is just really niceevulish is just really nice
Send a message via AIM to evulish
Have it run twice a second...and run it on 20 different machines...each with a T3+. *evil grin*
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)
Reply With Quote
  #11   Spotlight this post!  
Unread 29-05-2003, 15:02
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
Quote:
Originally posted by evulish
Have it run twice a second...and run it on 20 different machines...each with a T3+. *evil grin*
yeah.. I could run my script twice a second here without really any problems.. however...

The source of index.php on cd is 67kb. Therefore, saying that I just ran it every second for 7 hours that would be 1.6 gb of traffic. I don't think brandon would be too happy with me, not of course to mention the load that would be placed on the server
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**
Reply With Quote
  #12   Spotlight this post!  
Unread 29-05-2003, 18:10
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,514
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Quote:
Originally posted by Jack
The source of index.php on cd is 67kb. Therefore, saying that I just ran it every second for 7 hours that would be 1.6 gb of traffic.
I'm not sure how V-bulletin works but couldn't you call just the forum header and not the entire page?
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
Reply With Quote
  #13   Spotlight this post!  
Unread 01-06-2003, 07:39
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
Hey all...

Well you're most likely going to yell NERD really loud because of this one, but oh well

As promised, I created a script which called the first 6240 characters from http://www.chiefdelphi.com/forums/index.php evey 10 seconds. All of this data was logged into a database. In total, I have 1837 records. (That's right, I logged the spotlight 1837 times!!)

Now, what did I find?

Well.. I'm not really great at giving all this stat stuff.. but here what I can figure out

Well... I logged a total of 169 unique spotlight quotes. However, the spotlight list actually shows 171 spotlights. Hehe.. I found the first thing which causes quotes to be selected more often.

The most selected quote was:
Success is the indescribable feeling you get when you see something you worked so hard on in front of thousands of people. - SlamminSammy

Now, why did this quote come up a whopping 24 times?? Well look.. It has to duplicate entries. (Look on the first spotlight page) There is the first bug. I'm going to guess that another "top quote" also is double quoted. I couldn't find the second repeat quickly.. brandon can find it in a snap with a little query.

Well... some basic overall stats. The quote most called had 24 times. The least called quotes (with a 4-way tie) had 4.

The "avgerage" should have been 10.

Ok.. so I really don't know how to give stats for this stuff very well.. Could some little math genius make them?

The only other thing I will say is that, Jeff W (from his first post) said that my quote (Look at 71's 'walking'...) he thought came up more often than others. Well.. personally I don't think I see it too often. But.. Jeff might be right. In my "study" that quote came up 20 times. It was the third highest.

Ok... I've attached a zip file which contains two csv files. One is for the # of times the quote appeared and the quote. The other are the raw entries; Time and quote.

Thanks all,

Jack
Attached Files
File Type: zip spotlight.zip (52.6 KB, 41 views)
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**
Reply With Quote
  #14   Spotlight this post!  
Unread 01-06-2003, 12:20
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Nerd.
__________________
Brandon Martus
e-mail
Reply With Quote
  #15   Spotlight this post!  
Unread 01-06-2003, 22:06
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
ok.. so I did a little bad thing and didn't realise that the script didn't stop. So.. I've now been running my script once every .75 secs calling index.php

I now have a total of 15742 records...

btw: for what those numbers are, the mean is the avgerage number of times the spotlight appeared.. and so on.. therefore, the numbers are the number of times a spotlight appears.

here are some stats from them:
Code:
Mean	93.14792899
Standard Error	0.904056592
Median	94
Mode	97
Standard Deviation	11.75273569
Sample Variance	138.1267963
Kurtosis	12.75661616
Skewness	-2.032873122
Range	112
Minimum	12
Maximum	124
Sum	15742
Count	169

Also.. I attached the raw stats... (not the acutal logs)

Can some math nerd tell us what this means?

Jack
Attached Files
File Type: zip stats.zip (10.1 KB, 40 views)
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
External Spotlights Brandon Martus CD Forum Support 17 04-12-2003 21:38
how random are the spotlights? Joe Ross CD Forum Support 7 11-01-2003 23:27


All times are GMT -5. The time now is 19:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi