GitFlow: Branching strategy for Git

  Today, I am publishing from a very old document (I created and published in 2017) on Branching strategy for Git (can be applied on other as well). This branching model is also known as GitFlow and is very powerful for scalability needs. 1. Source Code Configuration Management GIT is a distributed version control system that gives team members a wide flexibility in how they use version control to share and manage code. However, we need a balance between this flexibility and the need to collaborate and share code in a consistent manner. Team members publish, share, review, and iterate

Continue reading

Pi of Life: setting up a DLNA Server

Sorry for the late reporting! After setting up the Pi and setting up the NAS on it, the next step was to look for additional usage. One on high rank of need was to move the media in such a way that I can stream it to anywhere. I was actually already using a shared iTunes Library when I was using the HDD on the USB port of the router. But the performance was not that good. Plus I was stuck to iTunes on my laptops. Plus, it did not support any TV or other devices without iTunes. At times,

Continue reading

Pi of Life: Setting it up

I have been fascinated about the tiny, cute and strong #Raspberry-pi for some long time. I was reading about this amazing thing, but whenever I asked myself, “Should I acquire one?” I thought it might become a junk investment. Sometime back I listed down what I might do with a Pi – Upgrade my current Home NAS (USB-3 HDD on a USB-3 port on my home router) Set up Dynamic Static IP for the NAS – no need to carry in the disk when I travel Have a Torrent set up on the NAS Get my entire stock of movies

Continue reading

JS Calculator

I have just created a calculator that can be invoked in a page. Currently, the key combination for invoking the calculator is the Ctrl Windows key. This shows and hides the calculator. The calculator has a text area and the user can type in an arithmetic (Validation is pending for non arithmetic keys) expression and on enter key, the same is evaluated. Here is the code ============================= <html> <head> <script language="javascript"> document.onkeyup = KeyCheck; var calcVisible = false; function KeyCheck(e) { var KeyID = (window.event) ? event.keyCode : e.keyCode; switch(KeyID) { case 91: if (!calcVisible) ShowCalc('CalcPlace') else HideCalc('CalcPlace'); break; default:

Continue reading

Issue in sorting Items in a CListCtrl in MFC

MFC in Visual C++ 6.0 has a problem with header notifications for the ListView control. Although a handler can be added, in the current version it isn't called. For instance, use Class Wizard or the WizardBar to add a Windows Message Handler. If the ID for the ListView control is highlighted, a number of notification messages are available for selection. To sort the items when the header is clicked for a given column, select the notification HDN_ITEMCLICK. An ON_NOTIFY message map entry is generated, as well as a handler function. For the current example, the entry appears as follows: ON_NOTIFY(HDN_ITEMCLICK,

Continue reading

Handling onPropertyChange in Firefox

IE non-standard onPropertyChange is a huge problem in most of the places. I was working on a work of moving an application designed to work on IE to a cross-browser standard. For some of the forms, there is a pop up and on the close button of the pop up, it used to update some of the fields in the opener page as:     function fnClose(rowid){         var taxHTML = document.getElementById("taxvalues").innerHTML;         window.opener.document.getElementById("taxvalues").innerHTML=taxHTML;         window.opener.document.getElementById("hdnTax").value=rowid;         //There is a event handler on this element in the opener using "onPropertyChange=fnPopClosed(this.value);"         window.close();     } There is

Continue reading

Microsoft Patterns & Practices : Guidance Explorer

Wow! Just another goodie!! Look at this. Now a guidance explorer is available from the Patterns & Practices team at codeplex.com for all the people who want to better their performance. Congratulations to the team for the good work. The guidance explorer let you explore the guidances mentioned in various patterns and practices guidelines. No more browsing through numerous web pages to find out the guidances. A neat tool with an file explorer style tree to keep the points tidy. Just loved it. I shall request you all to get it installed and most importantly READ. Have it in the

Continue reading

Program management: Different from project management

Many enterprise IT organizations are tackling large, complex efforts that combine the delivery of software elements, new and changed business models, and overall changes to organizational structure and capabilities. Typically these efforts involve several parallel projects, and managers are finding that "traditional" project management approaches fall short for such undertakings. Consequently, many IT professionals are turning to the substantial body of experience, and the smaller body of documentation, that supports the discipline of program management. This discipline describes principles, strategies, and desirable results for managing large-scale efforts comprising parallel projects. This article considers five major aspects of program management: Governance:

Continue reading