Saturday, March 27, 2010

Hacking 2

Lot of people liked my first article on hacking, so I decided to write another one. More in depth view on hacking. I don't call my self a hacker, because I know hackers. Hackers are the people who love what they do, who love originality, who love to make stuff. Once again the crackers are the one who are the lazy ones. I think cracking can be done by any body! And I say this because, a person who can create a system can destroy it. So hackers are the people who create systems. How amazing is that. Let me give you a quick example: People say Steve Jobs is the one who came up with the apple computer, wrong. One of his buddies Stephen Wozniak was the one who was part of the hackers community came up with the apple computer. Steve Jobs is a business man, who made apple famous. When I say this I don't mean that Steve Jobs is not smart. This man is one of the smartest man on this planet. But his friend didn't care about the money, fame. All he cared about was his passion, his invention. He did get money for what he did. Hackers should get paid for their effort.

Now to some hacking stuff, so now that you have a more understanding of what real hacking is, you need to know some stuff before you can begin, knowing your programming is very essential, you need to love what you do. If you can't do that, you'll never be able to become a hacker. Some of the languages I would suggest you learn is C/C++, Ruby, Python, Java. And you definitely need to learn UNIX, Linux. They are open sourced Operating System. They are great for understanding the fundamentals of computer. Microsoft windows is the most widely used OS, but it's closed source, so hacking using MS Windows is like dancing in the closed box, in which you can hardly fit. Unix is used for desktop and more server use. And when you are learning a language I suggest you don't go out and buy books that says, learn c in 10 days. You cannot learn any language in 10 days, for you to learn a language it takes at least 10 years. To master it, to have fun with it, to create what people cant even think of. Social life should not matter, money should not matter, fame should not matter. Sounds tough doesn't it. Unless and until you don't feel this, you are not going to be a real hacker.

It has been said that, a little information is dangerous then no information at all, so what ever you do, if you decide to do something do it to the fullest, do it right. Never give up. For more information on hacking, more suggestions, comment on the blog, give me your info, I'll contact you!

Thursday, March 25, 2010

Social Dynamics

I am no Sociologists, but I have learned a lot about social dynamics. People now a days join facebook, msn, twitter, and many other social networks so they dont feel lonley, they dont feel alone in this cold world. Where people are trying to get more closer to their friends using such networks, they are getting further apart from their friends. How you ask? I want you to ask your self a question, How many friends do you have on facebook or msn or any social network site. Now the next question is how many do you really talk to? It's been said that people with over 200 friends on their facebook talk to only few in reality, about 4-5 people. Is this really being socially active? The fact is that these sites makes you more anti-social then social. A lot of people spend a lot of time on facebook, talking to certain people they like talking to, who they can relate to, where as they could be spending that same time going outside meeting more people with the same interest. This is the problem with kids today, they dont want to go out, explore the world. Sitting in front of the computer screen for more then 6 hours a day, if not computer TV. This is what's wrong, parents allowing their kids to stay home all the time, when I was little my parents used to tell me to go outside and play, meet new kids. But parents dont understand and they are too scared to send their kids outside. What if they get kidnapped? What if they get hurt? These questions run through their mind. And then they buy their kids video games, and all the video games are so violent these days that it leaves a violent effect in the kids brain. And when the kids grow up, all they have seen is violence and they grow up to be a violent person. A kidnapper him self. So my request to the parents is that let your kids go out, let them see what the world is all about, they will learn. If they get hurt, they will know how it feels and it's all a part of the learning process. It is always bad to keep your kids locked inside the house, because the moment they get freedom, they will go all out. For example, if you compress the spring to the maximum limit, the moment you release it, it will shoot out. That is what happens to kids too. Your kid will be more social by going out then playing those video games or chatting online.

Saturday, March 13, 2010

Print using Javascript!

Lot of people ask this question, how do we use a print button on our website that allows us to print the article or what ever it is? Well the answer to that is that there is no such way, where you can just click the button and it will fire up the print, but there is a way, where a user can click on the button and it will prompt the print window, then it's up to the user to print the page.In this article I am going to tell you the little secret where you can just print right from your website instead of going through the hassle of copy pasting the document in the word, and then print it. Lot of browsers give the user the opportunity to print the document using the browser. But to make it easier for the user, you can provide a user with a print button, where the user can just click and the print window will pop up, prompting the user to decide weather to print or not. So the code goes some thing like this:




FORM
INPUT TYPE="button" value = "Print" onClick="window.print()"
/FORM
NOTE:
dont forget to put <> brackets around FORM, /FORM and INPUT TYPE...

Just paste this code in your HTML code, on the page where you want the print button to appear and your set!!

Enjoy!!

Wednesday, March 3, 2010

Wireless webcam monitoring

Alight so I was cleaning up some garbage form my house, and I came across an old web cam. I decided that I should put that to a use, as the web cam was decent. it worked outside with battries just like a camara, and it worked as web cam. One can do alot of things with a good camera. I was thinking of making it as my room monitoring device but then thought it would use of lot of memory, so why not make something just for fun.

So i went to the market bought a remote controlled car and took the camara apart, just kept the circuit with the batty holder. Also the web cam had a USB output to plug it into the PC or laptop. My only question was, how can I transfer my data using that USB port into my laptop wirelessly. So I went out trying to do some research, and came across a facinating device called "Xbee".

Xbee (Pronounced as ZigBee) is a suite of high level communication protocol using small, low power digital radios. It comes with a USB output, which enabled me to put it to use it to my webcam and connect it to the computer. There is a pair of xbee needed for this purpose and it costs you around $30 dollars each. When you use only 2 xbee, it makes the project easy as one does not have to define which one is master and which one is slave. If you plan on using more then 2 xbee's you have to specify which one is master and which one is slave.

So after this, it was very easy for me to trasfter data from the webcam to my laptop, and you can turn on the webcam, and the laptop, and ride your wireless remote control car around. After making this project, I wanted to see what other things you can do with xbee. Few things that came to my mind was a wireless speaker, that you can carry around the house, while you keep you laptop at one place. I also want to try to make a wireless mouse using xbee.

Try it your self, let me know if you have any suggestions. Email me at ivyas88@gmail.com

Enjoy!