Blog Posts

Recent posts

Git diff and merge tool with Intellij Idea

less than 1 minute read

Windows 1 2 3 4 5 6 7 8 9 [merge] tool = intellij [mergetool "intellij"] cmd = cmd.exe //c "\"c:/Program Files (x86)/JetBrains/IntelliJ IDEA Communit...

C++ - Exception handling

less than 1 minute read

The following article provides a good way of using Exceptions in C++ http://www.acodersjourney.com/2016/08/top-15-c-exception-handling-mistakes-avoid/

C# - EF lifetime of DBContext

less than 1 minute read

The following article has a useful information on handling the lifetime of DBContext in EF. http://mehdi.me/ambient-dbcontext-in-ef6/

Java - exceptions

less than 1 minute read

Java has 3 different types of exceptions. 1. Checked exception - Use this exception for a case which can be recoverable. 2. Runtime exception - Use this exce...

Java - illegal generic array

less than 1 minute read

The following code will have a compile error 1 new List<E>[]; The reason is that it is not a typesafe. It will violate the generic type system in Java