Logging with Winston in your Node.js application

Logging is an essential part of application.  According to Twelve-Factor App methodology it’s the XI factor of application development. A proper logging gives you a valuable insite of your application. In Node.js application, it is always suggested to use logging libraryrather than just using console.log  in productione environment. Log4js, Bunyan , and Winston are the … 

 

Upgrade PHP from 7.0 to 7.2

A long ago, I wrote about how to upgrade to 7.0. PHP 7.2 is released. Now, it’s the time again to upgrade to the new version.  The latest version of PHP comes with a couple of changes Convert numeric keys in object/array casts Counting of non-countable objects Object typehint HashContext as Object Argon2 in password … 

 

GIT Squashing and open source contribution

Never thought that GIT squashing would be that important for the open source contribution. I was contributing to an open source project. I finished the feature and created a pull request. Surprise!!! the community didn’t accept my pull request. Okay. … It was not rejected because of my wrong implementation or bad code. It was rejected just …