GIT_2 : Workflows: branch and fork

In the last article we discussed some basic git concept. Now I want to introduce some GIT workflows to be used while developing code in teams, that uses Pull Requests and code reviewers. In particular I want to explain how to keep the master history clean and how to avoid all those ugly merges and unnecessary commits that a lot of teams have in their master history. 

Continue reading “GIT_2 : Workflows: branch and fork”

GIT_1 : (not so) Basic Concepts

If you are a programmer and if your team consist of more than 1 person, then you are probably using GIT. There are two ways to use git: the wrong way and the right way. If you never used “rebase” command or if you never squashed any of your commits or if you never heard about forks, then you are probably using it wrong. Ah before we start, I assume that you are familiar with basic git terminology. 

Continue reading “GIT_1 : (not so) Basic Concepts”

MongoDB optimization

Databases are like religion. Everyone believe to withhold the ultimate best solutions… These ordered collection of data that are in the core almost all (if not all) complex systems. Even Simple website like this, have thousands of entries in a sql like database, and they never creates problems, until … one rainy day they do became slow, unresponsive, resource hungry…  and that is where the pain start. Today I will give some hint on how to try to optimize a MongoDB database, by looking at its stats(). Continue reading “MongoDB optimization”