Jun 6, 2008

Advanced CORBA(R) Programming with C++


Written for the experienced C++ developer facing real-world CORBA for the first time, Advanced CORBA Programming with C++ is a useful guide to today's most popular standard for distributed computing.

After a quick tour of CORBA basics, the authors jump right in with a minimum skeleton application written in C++. From there, they provide truly extensive coverage of CORBA IDL, along with many tips for using IDL data types in C++. (They cover advanced features such as any, TypeCode, and DynAny later in the book.).

Next the book unveils its sample application--a distributed climate control system. Material on the Portable Object Adapter and the Object Life Cycle, including garbage collection strategies, rounds out this section. Additional chapters examine the details of Object Request Brokers (ORBs), including Internet Inter-ORB Protocol (IIOP), repositories, and binding. The authors also present CORBA's built-in APIs for Naming, Trading, and Event Services (including asynchronous event handling), which is most useful as reference material.

Final sections examine strategies for better scalability, including multithreading and optimizing network traffic for CORBA objects. The authors provide numerous short excerpts of C++ code, though it must be said that much of this book is reference material rather than a hands-on programming tutorial. --Richard Dragan

Download Advanced CORBA(R) Programming with C++

Jun 4, 2008

How To Download a Torrent (Video)

How to Create a Torrent

If you've ever wondered how to create a torrent, you've come to the right place. This article will explain how to create a torrent and use it to upload whatever you want to people all over the world! If you do not know what BitTorrent is or how your client is used, please go view the article, Use-BitTorrent

Steps

1. Investigate your torrent client. Most up-to-date clients can make torrents, some may not be able to. For a client that can create torrents try µTorrent for Windows, Transmission for Mac or Deluge for Linux.
2. Select the option to make a new torrent file. This is usually located under the File menu and named "Create New Torrent" or something of the same meaning. If it is not in this location try looking under other menus or the toolbars. If you are still uncertain, check the official website of your client for more details.
3. Select the files you wish to be in the torrent. If you will have several files consider arranging them all first in a folder, so you can simply select that folder to use as the torrent contents. The name of your torrent file will usually be the name of the file or folder in it. You can easily rename the file afterwards.
4. Enter a tracker. A tracker controls the transfer of data for your torrent. A tracker looks similar to an ordinary URL. A list of trackers is available here. If you want to index your torrent on a torrent downloads website then you should use the tracker owned by that website, as not all indexing sites will allow external trackers. If you are using a private tracker (You probably are not.) then be sure to tick the box to mark it as private. Do not tick this box otherwise.
5. Add any additional information. You can add a comment for the torrent if you wish. The piece size should be left at the automatic setting unless you know what you're doing. Once you have filled in all the required areas create your torrent. You may be asked where to save and what to call the .torrent file, or you may have been asked beforehand.
6. Now that you have your torrent file open it ready for seeding. Some clients have a seed mode specifically for this. If you do not seed your torrent it will be useless because nobody can download your files.
7. Share your torrent. If you are making the torrent so you can send a friend a file, just send them the .torrent file. If you want it open to the public to download you are best listing it on a torrent download website. Once on such a site find the link to add or upload a new torrent and fill in the required information. You will probably be required to register if you have not already. Once people start downloading the torrent off you it will gather more and more seeders. If you wish you can stop seeding once the torrent is "stable" or continue.


Tips

* When submitting your torrent on a website, give it a descriptive title and description and place it in the best category. This way it will be found more easily. Check the comments for your torrent incase other users have questions regarding your torrent.


Warnings

* Uploading copyright material to other users without the copyright holders consent is illegal and you may be fined or jailed by the RIAA if you are caught by them. Be very wise in your decisions when you decide to upload something. Make sure that you have the rights to upload it.

More Information :
http://www.wikihow.com/Create-a-Torrent

How to Download Torrents

Steps to Download Torrents

1. Find a torrent program that will suit your needs, three choices are uTorrent, Azureus, or BitTorrent. There are plenty of others available though.
2. Follow the instructions on downloading and installing the said client.
3. Go to a torrent site and search for a file you want to download (ScrapeTorrent is an example). You can however search on Google for many more.
4. Once you have found the desired file on the torrent site, click the "Download This Torrent" (or however they word it). Usually, the web browser's file download manager will ask what to do with this file. You want to open the file with your torrent program.
5. If it doesn't open that way, just save the .Torrent file to an easy to locate place. Then open your torrent client and use the "Open Torrent" feature.
6. The download will start automatically. You may now go and do something to pass the time, because torrents do not require much intervention on your part.


