News


From the editor's desk: Some random thoughts

September 2024 News


Kim Roberts, Editor

In the afterglow of the Olympics, my most enduring memory is the men’s 100-metre finals where the top four were separated by three hundredths of a second; and Noah Lyles beat Kishane Thompson by four thousandths of a second, while the entire field was separated by 12 hundredths of a second, and would have earned a medal in every previous Olympics. The implications for these incredible athletes with respect to recognition is huge. These random numbers are the difference between being ‘just’ a world-class sprinter and a superstar.

This made me start thinking about numbers and their importance. For example, what are the random numbers that run our lives? The first thing that came to mind was gaming. One of the first (and few) programs I ever wrote was a program to play roulette. I was really proud of it and brought it out for a wine-filled student evening. It needed a random number generator, and my trusty 64K Apple had a command to do this. At the time I totally believed that this was truly random. Some further investigation has now taken me into the fascinating world of random numbers – gaming is only a tiny part of it – and randomness is not what I thought.

It’s a critical component of things in our daily lives that we take for granted – like protecting our passwords, forecasting weather patterns, predicting trends in financial markets, modelling the spread of diseases (a bit close to home for most of us), improving the performance of large language models, optimisation of automation processes, and a whole lot more.

So what exactly is a random number? It’s a value that is unpredictable and lacks any discernible pattern. In maths, random numbers must have no bias toward any value. Surprisingly true randomness is incredibly difficult to achieve in the digital world. Computers, by their nature, follow specific instructions. The problem is that they rely on internal mechanisms that are predictable, so the outputs of their algorithms eventually become predictable too.

If computers can’t generate true randomness, what can? Researchers look for chaotic physical phenomena that can’t be predicted or manipulated, like the noise of an electrical storm or pictures of raindrops on glass. If you need some random numbers, the website random.org is one of the best-known places to look. It relies on high-quality atmospheric noise from nine large radio receivers worldwide.

Another promising source for generating true random numbers to secure information is the unpredictable motion of the oily blobs in a lava lamp. Yet another is based on bubbles in a fishtank; and another group of researchers found randomness in the unique genetic sequences in DNA molecules.

The latest thinking is that the best random number generator (RNG) relies on quantum mechanics effects. These are as random as it gets. For example, the behaviour of subatomic particles like the timing of the decay of a single radioactive atom is completely unpredictable. There’s even a project that uses a banana to generate random numbers, since bananas are known to be mildly radioactive. With the development of quantum technology, we can look forward to even more inventive RNGs in the future.

RNGs operate behind the scenes in ways we don’t even realise. One essential application is in cryptography. Our online banking relies on them to create secure keys that protect data from unauthorised access. The strength of an encryption algorithm is directly related to the quality of its random number. They are also used to generate strong, unpredictable passwords that are difficult for attackers to guess or crack. Every time you choose a new password, a computer adds a random number to scramble it. The same applies when you visit a website that begins with https.

The process automation world also increasingly relies on advanced algorithms based on randomness for modelling digital twins. Engineers can model variables such as equipment wear, environmental changes, or unexpected disruptions to get more accurate predictions on how they’re going to behave. By doing this they can assess risks, protect sensitive information, optimise their processes, and generally make better decisions.

In hardware testing, RNGs can generate random signals to stress test components and systems. This is important in industries like aerospace or automotive, where systems must be highly reliable. By using RNGs to simulate a wide range of operating conditions, engineers can identify potential weaknesses before they become critical issues.

Without random numbers, all these systems would be predictable, insecure or ineffective. Next time I do my banking, or check the weather, or look at my shares, or take a pill, or roll some dice, I’ll think again about what’s involved.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Reinstatement opportunity for ECSA registration
News
In 2023 the Engineering Council of South Africa (ECSA) announced a special opportunity for engineers in South Africa to reinstate their registration status if it had been cancelled. This exclusive offer is available until the end of August 2024.

Read more...
Justice Malala to talk at exclusive breakfast
News
South Africa’s economic recovery and industrial growth depend on policy reform and business innovation. Few commentators are better placed to explore these challenges than Justice Malala.

Read more...
Beyond the exhibition: AATF 2025 Conference lineup brings exclusive
News
While the Africa Automation Technology Fair (AATF) 2025 exhibition floor will showcase cutting-edge automation solutions, the real game-changing insights will be found within the conference halls.

Read more...
How to claim CPD points
SAIMC Supplier Advisory Council News
SAIMC makes it possible for you to claim CPD points for attending courses and technical meetings, or completing an online quiz on a SA Instrumentation & Control magazine.

Read more...
Festo celebrates its centenary
Festo South Africa News
Creating added customer value through innovation has been the driving force behind the family-owned company from the beginning and remains the key to Festo’s success today. The company’s anniversary is being celebrated with employees, customers and partners worldwide throughout the year.

Read more...
RS Group cements its position as an ESG leader
News
RS Group has announced its inclusion in the prestigious CDP A-list, having improved its CDP rating this year from A- to A for its commitment to climate action, environmental transparency and disclosure

Read more...
ECSA awards full accreditation to IIE degrees
News
The Independent Institute of Education has received full accreditation from ECSA. This is the first private higher education provider in the country to be recognised in this manner by the industry authority.

Read more...
Growing demand for staple foods in Africa drives Bühler’s growth
News
Opportunities in strengthening local supply chains, especially within food processing and agribusiness, will be the main focus for Bühler Southern Africa in 2025.

Read more...
South African students advance to international round of Young Researchers awards
News
Two Masters in Engineering students from Stellenbosch University have advanced to the international round of the 2025 Blue Sky Young Researchers and Innovation competition. Their projects impressed the Paper Manufacturers Association of South Africa for their originality and relevance to the forestry sector, which plays a key role in producing wood and paper.

Read more...
The ultimate range for design and repair
RS South Africa News
Design and repair are fundamental aspects of any industry. The launch of the new RS PRO Design & Repair range caters to a wide array of industries, including discrete and process manufacturing, energy and utilities, facilities management and intralogistics.

Read more...