Entity–component–system (ECS) is an architectural pattern that is mostly used in game development. Main points:
every entity has unique id; every logic aspect is a component - raw data linked to the corresponding entity by id; system performs actions on entities having corresponding aspects/components; diffenent components can be stored separately; systems can track entities by using observer pattern. More details can be found here.
Here is another approach to pass dependencies through deep call stack.
In a couple of words:
deeply nested code not executes immediately but returns a function for the later lazy evaluation; the correponding function accepts the required environment; at the top level call the function returned from the nested code and pass the environment to it. Documentation.
Interesting and promissing approach to reduce number of samples during learning NN.
Arxiv link.
A couple of repositories which helps to send voice message to yandex station.
Unfortunately it is impossible to do it using official api.
yashhik yandexstation
tmpmail - command line tool which allows to create temporary mailbox and receive emails from the terminal.
It uses 1secmail as a backend.
Spend a couple of minutes to read concise, clean bash code.