Tips to Download Torrents

1. If the download isn't complete when you need to turn the PC off, just exit your torrent client and turn off the PC. Most torrent programs start the download process automatically when you restart them. If not, then there should be an option to start downloading, by either right clicking on the file and choose "Start" or a button somewhere in the program.
2. There are other torrent clients (programs) that can be used, do research these also. The most popular torrent programs are uTorrent and Azureus.
3. When looking for torrent files, try to find ones with plenty of Seeders.
4. Seeders: People who have file complete and are sharing.
5. Leechers: People who are downloading and have some of the file for sharing, but not all of it.
6. Torrents are an excellent way to get the latest games, movies or music.

Warnings!!!

* Downloading torrents can slow your computer down depending it's processor speed(2.2Ghz CPU good speed), HD(7200 RPM SATA), and RAM(2 slots 512MB DDR1 400Mhz at Least).
* Be careful not to get caught when downloading copyright protected software/music. There is a program which blocks certain IP addresses from communicating with your computer, PeerGuardian. Found at: phoenixlabs.org/pg2or [1]
* Keep your anti-virus program and its definitions fully up-to-date, downloaded software from 'sharing' sources is high risk for infections.
* It can slow down your internet connection when downloading. Most Bittorrent programs have a setting where you can adjust how fast you Download/Upload.


More Information :
http://www.wikihow.com/Download-Torrents

Jun 3, 2008

How to Configure Bittorrent for a Linksys Router

Many people are familiar with Bittorrent and Bittorrent clients. Few may realize that their router is one potential bottleneck that can cause slow upload speeds. This article will show you how to increase it from approximately 5kbs to 200kbs, depending upon your Internet connection.

Steps

1. Type http://192.168.1.1 into your web browser.
2. Type in the password "admin" (no quotations).
3. Find the section "Port Range Forwarding" or similar listing.
4. Add ports 6881 through 6889 and give them a name such as "Bittorrent" to help you remember them later.
5. Leave the page open and go to the "Start" menu.
6. Click on "Run".
7. Type in "cmd" (without quotes) and press [Enter].
8. Type "ipconfig" and press [Enter].
9. Look for "IP Address", and copy the last few digits.
10. Go back to the web page and paste them where it says "IP Address".
11. Make sure you check all the boxes.
12. Save settings and enjoy!


Tips

* Do not forget to check the boxes, it will not work otherwise/
* No matter how perfectly configured your connection, it will take time to start your download. The first 30 seconds may be slow, but it can shoot up quite quickly.


Warnings

* Opening too many ports can make your PC vulnerable. Make sure you have a properly configured firewall that blocks all ports except for those you choose to open.

More Information :
http://www.wikihow.com/Configure-Bittorrent-for-a-Linksys-Router

How to Install Bittorrent Using Azureus Client

BitTorrent is a protocol that facilitates the sharing of files over the Internet. Follow these instructions to configure your PC to access BitTorrent downloads using the Azureus BitTorrent client.

Steps

1. Download and install Java, version 1.5.x or greater, if you don't already have it on your PC. See external links below.
2. Download and install Azureus client. See external links below for download link.
3. Download and install the Azureus Safepeer plugin. See external links below for download link.
4. Change the default port for Azureus. Azureus only uses 1 port (unlike some other BitTorrent clients) and the default BitTorrent ports (6881-6889) may be blocked by your ISP. Open Azureus, click View > Config > Server and change the number before Incoming TCP listen port. Choose any number between 49152 and 65535. If you use a firewall you will have to add this port for forwarding to your computer's IP address.
5. While you are in the config area, click the transfer section to set your max upload and download speed. Try download 0 (i.e. maximum) and upload between 10-25. Adjust downward if you find it is slowing your web browsing.
6. Also in the config area, you can set things like the default download folder and where you want the .torrent files to be saved until you have finished the download.
7. To hitch in to the network, you need .torrent files. These tell your Azureus client where to find files on other BitTorrent PCs on the internet. See external links.


Tips

