Atomicity from single-cycle compare & swap

There is a wonderful function defined in scala.concurrent.Future trait called onComplete. Here is the declaration: There is one key-point in the documentation which says : If the future has already been completed, this will either be applied immediately or be scheduled asynchronously. The reason I call…

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…

MIT IMI

In the summer of 2011, I (in a team of five) had participated in Massachusetts Institute  of Technology, Indian Mobile Initiative – The NEXT BIG IDEA Challenge. We had constructed an App cum service called KickStart. The below are the certificates with official MIT hologram    …

WiiChat

  Wii-Chat is a peer to peer android chat service built by myself and Shubham Atlani under BITS Pilani Android Research group. Using Wii-Chat one can communicate with another in a Wii-Fii. Currently by using the existing version one can only chat. Development is going…

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…

Nirmaan – An Experience

Nirmaan – An Experience, My Experience…..   It so happened that till I was 16, my upbringing was at a place called Mubarak Nagar 5 KM’s away from Nizamabad which is 170 KM away from Hyderabad. Mubarak Nagar is a typical south Indian village which…