• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

What are the differences between chaos and randomness?

 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
put your geek hats on, what are the differences?
 
Marshal
Posts: 24847
60
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"The" difference? You're only looking for one? Okay. "Chaos" has 5 letters and "randomness" has more than 5.

Also I missed the "programming" component of the post. Let's try it under "Meaningless Drivel".
 
Aakash Goel
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Clapham wrote:"The" difference? You're only looking for one? Okay. "Chaos" has 5 letters and "randomness" has more than 5.



You are so brutal :)
 
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anything in common? I tend to think of random number, or stream of random numbers when I hear the term "random"

I think of complex modeling associated with chaos theory with the word chaos. Unless you are talking about my kid's room, which always is in chaos.
 
ranger
Posts: 17344
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I went to the store to pick up some milk.

Mark
 
author
Posts: 23850
141
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In my opinion ....

Randomness has to do with whether something is deterministic or not. In general, something is considered random if the output can't be determined from the input.

Chaos has to do with how the output varies with the input. Something is very chaotic, if even a small flucuation of the input yields drastic changes in the output.

So... it is perfectly fine for something to be chaotic, and yet deterministic, so, no random.


Chaos theory is a field which covers this, and in general works with "fuzzy" like math -- results are given with plus / minus an error. Something is considered very chaotic, if the plus and minus get huge, which I guess, is often confused with randomness.


Henry
 
Pat Farrell
Rancher
Posts: 4686
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Henry Wong wrote: Something is very chaotic, if even a small flucuation of the input yields drastic changes in the output.


Well, in cryptographic functions, which are not at all random, it is a requirement that small changes in input result in differences in the output. Specifically, changing any bit in the input much have a probabilistic chance of changing each bit of the output. So if you change one bit, its not good (cryptographically) if you can predict which bit will change.

So I'm not sure if most cryptographic functions would be considered chaotic by @Henry's definition. I'm pretty sure he didn't mean that.

Without the OP filling in some details, its really hard to make non-random responses.
 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mark Spritzler wrote:I went to the store to pick up some milk.

Mark


Yesterday, I went to the store and thought should I really buy Milk? It was nominated for Oscars in 2009, right; it must be good?
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMO: Randomness is unpredictability, non-determinism; chaos is related to instability.
Life is random, in general but it becomes chaotic when you cannot handle its randomness.
 
Rancher
Posts: 3412
34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the other hand, a highly chaotic function is useful for generating pseudorandom values, which appear random, but are actually deterministically derived from some other (possibly hidden) input. Like, say, the value of System.currentTimeMillis().
 
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!