News for hackers. Stuff that matters.
Re:Predicting the next Math.random() in Java by mda on Monday September 01, 2014 @01:30PM (#8253891)
Reminded me an interesting Java Random issue with small seeds and power of two intervals:

  for(int i = 0; i < 256; i++) {
      System.out.println(new Random(i).nextInt(8));
  }
It returns same number for all seeds.

There are no comments on this comment yet.