Joke Collection Website - Cold jokes - How to generate random numbers to make novices quit vim?

How to generate random numbers to make novices quit vim?

The command is:: wq? Save the file and exit vi.

When the text editing is finished, you need to exit the editor. Exit editor can be divided into four situations: save exit, normal exit, exit without saving and forced exit.

Vim is a text editor in Unix and Unix-like systems. In command mode, you need to input corresponding instructions to realize the operation function. When a novice doesn't know the exit instruction, he will randomly input some instructions as an attempt, and the input instructions will become random numbers because they are randomly tried by the novice.

Extended data:

Real random numbers are generated by physical phenomena, such as coin toss, dice, wheels, noise generated by using electronic components, nuclear fission and so on. This kind of random number generator is called physical random number generator, but the disadvantage is that the technical requirements are relatively high.

The method of computer generating true random numbers is to obtain the uncertainty of cpu frequency and temperature, and count the number of operations in a period of time, which will produce different values, system time errors and sound card noise floor every time.

Baidu encyclopedia-random number