Monday, May 25, 2009

Anuradha Enginerring college

Anuradha Engineering college ...... Also Known As "AEC".

Anuradha Engineering college ...... This is the place where I have spent most precious days of my life. AEC is situated 5km away from Chikhli, Dist. Buladhana. It is A grade college and it comes under "Amaravati University" which is now renamed to "Sant Gadge Baba Amaravati University". Nice college with nice campus.



Regarding features or facilities of the college, I would say, based on our graduation experience (2001-2005) I will summaries them as follows,
  • Almost all the Labs are well equipped.
  • Teaching staff was also OK but if you are taking admission in Pay sheet then you can go for better option.
  • Internet labs were small with limitted PC in working condition.
  • College canteen is good but no privacy for student. Open culture was missing.
  • The best FACILITY was Indoor stadium for sports like Badmintoon, Table Tennis, Carrom etc.





Thursday, April 9, 2009

What is an IP Address (Static IP, Dynamic IP)?

What is an IP Address?

An IP address identifies a computer or other device to a network. The basic concept is simple: every device on a network needs to have its own address. That way, data is sent to the right place. There are IP addresses are used by the whole Internet, and others, only used by locally, for example in your home.
Why isn't there One Set of IP Addresses for the Whole World?
It might be nice if every computer had its own IP address. Unfortunately, computers come and go frequently — millions are added, removed, or rearranged every day. It would be impossible for everyone in the world to keep up with the changes. Another reason that local networks use their own addresses is that the Internet ran out of "regular" IP addresses long ago.
To avoid these problems the Internet community does a number of things:
They use one set of addresses for the whole world. However each local network uses its own addresses. You and your neighbors probably use some of the same IP addresses, but your network doesn't talk directly to your neighbor's without "translating" the addresses, so it's ok.
Some addresses are used only temporarily. When the computer is turned off, the address is given to someone else.
They create a secondary address called a subnet mask which changes the way the main IP address is read. (People with simple networks don't need to know much about this.)
Whether for the whole world, or just for your home, an IP address always looks like this (four numbers separated by three periods):
e.g. 192.168.0.1
The subnet mask has the same format. The subnet masks on your own home network will almost always have exactly these numbers:
255.255.255.0
Don't change the subnet mask without being sure what it does!
You need to keep a record of these IP addresses:
The one your ISP gives you. This one is used by the whole world to access your network.
The address of your router on your own network. By default NETGEAR sets the router address to 192.168.0.1 or to 192.168.1.1. That's the IP address you type in an Internet browser to log in your router.
There are situations where you will need to know IP addresses of other devices in your network.
What's the Difference Between a Static and a Dynamic IP Address?
The IP address from your ISP is assigned one of two ways:
Set to an IP address which is unchanged for months or years at a time. This is a static IP address.
Set to an IP which is only good for a limited time, and which is changed according to the policy set by your ISP's DHCP server. This is a dynamic IP address.
Because a static IP can be relied on for an indefinite period, some networking software requires a static IP. ISPs usually charge extra for static IPs. Your ISP may not be willing to give their customers static IP addresses at all.
Dynamic IPs are used in large networks where computers are frequently reconfigured, or where a limited number of IP address are available to share between many computers.
If All the Public Computers have an IP Address, how do Addresses like www.netgear.com Work?
Many computers have a name that matches an IP address. These names must be applied for with companies that maintain them for the public. If other people will be frequently accessing your network, it might be convenient for them to use such a name. This article describes how you can buy your own computer name What is Dynamic DNS?

Doc: N100048.asp Dec. 3, 2003

Tuesday, December 16, 2008

Perl Basics

# Introduction to Basic Perl
>> SHEBANG (#!/usr/bin/perl)
Perl is a script language, which is compiled each time before running. That unix knows that it is a perl script there must be the following header at the topline of every perl script: #!/usr/bin/perl This is known as SHEBANG.
>> Perl Command & Comments
Everything starting from a "#" up to the end of the line is comment and has no effect on the program. Commands start with the first non space charachter on a line and end with a ";". So one can continue a command over several lines and terminates it only with the semicolon.
>> Perl Subroutines & Execution
Direct commands and subroutinesNormal commands are executed in the order written in the script. But subroutines can be placed anywhere and will only be evaluated when called from a normal commandline. Perl knows it's a subroutines if it the code is preceeded with a "sub" and enclosed in a block like: sub name { command;}
Other special linesPerl can include other programming code with: require something or with use something.
QuotationsSingle quote: '' or: q// Double quote: "" or: qq// Quote for execution: `` or: qx// Quote a list of words: ('term1','term2','term3') or: qw/term1 term2 term3/ Quote a quoted string: qq/"$name" is $name/; Quote something wich contains "/": qq!/usr/bin/$file is readdy!;
>> Perl CONTEXT
Scalar and list contextThat perl distinguishes between scalar and list context is the big feature, which makes it uniqe and more usful then most other script languages. A soubroutine can return lists and not only scalars like in C. Or an array gives the number of elements in a scalar context and the elements itself in a list context. The enormous value of that feature should be evident.
>> Perl Variables and Operators
GeneralThere are scalar variables, one and two dimensional arrays and associative arrays. Instead of declaring a variable one preceeds it with a spcial charachter. $variable is a normal scalar variable. @variable is an array and %variable is an associative array. The user of perl does not have to distinguish between a number and a string in a variable. Perl switches the type if neccessary.
ScalarsFill in a scalar with: $price = 300; $name = "JOHN"; Calculate with it like: $price *= 2; $price = $oldprice * 4; $count++; $worth--; Print out the value of a scalar with: print $price,"\n";
ArraysFill in a value: $arr[0] = "Fred"; $arr[1] = "John"; Print out this array: print join(' ',@arr),"\n"; If two dimensional: $arr[0][0] = 5; $arr[0][1] = 7;
Hashes (Associative Arrays) Fill in a single element with: $hash{'fred'} = "USA"; $hash{'john'} = "CANADA";
Fill in the entire hash:
%a = (
'r1', 'this is val of r1',
'r2', 'this is val of r2',
'r3', 'this is val of r3',
);
or with:
%a = (
r1 => 'this is val of r1',
r2 => 'this is val of r2',
r3 => 'this is val of r3',
);