Hi there! Welcome to mmp-notes. Here, I note some of "my" thoughts, hacks ideas and much more. You may find some of it useful or interesting. Let me know your thoughts/comments on the content here by commenting them on the posts.

The old version of this blog can be found here

Thanks to


Posts

Redblack Trees
This post is not an another article which describes RB Trees. This one tries to explain the need for node coloring constraints described in the RB Tree design. What are RB-Trees These are balanced binary trees with each node having one extra pro...

Language support for conditional method
java language feature
While going through the Hadoop HDFS code, I saw three lines of code repeated everywhere when a debug statement must printed (see below). if (DFSClient.LOG.isDebugEnabled()) { DFSClient.LOG.debug("..."); } Well everything is correct in this co...

Endianness Of Machine
endianness c hack
Have you ever thought which type of memory architecture (Little Endian or Big Endian) your machine has. Can you write a program to find this? I recommend you to first try this minimizing the browser…. Tired up pulling your hairs off…. Here is the s...