All Stories

What is Parkinson's law of triviality (aka: Bikeshedding) ?

What is Parkinson's law of triviality ? Parkinson's law of triviality is an argument by C. Northcote Parkinson's in 1957 about human tendency to devote significant amount of time to...

Thing I Wish I'd Know When I Started Programming

When you get through something and look back, you realized than there is more you could do from beginning. Similarly, there are some point that I believe is important to...

Best Chrome extension for programmers in 2019

Here are the list of useful chrome extension for web developer.

How to handle invalid JSON parse error properly.

JSON ( JavaScript Object Notation), is widely used format for asynchronous communication between webpage or mobile application to back-end servers. Due to increasing trend in Single Page Application or Mobile...

Understanding logo files format.

If you work with logo and looking for logo for you company the you must store the logo format in vector files. Vector base file system can scale you log...

Principles of Object Oriented Programming

Here are the quick short notes to remember object oriented programming.

Enabling Hardware accelerated video decoding or GPU activity in electron app for Linux.

As chrome or chromium browser does not support hardware accelerated video decoding for Linux OS. Though there is a pending PR in chromium repository to merge but google has no...

How to run any process on single core or set CPU affinity in Linux.

Linux user can set or retrieve a process’s CPU affinity from terminal. If you want to limit some process/program to only user single or more core then taskset can do...

Best way to get the current date and time in JavaScript.

If you are working with date and times then here are the best way to get dates and time with JS.

Best way to get the full URL or query string of current page in JavaScript.

Handling URL in javascript can be easy if you know following methods.

Best way to check if an element is hidden or visible in JavaScript

If you are having hard time to figure out if element in hidden in Dom then here are the best way to check if an element is hidden or visible...

What is web workers & it's implements in JavaScript?

Web workers is API in JavaScript which enables JavaScript code to run on background. In simple word, it is a piece of code which will execute in background as separate...