Author Archives: Sunil Singhal

About Sunil Singhal

A human being whose dreams are tied to a Horse that will never tire

My First Lambda – Not Just Hello World


Amazon Web Services aka AWS provides many SaaS products. In this post, I want to share my learnings and experiences while working on one of the SaaS Products called LAMBDA. I’ll begin with explaining our use case a bit and … Continue reading

Posted in AWS, Java, Technical | Tagged , , , , , , , , , , , , | 2 Comments

Message Queuing Frameworks – Comparison Grid


We often come with requirements which are suited for integrating Messaging Frameworks in the Software Systems. There are many messaging frameworks available in the market – some are open-source, some are paid-licensed, some provide great support, have good Community support. … Continue reading

Posted in Common Technical Problems, Technical | Tagged , , , , , , , , , , , , , | 1 Comment

Pass Custom DateTime Zone in SQL Query Date Time Parameter | Hibernate


Using Hibernate and Struggling with querying DateTime Column in RDBMS (like MS-SQL) in specific timezone? No matter what Timezone your DateTime object has, while issuing hibernate query, do you observe that Time in Default Timezone of JVM is always getting … Continue reading

Posted in Java, Technical | Tagged , , , , , , | Leave a comment

Continuous Data Sync Across Hetereogeneous Data Persistent Systems


This article can help you achieve Data Synchronization across Heterogeneous Systems on an ongoing basis. Continue reading

Posted in Technical | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Health Checks : Detection, Reporting, Configuration of Server Instance\Process Health Status


In this article, i will talk about the Running Instance Health, what can represent the Health, how can we detect the health and how can we use this health information to make the System resilient. Health,┬ábasically, defines how well an … Continue reading

Posted in Java, Technical | Tagged , , , , , , , , , , , , | 1 Comment

Data Contracts, XSDs and Redundant List Wrappers – XEW Plugin to rescue


This article talks about problem associated with defining List Complex Types, how can we overcome this problem using XEW Plugin and the benefits. In Service Oriented Architecture (SOA) or MicroServices Architecture, data is exchanged between different components over the network. … Continue reading

Posted in Java | Leave a comment

Decompiling Powershell CmdLet Code


Many of us are involved in writing scripts, be it for development or testing or deployment. We make use of different scripting languages. One of them is Powershell. As the name suggests, it’s really powerful. You can accomplish so many … Continue reading

Posted in Powershell, Technical | Tagged , , , , , , | Leave a comment

Activation error occured while trying to get instance of type Database, key “” | EntLib


The title of this post may sound a bit strange for those who have not faced this problem but it may sound a Sweet Tune Music ­čÖé to those who want to resolve this nasty error in their application. If … Continue reading

Posted in .NET | Tagged , , , , , | 8 Comments

DeterminantOfMatrix


4. Determinant of a 2D matrix Problem: Given a 2D matrix, Determine it’s Determinant. Solution: This implementation is done using C#.NET. Rectangular Matrix is declared using int[,] syntax. public static long EvaluateDeterminant(int[,] matrix) { long determinant = 0; if (matrix … Continue reading

Posted in Algorithms | Tagged , , , , | Leave a comment

Infix to Prefix Conversion


3. Convert Infix Expression to Prefix Expression Problem: Given an infix expression, output the expression in Prefix (Polish Notation) form. For e.g. Solution: This implementation is done using C#.NET. ALGORITHM: This algorithm maintains two stacks. 1st stack for all operators … Continue reading

Posted in Algorithms | Tagged , , , , , , , , | 11 Comments