Wednesday, November 18, 2009

Hey! Ho! Let's Go!

Here at Google, we believe programming should be fast, productive, and most importantly, fun. That's why we're excited to open source an experimental new language called Go. Go combines the development speed of working in a dynamic language like Python with the performance and safety of a compiled language like C or C++. Typical builds feel instantaneous; even large binaries compile in just a few seconds. And the compiled code runs close to the speed of C. Go lets you move fast.

Go is a great language for systems programming with support for multi-processing, a fresh and lightweight take on object-oriented design, plus some cool features like true closures and reflection.

Want to write a server with thousands of communicating threads? Want to spend less time reading blogs while waiting for builds? Feel like whipping up a prototype of your latest idea? Go is the way to go! Check out the video for more information or visit golang.org.

Connect Two Computers Without a Router

Let’s assume you have two computers at home and you want to connect them together so that you can easily share an internet connection between the two machines or transfer photos, music and other files from one computer to another. How do you do this?
Connect Two Computers Directly

There are two options – you can either buy a router or, if you are looking for something more simple and don’t want to spend money on new networking hardware, you can connect the two computers using a commonly-available cable. The latter method doesn’t involve any complicated network settings and you will still be able to share files, internet connection, and even printers between computers.

Things you need:

To set up this basic wired home network, all you need is an inexpensive Ethernet crossover cable and the other requirement is that network cards* (also known as LAN or Ethernet cards) should be installed on each of you computers.

[*] This should not be an issue because network cards are available on most newer machines by default but if you are working with a very old computer, you can either attach an internal LAN card to your computer’s motherboard or go for a USB Network adapter that will turn a USB port into an Ethernet (RJ45) port.

An Ethernet crossover cable looks like a standard Ethernet cable but the internal wiring is a little different. You can purchase crossover cables at Amazon.com or from your local computer store. If you have trouble finding them, you can purchase an inexpensive crossover adaptor and that will let you use any standard Ethernet cable as a crossover cable.

Connect Computers with an Ethernet Crossover Cable

Before connecting the two computers with a physical cable, make sure that both machine are using the same workgroup*. Here is step-by-step guide that explains how you can change the workgroup of your computers.

Changing workgroup in Windows XP – From the Start menu, right-click “My Computer.” Select Properties in the drop-down menu, and then select the second tab that says “Computer Name” from the System Properties window. Now click the “Change…” button, enter a unique Workgroup name and reboot your computer.

Now that the workgroups are same for both computers, connect the two computers together using the Ethernet crossover cable. Simply plug-in one end of the crossover cable into the network adapter of Computer A and connect the other end of the cable to the network adapter of Computer B.

Windows will automatically recognize the new network, and you can now easily view files and folder that the other computer has shared. Simply open Networks from the Start Menu (or the Control Panel), and you should see the other computer by its name. You can then browse any shared files on the other computer, and can even utilize shared printers.

Share an Internet Connection Between Two Computers

There are scenarios where you may want to share the same internet connection between two computers. For instance:

Situation A - You have setup a Wi-Fi network at home but your old desktop computer doesn’t have a wireless network card. In that case, you can use the laptop to connect to the internet wirelessly and then share that same connection with the desktop over a crossover Ethernet cable.

Situation B – You have a netbook with a built-in cellular data connection. You can share that connection with any another computer at home through the crossover Ethernet cable.

Situation C – You use a (slow) Wireless USB modem with your laptop computer while your desktop is connected to an ADSL Broadband line and there’s no router at home. For any bandwidth intensive tasks, like when you want to backup photos from your laptop to an online service, you can connect the laptop to the desktop and things will happen much faster.

OK, let’s look at the steps required for sharing an Internet connection.

First, if you only wish to share internet connection and not files, both computers need not belong to the same workgroup. All you need to do is to connect the two computers with the Ethernet crossover cable, and then turn on Internet connection sharing in the computer that already has an Internet connection. The instructions vary for different versions of Windows:

For Windows XP – Select “Network and Internet Connections” from the Control Panel and click “Network Connections.”
Right-click on the network connection you wish to share (the one connected to the internet), select Properties, click on the “Advanced” tab, and then check the box that says “Allow other network users to connect through this computer’s Internet connection.” Click OK, and the second computer that you have connected to this computer with the Crossover Cable should have internet access now.

Tuesday, November 17, 2009

The Google Timeline in Video



This brilliant video animation from Google UK captures some of the important milestones in Google’s 14 year old history right from the summer of ‘95 when the co-founders first met at Stanford until 2009 when Google announced important non-search related products including Google Wave and Chrome OS.

HTTP-Watch-know-everything-when-a Webpage loads


Ever wondered what is happening back-stage when your Internet Explorer or Mozilla Firefox is loading a web-page?

There are lots of HTTP requests being processes, lots of scripts being executed. A lot of stuff happens. If you want to know the detail about all these background activities, you can do it free. HTTP-Watch is a free tool for HTTP sniffing which works right inside yourInternet Explorer or Firefox and will capture each and every activity of the webpage load. You can use this tool to monitor your website or any other web-site and monitor every activity during the load of the web-page. You can use this to test your websites and blogs.

To know all the details of a web page loading follow these steps :

1. Download and Install Free Version of HttpWatch
2. Now Open Internet Explorer and Click on the HttpWatch Icon to load the activity recorder

3. This will load a recorder view of HttpWatch at the bottom half of IE screen. Click on the Record Button

4. Now Open the Website you want to monitor or test, and you will see the logs flowing in this recorder as the website loads. After the website is loaded completely, save the logs in a file. It will be saved with a .hwl extension.

5. Double click on the file. It will open it with the log viewer application of HttpWatch.

Google Homepage Logo, Drawn by 9-Year Old Indian

Puru Pratap Singh, a class IV student from Gurgaon in India, has won the Doodle 4 Google contest and you can see his artwork live on the Google India homepage.

The theme of this year’s Google Doodle contest was "My India".

Dennis Hwang, who is the creative genius behind every holiday logo that you see on the Google homepage across countries, was also in Delhi for the award function.

Puru, who is just nine years old, gets a laptop computer for winning the Doodle 4 Google Competition and his school (Amity) will receive a technology grant of around $2000 from Google India.

Some 4,000 logos were submitted by school students from across India for the contest and, though you won’t see any of them on the Google homepage, some of them very extremely creative. Here are my favorite picks: