aspose file tools*
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


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JAVA BOOK WINNERS!!!" Watch "JAVA BOOK WINNERS!!!" New topic
Author

JAVA BOOK WINNERS!!!

Matt Midcap
Sheriff

Joined: Jan 07, 1999
Posts: 440
And the winners are...
<h3>
Tony Simon
Carl Desborough
thilak subbiah
Li Yang
</h3>
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:
<pre>
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++ )
{
r.nextInt();
}
System.out.println( r.nextInt( numPicks ) + 1 );
}
}
</pre>
Fair enough?
Thanks to the good folks at Addison-Wesley ( http://www.addison-wesley.com ) 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
 
jQuery in Action, 2nd edition
 
subject: JAVA BOOK WINNERS!!!