Iterators & Generators in Python
A detailed description about iterators and generators, and the differences between them.
Where ideas become words (maybe)
A detailed description about iterators and generators, and the differences between them.
An exploration of the different ways to dynamically change the content of a component.
In many cases we would change the content of a component dynamically, like for instance, to allow the user to change view or to let the children render the data retrieved and elaborated from its parent component. Here below we are going to show some techniques to create a component without deciding how the data would be shown. According with the application needs, each technique has its own strengths, but all of them encourage component reusability. We are going to describe:
How to perform http requests using rxjs; single, parallel and mixed
Any modern web application needs soon or later to perform some http request to retrieve data. Here below I’ll describe some common scenario and how to perform such requests using RxJS.
How to move files among git repository retaining the history
Steps involved to analyse the performance of a MongoDB query
Some months ago, I was creating a web page to show some aggregated data, but I soon noticed the API used to retrieve the data was very slow. After investigating on the possible issue, we discovered the bottleneck: the database. The solution was to re-structure the data to make it consumable from a web page.