View Single Post
Old 12-19-2005, 07:31 PM   #7 (permalink)
Matt Rogers
KingFish
 
Matt Rogers's Avatar
 
Join Date: Dec 2000
Location: Pt. Richmond, Ca.
Age: 38
Posts: 7,484
Blog Entries: 3
Karma: 3385
Matt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond reputeMatt Rogers has a reputation beyond repute


 
 
 
 
Send a message via MSN to Matt Rogers Send a message via Skype™ to Matt Rogers
Default

Quote:
Originally Posted by m_lacom99
Hey Jay just between you and me , ive been sitting here for over an hour to see when Matt would go online .
Heh. Sorry I was eating my bachelor dinner of chicken off the Foreman grill with stove top stuffing.



FYI - HOW THIS WINNER WILL BE DRAWN :
-----------------------------------------------
In the past I scripted some madness in PERL computer language that would draw a winner in real time. Well now the site is in PHP and it will be some time before I have the PHP Kung Fu down.

So I am going to keep it simple and use some javascript through my brower to determine a candidate to win.

Basically what I will do in less than an hour is pull up from the database the list of people that have submitted reviews. If there are 36 3reefers with reviews I will keep the number 35 in mind because computers think in ranges starting from 0 and not 1. So a range of 0 - 35 is really taking into account 36 people. The first person on the list will be assigned the number 0.

I will then punch in the number 35 into a simple random script:

Math.round(Math.random()*35)

This will kick out a random number between 0 and 35 rounded so that we don't have numbers like 2.35965978.

Then I will see who has been assigned that number and check to see if they have had 10 recent posts since November simply by going to their public member profile and clicking on the 'Find all posts by (member)' link.

That's the rocket science involved.


_________

Go slow, let it grow.


3reef shirts here!
Help Me with unanwered posts!
Promote!
Create reef videos and add them to 3reef! Join the 3reef YouTube Group!


20 long (9/04 - 8/06) with DIY Rock, 70 Watt HQI Halide x 2 24 watt T5 actinics, Aqua Medic Turboflotor Multi Skimmer, Tunze Turbelle 7200 powerhead.
Matt Rogers is offline  
Reef Links
Click Here!