The 7 Habits of Highly Effective People Summary

I could only go so long, on a blog devoted to books about self-improvement and personal effectiveness, without covering the quintessential modern tome on the subject. The 7 Habits of Highly Effective People has become so representative of increasing personal effectiveness that it has almost become a cliché, even to the point where it is ... Read more

Windows Performance

Change Virtual Memory Settings to speed up Windows Virtual memory for your computer is hard drive space used by Windows when it fills up the physical RAM. When your system runs low on RAM because an application like Firefox is taking too much memory, Windows moves the least used "pages" of memory out to a ... Read more

What happens when you type a URL in browser

Apart from being a very common interview question, this is one of the very first query which lingers around in our mind every time we type a URL in a browser. Here is an attempt to satiate this quest while we delve into the details of what happens in the background when we type a ... Read more

The Magpie Developer

I've often thought that software developers were akin to Magpies, birds notorious for stealing shiny items to decorate their complex nests. Like Magpies, software developers are unusually smart and curious creatures, almost by definition. But we are too easily distracted by shiny new toys and playthings. I no longer find Scott Hanselman's Ultimate Developer Tool ... Read more

IDEs / Code Editors

WebStorm - code editor ~$100 Awesome and powerful Support: HTML + CSS + JavaScript Additional support: TypeScript, CofeeScript, Dart, SASS, Less, Stylus, AngularJS 2, Node.js Windows, Mac OS X, Linux Additional code editors PHPStorm = WebStorm + PHP support PyCharm = WebStorm + Python support IntelliJ = WebStorm + Java support RubyMine = WebStorm + Ruby support ... Read more

Floating Point Arithmetic: Issues and Limitations

Floating-point numbers are represented in computer hardware as base 2 (binary) fractions. For example, the decimal fraction 0.125 has value 1/10 + 2/100 + 5/1000, and in the same way the binary fraction 0.001 has value 0/2 + 0/4 + 1/8. These two fractions have identical values, the only real difference being that the first ... Read more

Debugging the issue

Try to isolate the issue. Copy the code that you have issues with and paste it into the clean page template. Can you still reproduce the issue? If no - than you are missing some code from the main template. If you still can reproduce the issue than continue reading. Now you need to start ... Read more

Guard clause

A Guard Clause (one of the SmalltalkBestPracticePatterns, and equally applicable in a whole bunch of languages) is a chunk of code at the top of a function (or block) that serves a similar purpose to a Precondition. It typically does one (or any or all) of the following: checks the passed-in parameters, and returns with ... Read more

Object-Oriented Programming — The Trillion Dollar Disaster

Disclaimer I’ll be honest, I’m not a raving fan of object-orientation. Of course, this article is going to be biased. However, I have good reasons to dislike OOP. I also understand that criticism of OOP is a very sensitive topic — I will probably offend many readers. However, I’m doing what I think is right. ... Read more