Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes JAVA BOOK WINNERS!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JAVA BOOK WINNERS!!!" Watch "JAVA BOOK WINNERS!!!" New topic


Matt Midcap

Joined: Jan 07, 1999
Posts: 440
And the winners are...
Tony Simon
Carl Desborough
thilak subbiah
Li Yang
Let here it for our four lucky winners! Yeeehaaa!!!
Here is how the winners were chosen: I went through the forum and read EVERY message posted on or after the 5th. If the author had a proper name and the message had some substance (not just "thanks" or "enter me in the contest" or "yeah, what he said") then I added the name to a list in a text file.
I ended up with 228 lines in the text file. Some names were repeated several times. I used this little program to pick a number from 1 to 228:
import java.util.* ;
public class Pick
public static void main( String[] args )
int numPicks = Integer.parseInt( args[0] );
Random r = new Random();
for( int i = 0 ; i < 10 ; i++ )
System.out.println( r.nextInt( numPicks ) + 1 );
Fair enough?
Thanks to the good folks at Addison-Wesley ( ) for the books!
The next big book giveaway is going to be on December 12. We will be giving away four XP books. The winners will each have a choice between "Planning Extreme Programming (The XP Series)" and "Extreme Programming Installed(The XP Series)".
See you soon partner!
Matt Midcap
[This message has been edited by Matt Midcap (edited December 09, 2000).]

Best Regards,<br />Matt Midcap
I agree. Here's the link:
It's not a secret anymore!