Posts

Django : Installation

Django is the web programming framework in python. It allow python programmers to show their expertise in web. Python is the powerful language we know. On this tutorial I have going to show you how to install Django in your machine. If you are a Linux user this tutorial is more comfortable for you. Open your terminal and check you already have python. if not install python using the command sudo apt-get install python to install python on your Linux environment. Install Apache Server and mod-wsgi Getting your database server is running. Django support for PostgreSQL , MySQL , Oracle and SQLite . Then you need pip in your python environment. to install pip sudo apt-get install python-pip or download the file get-pip.py then run this file with root access. Then if you have install pip install Django using the pip command sudo pip install Django   That's it check your Django is install properly using following python snap import sys ; sys . path = sys . pat...

Maven Installation

Image
Today, I have install Maven on my laptop. I just want to share with you... Lets' quick start. follow these steps. First you need to download the maven binary from the official maven site  http://maven.apache.org/download.cgi   Then extract the binary zip  Now, set your environmental variable for JAVA_HOME get the path of bin in your extract maven folder and set it into the environmental variable path Now, every thing is okay. Open your command prompt  enter mvn --version Done. that's it. Enjoy with maven

Levenshtein distance

Today, There is a discussion on Levenshtein distance . How is working, really exciting. Levenshtein distance is a string metric for measuring the difference between two sequences. Informally, the Levenshtein distance between two words is the minimum number of single-character edits (i.e. insertions, deletions or substitutions) required to change one word into the other For example, the Levenshtein distance between "kitten" and "sitting" is 3, since the following three edits change one into the other, and there is no way to do it with fewer than three edits: k itten → s itten (substitution of "s" for "k") sitt e n → sitt i n (substitution of "i" for "e") sittin → sittin g (insertion of "g" at the end). On the surfing found a resource of online calculator for Levenshtein distance . Online calculator: Levenshtein Distance But how is this possible. Searching for an algorithm. I found pseudo cod...

OPEN SOURCE - OFFICIAL DEFINITION

Image
Open source doesn't just mean access to the source code. The distribution terms of open-source software must comply with the following criteria: 1. Free Redistribution The license shall not restrict any party from selling or giving away the software as a component of an aggregate software distribution containing programs from several different sources. The license shall not require a royalty or other fee for such sale. 2. Source Code The program must include source code, and must allow distribution in source code as well as compiled form. Where some form of a product is not distributed with source code, there must be a well-publicized means of obtaining the source code for no more than a reasonable reproduction cost preferably, downloading via the Internet without charge. The source code must be the preferred form in which a programmer would modify the program. Deliberately obfuscated source code is not allowed. Intermediate forms such as the output of a preprocessor...

CLIPPING POLYGONS : SUTHERLAND-HODGMAN'S PLOYGON-CLIPPING ALGORITHM

Image
Algorithm  Take input edges (Edges contain two vertices ) successively for a given polygon. Output is a new vertices Don't panic see the description of wonderful explanation. 

Firefox OS App Development Session 01

Image
Firefox OS is a Fastest HTML5 Mobile Application environment. It challenges to the famous OSs Android and iOS We can create applications for firefox just use of HTML5,CSS and Javascript knowladge. we don't need to know more. Just watch this video for your introductions.

Unsharp Masking(USM) filtering to sharpen edge in Images using Image Processing Techniques

Image