Powered by Blogger.

What is IP address??

Short for Internet Protocol address, an IP address is an address of a computer or other network device on a network using TCP/IP. For example, the number "166.70.10.23" is an example of such an address. These addresses are similar to an addresses used on a house and is what allows data to reach the appropriate destination on a network and the Internet.
There are five classes of available IP ranges: Class A, Class B, Class C, Class D and Class E, while only A, B, and C are commonly used. Each class allows for a range of valid IP addresses. Below is a listing of these addresses.
Class Address Range Supports
Class A 1.0.0.1 to 126.255.255.254 Supports 16 million hosts on each of 127 networks.
Class B 128.1.0.1 to 191.255.255.254 Supports 65,000 hosts on each of 16,000 networks.
Class C 192.0.1.1 to 223.255.254.254 Supports 254 hosts on each of 2 million networks.
Class D 224.0.0.0 to 239.255.255.255 Reserved for multicast groups.
Class E 240.0.0.0 to 254.255.255.254 Reserved for future use, or Research and Development Purposes.
Ranges 127.x.x.x are reserved for the loopback or localhost, for example, 127.0.0.1 is the common loopback address. Range 255.255.255.255 broadcasts to all hosts on the local network.
IP address breakdown
Every IP address is broke down into four sets of octets that break down into binary to represent the actual IP address. The below table is an example of the IP 255.255.255.255. If you are new to binary, we highly recommend reading our binary and hexadecimal conversions section to get a better understanding of what we're doing in the below charts.
IP: 255 255 255 255
Binary value: 11111111 11111111 11111111 11111111
Octet value: 8 8 8 8
If we were to break down the IP "166.70.10.23", you would get the below value. In the below table, the first row is the IP address, the second row is the binary values, and the third row shows how the binary value equals the section of the IP address.
166 70 10 23
10100110 01000110 00001010 00010111
128+32+4+2=166 64+4+2=70 8+2=10 16+4+2+1=23
Automatically assigned addresses
There are several IP addresses that are automatically assigned when you setup a home network. These default addresses are what allow your computer and other network devices to communicate and broadcast information over your network. Below is the most commonly assigned network addresses in a home network.
192.168.1.0 0 is the automatically assigned network address.
192.168.1.1 1 is the commonly used address used as the gateway.
192.168.1.2 2 is also a commonly used address used for a gateway.
192.168.1.3 - 254 Addresses beyond 3 are assigned to computers and devices on the network.
192.168.1.255 255 is automatically assigned on most networks as the broadcast address.
If you have ever connected to your home network, you should be familiar with the gateway address or 192.168.1.1, which is the address you use to connect to your home network router and change its settings.
Getting an IP address
By default the router you use will assign each of your computers their own IP address, often using NAT to forward the data coming from those computers to outside networks such as the Internet. If you need to register an IP address that can be seen on the Internet, you must register through InterNIC or use a web host that can assign you addresses.
Anyone who connects to the Internet is assigned an IP address by their Internet Service Provider (ISP) who has registered a range of IP addresses. For example, lets assume your ISP is given 100 addresses, 109.145.93.150-250. This means the ISP owns addresses 109.145.93.150 to 109.145.93.250 and is able to assign any address in that range to its customers. So, all these addresses belong to your ISP address until they are assigned to a customers computer. In the case of a dial-up connection, you are given a new IP address each time you dial into your ISP. With most broadband Internet service providers because you are always connected to the Internet your address rarely changes and will remain the same until the service provider requires it to be changed.
Connecting to the Internet
The above picture is taken from our "How do computers connect to each other over the Internet?" document and gives a good overview of how a computer can talk to another computer over the Internet using an IP address.


source :http://www.computerhope.com/jargon/i/ip.htm

sexy photos from personnel JKT 48 (foto seksi dari personil JKT 48)

Sony Xperia ZR Lets You Shoot Full HD Videos Underwater

Sony's new Android smartphone, the Sony Xperia ZR, has a trait not often seen in today's high-range smartphones: it can be submerged 5 feet deep under water.
Its level of water resistance — IP55 and IP58 — is a bit better than Sony's current Android flagship, Sony Xperia Z, which is IP55 and IP57 compliant, meaning it can be submerged into 3.3 feet of water.
Bear in mind that, for both devices, this specifically means "fresh water," meaning you probably shouldn't take it with you for that ocean dive, but it's still a very nice feature to have, especially with the summer approaching.
As for the rest of the Xperia ZR's specs, they're the same as the Xperia Z: a 4.6-inch screen, 1.5GHz quad-core Qualcomm Snapdragon processor, 13-megapixel camera and 2GB of RAM.
The camera lets you shoot full HD videos, and the device's Exmor RS image sensor lets you take HDR photos and videos, all of which could result in some stunning underwater footage if you're not scared to get a little wet.
Sony Xperia ZR will become available globally (in black or white) in Q2 2013 at a yet-undisclosed price.

