Finding the spy - post on Markov Chains and stochastic matrices


Using puzzle on tracing the high profile spy as excuse to showcase Markov Chains and demonstrate usage and properties e.g. Stationary distribution

Continue reading

Darwin Approach to Traveling Salesman


Can evolutionary approach crash the problem that brute forcing will last far more that the age of universe? This post shows how to attack Traveling Salesman Problem using Darwin approach. I’m describing evolution model and design decisions. See the animation how the population was evolving through the epochs.

Continue reading

Blockchain implementation


Python implementation of blockchain in few lines of code.

Continue reading