Cloning engineering thoughts

Software Engineer | Bengaluru, India
I have started writing on Medium now. Link to all my latest posts will redirect to a Medium story.

Progress bars for AJAX request

Percentage of data received

Progress bars are really interesting. It keeps the user’s curiosity to monitor the completion of api request. Requests can be light or heavy (e.g downloading large file) depending on the application taking less or more time respectively. Long waiting time can not only ruin the user experience but confuse them... [Read More]
Tags: progress bars, ajax

Bypassing exec() command length limit for windows using PHP

Dirty hack

Recently I was working on an application which uses exec() function of php to execute some commands. Apparently I observed abnormal behavior for long commands, there was no output and no error. After some research, I came across facts below: On command prompt, total length of the command that you... [Read More]
Tags: proc_open, php, cmd, limit