September 24, 2020

configuration or constant

Filed under: Uncategorized Himanshu @ 10:35 am

Should I put this in configuration or in constant! I was reviewing code of third-party software. One piece specifically stuck to my head, configuration entry for number of milliseconds in an hour!

Don’t think it’s worth multiple paragraph, truth of the life like number of milliseconds is not good candidate for configuration entry. A nice good name and keep it constant! Even if it’s not too much effort to make it configurable.


September 10, 2015

Edge is giving priority to content

Filed under: Uncategorized Himanshu @ 12:11 pm

I’m on Windows 10, Yeah!

Today, I notice that when I press Alt+D in Microsoft Edge while having one JIRA issue open in the tab, instead of cursor moving to address bar, dashboards menu opens up in JIRA! When I’m editing this post in WordPress and press ALT+D, del html tag gets inserted in text area! However when I’m on Microsoft Edge page, it goes to address bar.

Giving priority to content rather than browser, I liked that idea. This will help having more web applications supporting keyboard shortcuts, and users can be more efficient in using applications.

I liked it!

May 27, 2014

Shorten the path by mapping drive letter pointing to folder

Filed under: Uncategorized Himanshu @ 12:59 pm

While working on a project, I noticed that Visual Studio was failing while doing compilation, and reason for failure was path was becoming too long.

There is subst command in MS Windows allowed me to setup a driver letter that points to physical folder to overcome the situation.


Powered by WordPress