Fully agree with Bugmaster. Unfortunately, Stanislaw Lem is not very well known in the USA. Other than the things you mention he also predicted virtual reality. He is a great visionary and a great thinker, not just an SF writer.
Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald Knuth