From a comment in a previous similar project (I can't find it now), an easy method to defeat the predictor is to use 4 keys instead of 2. Instead of d and f, press s, d, f and e. The other keys are ignored by the program but the create enough confusion in your finger to make a more random sequence.