ls /life/logs

  • CGI and WSGI

    1. Common Gateway Interface
    2. Web Server Gateway Interface
    3. FastCGI
    4. What are WSGI and CGI in plain English?
    5. HOWTO Use Python in the web
    6. How Python web frameworks, WSGI and CGI fit together
    7. Is there a speed difference between WSGI and FCGI?
    8. WSGI Servers
    9. What’s the equivalent of ruby’s rack or python’s wsgi for Java?
  • Controlling bash history

    There are hell lot of things you can do with your terminal history. For some people its contains more than 50% of knowledge they have and I am one of them. So I decided to manage it in proper way.

  • Python dependency management

    How to manage project dependency in python.

  • Job scheduler in python

    I want a job scheduler in python something like Quartz-Scheduler for java.

  • Python [de]serialisation {draft}

    This post is about json serialisation and de-serialisation in python

  • When to blog

    This post covers my thought on when should I blog.

  • Jekyll post not showing up on github pages

    In start of Feb whenever I add any new post to github. It was not showing up on my blog. This post is about the issue behind missing jekyll posts.

  • Python decorators

    This is the post about python decorators. I wanted to know what they are and I also wanted to write some decorators to profile my code and to record data.

  • Python logging

    Setting up logging in python application with features like rotating logger.

  • Startup weekend pitch - Syzygy

    Its the my pitch for Syzygy.

  • Controlling-2016

    This year if the first year in my life when I could do anything I want. Prior to this year I was always following something school -> college -> job. But last year I left my job. Last six months passed very quickly and I felt that its too easy to waste the freedom I got. So I decided to plan year 2016.

  • Gitlab

    Today I came across gitlab. I used github and bitbucket before. But never heard of gitlab. Its cool piece of software. Here are some details:

  • Learn-how-to-learn

    In this post I will be making notes about coursera’s course - Learning how to learn.

  • Backbone

    I planned to learn backbone to prepare for the startup weekend on 5-7 Feb. I participated in it so that I can build a social product idea I wanted to build from long. Here it goes.

  • Setting up quickblox with node

    In this post I am going to set a node server to use Quickblox.

  • Backing up Es using S3

    In this post I am going to cover the steps to schedule regular your ES data backup to S3.

  • Chat Architecture Everywhere

    Till now Supertext is working on popular chat apps like Facebook Messenger, WhatsApp etc. Now we want to make our on hat app in which we will be having many customized experience. As in past everywhere I have seen the chat example, I thought it would be really simple to make a chat app as there will be a standard defined on web to make one. But on first glance I was swirled with number of awailber options to make the chat app. The only thing came to my mind was:

  • Setting elasticsearch with ubuntu-server

    In this post I will be writing steps to set up an ubuntu server to run elasticsearch on it.

  • Understanding WebSockets

    Though I (also I think everyone) knows what are webSockets but in this post I am trying to understand how they work.

  • Computer/People = Potato/Patato

    So today I came across this video The Man Who Lied to His Laptop by Clifford Nass. It gave me some wonderful insights.

  • Real time web - base technologies

    In a standard HTTP request-response scenario a client opens a connection, sends a HTTP request to the server (for example a HTTP GET request), then receives a HTTP response back and the server closes the connection once the response is fully sent/received. The initiative always comes from a client when the client requests all the data.

  • Understanding SOP & CORS

    I was doing FreeCodeCamp and in one of the task I ahve to use an API to pull in some quotes. While working on it I was getting Cross origin request are not allowed error. After spending about an hour or so I was able to make it work using jsonp but haven’t understood anything under the hood. So I decided to dig a bit deeper and this post covers that. Also I was shocked while researching about this as there is no resource on the web which is covering the complete story on cross origin. Hope I cover it completely.

  • Organization github pages and ember

    Today we planned to host our website on github-pages as a static website. We decided to used ember web framework to develop this website. In case of organisation/user github pages, github reads the website source from the master branch not the gh-pages branch. This causes an issue: where to keep the ember specific code. As in ember the output code is in dist/ directory. Github needs the code inside the dist directory to be present in the root directory of the project. So the solution is:

  • Scope and this in javascript

    This post is about this and that.

  • Modern web app architecture - Ember

    Currently while planning for scupids my team decided to use some new backend & frontend technologies/frameworks for our next idea. For the frontend we decided to use Ember. So to get started with ember Vipul gave me this tutorial to follow and here are my notes for the same.

  • Date and elasticsearch

    So today I was trying to find the best way to store the opening hours for any vendor in the db(elasticsearch). I found out about the really flexible support given by elasticsearch.

  • Ruby on rails tutorial - Michael Hartl - Chap 1-4

    These are my notes for the book: Ruby on rails tutorial - Michael Hartl.

  • Writing cli tools in python

    Its been long that I want to automate many things but the creepy and complex syntax of shell scripts doesn’t let me do it. Somedays before while writing a script to monitor the memory usage of any process I decided to learn line scripts in python but never actually did it. Yesterday I saw an article from Vincent about the same topic. So finally I am doing it :)

  • Git Hooks

    Its been long (about 3+ years) that I am using git as my primary version control system. Though over the time I never ignored any chance to know more about it. But one thing I always ignored - git-hooks. Today is the day :). At least at the end of it I want two hooks to be present in our current supertext repo :

  • Git Workflow - Adding more structure to git

    I have tried reading the workflow one should follow for there git repo. But every time I left in between with many doubts in my mind. Now I have to do it as while developing Supertext platform we are at a stage where we have to start following a perfect workflow. As many people are working on the same repo and also there are production, qa, and local version of the code. So lets do it.

  • Ruby Fullstack

    So today I decided to learn Ruby and the Ruby on Rails (RoR) to follow a easy, very fast (we call it agile to sound big) path to become full-stack developer. In the end my goal to be a developer in ruby so that after having a idea in my mind it should take me a weekend to develop it with all basic features which I can also deploy.

  • Evernote to trello exporter

    We were using evernote to keep our startup ideas. Today we decided to use trello for the same as it has many more things to give: comments, lists, assignment etc. There is no direct way to shift our current list of ideas to trello. So I decided to do it programmatically. Here are the steps:

  • FreeCodeCamp

    I started doing FreeCodeCamp 4-5 days back. Its a really great resource. I think every programming community should provide such training opportunity. There are many new things I am learning while doing it. So I thought it would be better to document some of them so that I can refer to this whenever I forgets something.

  • Offline first web applications

    Now a days Offline First is the new revolution going on the web. First I heard about UpUp a library which helps you make your website offline available. I got curious how. Here what I found.

  • Linux find out how the process got killed

    Two days before I deployed a server on gcloud and started a python process as daemon. Today I saw this proces was not there. That means it got killed. How I don’t know. So I started enquiring about it. There can be only two reasons because of which the process can be killed:

  • npm Introduction

    Today I started with a tutorial to get a brief introduction about MEAN stack. The first thing you need with MEAN stack is node.js. With node.js you get npm node package manager. You might have used it in the past to install some other tools which you might be using. I have used it many times before. Still till now I only knew it’s a package manager. Also I knew that it has capability to install global and local modules. Local is something like you can do with python env. But nothing was clear. So as I read Anna Debenham said in her github-pages article it I also vowed to myself that I will figure it out and will write a blog post.

  • Microservices Introduction

    I saw this huge post on MicroService Architecture written by Martin Fowler. Though I am very bad at reading but as this post is from Martin Fowler, I know it will be worth the time I will spend on it.

  • Install Jekyll

    All my experiments with jekyll.

  • Major Schools of Thought in Psychology

    After the last course from highbrow I joined this couse.

  • Linux Trickies: cd out n-directories

    Its been 5 years I am using linux and I am lazy person. So I am always trying to automate things and to use shortcuts. Linux Trickies is a series I am starting in which I will be sharing all those tips & tricks.

  • Philosophical ideas that everyone should know - Highbrow

    So yesterday when I was exploring ProductHunt I found Highbrow, its a service which will send daily lessons on you email for a course.

  • Selecting Java Logger

    I am creating a new java project and need to set up its logging. In this post I will cover the steps I take to choose a logger.

  • Garbage Collection - 2

    In this post we have covered Java’s implementation of GC. This post is continuation of Garbage Collection Post in which we have covered the theory for GC.

  • Garbage Collection

    The Java virtual machine’s heap stores all objects created by a running Java application. Garbage collection is the process of automatically freeing objects that are no longer referenced by the program. Many people think garbage collection collects and discards dead objects. In reality, Java garbage collection is doing the opposite! Live objects are tracked and everything else designated garbage.

  • Regex

    This is my attempt to document all my knowledge about regex. I will keep updating this whenever I learn something new about regex.

  • Monitoring Logger - A real-time analysable logger

    This is my first post in the the series to write about programming patterns, frameworks, designs, tips I learned in Sprinklr.

  • Completed one year in Sprinklr

    This is my first non-technical post. Today I completed 1 year in Sprinklr. So I decided I should try to judge my last year.

  • Java Reference

    In this I will talk about various subclass of java.lang.ref.Reference. As written in its docs:

  • Java Annotations

    My notes on java annotations.

  • Race Conditions

    I came across Race conditions on Facebook, DigitalOcean and others (fixed) from reddit. I never suspected before that using race condition to hack someone will be that easy. So I decided to try the same thing.

  • Mongo Engine Bit by Bit

    My notes on the Mongo Internals video by Mathias Stearn.