computer science

Parallel Programming in Java (Part – 1)

Hello all, A huge welcome to my new article, which is about making optimal use of the super machines that are available to run our systems in the current world. It is really awesome that the computing and storage costs have gone down so much and we are able to achieve tons of things at… Continue reading Parallel Programming in Java (Part – 1)

computer science, Technology

Readable Code : Just like a fairy tale

Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. - Alan Kay Writing code is simple. Yes, you read it right. It is simple, but writing code as readable as… Continue reading Readable Code : Just like a fairy tale

computer science

Dynamic Programming

Dynamic Programming (Memoization) : As usual lets start with the general definition of dynamic programming. "In computer science DP is a method for solving a complex problem by breaking it down into a collection of simpler subproblems, solving each of those subproblems just once, and storing their solutions – ideally, using a memory-based data structure" The general… Continue reading Dynamic Programming

computer science, Technology

Deadlock in simple terms

 For understanding our first scenario we have to ride a car in a small Village where you have very narrow lanes. Adding to your pain you have buffaloes leading you. I hope you are enjoying the ride 🙂 . After several rounds of heavy honking you get to overtake the buffaloes HURRAAYY!!, but WAIT. You find yourself in a worse… Continue reading Deadlock in simple terms

computer science, Technology

How search engine works ? – Elastic Search (Part – 1)

Have you ever wondered how a search engine works ? If yes then this article can help you understand the basics of search engine. We will talk about how a search engine is able to search for your queries within milliseconds. So lets start with the steps involved in building fast search queries : 1) Lexical analysis… Continue reading How search engine works ? – Elastic Search (Part – 1)