Thursday 31 March 2011

Tagged under: ,

Go Back N - Sender & Receiver

1. Go Back N Sender:


2. Go Back N Receiver:

Tuesday 29 March 2011

Tagged under:

Infix to Postfix Conversion

Following is the java code for converting from infix to postfix:



Saturday 26 March 2011

Tagged under:

Packet Sniffer

ACN Packet Sniffer

Our sir told to use some packetsniffer other than Wireshark or Colasoft. So I used Smartsniff.
Click the link below for snapshots
SmartSniff

For snapshots of Wireshark click the link below
Wireshark
Tagged under: ,

Apriori Algorihm

Apriori Algorithm:



Tagged under: ,

Computer Graphics programs in C++

The term computer graphics includes almost everything on computers that is not text or sound. Today almost every computer can do some graphics, and people have even come to expect to control their computer through icons and pictures rather than just by typing.
Here in our lab at the Program of Computer Graphics, we think of computer graphics as drawing pictures on computers, also called rendering. The pictures can be photographs, drawings, movies, or simulations -- pictures of things which do not yet exist and maybe could never exist. Or they may be pictures from places we cannot see directly, such as medical images from inside your body.

Computer graphics are graphics created using computers and the representation of image data by a computer specifically with help from specialized graphic hardware and software.

The interaction and understanding of computers and interpretation of data has been made easier because of computer graphics. Computer graphic development has had a significant impact on many types of media and have revolutionized animation, movies and the video game industry.

CG Programs
Most of the prog have been included.
click on the link below to download
CGprog
Tagged under: ,

Jigsaw puzzle

Jigsaw puzzle html
Download the Jigzaw puzzle from the download box alongside.

Tagged under: ,

Economic Crisis 2008 Seminar Presentation

This is the Seminar Presentation that we prepared for the Economic Crisis that started in 2008
Tagged under: ,

Sudoku puzzle in javascript

Download the Code for Sudoku puzzle for 3X3, 6X6, & 9X9 from the download box alongside.
Tagged under: , ,

Computer Graphics mini project/ Screen Saver code

1. Car Screensaver:



Tagged under: ,

Packet garbage and analysis using Wireshark

On the Internet, packet filtering is the process of passing or blocking packets at a network interface based on source and destination addresses, ports, or protocols. The process is used in conjunction with packet mangling and Network Address Translation (NAT). Packet filtering is often part of a firewall program for protecting a local network from unwanted intrusion.
In a software firewall, packet filtering is done by a program called a packet filter. The packet filter examines the header of each packet based on a specific set of rules, and on that basis, decides to prevent it from passing (called DROP) or allow it to pass (called ACCEPT).
There are three ways in which a packet filter can be configured, once the set of filtering rules has been defined. In the first method, the filter accepts only those packets that it is certain are safe, dropping all others. This is the most secure mode, but it can cause inconvenience if legitimate packets are inadvertently dropped. In the second method, the filter drops only the packets that it is certain are unsafe, accepting all others. This mode is the least secure, but is causes less inconvenience, particularly in casual Web browsing. In the third method, if the filter encounters a packet for which its rules do not provide instructions, that packet can be quarantined, or the user can be specifically queried concerning what should be done with it. This can be inconvenient if it causes numerous dialog boxes to appear, for example, during Web browsing.
Wireshark is a network packet analyzer. A network packet analyzer will try to capture network packets and tries to display that packet data as detailed as possible.
You could think of a network packet analyzer as a measuring device used to examine what's going on inside a network cable, just like a voltmeter is used by an electrician to examine what's going on inside an electric cable (but at a higher level, of course).
Here are some examples people use Wireshark for:
  • network administrators use it to troubleshoot network problems
  • network security engineers use it to examine security problems
  • developers use it to debug protocol implementations
  • people use it to learn network protocol internals
Download the manual from the download box alongside.

Friday 25 March 2011

Tagged under:

Optimism Vs Pessimism


Is Your Glass Half Full or Half Empty?
Are you a glass half full or a glass half empty kind of person? Does it really make a difference? I think it makes a huge difference in the quality of your life. Both optimists and pessimists contribute to our society.  The optimist invents the airplane and the pessimist the parachute. Two men look out through the same bars: One sees the mud, & one the stars.
Optimism can lead to accomplishment. If you think something is possible, you will generally work harder to achieve it. Believing in the positive allows you to feel good about life in general. The average pencil is seven inches long, with just a half-inch eraser. Being optimistic can lead to an overall mood of happiness, and enjoyment in life. While most optimists understand that not everything works out as planned, they recognize that some good can come from the unexpected.
Pessimism can lead to defeat and despair. A pessimist is a man who looks both ways before crossing a one way street. When you are doubtful about your success, you tend not to try as hard - which then leads to failure. A pessimist is somebody who complains about the noise when opportunity knocks. Approaching everyday tasks with a negative attitude quickly leads to a negative outlook on life.
I don’t think many cases of eyestrain have been developed by looking on the bright side of things. I think it is this positive upbeat attitude that allows us to be productive and love the work we do. I truly believe that our optimistic attitude is what provides us with our sense of fulfillment, and improves our overall quality of life.
Between the optimist and the pessimist, the difference is droll. The optimist sees the doughnut; the pessimist the hole! Winston Churchill once said, “The pessimist sees difficulty in every opportunity. The optimist sees the opportunity in every difficulty”.

We all have moments of optimism and pessimism; what it comes down to is how the scale is tipped. Is your cup half full or half empty? One should realize that when it is dark enough, you can see the stars.

So from here on, when you face any challenge in life just say