Facebook Now Let Us Edit Comments

We’ve all done it. Your friend uploads a picture of their new puppy to Facebook, and you somehow manage to leave a comment congratulating them instead on their “new pappy.”

So what do you do? Until now, the only thing Facebook would let you do to correct the error was delete the comment and start again.


But starting Thursday the site is also now offering the ability to edit your comment — and change that pappy back to the puppy you intended in the first place. The edit option appears in the form of a small pencil icon on the right side of your comment. Clicking on the pencil will bring up a drop-down menu the option to edit your comment as well as the option to delete it entirely.

Facebook told Mashable the site will also be “showing the editing history for a comment so that subsequent commenters or likers have the full context of the conversation.” That way if someone responds to a comment that gets edited commenters in the future can see the history of the conversation and not get lost.

The editing ability went live on Thursday evening, and will be gradually rolling out to all users over the next few days.

Has the comment editing system kicked in for you yet? Let us know in the comments

On Earth Day 2013, a planetary report card on global warming

 
When Earth Day observances first began in 1970, Cleveland had recently doused a pollutant-fueled fire on a section of the Cuyahoga River. Cities were often shrouded in thick blankets of smog. And large portions of Lake Erie were so fouled by industrial, farm, and sewage runoff that sections of the 241-mile-long lake were pronounced dead.
As an environmental issue, global warming was far down the list of concerns.
At the time, a small number of climate scientists noted a general cooling trend in Earth's climate. They even suggested Earth might be about to begin a millenniums-long slide into a new ice age.
It was a decidedly minority view, however. And it quickly faded as global average temperatures rose and as the burning of fossil fuels and deforestation pushed concentrations of greenhouse gases in Earth's atmosphere relentlessly higher.
Since that first Earth Day, the air over major cities is cleaner. Lake Erie is healthier. So is the Cuyahoga River, which groups in Cleveland would like to turn into a centerpiece of urban life. The improvements have come with "yes, but ..." as other environmental challenges have elbowed their way to the fore. But for the most part, tools are in place to deal with them.
So, how are we doing on global warming, now widely seen as the century's most pressing environmental issue?
RECOMMENDED: Think you know the odd effects of global climate change? Take our quiz.
For the most basic measure, let's turn to the atmosphere and the changes that human activities are imposing on the mix of gases it contains – primarily carbon dioxide (CO2).
Most climate scientists trace global warming to the relatively rapid buildup of atmospheric CO2 from the burning of fossil fuels long sequestered deep underground.
Though only 0.04 percent of all the gases in the troposphere, where weather happens, CO2 is second only to water vapor as the most abundant greenhouse gas. And where a water molecule may remain airborne for up to 10 days before returning to the surface as rain, a newly emitted molecule of CO2 can remain in the air for centuries.
"From the grossest physical indicator, we're not getting the job done as a planet," says Alden Meyer, director of the Union of Concerned Scientists office in Washington, of the steady rise in CO2 levels.
"But ... there's some good news in the fact that some countries are moving forward with domestic strategies" for curbing greenhouse-gas emissions, says Mr. Meyer, who closely tracks national and international efforts to deal with climate change. "Is it enough, fast enough? No. But are they better than business as usual? Yes."
Atmospheric CO2 concentrations have reached the highest level in at least 800,000 years, reaching 395 molecules of CO2 for every million molecules of all gases in the atmosphere – 395 parts per million – some 45 to 50 percent higher than preindustrial levels.

7 Amazing Transparent Animals – Wonders of Nature

Nature is fascinating and often weird, it surprises us when we least expect. Some creatures use the camouflage techniques as a hunting and defense mechanism, others show everything they have -  like transparent animals. Despite of what we are inclined to think, transparent and translucent animals live also on the ground, not only in the abyss of the ocean and we have visual proof of it. Nothing is photoshopped!

1. Transparent Frog

transparent animals wonders of nature 14 in 7 Amazing Transparent Animals   Wonders of Nature
transparent animals wonders of nature 08 in 7 Amazing Transparent Animals   Wonders of Nature
transparent animals wonders of nature 09 in 7 Amazing Transparent Animals   Wonders of Nature
Umm, not so fast, prof… have you seen the “glass frog” (above), native to the Venezuelan rainforest? Like the transparent frogs selectively bred in the lab from generations of pale-skinned Japanese Brown Frogs, the Glass Frog’s internal organs and eggs can be seen without too much trouble. Word to Professor Sumida: take the grant money and run!

