seven deadly sins in shazam

Seven Deadly Sins

​ The way we behave is mostly influenced by our surroundings (by law of averages you shall become average of folks you spend time with, over a long period of time) until and unless we mindfully start tweaking these behaviours. Here, as the title suggests, I write about these conventional vices with the aim to define/understand them better, most of which are the basis of our sufferings. The seven deadly sins, also known as the capital vices or cardinal sins, is a grouping and classification of vices within Christian teachings....

4 min
intention vs action

Intention Vs Action - framework to prioritise yourself

​ Whenever we are hurt/harmed or have been at the end of an unsatisfying or unfavourable situation, we replay the situation and try to judge each and every action, of ourselves and of others. We often reflect upon the incident from various lenses. There are frameworks to better understand and analyse your/others’ actions, one such framework that has helped me to judge these situations is “Intention Vs Action”. ​ Why Intention Vs Action?...

3 min
play 2048

Introduction to Elm with 2048 game

​ In this post I will be creating a small game, 2048 in Elm. 2048 is a game created by gabrielecirulli which went viral in 2014. I chose 2048 because the game mechanics are simple which will help us understand Elm clearly. Also, I didn’t want to make another todo app. You can play here. ​ The Game Mechanics? There are some number tiles on the board (4x4). The number on the tile will be a power of 2 with minimum being 2....

5 min
monitoring logs

Save the production with Nginx hack

​ Quick nginx hack to save your production web server in case the web service starts crashing. If you have been working in a production environment, you know at certain times your web service can crash due to some unknown reason (code failure). It will take some time to do the RCA and fix the issue. A quick hack is to have multiple web services running on different ports resp. that can take the load off if any of them goes down....

2 min