The generation of random numbers has many uses (mostly in statistics, for random sampling, and simulation). Before modern computing, researchers requiring random numbers would either generate them through various means (dice, cards, roulette wheels, etc.) or use existing random number tables.
Yawning, swallowing or chewing helps open the small canal (Eustachian tube) which connects your middle ear in the inner side of the ear drum, and equalizes the pressure with the outer side and causes the sensation of ears popping when swallowing.
Popping or ringing in the ears, a feeling that your ears have been clogged-these are possible side effects of a bad cold. If you have been having this popping for some time you may need to get a physical examination in order to ascertain the reason for this. You may find that you are suffering from some allergies. These allergies could be causing your ear to be clogged and may also cause the popping noise which is irritating you so much. This could also explain the pain that you are suffering from. You can try a simple breathing exercise to stop the popping in your ears. You can close right nostril with your thumb and breathe out through your left nostril. Now breathe in through the left nostril and then use the index finger to close this nostril.