Are you looking forward for applying for a personal, car or home loan or even applying for a new Credit Card. Then you might want to check your “CIBIL TransUnion Score” to know how likely are you going to get […]
Are you looking forward for applying for a personal, car or home loan or even applying for a new Credit Card. Then you might want to check your “CIBIL TransUnion Score” to know how likely are you going to get […]
What is Java Reflection and Properties In this article I will be explaining how you load classes dynamically using a properties file and Java Reflections. The Properties file are basically a collection of key-value pairs. It is the most commonly […]
The purpose of this article is to understand Haskell and more importantly, Function Oriented language. Introduction to Functions and Function Oriented Languages What is a Function? A Function is a set of executable commands accepts zero or more arguments returns […]
— Commands available from the prompt: <statement> evaluate/run <statement> : repeat last command :{\n ..lines.. \n:}\n multiline command :add [*]<module> … add module(s) to the current target set :browse[!] [[*]<mod>] display the names defined by module <mod> (!: more details; […]
Let’s try to solve the codechef’s small factorials problem in Haskell. The code should be able to take in a list of positive integers and output their factorial values. The solution which I came up is as follows: — ‘Main’ […]
Installing the Haskell platform is pretty straight forward. You will have to first download the appropriate setup file from http://hackage.haskell.org/platform/. Running the setup file will install Haskell compiler and runtime environments in your computer. After installing the platform you may […]
Have you ever wondered how the following code worked? Class.forName(“some.database.Driver”); Connection conn = DriverManager.getConnection(“connection_url”, “username”, “password”); A half-backed answer would be Class.forName() loads the database driver class some.database.Driver, and DriverManager.getConnection() returns the appropriate Connection instance based on the ‘connection_url’ provided. […]
Introduction Java collections are one of the most commonly used data-structures by all Java professionals. But are you using the right collection class that would best suit your need? Most programmers usually use Vectors, ArrayList, HashMap, or Hashtable. There are […]
Aspect Oriented Programming and Dependency Injection are two very powerful frameworks that would help in eliminating cross-cutting concerns and providing a way of injecting dependencies at run-time. Two most powerful frameworks for Java, through which we can achieve these, are […]
After a long period of intense thinking, research and brainstorming sessions, I have finally made up my mind with few best practices that can be considered while using a database. All database servers today has capabilities to optimize the queries […]