* Unlike Kazaa, Gnutella and other P2P filesharing networks where you have a program on the computer, open it up and enter the file you are looking for in the search box to get a list of files, BitTorrent uses trackers.
* Do not set upload speed to 0 (i.e. maximum). Due to the way TCP works, when A is downloading something from B it has to keep telling B that it received the data sent to him. (These are called acknowledgements - ACKs -, a sort of "got it!" messages). If A fails to do this then B will stop sending data and wait. If A is uploading at full speed there may be no bandwidth left for the ACKs and they will be delayed. So due to this effect, excessively high upload speeds lead to low download speeds.
* If you try to be a free rider and download without contributing uploads, you risk being banned by sites that require a reasonable ratio of uploads to downloads.
* If you are trying to download a new file with 1 seeder and 50 leechers it will be slow. Either wait a few hours for the seeders to increase or look on a different site. The number of seeders and leechers will usually be displayed, so a file with 130 seeders and 40 leechers will download fast, as a rough guide 700mb will download in around 4 hours if it has plenty of seeders.
* If you are connected to the internet via a router, be sure to check www.portforward.com for instructions on how to open the port that you set Azureus to use in the config.

More Information :
http://www.wikihow.com/Install-Bittorrent-Using-Azureus-Client

Jun 2, 2008

How to Install the BitTorrent Client

Steps

1. Go to http://www.bittorrent.com/download.html
2. Choose the download that fits your environment. BitTorrent is a multi-platform client, so you must choose your Operating System version to download (Windows, Linux, or OS X). This article assumes you know your operating system type.
3. Install BitTorrent, run the EXE, and follow the prompts. Upon installation, BitTorrent should be in your Programs directory, in Start > Programs > BitTorrent.
4. Launch the "Downloader" application, which is a shortcut to bittorrent.exe.
5. Go to the Settings, to set your options.
* Choose not to launch BitTorrent when Windows starts, for faster startup and to avoid possible security risks.
* Minimize to system tray - if you don't like it on your taskbar when it's minimized, send it to the systray area over by the clock.
* Progress bar text is black - this seems to work best.
* Saving: Save new downloads in.... - self explanatory, many users have a set folder where they store their downloads, this is a folder you set, and BitTorrent will always store new downloads here. Ask where to save each download could be unchecked....
* Downloading: When starting a new torrent - set this item to "ask" each time. BitTorrent can easily maximize bandwidth use, and many users advise that it's best to have only one torrent running at a time (as in the earlier versions of the program). If you have a low-speed connection, it's best to set the "Stop another running torrent" option to make room. This will stop your other transfer in order to start a new transfer.
* Seeding: this refers to giving back your download to the community once you are done downloading a torrent, and it's BitTorrent etiquette to seed at least to 100% (often called 1:1 ratio). This means you should upload (give back) just as much data as your download (receive). Set the first field to no less than 100 (percent). If "Seed Indefinitely" is enabled, the option boxes are greyed out, and it will seed until you stop it. Adhere to the same policy with "Seed last completed torrent until".
* Networking: Set your BitTorrent communication port under this tab. The application will accept any port from 1024 to 65535, but it is recommended to use any port greater than 10000 (10 thousand). Disable Enable Automatic Port Mapping (UPnP), since some users indicate security risks and/or vulnerabilities with this setting. This port you have set here, is necessary to allow incoming data, if you use a router/firewall (NAT) of any type, you will need to open (more often called "port forward") this individual port through your router browser configuration (that's a whole different how-to). Ignore "IP to report to tracker" - this is only if you are running the tracker on your same computer (seeding and tracking a torrent from the same computer or network) and is not related in any way to "proxying" or otherwise "hiding" your IP.
* Language: Choose your language here, it may be auto-set to English.
6. You are now ready to search for, and download .torrent files.

Tips

* Install a protective program to keep snoops such as the RIAA and MPAA out. Highly recommended is Peer Guardian (http://phoenixlabs.org/pg2/). This is like a firewall except a bit more extensive protection when using p2p programs.
* If behind a network, be sure your bittorrent port is forwarded/open to the outside world.
* Don't download copyprotected content, no IP blocker, or proxy software offers 100% protection.
* Stay away from 0-day (zero day)/brand new releases, only download torrents with many seeds so you have a good chance of file completion.
* Note that the BitTorrent program is only one of several applications that have been developed to use the BitTorrent protocol.


More Information :
http://www.wikihow.com/Install-the-BitTorrent-Client