Parallel Streams!!

I am always skeptical of using parallel streams in Java8. For simple reason: You do not have control to decide the pool responsible for executing tasks. By default, common ForkJoinPool executes it. So in short when you do: The common pool executes it. And you…

Hack Puzzle – 1

I have been thinking for quite some-time to build a puzzle. I think I have built an awesome one and hope everyone finds it awesome to hack You can download the jar from here. Aim: Make the program terminate gracefully Terminate gracegully: Implies that the program should…

Asynchronous Distributed Key-Value DB

I have developed a simple-beta version of an synchronous distributed key-value database. It is simple and quite robust and I plan to make it not so-simple and open to other languages (apart from JVM based ones) in the future :). You can download it and start…

Issues with Java 7 on Mac OS

At my work place, I was involved in building a desktop application for Mac (priority) & Windows (lesser priority). So for about 5 months, I did all my development work on Mac and now I think I have a good feel of the OS. So…

Continuation….

This post is in continuation to the previous post – Co-variance and Contra-variance Arrays in Java are Co-variant. Which basically means if “String” extends “Object” then “String[]” also extends “Object[]”. Do you see  any pitfall’s above?? Lets look at the following example Example – 1…

Co-variance & Contra-variance

I have been working on Scala recently and it has been a pure pleasure. I am in love with the language. And Yes! it indeed is a beast. Generics/Parametrization is something that has always kept me on the hook even after good amount of experience…

Cache

This is  the first part of series of posts I plan to put-up on effective memory-centric cache implementations. Well I have been working and going through different cache implementations in Java. Below is a discussion on some of them. The aim is to choose the…

Another reason to love Neo4J

For one of the projects where Neo4J is being used, I have been working on implementing K-Shortest Path algorithm using Yen’s loopless improvised algorithm. Now an issue in the algorithm is that; Say  in computing top 4 shortest path, what the algorithm does is that…

Inter Thread Task Transfer

Most of my projects (infact all of them) are only 80% complete and have not published them anywhere. Hence finally thought that it is high time now to complete Unfinished Business :). The next few posts will only be explaining th different libraries I had…

Clojure for Netbeans 7.*

For sometime now I have thinking to explore my domain and for a change learn a new Language. Inspired from the talk by Dr.Dragan Djuric on Clojure, I decided to go behind Clojure. As a Netbeans enthusiast I was looking for a plugin for Clojure….