Wikipedia defines Docker as
[Read More]
Protocol Buffers 101
serialize with efficacy.
Serialization is the process of converting an object into a stream of bytes to store the object or tranfer over a network. Its main purpose is to save the state of an object in order to be able to recreate it when needed. The reverse process is called deserialization. There...
[Read More]
Docker Remote API
Docker from distance.
In the previous post, we saw the basic commands to create a docker image. In this post we will look at docker remote api's.
[Read More]
Building a Docker image
First Docker image.
Wikipedia defines Docker as
[Read More]
Self
Finding your true self.
When Python is used in object oriented way we many at times see self used as a first parameter. Programmers coming from different languages may find it odd. In this post we are going to look at self importance in the object oriented world of Python.
[Read More]
Multiple Inheritance in C++
Best way to inherit.
Introduction
[Read More]
Dynamic Memory allocation in C and C++
Save your memory.
Dynamic Memory allocation in C First let us look into how the memory is organized. The memory is mainly divided into stack, heap and permanent storage area. The Stack is used to store local variables. Global variables, program instructions and static variables are stored in the permanent storage area. Our...
[Read More]
Round Trip Time in NS2
To and fro journey time.
1. Create two ping agents and attach them to the nodes between which the Round Trip Time is to be calculated.
[Read More]
Introduction to NS2
Simulate a network.
Network Simulator (Version 2), widely known as NS2, is simply an event-driven simulation tool that has proved useful in studying the dynamic nature of communication networks. Simulation of wired as well as wireless network functions and protocols (e.g., routing algorithms, TCP, UDP) can be done using NS2. In general, NS2...
[Read More]