2. Transparent Cave Crayfish

transparent animals wonders of nature 07 in 7 Amazing Transparent Animals   Wonders of Nature
transparent animals wonders of nature 06 in 7 Amazing Transparent Animals   Wonders of Nature
Caves are some of the darkest places on the planet – even sophisticated light-gathering instruments are unable to register a single photon in the deepest, darkest caves. Under these conditions, creatures including fish, spiders, insects and crayfish have evolved into “troglobites”: animals so precisely adapted to living in darkness that they cannot survive outside cave environments. Under such conditions, neither eyes nor pigmentation are necessary.

3. Transparent Sea Cucumber

transparent animals wonders of nature 04 in 7 Amazing Transparent Animals   Wonders of Nature
transparent animals wonders of nature 05 in 7 Amazing Transparent Animals   Wonders of Nature
Slow moving, soft bodied bottom dwellers for the most part, Sea Cucumbers are an ancient lineage of sea creatures who have evolved a variety of ways to survive and thrive over hundreds of millions of years of evolution. For some Sea Cucumbers, being transparent allows them to fly under the radar, as it were, of predators in search of a quick & easy ki**.

4. Transparent Icefish

transparent animals wonders of nature 10 in 7 Amazing Transparent Animals   Wonders of Nature
Fund in the cold waters around Antarctica and southern South America, the crocodile icefish (Channichthyidae) feed on krill, copepods, and other fish. Their blood is transparent because they have no hemoglobin and/or only defunct erythrocytes. Their metabolism relies only on the oxygen dissolved in the liquid blood, which is believed to be absorbed directly through the skin from the water. This works because water can dissolve the most oxygen when it is coldest.

5. Transparent Amphipod

transparent animals wonders of nature 12 in 7 Amazing Transparent Animals   Wonders of Nature
Called Phronima, this unusual animal is one of the many strange species recently found on an expedition to a deep-sea mountain range in the North Atlantic. In an ironic strategy for survival, this tiny shrimplike creature shows everything it has, inside and out, in an attempt to disappear.

6. Transparent Squid

transparent animals wonders of nature 13 in 7 Amazing Transparent Animals   Wonders of Nature
Found on the southern hemisphere’s oceans, the Glass Squid (Teuthowenia pellucida) has light organs on its eyes and possesses the ability to roll into a ball, like an aquatic hedgehog.

7. Transparent Siphonophores

transparent animals wonders of nature 01 in 7 Amazing Transparent Animals   Wonders of Nature
transparent animals wonders of nature 03 in 7 Amazing Transparent Animals   Wonders of Nature
Siphonophores belong to the Cnidaria, a group of animals that includes the corals, hydroids, and true jellyfish. Marrus orthocanna, a deep sea siphonophore. The combined digestive and circulatory system is red; all other parts are transparent.

Customizing Comment Model

For the Comment model, we mainly need to customize the rules() and attributeLabels() methods. The attributeLabels() method returns a mapping between attribute names and attribute labels. We do not need to touch relations() since the code generated by the Gii tool is good enough.

1. Customizing rules() Method

We first customize the validation rules generated by the Gii tool. The following rules are used for comments:
public function rules()
{
    return array(
        array('content, author, email', 'required'),
        array('author, email, url', 'length', 'max'=>128),
        array('email','email'),
        array('url','url'),
    );
}
In the above, we specify that the author, email and content attributes are required; the length of author, email and url cannot exceed 128; the email attribute must be a valid email address; and the url attribute must be a valid URL.

2. Customizing attributeLabels() Method

We then customize the attributeLabels() method to declare the label display for each model attribute. This method returns an array consisting of name-label pairs. When we call CHtml::activeLabel() to display an attribute label.
public function attributeLabels()
{
    return array(
        'id' => 'Id',
        'content' => 'Comment',
        'status' => 'Status',
        'create_time' => 'Create Time',
        'author' => 'Name',
        'email' => 'Email',
        'url' => 'Website',
        'post_id' => 'Post',
    );
}
Tip: If the label for an attribute is not declared in attributeLabels(), an algorithm will be used to generate an appropriate label. For example, a label Create Time will be generated for attributes create_time or createTime.

3. Customizing Saving Process

Because we want to record the creation time of a comment, we override the beforeSave() method of Comment like we do for the Post model:
protected function beforeSave()
{
    if(parent::beforeSave())
    {
        if($this->isNewRecord)
            $this->create_time=time();
        return true;
    }
    else
        return false;
}