Welcome to the future. This book has formed through innovation processing and creative ideas, structures and building up new innovative services.
Patterns in Nature
It all begins with an interesting question: What are patterns? The explanation and exploration has continued for ages of civilizations. Different patterns can be found in nature, paintings, music, buildings, structures, space... the list goes on and on. In this book we are looking for patterns used in technology and more specifically in Social Networks. These patterns are the best practices used in different services and are widely used among these beautiful services.
Let's get familiar with different kind of patterns found in nature. One of the most interesting patterns is described in the Stephen Wolfram's book A New Kind of Science. Stephen describes cellular automata rules as patterns that are found and based in nature. As you can see in the following illustration.
What do these patterns then mean? What is the ultimate question that these patterns could eventually answer? As we can see the simple rule can produce complex results. This same principle is applied to the John Conway's Game of Life rules. In the Game of Life the simple rules create complex environments. Stephen Hawking has also explained the foundations of life to be applied in a similar manner. With a simple set of rules that interact with it's environment. In nature where are all of these rules hidden? In a similar way we can look for patterns in nature by looking at ourselves, humans. The brain's neurons interact in a similar way as described before. They have a set of rules stored and they interact with the environment. Each neuron is connected to other neurons and holds a set of rules. This application is multidimensional as the cellular automata is two dimensional.
In an interview with Stephen I asked what was his favourite rule and his answer was the Rule 30. That was also printed in his business card. The rule 30 is described below.
An interesting fractal like rule is the rule 362. This rule creates fractal patterns and where again we can find fractals... in nature. This shows us that these patterns have a resemblence to nature. Cellular automata rules have a similarity with neural networking patterns. The dimensions are although different. As the cellular automata rules can be simulated with Game of life the multidimensional neural networking patterns can be simulated with a Neural Network. One of the most interesting neural network scientists is Torsten Reil. In his paper he describes the use of neural networking calculations to be used in three dimensional simulations. This application of neural networks has lead him to continue the work with the Natural Motion company. Their work is funnily enough best visible in the GTAV gameplay.
So as a result the fundamental laws of the universe and nature can be stuctured as a pattern with the following parameters:
Rule, Memory, Inbounding Connections, Outbounding Connections.
The Rule parameter holds the rules for calculating the outbounding connections based on the inbounding connections. The Memory holds the information and the state of the cell. Inbounding connections give the values to calculate the state based on the Rule. The Outbounding connection is result of the Rule calculation based of the Memory. Similar pattern is used in the Neural networking calculations.
This is the ultimate pattern. In this book we will focus on something more simple than the laws of nature and how the universe works.
Neural networking patterns are an interesting area of future discovery. There is one major problem though in that area. How to calculate the randomized values that would be truly random. This is a question where the quantum level actions and calculation takes place. How and in what rule is the brain neuron calculation based and what effects are responsible in the output value calculations. As you see the computers work on electricity so each state of the seemingly randomized network can be produced over and over again and also exactly predicted. But cand you predict what you are thinking next? That aspect of human life is intriguing. How to join the quantum level inpredictability principles into action when using neural networks? That is an are for the future quantum level programming and the next level patterns.
We can also search for patterns in arts, especially in music. By finding structures as notes and wavelengths that correspond and interact with each other you can create new sounds and stuctures. When you hear Philip Glass's music you can analyze the structures in it. Opening is a remarkable piece of stuctures that are so beautifully interacting to produce a landscape. What about then having structures in music that are not restricted. John Cage has crafted the piece In a Landscape that has changing and evolving themes.
So is it better to have clear stucture or an opener range of performance? Maybe you have to explore these patterns a bit more.
The space systems with galaxies, planets and orbits work together with rules. And these rules form repeating structures that just have to be found. Every structure has it's own differences and variations in the rules that create them. Just by examining nature and life you will encounter vast number of different patterns linked to each others and communicating with other objects, cells and creatures.
We courage everyone who's interested in Coding as an artform. Coding has every artistic values that defines an artform. And it is constantly continued for creating something new from thin air.
One of the most interesting architects, Antoni Gaudí based his learning of architecture to nature, to examine natural forms and formations, sea shells, leafs, tree brances to formulate architectural patterns. Gaudí used nature as a base for his work, using strings to formulate patterns that would hold his creations apart. Jugend, the artform that presently surrounds many old European cities can be examined for this Gaudí's legacy.
What was the pattern in Saldador Dalí's work, other than shells and creatures. Gala, she was Dalí's pattern, a repeating source for inspiration.
Gang of Four Design Patterns is the first famous pattern books in the software development area. It has affected the Java language and the development and usage of object oriented programming. The GoF design patterns started as an usual from of abstract thinking and how to create sense in the messed up world. The abstract thinking is a key factor in innovation and creating new ideas. Later on we'll also discuss in another book about innovation and processing new inventions and how startups and companies can use this processing as a benefit.
One of the most influential writers in the software pattern area is Martin Fowler. His analysis and descriptions for Software design patterns have also been infuential in this book. He has also contributed to the Microservice development as an abstract thinker.
Social Networking Patterns
So what does it all mean? For you it means that by reading this book you will understand the deep knowledge with working code that builds some of the most popular and widely used services. And I also hope that you are a dreamer, innovator and a lover of technology who can build new area for innovation with the help of this book.
All the text and code under this book is licensed to gotIT Oy.
Below is an image that shows you what you will get by joining the community and continuing with your personal learning and innovation.