• About Me!!!
  • Its Me!!!

Mani's Weblog

~ Naangalum Sindhippomla!!!

Mani's Weblog

Category Archives: Computers

Numeric IP

12 Tuesday May 2015

Posted by Mani in Computers, Technical

≈ Leave a comment

Tags

dns, dns server, ip, ip to number, number

Recently, I was going through some code and found something strange (??? !!!) In short, In one place they were passing an IP address and on the other place they were using it as an integer.. I didn’t understand what is happening and then I searched the internet and found something that explained it..

For those who may not know, IP address is the identity of a device in a network. Like your postal address. And each IP is of the format X.X.X.X and each segment (indicated by X) is an octet. And the values of each octet can be from 0-255. Each IP address can be converted into a single number using the formula:

4th octet * (256 ^ 0) + 3rd octet * (256 ^ 1) + 2nd octet * (256 ^ 2) + 1st octet * (256 ^ 3)

This will give a number and that number is the actual address for a server/machine in network.

For ex. 216.58.218.206 is the IP of google.com and as per formula

(206 * 256 ^ 0 + 218 * 256 ^ 1 + 58 * 256 ^ 2 + 216 * 256 ^ 3 = 3627735758 )

If you try http://<number&gt; like http://3627735758 in your browser, you can still access the server.

Additional info: When you type google.com in the browser (or any other site’s address for that matter), the request will be sent to a server. That server will have the information saying google.com is this IP and send the request to that IP. These servers are called as DNS (Domain Name Servers) servers.

Hello!!! Wake up computer!!

03 Wednesday Dec 2014

Posted by Mani in Computers, Linux, Technical

≈ Leave a comment

Tags

automaticallly wakeup, hibernate, Linux, rtcwake, sleep, standby, suspend, wakeup

Recently, I was looking for some possibility on whether I can put my computer to sleep and wake it up when I want it to..

While doing so, found this URL: In short, you can put it to suspend or hibernate and wake it up after some time:

rtcwake -m disk -s 60

There are different options to make it to suspend/hibernate/standby… and can specify the time to wake up.. Refer “man rtcwake” for more.

Its cool when you want your computer to wake up before you and have everything setup when you look at your computer for the first time in the day 🙂

Future of Software Developers

13 Wednesday Aug 2014

Posted by Mani in Computers

≈ Leave a comment

Recently, I attended a Java training. We have done all of the exercises in our college days itself. But, we used loooots of new stuff. We write abstractions over our code. They have some abstractions.. There are more abstractions over the previous ones.. For example: We have SQL/JDBC (Low level). We have hibernate and that is an abstraction over this. And JPA is another API that can provide an abstraction over hibernate..

On looking at things, I get a feeling that: After 5 years, there will be only two kinds of software developers. One who create abstractions, and the other, consumes abstractions. The consumer’s fate will be:

* After 5 years, No Java developer will know what is “new” operator

* After 5 years, Nobody will know how to write SQLs..

* After 5 years, Nobody will know how things actually work.. What happens behind the scenes…

* After 5 years, Companies will hire people with more memory power rather than their abilities.

And after 10 years, they’ll be just like some electricians who doesn’t know how things work. Only, knows how to assemble things.. If something goes wrong, the response will be, replace this with a working one…

After 20 years, people will not know what is going on.. how to debug issues.. why things are happening the way it is happening.. All these due to these levels of abstractions.. Finally, one fine day, they will say, Lets start writing our own SQLs and our own code…

Subscribe

  • Entries (RSS)
  • Comments (RSS)

Archives

  • January 2017
  • November 2016
  • November 2015
  • October 2015
  • June 2015
  • May 2015
  • March 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • May 2014
  • January 2014
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • May 2013
  • December 2012
  • March 2012
  • January 2012
  • May 2011
  • April 2011
  • October 2010
  • August 2010
  • July 2010
  • June 2010
  • April 2010
  • February 2010
  • January 2010
  • December 2009
  • August 2009
  • June 2009
  • May 2009
  • March 2009
  • December 2008
  • September 2008
  • July 2008
  • June 2008
  • January 2008
  • November 2007
  • October 2007
  • September 2007
  • July 2007
  • May 2007
  • February 2007
  • December 2006
  • November 2006
  • October 2006
  • July 2006
  • June 2006
  • May 2006
  • March 2006
  • February 2006
  • January 2006
  • November 2005
  • October 2005
  • September 2005

Categories

  • Computers
  • Games
    • Candycrush
  • Personal
  • Review
    • Book
    • Movie
    • Software
  • Science
  • Social
    • Culture
  • Sports
    • Cricket
    • Tennis
  • Tamil
  • Technical
    • Android
    • Linux
  • Technology
  • Uncategorized

Meta

  • Register
  • Log in

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy