A simple java program When debugging Lux sometimes it is helpful to simulate a computer that is slower, or under a heavy workload. In order to do that I wrote a very small java program. All it does is create a random number generator and then print out random numbers forever.
import java.util.Random;
public class HighLoad { public static void main (String args[]) { Random rand = new Random();
while (true) { System.out.println(rand.nextInt(1000000)); } } }
2 comments and I figured out how to plug in the TV! | |
|
|