Apache Thrift, RPC’s between Java(server)-PHP(client), Hello World Application

A more comprehensive tutorial can be found here. Code can be downloaded from: https://github.com/chirag1992m/apacheThriftHelloWorld HOW TO INSTALL: type(for the pre-requisites):  For the final installation, download the tarball from the website, http://thrift.apache.org/download/ Then to install the tarball:  Also install the eclipse editor for thrift files. Eclipse –> help –> Install new Software –> add the URL: http://thrift4eclipse.sourceforge.net/updatesite/ tick the…

Read more...

Memory profiling in C++

Code profiling as said in the earlier post is the dynamic analysis of resources used by a program or a small section of it.Here we will discuss about monitoring the memory during a run of a C++ program. Monitoring the memory greatly helps in optimizing your code. Memory leaks (when memory is not released back…

Read more...

Code Profiling for time in C++

Code profiling is a very important aspect of programming. First you must be wondering what is code profiling. You can always google it but in simple words “code profiling” is just measuring of the resources used by your program or small sections of your program.Here I will be talking about code profiling for “time”. Dynamically…

Read more...

how to hide drive in windows

Most of you must have wondered if there exists a way without using software to Hide A Drive completely so that it cannot be viewed or accessed without unlocking it. so, here is a easiest method to hide drive simple 4 steps. Follow The Steps For Do This.. Goto run type “gpedit.msc” (without quotes)  select…

Read more...

How to hide files in windows

i guess this one is fairly important for “guys”…so just go through it…I assure you, you will find this quite important…:DThis thing is a basic feature provided by the NTFS file system. It also provides the feature of encrypting a file with your own “encryption” method but I’ll come back later to it. Now lets…

Read more...