Category Archives: Project

Multi-Messenger : A python project, messaging via Terminal

The aim of this program is to let users mail/message on FB/SMS anyone using Terminal. The full project can be found here. So, first of all, why Multi-Messenger ? This is the first question which anyone will think about. The answer is simple, Terminal! Many of our work, now a days, lies in Terminal, talking… Read More »

A Group chat application in Java

In this post, a group chat application using MulticastSocket (Java Platform SE 7) class is discussed. A MulticastSocket is a (UDP) DatagramSocket, with additional capabilities for joining “groups” of other multicast hosts on the internet. Implementation Save the file as GroupChat.java and compile it using javac and then run the program using two command line… Read More »

Working with zip files in Python

This article explains how one can perform various operations on a zip file using a simple python program. What is a zip file? ZIP is an archive file format that supports lossless data compression. By lossless compression, we mean that the compression algorithm allows the original data to be perfectly reconstructed from the compressed data.… Read More »

Implementing Web Scraping in Python with BeautifulSoup

There are mainly two ways to extract data from a website: Use the API of the website (if it exists). For example, Facebook has the Facebook Graph API which allows retrieval of data posted on Facebook. Access the HTML of the webpage and extract useful information/data from it. This technique is called web scraping or… Read More »

Student Data Management in C++

Databases are being used in every aspect of our lives right now. Trillions of bytes of data are being stored in servers around the world. SQL is one of the most basic methods to use such a database. But have you ever thought about using C++ to maintain such a database. In this post, we… Read More »

Creating a Calculator for Android devices

This post describes how to create a calculator application especially to help in competitive coding for android devices. The apk created can be used to install the application on different devices. The project has been designed for entry level android programmers. The Calculator Application The calculator can handle arbitrary large numbers Arithematic operations implemented :… Read More »

Concurrent Merge Sort in Shared Memory

Given a number ‘n’ and a n numbers, sort the numbers using Concurrent Merge Sort. (Hint: Try to use shmget, shmat system calls). Part1: The algorithm (HOW?) Recursively make two child processes, one for the left half, one of the right half. If the number of elements in the array for a process is less… Read More »

Creating a C/C++ Code Formatting tool with help of Clang tools

Today we are going to discuss formatting files in the user’s workspace by their extension. For this we are going to make use of Clang’s format tools. Prerequisites: Linux Machine Python Clang Tool Setup: Install Python using the following command: sudo apt-get install python Install Clang Format Tools sudo apt-get install clang-format-3.5 Create a python… Read More »

Implementation of Minesweeper Game

Remember the old Minesweeper ? We play on a square board and we have to click on the board on the cells which do not have a mine. And obviously we don’t know where mines are. If a cell where a mine is present is clicked then we lose, else we are still in the… Read More »