Michal Kohutek

Merging many rarely active threads into one

It often happens that a program needs to run a lot of short functions periodically, with various periods. An easy way to do it is to create a thread for each that performs the function and sleeps the rest of the time. This approach, however, doesn’t scale well. Here is an efficient and relatively simple solution to the problem in C++.
Source: https://pixabay.com/users/aitoff-388338/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=1816598"

No, time travel is still impossible

Many news sites have come up with articles with big titles about the wonderful Russian time machine. The contents tend to be more accurate, telling what their device actually could do – reversing the state of a quantum system a very short period of time back in the time axis, but who cares about the contents, titles are what people read.