Questions tagged [chaos]

Anything related to chaotic systems or chaos theory. Chaotic systems are systems that are extremely sensitive to initial conditions (e.g. round-off error in data stored digitally) thus leading to the impossibility of predicting their long-term evolution. The tag is mostly relevant to cases where algorithms show chaotic behavior.

Anything related to chaotic systems or chaos theory. Chaotic systems are systems that are extremely sensitive to initial conditions (e.g. round-off error in data stored digitally) thus leading to the impossibility of predicting their long-term evolution. The tag is mostly relevant to cases where algorithms show chaotic behavior.

See Wikipedia page on chaos theory.

102 questions
2
votes
1 answer

Lyapunov Spectrum for known ODEs - Python 3

I want to numerically compute the Lyapunov Spectrum of the Lorenz System by using the standard method which is described in this Paper, p.81. One basically need integrate the Lorenz system and the tangential vectors (i used the Runge-Kutta method…
user7722318
2
votes
1 answer

Chaos engineering experiment

Is it possible to have multiple iteration of single action in an experiment? Say I want to run terminate-db-pod several times after each 600 sec. { "name": "all-our-microservices-should-be-healthy", "type": "probe", "tolerance":…
2
votes
1 answer

Is there a node.js module that can generate 1/f (pink noise) fluctuations?

I'm looking for a node.js module that would be able to generate fluctuations (of any sort) that would follow the S(f) = 1/f "pink / fractal noise" pattern. That means, that if we performed Fourier analysis of the time-series we'd find that there's a…
Aerodynamika
  • 7,883
  • 16
  • 78
  • 137
2
votes
1 answer

Bifurcation and Lyapunov exponent in Python

I am a relative beginner when it comes to python, and I currently am trying to figure out some python for a problem I have. I am attempting to calculate the lyapunov exponent of a bifurcation diagram I am supposed to be creating. The equation is…
JRFBSR
  • 41
  • 4
2
votes
0 answers

Getting ValueError while plotting a Bifurcation Diagram in Python with too much iterations

I'm currently trying to plot a bifurcation diagram from a 1D logistic map. Here is my code: def logistic_map(x0, r, n): """ This function is returning values for a given logistic map after n iterations with an initial state x0 and a…
2
votes
2 answers

Can chaos monkey be used with GCE instances built via jenkins?

Currently, the builds are handled by jenkins, this is our chosen orchestrator. According to the Chaos Monkey deploy guide: "To use this version of Chaos Monkey, you must be using Spinnaker to manage your applications." My assumption from that is…
2
votes
2 answers

How to write Python program illustrating chaotic behaviour

When I run the program below, it outputs all the numbers as 0.0. How can fix this to illustrate chaotic behaviour? # A simple program illustrating chaotic behaviour def main(): print ("This program illustrates a chaotic function") x = int…
Tanaka
  • 301
  • 2
  • 13
2
votes
1 answer

Entitymanager works chaotically, do not merge in some cases

Seriously, i cannot believe this: I use entityManager in Vaadin framework. Implemented this pattern (ThreadLocal and filter for generating entityManager for every request): https://vaadin.com/book/-/page/jpacontainer.hibernate.html If i write a…
czupe
  • 4,740
  • 7
  • 34
  • 52
2
votes
1 answer

jQuery: multiple span creation from an array of strings

I have a program that is supposed to take key words and highlight/color them with CSS. I'm using jQuery because I want to eventually alter which words are highlighted, all done by the user. Right now the problem isn't that nothing is getting…
enche
  • 220
  • 2
  • 7
1
vote
0 answers

Getting unexpected values for Characteristic Lyapunov Exponents in Python - What could be going wrong with my implementation of Benettin algorithm?

I wrote a code to calculate the Characteristic Lyapunov Exponents in Python for a Lorenz system. I for sure did something wrong because the CLEs are way off but I cannot figure out what. I am using the Benettin et al. algorithm. I start by randomly…
M409
  • 11
  • 2
1
vote
1 answer

Configuring RBAC for kubernetes

I used the following guide to set up my chaostoolkit cluster: https://chaostoolkit.org/deployment/k8s/operator/ I am attempting to kill a pod using kubernetes, however the following error: HTTP response body:…
1
vote
1 answer

Chaos Game fractal not rendering correctly

I'm attempting to write code that will generate fractals according to the Chaos game In particular, I'm trying to debug the faulty generation/rendering of this fractal: I'm doing this with Javascript in a Canvas element. The relevant Javascript is…
David Bandel
  • 252
  • 3
  • 19
1
vote
1 answer

chaostoolkit rollbacks not happening unless --rollback-strategy explicitly specified

I am using chaostoolkit tool and earlier the rollbacks used to happen if the hypothesis fails after the method injects failure. Now I see a different behaviour and the rollbacks happen only if i specify --rollback-strategy = deviated or always. I…
mgn
  • 129
  • 1
  • 10
1
vote
1 answer

Experiment to create node in kubernetes cluster(AKS) using chaos toolkit

I am trying to create an experiment for creating a node using chaostoolkit yaml for experiment version: 1.0.0 title: What happens if we create a node description: All the instances are distributed among healthy nodes and the applications are…
Ginni
  • 11
  • 3
1
vote
1 answer

Is there a way to take down a Bigtable instance (or a cluster) without deleting it, kinda chaos testing

Similar how we do chaos testing, I want a Bigtable instance (or a cluster) to be down. Like it goes down in any outage/catastrophic event.