my dog learned polymorphism
The moose likes Performance and the fly likes And the winners are ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "And the winners are ..." Watch "And the winners are ..." New topic

And the winners are ...

paul wheaton

Joined: Dec 14, 1998
Posts: 20914

(sorry for the delay in announcing the results. My internet connection was down yesterday)
The winners are:

    William Brogden

    M Kumaresan

    Frank Carver

    David Lu


    I did the judging this time. There were about ten entries that were disqualified because their account name did not meet our requirements. There were over a dozen messages that were disqualified because they did not relate to performance or contain any substance. I also excluded the mountains of messages from Jack - I figured he probably didn't want to win a copy of his own book.
    This left 75 valid entries from 41 people. This made the odds about 1 in 19 entries.
    I put all the names in a text file (people that had more than one valid entry had more than one line in the text file). I then ran the following program passing in the value of 75:
    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 );


    Thanks to Jack for his tremendous contributions!
    What do you guys think? Was this a good promotion? Should we do more? Should we do things differently?

permaculture Wood Burning Stoves 2.0 - 4-DVD set
Thillai Sakthi
Ranch Hand

Joined: Jun 17, 2000
Posts: 102
Oh! That's a great news. Thanks Paul.

Paul Wetzel
Ranch Hand

Joined: Nov 02, 1999
Posts: 107
This is a great promotion, Jack got his book publicized and some people got free books!
Ranch Hand

Joined: Aug 06, 2000
Posts: 60
I shall never come to javaranch if i am not getting a free book

paul wheaton

Joined: Dec 14, 1998
Posts: 20914

Whatever cooks yer chicken buddy.
I agree. Here's the link:
subject: And the winners are ...
It's not a secret anymore!